160 lines
3.6 KiB
CSS
160 lines
3.6 KiB
CSS
/* Cpeprovisioning.css */
|
|
|
|
.cpe-provisioning-page .filter-card {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.cpe-provisioning-page .filter-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 1rem;
|
|
align-items: end;
|
|
}
|
|
|
|
.cpe-provisioning-page .filter-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
padding-top: 1.5rem; /* Align with form labels */
|
|
}
|
|
|
|
.cpe-provisioning-page .cpe-details-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
background-color: #f8f9fa;
|
|
border-top: 1px solid #dee2e6;
|
|
}
|
|
|
|
.cpe-provisioning-page .section-title {
|
|
grid-column: 1 / -1;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: #005384;
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 2px solid #f7c423;
|
|
}
|
|
|
|
.cpe-provisioning-page .info-pills {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 0;
|
|
}
|
|
|
|
.cpe-provisioning-page .info-pill {
|
|
background-color: #e9ecef;
|
|
color: #495057;
|
|
padding: 0.25rem 0.6rem;
|
|
border-radius: 1rem;
|
|
font-size: 0.8rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.cpe-provisioning-page .info-pill i {
|
|
color: #005384;
|
|
}
|
|
|
|
/* Ensure form groups don't have excessive bottom margin in the grid */
|
|
.cpe-provisioning-page .cpe-details-grid .form-group {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Save button alignment */
|
|
.cpe-provisioning-page .save-button-container {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* For tt-table expanded row content */
|
|
.tt-table tbody tr[style*="display: table-row;"] > td {
|
|
background-color: #f8f9fa !important;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Change tracking */
|
|
.cpe-provisioning-page .is-dirty {
|
|
background-color: #fff3cd; /* A light yellow to indicate changes */
|
|
border-color: #ffeeba;
|
|
}
|
|
|
|
.cpe-provisioning-page .form-group-condensed .col-form-label {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.cpe-provisioning-page .filter-grid,
|
|
.cpe-provisioning-page .cpe-details-grid {
|
|
grid-template-columns: 1fr; /* Stack on smaller screens */
|
|
}
|
|
|
|
.cpe-provisioning-page .filter-actions {
|
|
padding-top: 0;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.cpe-provisioning-page .filter-actions .btn {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
|
|
.vlans-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
/*center items in the middle of the full width*/
|
|
justify-content: center;
|
|
/*flex-direction: column;*/
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* TODO: MOVE TT-CHIP TO OWN FILE */
|
|
.tt-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 5px 12px;
|
|
border-radius: 16px; /* Pill shape */
|
|
background-color: #f1f3f5; /* Light grey for unchecked state */
|
|
border: 1px solid #dee2e6;
|
|
font-size: 0.875em; /* 14px if base is 16px */
|
|
margin: 3px;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
cursor: default;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 200px;
|
|
}
|
|
|
|
.tt-chip.is-checked {
|
|
background-color: #e7f5ff; /* A pleasant light blue for the checked state */
|
|
border-color: #a5d8ff;
|
|
color: #1c7ed6;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Add a subtle shadow on hover for interactivity */
|
|
.tt-chip:hover {
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Style elements passed into the slot for consistent spacing and alignment */
|
|
.tt-chip > * + * {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.tt-chip input[type="checkbox"] {
|
|
margin: 0;
|
|
width: 15px;
|
|
height: 15px;
|
|
cursor: pointer;
|
|
}
|