160 lines
3.8 KiB
CSS
160 lines
3.8 KiB
CSS
/* Cpeprovisioning.css */
|
|
body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* --- Page & Filter Layout --- */
|
|
.cpe-provisioning-page .filter-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 1rem;
|
|
align-items: end;
|
|
}
|
|
.cpe-provisioning-page .filter-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.loading-indicator, .no-results-indicator {
|
|
text-align: center;
|
|
padding: 4rem 2rem;
|
|
color: #6c757d;
|
|
}
|
|
|
|
/* --- Cards Container --- */
|
|
.cpe-cards-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
/* --- Single Card Styling --- */
|
|
.cpe-card {
|
|
background-color: #fff;
|
|
border: 1px solid #dee2e6;
|
|
border-left: 5px solid transparent;
|
|
border-radius: 0.5rem;
|
|
transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
|
}
|
|
.cpe-card.is-dirty {
|
|
border-left-color: #f7c423; /* Yellow accent for dirty */
|
|
}
|
|
.cpe-card:hover {
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
/* --- Card Header --- */
|
|
.cpe-card-header {
|
|
display: grid;
|
|
grid-template-columns: minmax(200px, 1.5fr) 2fr auto;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
padding: 0.75rem 1rem;
|
|
background-color: #f8f9fa;
|
|
border-bottom: 1px solid #e9ecef;
|
|
}
|
|
.cpe-card-header .customer-info strong {
|
|
color: #005384;
|
|
font-size: 1.1rem;
|
|
}
|
|
.cpe-card-header .customer-info small {
|
|
display: block;
|
|
font-size: 0.8rem;
|
|
}
|
|
.location-contact-header {
|
|
font-size: 0.85rem;
|
|
color: #495057;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 0.1rem 1rem;
|
|
}
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
font-size: 1.1rem;
|
|
color: #005384;
|
|
}
|
|
.header-actions a { color: inherit; transition: color 0.2s; }
|
|
.header-actions a:hover { color: #f7c423; }
|
|
|
|
/* --- Card Content Grid --- */
|
|
.cpe-card-content {
|
|
padding: 0.75rem 1rem;
|
|
display: grid;
|
|
grid-template-columns: minmax(280px, 1.25fr) minmax(280px, 1.25fr) minmax(280px, 1.5fr);
|
|
gap: 1rem 1.5rem;
|
|
}
|
|
|
|
.content-column {
|
|
padding-top: 0.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
.content-column.action-column {
|
|
justify-content: space-between;
|
|
}
|
|
.content-column h5 {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: #005384;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 0.25rem;
|
|
padding-bottom: 0.25rem;
|
|
border-bottom: 1px solid #e9ecef;
|
|
}
|
|
.content-column p {
|
|
font-size: 0.9rem;
|
|
margin-bottom: 0.25rem;
|
|
line-height: 1.4;
|
|
}
|
|
.content-column .form-group, .content-column .tt-select-modern {
|
|
margin-bottom: 0;
|
|
}
|
|
.action-column .btn {
|
|
width: 100%;
|
|
margin-top: 0.5rem;
|
|
}
|
|
.shipping-dims {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 0.5rem 0.75rem;
|
|
}
|
|
.finish-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.25rem;
|
|
background-color: #f1f3f5;
|
|
border-radius: 0.25rem;
|
|
}
|
|
.mt-auto {
|
|
margin-top: auto !important;
|
|
}
|
|
|
|
/* --- VLAN Chip Styling --- */
|
|
.vlans-container { display: flex; flex-wrap: wrap; gap: 0.5rem; }
|
|
.tt-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 16px; background-color: #f1f3f5; border: 1px solid #dee2e6; font-size: 0.8em; white-space: nowrap; }
|
|
.tt-chip.is-checked { background-color: #e7f5ff; border-color: #a5d8ff; color: #1c7ed6; font-weight: 500; }
|
|
.tt-chip > * + * { margin-left: 6px; }
|
|
.tt-chip input[type="checkbox"] { margin: 0; cursor: pointer; }
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 1400px) {
|
|
.cpe-card-content {
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
}
|
|
}
|
|
@media (max-width: 992px) {
|
|
.cpe-card-header {
|
|
grid-template-columns: 1fr;
|
|
gap: 0.75rem;
|
|
}
|
|
}
|
|
|
|
.tt-switch {
|
|
margin-bottom: 0 !important;
|
|
} |