2026-01-31 11:45:26 +05:30
|
|
|
/* =========================
|
|
|
|
|
CONTAINER
|
|
|
|
|
========================= */
|
|
|
|
|
.mat-container {
|
2026-01-07 16:26:59 +05:30
|
|
|
max-width: 1200px;
|
|
|
|
|
margin: 30px auto;
|
|
|
|
|
padding: 25px;
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-31 11:45:26 +05:30
|
|
|
.page-title {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* =========================
|
|
|
|
|
YEAR CONTROLS
|
|
|
|
|
========================= */
|
|
|
|
|
.year-controls {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.year-controls select {
|
|
|
|
|
padding: 8px 10px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
border: 1px solid #ced4da;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.year-controls button {
|
|
|
|
|
padding: 8px 14px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
background-color: #0d6efd;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.year-controls button:hover {
|
|
|
|
|
background-color: #0b5ed7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* =========================
|
|
|
|
|
TABLE WRAPPER
|
|
|
|
|
========================= */
|
2026-01-24 02:11:19 +05:30
|
|
|
.table-wrapper {
|
|
|
|
|
width: 100%;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-31 11:45:26 +05:30
|
|
|
/* =========================
|
|
|
|
|
TABLE
|
|
|
|
|
========================= */
|
2026-01-07 16:26:59 +05:30
|
|
|
#matTable {
|
|
|
|
|
width: 100%;
|
2026-01-24 02:11:19 +05:30
|
|
|
min-width: 900px;
|
2026-01-07 16:26:59 +05:30
|
|
|
border-collapse: collapse;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-31 11:45:26 +05:30
|
|
|
/* =========================
|
|
|
|
|
HEADER
|
|
|
|
|
========================= */
|
2026-01-07 16:26:59 +05:30
|
|
|
#matTable thead th {
|
|
|
|
|
background: linear-gradient(135deg, #0d6efd, #0a58ca);
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
padding: 12px 8px;
|
|
|
|
|
border: 1px solid #0a58ca;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-31 11:45:26 +05:30
|
|
|
/* =========================
|
|
|
|
|
BODY CELLS
|
|
|
|
|
========================= */
|
2026-01-07 16:26:59 +05:30
|
|
|
#matTable tbody td {
|
|
|
|
|
padding: 8px;
|
|
|
|
|
border: 1px solid #dcdcdc;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#matTable tbody td:first-child {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
background-color: #f5f8ff;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-31 11:45:26 +05:30
|
|
|
/* =========================
|
|
|
|
|
INPUTS
|
|
|
|
|
========================= */
|
2026-01-07 16:26:59 +05:30
|
|
|
#matTable input {
|
|
|
|
|
width: 100%;
|
2026-01-24 02:11:19 +05:30
|
|
|
padding: 6px;
|
2026-01-07 16:26:59 +05:30
|
|
|
border: 1px solid #cfd8dc;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
text-align: right;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#matTable input:focus {
|
|
|
|
|
border-color: #0d6efd;
|
|
|
|
|
box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
|
|
|
|
|
outline: none;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-31 11:45:26 +05:30
|
|
|
/* =========================
|
|
|
|
|
BUTTONS
|
|
|
|
|
========================= */
|
2026-01-07 16:26:59 +05:30
|
|
|
#matTable button {
|
|
|
|
|
background-color: #198754;
|
|
|
|
|
border: none;
|
|
|
|
|
color: white;
|
|
|
|
|
padding: 6px 14px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#matTable button:hover {
|
|
|
|
|
background-color: #157347;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-31 11:45:26 +05:30
|
|
|
.add-row-btn {
|
|
|
|
|
background-color: #0d6efd;
|
|
|
|
|
color: #fff;
|
|
|
|
|
border: none;
|
|
|
|
|
padding: 8px 18px;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.add-row-btn:hover {
|
|
|
|
|
background-color: #0b5ed7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* =========================
|
|
|
|
|
ROW STATES
|
|
|
|
|
========================= */
|
2026-01-07 16:26:59 +05:30
|
|
|
#matTable tbody tr:hover {
|
|
|
|
|
background-color: #f1f6ff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input-error {
|
|
|
|
|
border-color: #dc3545 !important;
|
|
|
|
|
background-color: #fff5f5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.row-saved {
|
|
|
|
|
background-color: #e9f7ef !important;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-31 11:45:26 +05:30
|
|
|
/* =========================
|
|
|
|
|
ACTION FOOTER
|
|
|
|
|
========================= */
|
|
|
|
|
.action-footer {
|
|
|
|
|
margin-top: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* =========================
|
|
|
|
|
MOBILE ONLY FIXES
|
|
|
|
|
(DOES NOT AFFECT DESKTOP)
|
|
|
|
|
========================= */
|
2026-01-07 16:26:59 +05:30
|
|
|
@media (max-width: 768px) {
|
2026-01-24 02:11:19 +05:30
|
|
|
|
2026-01-31 11:45:26 +05:30
|
|
|
.mat-container {
|
2026-01-24 02:11:19 +05:30
|
|
|
margin: 10px;
|
|
|
|
|
padding: 15px;
|
2026-01-07 16:26:59 +05:30
|
|
|
}
|
|
|
|
|
|
2026-01-31 11:45:26 +05:30
|
|
|
/* YEAR CONTROLS STACKED */
|
|
|
|
|
.year-controls {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: stretch;
|
2026-01-07 16:26:59 +05:30
|
|
|
}
|
|
|
|
|
|
2026-01-31 11:45:26 +05:30
|
|
|
.year-controls select,
|
|
|
|
|
.year-controls button {
|
|
|
|
|
width: 100%;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* TABLE */
|
2026-01-24 02:11:19 +05:30
|
|
|
#matTable {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
min-width: 800px;
|
2026-01-07 16:26:59 +05:30
|
|
|
}
|
|
|
|
|
|
2026-01-24 02:11:19 +05:30
|
|
|
#matTable input {
|
|
|
|
|
font-size: 12px;
|
2026-01-07 16:26:59 +05:30
|
|
|
}
|
|
|
|
|
|
2026-01-24 02:11:19 +05:30
|
|
|
#matTable button {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
padding: 5px 10px;
|
2026-01-07 16:26:59 +05:30
|
|
|
}
|
2026-01-31 11:45:26 +05:30
|
|
|
|
|
|
|
|
/* ADD ROW BUTTON FULL WIDTH */
|
|
|
|
|
.add-row-btn {
|
|
|
|
|
width: 50%;
|
|
|
|
|
}
|
2026-01-07 16:26:59 +05:30
|
|
|
}
|