dotfiles/home/default/.config/swaync/style.css
2024-01-27 16:13:34 +07:00

296 lines
7.3 KiB
CSS

/*#303446*/
/*#222222*/
@define-color main-bg #222222;
/*#414559*/
/*#333333*/
@define-color box-fg #222222;
/*#c6d0f5*/
/*#ffffff*/
/*#c5c8c6*/
@define-color text-color #c5c8c6;
/*#a5adce*/
/*#ffffff*/
/*#8c8c8c*/
@define-color text-color-inbox #8c8c8c;
/*#e78284*/
@define-color close-button-bg #e78284;
/*#51576d*/
/*#555555*/
@define-color border-color #333333;
/*#51576d*/
/*#222222*/
@define-color button-fg #333333;
/*#737994*/
@define-color button-border #555555;
* {
all: unset;
font-size: 14px;
font-family: "Ubuntu Nerd Font";
transition: 200ms;
}
.floating-notifications.background .notification-row .notification-background {
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px @box-fg;
border-radius: 12.6px;
margin: 18px;
background-color: @main-bg;
color: @text-color;
padding: 0;
}
.floating-notifications.background .notification-row .notification-background .notification {
padding: 7px;
border-radius: 12.6px;
}
.floating-notifications.background .notification-row .notification-background .notification.critical {
box-shadow: inset 0 0 7px 0 @close-button-bg;
}
.floating-notifications.background .notification-row .notification-background .notification .notification-content {
margin: 7px;
}
.floating-notifications.background .notification-row .notification-background .notification .notification-content .summary {
color: @text-color;
}
.floating-notifications.background .notification-row .notification-background .notification .notification-content .time {
color: @text-color-inbox;
}
.floating-notifications.background .notification-row .notification-background .notification .notification-content .body {
color: @text-color;
}
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * {
min-height: 3.4em;
}
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action {
border-radius: 7px;
color: @text-color;
background-color: @box-fg;
box-shadow: inset 0 0 0 1px @border-color;
margin: 7px;
}
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action:hover {
box-shadow: inset 0 0 0 1px @border-color;
background-color: @box-fg;
color: @text-color;
}
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action:active {
box-shadow: inset 0 0 0 1px @border-color;
background-color: #85c1dc;
color: @text-color;
}
.floating-notifications.background .notification-row .notification-background .close-button {
margin: 7px;
padding: 2px;
border-radius: 6.3px;
color: @main-bg;
background-color: @close-button-bg;
}
.floating-notifications.background .notification-row .notification-background .close-button:hover {
background-color: #ea999c;
color: @main-bg;
}
.floating-notifications.background .notification-row .notification-background .close-button:active {
background-color: @close-button-bg;
color: @main-bg;
}
.control-center {
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px @box-fg;
border-radius: 12.6px;
margin: 18px;
background-color: @main-bg;
color: @text-color;
padding: 14px;
}
.control-center .widget-title {
color: @text-color;
font-size: 1.3em;
}
.control-center .widget-title button {
border-radius: 7px;
color: @text-color;
background-color: @box-fg;
box-shadow: inset 0 0 0 1px @border-color;
padding: 8px;
}
.control-center .widget-title button:hover {
box-shadow: inset 0 0 0 1px @border-color;
background-color: #626880;
color: @text-color;
}
.control-center .widget-title button:active {
box-shadow: inset 0 0 0 1px @border-color;
background-color: #85c1dc;
color: @main-bg;
}
.control-center .notification-row .notification-background {
border-radius: 7px;
color: @text-color;
background-color: @box-fg;
box-shadow: inset 0 0 0 1px @border-color;
margin-top: 14px;
}
.control-center .notification-row .notification-background .notification {
padding: 7px;
border-radius: 7px;
}
.control-center .notification-row .notification-background .notification.critical {
box-shadow: inset 0 0 7px 0 @close-button-bg;
}
.control-center .notification-row .notification-background .notification .notification-content {
margin: 7px;
}
.control-center .notification-row .notification-background .notification .notification-content .summary {
color: @text-color;
}
.control-center .notification-row .notification-background .notification .notification-content .time {
color: @text-color-inbox;
}
.control-center .notification-row .notification-background .notification .notification-content .body {
color: @text-color;
}
.control-center .notification-row .notification-background .notification > *:last-child > * {
min-height: 3.4em;
}
.control-center .notification-row .notification-background .notification > *:last-child > * .notification-action {
border-radius: 7px;
color: @text-color;
background-color: #232634;
box-shadow: inset 0 0 0 1px @border-color;
margin: 7px;
}
.control-center .notification-row .notification-background .notification > *:last-child > * .notification-action:hover {
box-shadow: inset 0 0 0 1px @border-color;
background-color: @box-fg;
color: @text-color;
}
.control-center .notification-row .notification-background .notification > *:last-child > * .notification-action:active {
box-shadow: inset 0 0 0 1px @border-color;
background-color: #85c1dc;
color: @text-color;
}
.control-center .notification-row .notification-background .close-button {
margin: 7px;
padding: 2px;
border-radius: 6.3px;
color: @main-bg;
background-color: #ea999c;
}
.control-center .notification-row .notification-background .close-button:hover {
background-color: @close-button-bg;
color: @main-bg;
}
.control-center .notification-row .notification-background .close-button:active {
background-color: @close-button-bg;
color: @main-bg;
}
.control-center .notification-row .notification-background:hover {
box-shadow: inset 0 0 0 1px @border-color;
background-color: #838ba7;
color: @text-color;
}
.control-center .notification-row .notification-background:active {
box-shadow: inset 0 0 0 1px @border-color;
background-color: #85c1dc;
color: @text-color;
}
progressbar,
progress,
trough {
border-radius: 12.6px;
}
progressbar {
box-shadow: inset 0 0 0 1px @border-color;
}
.notification.critical progress {
background-color: @close-button-bg;
}
.notification.low progress,
.notification.normal progress {
background-color: #8caaee;
}
trough {
background-color: @box-fg;
}
.control-center trough {
background-color: @button-fg;
}
.control-center-dnd {
margin-top: 5px;
border-radius: 8px;
background: @box-fg;
border: 1px solid @border-color;
box-shadow: none;
}
.control-center-dnd:checked {
background: @box-fg;
}
.control-center-dnd slider {
background: @button-fg;
border-radius: 8px;
}
.widget-dnd {
margin: 0px;
font-size: 1.1rem;
}
.widget-dnd > switch {
font-size: initial;
border-radius: 8px;
background: @box-fg;
border: 1px solid @border-color;
box-shadow: none;
}
.widget-dnd > switch:checked {
background: @box-fg;
}
.widget-dnd > switch slider {
background: @button-fg;
border-radius: 8px;
border: 1px solid @button-border;
}