mirror of
https://github.com/hydroxycarbamide/dotfiles.git
synced 2025-05-04 20:09:08 -04:00
333 lines
5.7 KiB
CSS
333 lines
5.7 KiB
CSS
/*
|
|
* vim: ft=less
|
|
*/
|
|
|
|
@define-color cc-bg rgb(24, 25, 38);
|
|
|
|
@define-color noti-border-color rgba(255, 255, 255, 0.15);
|
|
@define-color noti-bg rgb(36, 39, 58);
|
|
@define-color noti-bg-hover #363a4f;
|
|
@define-color noti-bg-focus rgba(36, 39, 58, 0.5);
|
|
@define-color noti-close-bg rgba(255, 255, 255, 0.1);
|
|
@define-color noti-close-bg-hover rgba(255, 255, 255, 0.20);
|
|
|
|
@define-color bg-selected rgb(244, 219, 214);
|
|
|
|
.notification-row {
|
|
outline: none;
|
|
border-radius: 4px;
|
|
margin: 0px;
|
|
}
|
|
|
|
.notification-row:focus,
|
|
.notification-row:hover {
|
|
background: @noti-bg-focus;
|
|
}
|
|
|
|
.notification {
|
|
border-radius: 20px;
|
|
margin: 18px 10px;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
|
padding: 0px;
|
|
font-family: Ubuntu;
|
|
}
|
|
|
|
.critical {
|
|
background: #ed8796;
|
|
padding: 2px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.notification-content {
|
|
background: transparent;
|
|
padding: 16px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.close-button {
|
|
background: @noti-close-bg;
|
|
color: #cad3f5;
|
|
text-shadow: none;
|
|
padding: 0;
|
|
border-radius: 100%;
|
|
margin-top: 24px;
|
|
margin-right: 16px;
|
|
box-shadow: none;
|
|
border: none;
|
|
min-width: 24px;
|
|
min-height: 24px;
|
|
}
|
|
|
|
.close-button:hover {
|
|
box-shadow: none;
|
|
background: @noti-close-bg-hover;
|
|
transition: all 0.15s ease-in-out;
|
|
border: none;
|
|
}
|
|
|
|
.notification-default-action,
|
|
.notification-action {
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1),
|
|
0 1px 3px 1px rgba(0, 0, 0, 0.1),
|
|
0 2px 6px 2px rgba(0, 0, 0, 0.1);
|
|
padding: 4px;
|
|
margin: 0;
|
|
box-shadow: none;
|
|
background: @noti-bg;
|
|
border: none;
|
|
color: #cad3f5;
|
|
}
|
|
|
|
.notification-default-action:hover,
|
|
.notification-action:hover {
|
|
-gtk-icon-effect: none;
|
|
background: @noti-bg-hover;
|
|
}
|
|
|
|
.notification-default-action {
|
|
border-radius: 20px;
|
|
}
|
|
|
|
/* When alternative actions are visible */
|
|
.notification-default-action:not(:only-child) {
|
|
border-bottom-left-radius: 0px;
|
|
border-bottom-right-radius: 0px;
|
|
}
|
|
|
|
.notification-action {
|
|
border-radius: 0px;
|
|
border-top: none;
|
|
border-right: none;
|
|
}
|
|
|
|
/* add bottom border radius to eliminate clipping */
|
|
.notification-action:first-child {
|
|
border-bottom-left-radius: 20px;
|
|
}
|
|
|
|
.notification-action:last-child {
|
|
border-bottom-right-radius: 20px;
|
|
border-right: 1px solid @noti-border-color;
|
|
}
|
|
|
|
.image {
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.body-image {
|
|
margin-top: 6px;
|
|
background-color: #cad3f5;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.summary {
|
|
color: #cad3f5;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.time {
|
|
color: #cad3f5;
|
|
text-shadow: none;
|
|
margin-right: 18px;
|
|
}
|
|
|
|
.body {
|
|
background: transparent;
|
|
color: #cad3f5;
|
|
text-shadow: none;
|
|
padding: 4px;
|
|
}
|
|
|
|
/* The "Notifications" and "Do Not Disturb" text widget */
|
|
.top-action-title {
|
|
color: #cad3f5;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.control-center-clear-all {
|
|
color: #cad3f5;
|
|
text-shadow: none;
|
|
background: @noti-bg;
|
|
border: none;
|
|
box-shadow: none;
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
.control-center-clear-all:hover {
|
|
background: @noti-bg-hover;
|
|
}
|
|
|
|
.control-center-dnd {
|
|
border-radius: 9999px;
|
|
background: @noti-bg;
|
|
box-shadow: none;
|
|
border: none;
|
|
}
|
|
|
|
.control-center-dnd:checked {
|
|
background: @bg-selected;
|
|
}
|
|
|
|
.control-center-dnd slider {
|
|
background: @noti-bg-hover;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
/* The .control-center Window.
|
|
* Can't apply padding and margin so may be easier to use "> box" instead
|
|
*/
|
|
.control-center {
|
|
background: @cc-bg;
|
|
border-radius: 20px;
|
|
font-family: Ubuntu;
|
|
}
|
|
|
|
/* The first control-center child. May be easier to style this than .control-center */
|
|
.control-center>box {
|
|
margin: 15px;
|
|
}
|
|
|
|
.control-center-list {
|
|
background: transparent;
|
|
}
|
|
|
|
.floating-notifications {
|
|
background: transparent;
|
|
}
|
|
|
|
/* Window behind control center and on all other monitors */
|
|
.blank-window {
|
|
background: alpha(black, 0);
|
|
}
|
|
|
|
/* Title widget */
|
|
.widget-title {
|
|
margin: 8px;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.widget-title>button {
|
|
font-size: initial;
|
|
color: #cad3f5;
|
|
text-shadow: none;
|
|
background: @noti-bg;
|
|
border: none;
|
|
box-shadow: none;
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
.widget-title>button:hover {
|
|
background: @noti-bg-hover;
|
|
}
|
|
|
|
/* DND widget */
|
|
.widget-dnd {
|
|
margin: 8px;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.widget-dnd>switch {
|
|
font-size: initial;
|
|
border-radius: 9999px;
|
|
background: @noti-bg;
|
|
box-shadow: none;
|
|
border: none;
|
|
}
|
|
|
|
.widget-dnd>switch:checked {
|
|
background: @bg-selected;
|
|
}
|
|
|
|
.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 {
|
|
/* The parent to all players */
|
|
/* background-color: @noti-bg; */
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.widget-mpris-player {
|
|
padding: 8px;
|
|
margin: 8px;
|
|
}
|
|
|
|
.widget-mpris-title {
|
|
font-weight: bold;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.widget-mpris-subtitle {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Buttons widget */
|
|
.widget-buttons-grid {
|
|
padding: 8px;
|
|
margin: 8px;
|
|
border-radius: 12px;
|
|
background-color: @noti-bg;
|
|
}
|
|
|
|
.widget-buttons-grid>flowbox>flowboxchild>button {
|
|
background: @noti-bg;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.widget-buttons-grid>flowbox>flowboxchild>button:hover {
|
|
background: @noti-bg-hover;
|
|
}
|
|
|
|
/* Menubar widget */
|
|
.widget-menubar>box>.menu-button-bar>button {
|
|
border: none;
|
|
background: transparent;
|
|
}
|
|
|
|
.topbar-buttons>button {
|
|
/* Name defined in config after # */
|
|
border: none;
|
|
background: transparent;
|
|
}
|
|
|
|
/* Volume widget */
|
|
|
|
.widget-volume {
|
|
/* background-color: @noti-bg; */
|
|
background: transparent;
|
|
padding: 8px;
|
|
margin: 8px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.widget-volume>box>button {
|
|
background: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.per-app-volume {
|
|
background-color: @noti-bg-alt;
|
|
padding: 4px 8px 8px 8px;
|
|
margin: 0px 8px 8px 8px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
/* Backlight widget */
|
|
.widget-backlight {
|
|
background-color: @noti-bg;
|
|
padding: 8px;
|
|
margin: 8px;
|
|
border-radius: 12px;
|
|
}
|