599 lines
14 KiB
CSS
599 lines
14 KiB
CSS
:root {
|
||
--notification-icon-size: 50px;
|
||
--mpris-album-art-icon-size: 60px;
|
||
}
|
||
|
||
@define-color cc-bg rgba(0, 0, 0, 0.6);
|
||
@define-color noti-border-color rgba(255, 255, 255, 0.15);
|
||
@define-color noti-bg rgba(50, 50, 50, 0.8);
|
||
@define-color noti-bg-opaque rgb(48, 48, 48);
|
||
@define-color noti-bg-darker rgb(38, 38, 38);
|
||
@define-color noti-bg-hover rgb(56, 56, 56);
|
||
@define-color noti-bg-hover-opaque rgb(56, 56, 56);
|
||
@define-color noti-bg-focus rgba(68, 68, 68, 0.6);
|
||
@define-color noti-close-bg rgba(255, 255, 255, 0.1);
|
||
@define-color noti-close-bg-hover rgba(255, 255, 255, 0.15);
|
||
@define-color text-color rgb(255, 255, 255);
|
||
@define-color text-color-disabled rgb(150, 150, 150);
|
||
@define-color bg-selected rgb(128, 128, 128);
|
||
|
||
@define-color foreground rgb(100, 100, 100);
|
||
/*@define-color background #0F161E;*/
|
||
@define-color background rgba(0, 0, 0, 0.6);
|
||
@define-color cursor rgb(100, 100, 100);
|
||
|
||
@define-color color0 #0F161E;
|
||
@define-color color1 rgb(100, 100, 100);
|
||
@define-color color2 #595A59;
|
||
@define-color color3 rgb(100, 100, 100);
|
||
@define-color color4 rgb(100, 100, 100);
|
||
@define-color color5 rgb(200, 200, 200);
|
||
@define-color color6 rgb(100, 100, 100);
|
||
@define-color color7 rgb(200, 200, 200);
|
||
@define-color color8 rgb(250, 250, 250);
|
||
@define-color color9 #32514E;
|
||
@define-color color10 #595A59;
|
||
@define-color color11 #B85154;
|
||
@define-color color12 white;
|
||
@define-color color13 rgb(100, 100, 100);
|
||
@define-color color14 rgb(180, 180, 180);
|
||
@define-color color15 white;
|
||
|
||
.control-center {
|
||
background: rgba(0, 0, 0, 0.9);
|
||
border-radius: 24px;
|
||
border: 1px solid @foreground;
|
||
margin: 2px;
|
||
padding: 4px;
|
||
}
|
||
|
||
.control-center-list {
|
||
background: transparent;
|
||
}
|
||
|
||
.control-center-list-placeholder {
|
||
opacity: 0.8;
|
||
}
|
||
|
||
.widget-title {
|
||
margin: 8px;
|
||
font-size: 1.5rem;
|
||
background: alpha(@color0, 0);
|
||
}
|
||
.widget-title > button {
|
||
font-size: initial;
|
||
color: @color7;
|
||
text-shadow: none;
|
||
background: alpha(@background, 0);
|
||
border: 1px solid alpha(@color7, 0.5);
|
||
box-shadow: none;
|
||
border-radius: 12px;
|
||
}
|
||
.widget-title > button:hover {
|
||
background: gray;
|
||
}
|
||
|
||
.widget-label {
|
||
background: @color0;
|
||
padding: 20px;
|
||
padding-bottom: 50px;
|
||
border-radius: 20px;
|
||
}
|
||
|
||
/* DND widget */
|
||
.widget-dnd {
|
||
background-color: @color;
|
||
}
|
||
.widget-dnd > switch {
|
||
font-size: initial;
|
||
border-radius: 14px;
|
||
background: @noti-bg;
|
||
border: 2px solid @noti-border-color;
|
||
box-shadow: none;
|
||
}
|
||
.widget-dnd > switch:checked {
|
||
background: @color5;
|
||
}
|
||
.widget-dnd > switch slider {
|
||
background: @noti-bg-hover;
|
||
border-radius: 12px;
|
||
}
|
||
|
||
/* Label widget */
|
||
.widget-label {
|
||
margin: 8px;
|
||
}
|
||
.widget-label > label {
|
||
font-size: 1.1rem;
|
||
}
|
||
|
||
/* Mpris widget */
|
||
.widget-mpris {
|
||
font-family: "JetBrains Mono Nerd Font";
|
||
}
|
||
.widget-mpris-title {
|
||
font-family: "JetBrains Mono Nerd Font";
|
||
font-weight: bold;
|
||
font-size: 1.25rem;
|
||
}
|
||
.widget-mpris-subtitle {
|
||
font-family: "JetBrains Mono Nerd Font";
|
||
font-size: 1.1rem;
|
||
}
|
||
|
||
/* Buttons widget */
|
||
.widget-buttons-grid {
|
||
font-size: 15px;
|
||
background: alpha(@background, 0.9);
|
||
font-family: "JetBrains Mono Nerd Font";
|
||
padding-left: 5px;
|
||
margin-left: 10px;
|
||
margin-right: 10px;
|
||
border-radius: 20px;
|
||
padding-top: 10px;
|
||
padding-bottom: 10px;
|
||
background-color: alpha(@background, 0.9);
|
||
}
|
||
|
||
.widget-buttons-grid > flowbox > flowboxchild > button {
|
||
padding: 10px;
|
||
background: @color1;
|
||
color: @color7;
|
||
border-radius: 20px;
|
||
margin: 2px;
|
||
border: 0px solid #04030a;
|
||
}
|
||
|
||
.widget-buttons-grid > flowbox > flowboxchild > button:hover {
|
||
background: @color4;
|
||
transition: all 0.3s ease-in-out;
|
||
}
|
||
|
||
/* Menubar widget */
|
||
.widget-menubar > box > .menu-button-bar > button {
|
||
border: none;
|
||
background: transparent;
|
||
background: red;
|
||
}
|
||
|
||
.topbar-buttons > button {
|
||
/* Name defined in config after # */
|
||
border: none;
|
||
background: transparent;
|
||
background: rgba(133, 133, 133, 1);
|
||
}
|
||
|
||
/* Volume widget */
|
||
trough {
|
||
border-radius: 20px;
|
||
/*background: @background;*/
|
||
background: rgba(40, 40, 40, 0.9);
|
||
border: 1px solid @background;
|
||
}
|
||
|
||
trough highlight {
|
||
/* ´trough´ is the background of the slider, ´highlight´ is the actual slider */
|
||
padding-top: 1px;
|
||
/*background: @color4;*/
|
||
background: rgba(30, 30, 30, 0.9);
|
||
border: 1px solid @color4;
|
||
border-radius: 20px;
|
||
}
|
||
|
||
trough slider {
|
||
padding: 1px;
|
||
/*background: @color4;*/
|
||
background: rgba(30, 30, 30, 0.9);
|
||
border: 1px solid gray;
|
||
}
|
||
trough slider:hover {
|
||
padding: 1px;
|
||
/*background: @color4;*/
|
||
background: rgba(20, 20, 20, 0.9);
|
||
}
|
||
|
||
.widget-volume {
|
||
background: transparent;
|
||
/*background-color: alpha(@background, 0);*/
|
||
border-radius: 20px 20px 0px 0px;
|
||
font-size: 15px;
|
||
margin-left: 10px;
|
||
margin-right: 10px;
|
||
padding-bottom: 5px;
|
||
border: 0px solid transparent;
|
||
}
|
||
|
||
.widget-backlight {
|
||
padding-left: 5px;
|
||
background: transparent;
|
||
/*background-color: alpha(@background, 0);*/
|
||
font-size: 15px;
|
||
margin-top: -8px;
|
||
margin-left: 10px;
|
||
margin-right: 10px;
|
||
border-radius: 0px 0px 20px 20px;
|
||
border: 0px solid transparent;
|
||
}
|
||
|
||
/* Title widget */
|
||
.widget-inhibitors {
|
||
margin: 8px;
|
||
font-size: 1.5rem;
|
||
}
|
||
.widget-inhibitors > button {
|
||
font-size: initial;
|
||
color: white;
|
||
text-shadow: none;
|
||
background: transparent;
|
||
/*background: @noti-bg;*/
|
||
border: 1px solid @noti-border-color;
|
||
box-shadow: none;
|
||
border-radius: 12px;
|
||
}
|
||
.widget-inhibitors > button:hover {
|
||
background: transparent;
|
||
/*background: @noti-bg-hover;*/
|
||
}
|
||
.notification-row {
|
||
outline: none;
|
||
background: transparent;
|
||
}
|
||
|
||
.notification-row:focus,
|
||
.notification-row:hover {
|
||
/*background: alpha(@color14, 0.5); /* @noti-bg-focus */
|
||
background: transparent;
|
||
}
|
||
|
||
.notification-row .notification-background {
|
||
padding: 6px 12px;
|
||
background: transparent;
|
||
}
|
||
|
||
.notification-row .notification-background .close-button {
|
||
/* The notification Close Button */
|
||
/*background: alpha(@color4, 0.5); /* @noti-close-bg */
|
||
background: transparent;
|
||
color: alpha(@color15, 1); /* @text-color */
|
||
text-shadow: none;
|
||
padding: 0;
|
||
border-radius: 100%;
|
||
margin-top: 5px;
|
||
margin-right: 5px;
|
||
box-shadow: none;
|
||
border: none;
|
||
min-width: 24px;
|
||
min-height: 24px;
|
||
}
|
||
|
||
.notification-row .notification-background .close-button:hover {
|
||
/*background: alpha(@color12, 0.5); /* @noti-close-bg-hover */
|
||
background: transparent;
|
||
transition: background 0.15s ease-in-out;
|
||
}
|
||
|
||
.notification-row .notification-background .notification {
|
||
/* The actual notification */
|
||
border-radius: 12px;
|
||
border: 2px solid alpha(@color8, 0.5); /* @border */
|
||
padding: 0;
|
||
transition: background 0.15s ease-in-out;
|
||
/*background: alpha(@color0, 0.5); /* @noti-bg */
|
||
background: rgba(0, 0, 0, 0.9);
|
||
}
|
||
|
||
.notification-row .notification-background .notification.low {
|
||
/* Low Priority Notification */
|
||
}
|
||
|
||
.notification-row .notification-background .notification.normal {
|
||
/* Normal Priority Notification */
|
||
}
|
||
|
||
.notification-row .notification-background .notification.critical {
|
||
/* Critical Priority Notification */
|
||
}
|
||
|
||
.notification-row .notification-background .notification .notification-action,
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action {
|
||
padding: 4px;
|
||
margin: 0;
|
||
box-shadow: none;
|
||
background: transparent;
|
||
border: none;
|
||
color: alpha(@color15, 1); /* @text-color */
|
||
transition: background 0.15s ease-in-out;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-action:hover,
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action:hover {
|
||
/*background: alpha(@color13, 0.5); /* @noti-bg-hover */*/
|
||
background: transparent;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action {
|
||
/* The large action that also displays the notification summary and body */
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action:not(:only-child) {
|
||
/* When alternative actions are visible */
|
||
border-bottom-left-radius: 0px;
|
||
border-bottom-right-radius: 0px;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.notification-content {
|
||
background: transparent;
|
||
border-radius: 12px;
|
||
padding: 4px;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.notification-content
|
||
.image {
|
||
/* Notification Primary Image */
|
||
border-radius: 100px;
|
||
/* Size in px */
|
||
margin: 4px;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.notification-content
|
||
.app-icon {
|
||
/* Notification app icon (only visible when the primary image is set) */
|
||
-gtk-icon-shadow: 0 1px 4px black;
|
||
margin: 6px;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.notification-content
|
||
.text-box
|
||
.summary {
|
||
/* Notification summary/title */
|
||
font-size: 16px;
|
||
font-weight: bold;
|
||
background: transparent;
|
||
color: alpha(@color15, 1); /* @text-color */
|
||
text-shadow: none;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.notification-content
|
||
.text-box
|
||
.time {
|
||
/* Notification time-ago */
|
||
font-size: 16px;
|
||
font-weight: bold;
|
||
background: transparent;
|
||
color: alpha(@color15, 1); /* @text-color */
|
||
text-shadow: none;
|
||
margin-right: 30px;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.notification-content
|
||
.text-box
|
||
.body {
|
||
/* Notification body */
|
||
font-size: 15px;
|
||
font-weight: normal;
|
||
background: transparent;
|
||
color: alpha(@color15, 1); /* @text-color */
|
||
text-shadow: none;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.notification-content
|
||
progressbar {
|
||
/* The optional notification progress bar */
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.notification-content
|
||
.body-image {
|
||
/* The "extra" optional bottom notification image */
|
||
margin-top: 4px;
|
||
/*background-color: alpha(@color15, 0.5);*/
|
||
background: transparent;
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.notification-content
|
||
.inline-reply {
|
||
/* The inline reply section */
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.notification-content
|
||
.inline-reply
|
||
.inline-reply-entry {
|
||
/*background: alpha(@color1, 0.5); /* @noti-bg-darker */*/
|
||
background: transparent;
|
||
color: alpha(@color15, 1); /* @text-color */
|
||
caret-color: alpha(@color15, 1); /* @text-color */
|
||
border: 1px solid alpha(@color8, 0.5); /* @border */
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.notification-content
|
||
.inline-reply
|
||
.inline-reply-button {
|
||
margin-left: 4px;
|
||
/*background: alpha(@color0, 0.5); /* @noti-bg */*/
|
||
background: transparent;
|
||
border: 1px solid alpha(@color8, 0.5); /* @border */
|
||
border-radius: 12px;
|
||
color: alpha(@color15, 1); /* @text-color */
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.notification-content
|
||
.inline-reply
|
||
.inline-reply-button:disabled {
|
||
/*background: initial;*/
|
||
background: transparent;
|
||
color: alpha(@color7, 0.5); /* @text-color-disabled */
|
||
border: 1px solid alpha(@color8, 0.5); /* @border */
|
||
border-color: transparent;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-default-action
|
||
.inline-reply
|
||
.inline-reply-button:hover {
|
||
/*background: alpha(@color13, 0.5); /* @noti-bg-hover */*/
|
||
background: transparent;
|
||
}
|
||
|
||
.notification-row .notification-background .notification .notification-action {
|
||
/* The alternative actions below the default action */
|
||
border-top: 1px solid alpha(@color8, 0.5); /* @border */
|
||
border-radius: 0px;
|
||
border-right: 1px solid alpha(@color8, 0.5); /* @border */
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-action:first-child {
|
||
/* Add bottom border radius to eliminate clipping */
|
||
border-bottom-left-radius: 12px;
|
||
}
|
||
|
||
.notification-row
|
||
.notification-background
|
||
.notification
|
||
.notification-action:last-child {
|
||
border-bottom-right-radius: 12px;
|
||
border-right: none;
|
||
}
|
||
|
||
.notification-group {
|
||
/* Styling only for Grouped Notifications */
|
||
background: transparent;
|
||
border: 0;
|
||
}
|
||
|
||
.notification-group.low {
|
||
background: transparent;
|
||
/* Low Priority Group */
|
||
}
|
||
|
||
.notification-group.normal {
|
||
background: transparent;
|
||
/* Normal Priority Group */
|
||
}
|
||
|
||
.notification-group.critical {
|
||
background: transparent;
|
||
/* Critical Priority Group */
|
||
}
|
||
|
||
.notification-group .notification-group-buttons,
|
||
.notification-group .notification-group-headers {
|
||
margin: 0 16px;
|
||
color: alpha(@color15, 1); /* @text-color */
|
||
background: transparent;
|
||
}
|
||
|
||
.notification-group .notification-group-headers {
|
||
/* Notification Group Headers */
|
||
}
|
||
|
||
.notification-group .notification-group-headers .notification-group-icon {
|
||
color: alpha(@color15, 1); /* @text-color */
|
||
}
|
||
|
||
.notification-group .notification-group-headers .notification-group-header {
|
||
color: alpha(@color15, 1); /* @text-color */
|
||
}
|
||
|
||
.notification-group .notification-group-buttons {
|
||
background: transparent;
|
||
/* Notification Group Buttons */
|
||
}
|
||
|
||
.notification-group.collapsed .notification-row .notification {
|
||
/*background-color: alpha(@color0, 0.5); /* @noti-bg-opaque */*/
|
||
background: transparent;
|
||
}
|
||
|
||
.notification-group.collapsed .notification-row:not(:last-child) {
|
||
/* Top notification in stack */
|
||
/* Set lower stacked notifications opacity to 0 */
|
||
}
|
||
|
||
.notification-group.collapsed
|
||
.notification-row:not(:last-child)
|
||
.notification-action,
|
||
.notification-group.collapsed
|
||
.notification-row:not(:last-child)
|
||
.notification-default-action {
|
||
opacity: 0;
|
||
}
|
||
|
||
.notification-group.collapsed:hover
|
||
.notification-row:not(:only-child)
|
||
.notification {
|
||
/*background-color: alpha(@color13, 0.5); /* @noti-bg-hover-opaque */*/
|
||
background: transparent;
|
||
}
|