updated swaync styles

This commit is contained in:
wt
2025-03-24 11:08:12 +07:00
parent f7407547a9
commit c5f8fb741a
+371 -254
View File
@@ -10,470 +10,587 @@
@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(0, 128, 255);
@import url("/home/tola/.cache/wal/colors-waybar.css")
@define-color bg-selected rgb(128, 128, 128);
@define-color foreground rgb(100, 100, 100);
@define-color background #0F161E;
@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 #30A95B;
@define-color color13 #B6A743;
@define-color color14 #94439B;
@define-color color15 #8ae1c1;
.testing {
background-color: red;
background-color: red;
}
.control-center {
background: alpha(@background, 0.6);
border-radius: 24px;
border: 0px solid @foreground;
margin: 2px;
padding: 4px;
background: black;
border-radius: 24px;
border: 0px solid @foreground;
margin: 2px;
padding: 4px;
}
.control-center-list {
background: transparent;
background: transparent;
}
.control-center-list-placeholder {
opacity: 0.8;
opacity: 0.8;
}
/* Window behind control center and on all other monitors */
.blank-window {
background: transparent;
background: transparent;
}
/*** Widgets ***/
/* Title widget */
.widget-title {
margin: 8px;
font-size: 1.5rem;
background: alpha(@color0,0.0);
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.0);
border: 1px solid alpha(@color7,0.5);
box-shadow: none;
border-radius: 12px;
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: @color1;
background: @color1;
}
.widget-label {
background: @color0;
padding: 20px;
padding-bottom: 50px;
border-radius: 20px;
background: @color0;
padding: 20px;
padding-bottom: 50px;
border-radius: 20px;
}
/* DND widget */
.widget-dnd {
background-color: @color;
background-color: @color;
}
.widget-dnd > switch {
font-size: initial;
border-radius: 14px;
background: @noti-bg;
border: 2px solid @noti-border-color;
box-shadow: none;
font-size: initial;
border-radius: 14px;
background: @noti-bg;
border: 2px solid @noti-border-color;
box-shadow: none;
}
.widget-dnd > switch:checked {
background: @color5;
background: @color5;
}
.widget-dnd > switch slider {
background: @noti-bg-hover;
border-radius: 12px;
background: @noti-bg-hover;
border-radius: 12px;
}
/* Label widget */
.widget-label {
margin: 8px;
margin: 8px;
}
.widget-label > label {
font-size: 1.1rem;
font-size: 1.1rem;
}
/* Mpris widget */
.widget-mpris {
font-family: "JetBrains Mono Nerd Font";
/* The parent to all players */
border: 0px;
font-family: "JetBrains Mono Nerd Font";
/* The parent to all players */
border: 0px;
}
.widget-mpris-player {
padding: 14px;
margin: 14px;
background-color: @mpris-album-art-overlay;
border-radius: 20px;
padding: 14px;
margin: 14px;
background-color: @mpris-album-art-overlay;
border-radius: 20px;
}
.widget-mpris-album-art {
border-radius: 12px;
border-radius: 12px;
}
.widget-mpris-player button:hover {
/* The media player buttons (play, pause, next, etc...) */
background: @noti-bg-hover;
/* The media player buttons (play, pause, next, etc...) */
background: @noti-bg-hover;
}
.widget-mpris > box > button {
/* Change player side buttons */
/* Change player side buttons */
}
.widget-mpris > box > button:disabled {
/* Change player side buttons insensitive */
/* Change player side buttons insensitive */
}
.widget-mpris-title {
font-family: "JetBrains Mono Nerd Font";
font-weight: bold;
font-size: 1.25rem;
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;
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);
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;
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;
background: @color4;
transition: all 0.3s ease-in-out;
}
/* Menubar widget */
.widget-menubar > box > .menu-button-bar > button {
border: none;
background: transparent;
background: red;
border: none;
background: transparent;
background: red;
}
.topbar-buttons > button {
/* Name defined in config after # */
border: none;
background: transparent;
background: rgba(69, 133, 136, 1);
/* Name defined in config after # */
border: none;
background: transparent;
background: rgba(133, 133, 133, 1);
}
/* Volume widget */
trough {
border-radius: 20px;
background: @background;
border: 1px solid @background;
border-radius: 20px;
background: @background;
border: 1px solid @background;
}
trough highlight {
/* ´trough´ is the background of the slider, ´highlight´ is the actual slider */
padding-top: 1px;
background: @color4;
border: 1px solid @color4;
border-radius: 20px;
/* ´trough´ is the background of the slider, ´highlight´ is the actual slider */
padding-top: 1px;
background: @color4;
border: 1px solid @color4;
border-radius: 20px;
}
trough slider {
padding: 1px;
background: @color4;
border: 1px solid @color4;
padding: 1px;
background: @color4;
border: 1px solid gray;
}
trough slider:hover {
padding: 1px;
background: @color4;
padding: 1px;
background: @color4;
}
.widget-volume {
background-color: alpha(@background, 0.0);
border-radius: 20px 20px 0px 0px;
font-size: 15px;
margin-left: 10px;
margin-right: 10px;
padding-bottom: 5px;
border: 0px solid 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-color: alpha(@background, 0.0);
font-size: 15px;
margin-top: -8px;
margin-left: 10px;
margin-right: 10px;
border-radius: 0px 0px 20px 20px;
border: 0px solid transparent;
padding-left: 5px;
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;
margin: 8px;
font-size: 1.5rem;
}
.widget-inhibitors > button {
font-size: initial;
color: white;
text-shadow: none;
background: @noti-bg;
border: 1px solid @noti-border-color;
box-shadow: none;
border-radius: 12px;
font-size: initial;
color: white;
text-shadow: none;
background: @noti-bg;
border: 1px solid @noti-border-color;
box-shadow: none;
border-radius: 12px;
}
.widget-inhibitors > button:hover {
background: @noti-bg-hover;
background: @noti-bg-hover;
}
.notification-row {
outline: none;
outline: none;
}
.notification-row:focus,
.notification-row:hover {
background: alpha(@color14, 0.5); /* @noti-bg-focus */
background: alpha(@color14, 0.5); /* @noti-bg-focus */
}
.notification-row .notification-background {
padding: 6px 12px;
padding: 6px 12px;
}
.notification-row .notification-background .close-button {
/* The notification Close Button */
background: alpha(@color4, 0.5); /* @noti-close-bg */
color: alpha(@color15, 1.0); /* @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;
/* The notification Close Button */
background: alpha(@color4, 0.5); /* @noti-close-bg */
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 */
transition: background 0.15s ease-in-out;
background: alpha(@color12, 0.5); /* @noti-close-bg-hover */
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 */
/* 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 */
}
.notification-row .notification-background .notification.low {
/* Low Priority Notification */
/* Low Priority Notification */
}
.notification-row .notification-background .notification.normal {
/* Normal Priority Notification */
/* Normal Priority Notification */
}
.notification-row .notification-background .notification.critical {
/* Critical Priority Notification */
/* 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.0); /* @text-color */
transition: background 0.15s ease-in-out;
.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 */
.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 */
}
.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 {
/* 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: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 {
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
.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
.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.0); /* @text-color */
text-shadow: none;
.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.0); /* @text-color */
text-shadow: none;
margin-right: 30px;
.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.0); /* @text-color */
text-shadow: none;
.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
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);
border-radius: 12px;
.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);
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 {
/* 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 */
color: alpha(@color15, 1.0); /* @text-color */
caret-color: alpha(@color15, 1.0); /* @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-entry {
background: alpha(@color1, 0.5); /* @noti-bg-darker */
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 */
border: 1px solid alpha(@color8, 0.5); /* @border */
border-radius: 12px;
color: alpha(@color15, 1.0); /* @text-color */
.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 */
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;
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
.notification-content
.inline-reply
.inline-reply-button:disabled {
background: initial;
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 */
.notification-row
.notification-background
.notification
.notification-default-action
.inline-reply
.inline-reply-button:hover {
background: alpha(@color13, 0.5); /* @noti-bg-hover */
}
.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 */
/* 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: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-row
.notification-background
.notification
.notification-action:last-child {
border-bottom-right-radius: 12px;
border-right: none;
}
.notification-group {
/* Styling only for Grouped Notifications */
/* Styling only for Grouped Notifications */
}
.notification-group.low {
/* Low Priority Group */
/* Low Priority Group */
}
.notification-group.normal {
/* Normal Priority Group */
/* Normal Priority Group */
}
.notification-group.critical {
/* Critical Priority Group */
/* Critical Priority Group */
}
.notification-group .notification-group-buttons,
.notification-group .notification-group-headers {
margin: 0 16px;
color: alpha(@color15, 1.0); /* @text-color */
margin: 0 16px;
color: alpha(@color15, 1); /* @text-color */
}
.notification-group .notification-group-headers {
/* Notification Group Headers */
/* Notification Group Headers */
}
.notification-group .notification-group-headers .notification-group-icon {
color: alpha(@color15, 1.0); /* @text-color */
color: alpha(@color15, 1); /* @text-color */
}
.notification-group .notification-group-headers .notification-group-header {
color: alpha(@color15, 1.0); /* @text-color */
color: alpha(@color15, 1); /* @text-color */
}
.notification-group .notification-group-buttons {
/* Notification Group Buttons */
/* Notification Group Buttons */
}
.notification-group.collapsed .notification-row .notification {
background-color: alpha(@color0, 0.5); /* @noti-bg-opaque */
background-color: alpha(@color0, 0.5); /* @noti-bg-opaque */
}
.notification-group.collapsed .notification-row:not(:last-child) {
/* Top notification in stack */
/* Set lower stacked notifications opacity to 0 */
/* 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
.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 */
.notification-group.collapsed:hover
.notification-row:not(:only-child)
.notification {
background-color: alpha(@color13, 0.5); /* @noti-bg-hover-opaque */
}