Updated Scheduler and Maintainance Apps
This commit is contained in:
@@ -304,6 +304,10 @@ export const panelStyles = css`
|
||||
--mdc-icon-size: 26px;
|
||||
}
|
||||
|
||||
/* Custom elements default to display:inline; the task-detail component
|
||||
renders light-DOM and must behave like the block it wraps. */
|
||||
maintenance-task-detail-view { display: block; }
|
||||
|
||||
.detail-section { padding: 16px 0; }
|
||||
|
||||
.detail-header {
|
||||
@@ -589,9 +593,29 @@ export const panelStyles = css`
|
||||
border-radius: 12px;
|
||||
padding: 2px;
|
||||
}
|
||||
/* Inside .cell-badges the parent's gap does the spacing — the badges' own
|
||||
margin-left (meant for inline use, e.g. the detail header) would double
|
||||
it and push the priority chevron out of line with the other badges. */
|
||||
.cell-badges .nfc-badge,
|
||||
.cell-badges .priority-badge {
|
||||
margin-left: 0;
|
||||
}
|
||||
.priority-badge ha-icon {
|
||||
--mdc-icon-size: 16px;
|
||||
}
|
||||
.postponed-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
padding: 2px 8px;
|
||||
margin-left: 8px;
|
||||
background: var(--secondary-background-color, #e8e8e8);
|
||||
color: var(--secondary-text-color);
|
||||
border-radius: 10px;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.postponed-badge ha-icon { --mdc-icon-size: 13px; }
|
||||
.priority-high {
|
||||
color: var(--error-color, #db4437);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user