updated swaync styles
This commit is contained in:
1 parent
f7407547a9
commit
c5f8fb741a
1 file changed
+160
-43
+160
-43
@@ -10,15 +10,35 @@
|
|||||||
@define-color noti-close-bg-hover rgba(255, 255, 255, 0.15);
|
@define-color noti-close-bg-hover rgba(255, 255, 255, 0.15);
|
||||||
@define-color text-color rgb(255, 255, 255);
|
@define-color text-color rgb(255, 255, 255);
|
||||||
@define-color text-color-disabled rgb(150, 150, 150);
|
@define-color text-color-disabled rgb(150, 150, 150);
|
||||||
@define-color bg-selected rgb(0, 128, 255);
|
@define-color bg-selected rgb(128, 128, 128);
|
||||||
@import url("/home/tola/.cache/wal/colors-waybar.css")
|
|
||||||
|
@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 {
|
.testing {
|
||||||
background-color: red;
|
background-color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
.control-center {
|
.control-center {
|
||||||
background: alpha(@background, 0.6);
|
background: black;
|
||||||
border-radius: 24px;
|
border-radius: 24px;
|
||||||
border: 0px solid @foreground;
|
border: 0px solid @foreground;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
@@ -44,13 +64,13 @@
|
|||||||
.widget-title {
|
.widget-title {
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
background: alpha(@color0,0.0);
|
background: alpha(@color0, 0);
|
||||||
}
|
}
|
||||||
.widget-title > button {
|
.widget-title > button {
|
||||||
font-size: initial;
|
font-size: initial;
|
||||||
color: @color7;
|
color: @color7;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
background: alpha(@background,0.0);
|
background: alpha(@background, 0);
|
||||||
border: 1px solid alpha(@color7, 0.5);
|
border: 1px solid alpha(@color7, 0.5);
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
@@ -167,7 +187,7 @@
|
|||||||
/* Name defined in config after # */
|
/* Name defined in config after # */
|
||||||
border: none;
|
border: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
background: rgba(69, 133, 136, 1);
|
background: rgba(133, 133, 133, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Volume widget */
|
/* Volume widget */
|
||||||
@@ -188,7 +208,7 @@ trough highlight {
|
|||||||
trough slider {
|
trough slider {
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
background: @color4;
|
background: @color4;
|
||||||
border: 1px solid @color4;
|
border: 1px solid gray;
|
||||||
}
|
}
|
||||||
trough slider:hover {
|
trough slider:hover {
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
@@ -196,7 +216,7 @@ trough slider:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.widget-volume {
|
.widget-volume {
|
||||||
background-color: alpha(@background, 0.0);
|
background-color: alpha(@background, 0);
|
||||||
border-radius: 20px 20px 0px 0px;
|
border-radius: 20px 20px 0px 0px;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
@@ -207,7 +227,7 @@ trough slider:hover {
|
|||||||
|
|
||||||
.widget-backlight {
|
.widget-backlight {
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
background-color: alpha(@background, 0.0);
|
background-color: alpha(@background, 0);
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
margin-top: -8px;
|
margin-top: -8px;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
@@ -249,7 +269,7 @@ trough slider:hover {
|
|||||||
.notification-row .notification-background .close-button {
|
.notification-row .notification-background .close-button {
|
||||||
/* The notification Close Button */
|
/* The notification Close Button */
|
||||||
background: alpha(@color4, 0.5); /* @noti-close-bg */
|
background: alpha(@color4, 0.5); /* @noti-close-bg */
|
||||||
color: alpha(@color15, 1.0); /* @text-color */
|
color: alpha(@color15, 1); /* @text-color */
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
@@ -288,120 +308,205 @@ trough slider:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-action,
|
.notification-row .notification-background .notification .notification-action,
|
||||||
.notification-row .notification-background .notification .notification-default-action {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
color: alpha(@color15, 1.0); /* @text-color */
|
color: alpha(@color15, 1); /* @text-color */
|
||||||
transition: background 0.15s ease-in-out;
|
transition: background 0.15s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-action:hover,
|
.notification-row
|
||||||
.notification-row .notification-background .notification .notification-default-action:hover {
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-action:hover,
|
||||||
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action:hover {
|
||||||
background: alpha(@color13, 0.5); /* @noti-bg-hover */
|
background: alpha(@color13, 0.5); /* @noti-bg-hover */
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action {
|
||||||
/* The large action that also displays the notification summary and body */
|
/* The large action that also displays the notification summary and body */
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action:not(:only-child) {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action:not(:only-child) {
|
||||||
/* When alternative actions are visible */
|
/* When alternative actions are visible */
|
||||||
border-bottom-left-radius: 0px;
|
border-bottom-left-radius: 0px;
|
||||||
border-bottom-right-radius: 0px;
|
border-bottom-right-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .notification-content {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.notification-content {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .notification-content .image {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.notification-content
|
||||||
|
.image {
|
||||||
/* Notification Primary Image */
|
/* Notification Primary Image */
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
/* Size in px */
|
/* Size in px */
|
||||||
margin: 4px;
|
margin: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .notification-content .app-icon {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.notification-content
|
||||||
|
.app-icon {
|
||||||
/* Notification app icon (only visible when the primary image is set) */
|
/* Notification app icon (only visible when the primary image is set) */
|
||||||
-gtk-icon-shadow: 0 1px 4px black;
|
-gtk-icon-shadow: 0 1px 4px black;
|
||||||
margin: 6px;
|
margin: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .notification-content .text-box .summary {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.notification-content
|
||||||
|
.text-box
|
||||||
|
.summary {
|
||||||
/* Notification summary/title */
|
/* Notification summary/title */
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: alpha(@color15, 1.0); /* @text-color */
|
color: alpha(@color15, 1); /* @text-color */
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .notification-content .text-box .time {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.notification-content
|
||||||
|
.text-box
|
||||||
|
.time {
|
||||||
/* Notification time-ago */
|
/* Notification time-ago */
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: alpha(@color15, 1.0); /* @text-color */
|
color: alpha(@color15, 1); /* @text-color */
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
margin-right: 30px;
|
margin-right: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .notification-content .text-box .body {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.notification-content
|
||||||
|
.text-box
|
||||||
|
.body {
|
||||||
/* Notification body */
|
/* Notification body */
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: alpha(@color15, 1.0); /* @text-color */
|
color: alpha(@color15, 1); /* @text-color */
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .notification-content progressbar {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.notification-content
|
||||||
|
progressbar {
|
||||||
/* The optional notification progress bar */
|
/* The optional notification progress bar */
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .notification-content .body-image {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.notification-content
|
||||||
|
.body-image {
|
||||||
/* The "extra" optional bottom notification image */
|
/* The "extra" optional bottom notification image */
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
background-color: alpha(@color15, 0.5);
|
background-color: alpha(@color15, 0.5);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .notification-content .inline-reply {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.notification-content
|
||||||
|
.inline-reply {
|
||||||
/* The inline reply section */
|
/* The inline reply section */
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .notification-content .inline-reply .inline-reply-entry {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.notification-content
|
||||||
|
.inline-reply
|
||||||
|
.inline-reply-entry {
|
||||||
background: alpha(@color1, 0.5); /* @noti-bg-darker */
|
background: alpha(@color1, 0.5); /* @noti-bg-darker */
|
||||||
color: alpha(@color15, 1.0); /* @text-color */
|
color: alpha(@color15, 1); /* @text-color */
|
||||||
caret-color: alpha(@color15, 1.0); /* @text-color */
|
caret-color: alpha(@color15, 1); /* @text-color */
|
||||||
border: 1px solid alpha(@color8, 0.5); /* @border */
|
border: 1px solid alpha(@color8, 0.5); /* @border */
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .notification-content .inline-reply .inline-reply-button {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.notification-content
|
||||||
|
.inline-reply
|
||||||
|
.inline-reply-button {
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
background: alpha(@color0, 0.5); /* @noti-bg */
|
background: alpha(@color0, 0.5); /* @noti-bg */
|
||||||
border: 1px solid alpha(@color8, 0.5); /* @border */
|
border: 1px solid alpha(@color8, 0.5); /* @border */
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
color: alpha(@color15, 1.0); /* @text-color */
|
color: alpha(@color15, 1); /* @text-color */
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .notification-content .inline-reply .inline-reply-button:disabled {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.notification-content
|
||||||
|
.inline-reply
|
||||||
|
.inline-reply-button:disabled {
|
||||||
background: initial;
|
background: initial;
|
||||||
color: alpha(@color7, 0.5); /* @text-color-disabled */
|
color: alpha(@color7, 0.5); /* @text-color-disabled */
|
||||||
border: 1px solid alpha(@color8, 0.5); /* @border */
|
border: 1px solid alpha(@color8, 0.5); /* @border */
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-default-action .inline-reply .inline-reply-button:hover {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-default-action
|
||||||
|
.inline-reply
|
||||||
|
.inline-reply-button:hover {
|
||||||
background: alpha(@color13, 0.5); /* @noti-bg-hover */
|
background: alpha(@color13, 0.5); /* @noti-bg-hover */
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -412,12 +517,18 @@ trough slider:hover {
|
|||||||
border-right: 1px solid alpha(@color8, 0.5); /* @border */
|
border-right: 1px solid alpha(@color8, 0.5); /* @border */
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-action:first-child {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-action:first-child {
|
||||||
/* Add bottom border radius to eliminate clipping */
|
/* Add bottom border radius to eliminate clipping */
|
||||||
border-bottom-left-radius: 12px;
|
border-bottom-left-radius: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-row .notification-background .notification .notification-action:last-child {
|
.notification-row
|
||||||
|
.notification-background
|
||||||
|
.notification
|
||||||
|
.notification-action:last-child {
|
||||||
border-bottom-right-radius: 12px;
|
border-bottom-right-radius: 12px;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
}
|
}
|
||||||
@@ -441,7 +552,7 @@ trough slider:hover {
|
|||||||
.notification-group .notification-group-buttons,
|
.notification-group .notification-group-buttons,
|
||||||
.notification-group .notification-group-headers {
|
.notification-group .notification-group-headers {
|
||||||
margin: 0 16px;
|
margin: 0 16px;
|
||||||
color: alpha(@color15, 1.0); /* @text-color */
|
color: alpha(@color15, 1); /* @text-color */
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-group .notification-group-headers {
|
.notification-group .notification-group-headers {
|
||||||
@@ -449,11 +560,11 @@ trough slider:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.notification-group .notification-group-headers .notification-group-icon {
|
.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 {
|
.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 .notification-group-buttons {
|
||||||
@@ -469,11 +580,17 @@ trough slider:hover {
|
|||||||
/* Set lower stacked notifications opacity to 0 */
|
/* Set lower stacked notifications opacity to 0 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-group.collapsed .notification-row:not(:last-child) .notification-action,
|
.notification-group.collapsed
|
||||||
.notification-group.collapsed .notification-row:not(:last-child) .notification-default-action {
|
.notification-row:not(:last-child)
|
||||||
|
.notification-action,
|
||||||
|
.notification-group.collapsed
|
||||||
|
.notification-row:not(:last-child)
|
||||||
|
.notification-default-action {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-group.collapsed:hover .notification-row:not(:only-child) .notification {
|
.notification-group.collapsed:hover
|
||||||
|
.notification-row:not(:only-child)
|
||||||
|
.notification {
|
||||||
background-color: alpha(@color13, 0.5); /* @noti-bg-hover-opaque */
|
background-color: alpha(@color13, 0.5); /* @noti-bg-hover-opaque */
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user