180 lines
3.3 KiB
CSS
180 lines
3.3 KiB
CSS
#notification {
|
|
padding: 0.8rem;
|
|
border: solid 1px var(--border-color);
|
|
border-radius: 1rem;
|
|
background-color: var(--mid-bg);
|
|
}
|
|
|
|
#notification .summary {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#notification .body {
|
|
color: var(--mid-fg);
|
|
font-weight: normal;
|
|
}
|
|
|
|
#notification button {
|
|
padding: 0.4rem 0.8rem;
|
|
font-weight: 600;
|
|
border-radius: 0.6rem;
|
|
background-color: var(--light-bg);
|
|
}
|
|
|
|
#notification button:hover {
|
|
background-color: var(--dark-grey);
|
|
}
|
|
|
|
#notification.urgency-low {
|
|
border-color: var(--dark-grey);
|
|
}
|
|
|
|
#notification.urgency-low .summary {
|
|
color: var(--mid-fg);
|
|
}
|
|
|
|
#notification.urgency-critical {
|
|
border-color: var(--red);
|
|
border-width: 2px;
|
|
}
|
|
|
|
#notification.urgency-critical .summary {
|
|
color: var(--red);
|
|
}
|
|
|
|
/* Control center side rail */
|
|
|
|
#control-center {
|
|
background-color: transparent;
|
|
}
|
|
|
|
#control-center-body {
|
|
background-color: var(--background);
|
|
border-left: solid 2px var(--border-color);
|
|
border-bottom: solid 2px var(--border-color);
|
|
border-bottom-left-radius: 28px;
|
|
padding: 50px 12px 12px 12px;
|
|
}
|
|
|
|
#control-center-header {
|
|
padding: 4px 8px 12px 8px;
|
|
border-bottom: solid 1px var(--border-color);
|
|
}
|
|
|
|
#control-center-title {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
color: var(--foreground);
|
|
}
|
|
|
|
#control-center-close {
|
|
padding: 4px 8px;
|
|
border-radius: 12px;
|
|
background-color: var(--module-bg);
|
|
}
|
|
|
|
#control-center-close:hover {
|
|
background-color: var(--light-bg);
|
|
}
|
|
|
|
#control-center-sections {
|
|
padding: 8px 0;
|
|
}
|
|
|
|
#control-center-settings,
|
|
#control-center-calendar,
|
|
#control-center-notifications {
|
|
padding: 8px;
|
|
background-color: var(--module-bg);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
#control-center-section-title {
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
color: var(--light-grey);
|
|
padding: 4px 4px 8px 4px;
|
|
}
|
|
|
|
#control-center-settings-row {
|
|
padding: 4px 4px;
|
|
}
|
|
|
|
#control-center-settings-label {
|
|
font-size: 14px;
|
|
color: var(--foreground);
|
|
}
|
|
|
|
#control-center-events {
|
|
padding: 0 4px;
|
|
}
|
|
|
|
#control-center-no-events {
|
|
color: var(--light-grey);
|
|
padding: 6px 4px;
|
|
}
|
|
|
|
#control-center-notifications-header {
|
|
padding: 0 4px 6px 4px;
|
|
}
|
|
|
|
#control-center-notifications-clear {
|
|
padding: 2px 10px;
|
|
border-radius: 8px;
|
|
background-color: var(--light-bg);
|
|
font-size: 12px;
|
|
}
|
|
|
|
#control-center-notifications-clear:hover {
|
|
background-color: var(--dark-grey);
|
|
}
|
|
|
|
#control-center-notifications-list {
|
|
padding: 0 4px;
|
|
}
|
|
|
|
#control-center-notifications-empty {
|
|
color: var(--light-grey);
|
|
padding: 8px 4px;
|
|
}
|
|
|
|
#notification-history-entry {
|
|
padding: 10px;
|
|
border: solid 1px var(--border-color);
|
|
border-radius: 0.75rem;
|
|
background-color: var(--light-bg);
|
|
}
|
|
|
|
#notification-history-entry .summary {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#notification-history-entry .body {
|
|
color: var(--mid-fg);
|
|
}
|
|
|
|
#notification-history-entry .timestamp {
|
|
color: var(--light-grey);
|
|
font-size: 12px;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
#notification-history-entry.urgency-critical {
|
|
border-color: var(--red);
|
|
}
|
|
|
|
#notification-history-entry.urgency-critical .summary {
|
|
color: var(--red);
|
|
}
|
|
|
|
#notification-history-dismiss {
|
|
padding: 2px;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
#notification-history-dismiss:hover {
|
|
background-color: var(--dark-grey);
|
|
}
|
|
|