swaync styles

This commit is contained in:
Benjamin Palko 2024-04-07 10:13:56 -05:00
parent 1252a27212
commit b7901a08bb
2 changed files with 49 additions and 63 deletions

View file

@ -51,8 +51,8 @@
"text": "Notification" "text": "Notification"
}, },
"mpris": { "mpris": {
"image-size": 10, "image-size": 48,
"image-radius": 0 "image-radius": 9999
}, },
"volume": { "volume": {
"label": "󰕾" "label": "󰕾"

View file

@ -11,14 +11,12 @@
@define-color text-color-disabled rgba(150, 150, 150, 0.8); @define-color text-color-disabled rgba(150, 150, 150, 0.8);
* { * {
font-weight: Bolder; font-family: 'JetBrains Mono';
font-weight: 500;
} }
.control-center .notification-row:focus, .control-center .notification-row:focus,
.control-center .notification-row:hover { .control-center .notification-row:hover {
opacity: 1;
background: @noti-bg;
border-radius: 0px;
} }
.notification-row { .notification-row {
@ -26,15 +24,10 @@
margin: 0px; margin: 0px;
} }
.notification {
border-radius: 0px;
}
.notification-content { .notification-content {
color: @text-color; color: @text-color;
background: @noti-bg;
padding: 3px 10px 3px 6px; padding: 3px 10px 3px 6px;
border-radius: 0px; border-radius: 10px;
border: 2px solid @noti-border-color; border: 2px solid @noti-border-color;
margin: 0px; margin: 0px;
} }
@ -45,21 +38,9 @@
border-radius: 10px; border-radius: 10px;
} }
.close-button { .notification-default-action:hover,
background: #f7768e; .notification-action:hover {
color: @noti-bg; background: rgba(0, 0, 0, 0.4);
text-shadow: none;
padding: 0;
border-radius: 10px;
margin-top: 5px;
margin-right: 5px;
}
.close-button:hover {
box-shadow: none;
background: #f7768e;
transition: all 0.15s ease-in-out;
border: none;
} }
.notification-action { .notification-action {
@ -68,13 +49,8 @@
border-radius: 10px; border-radius: 10px;
} }
.notification-default-action:hover,
.notification-action:hover {
color: @text-color;
background: @color1;
}
.notification-default-action { .notification-default-action {
background: transparent;
border-radius: 10px; border-radius: 10px;
margin: 5px; margin: 5px;
} }
@ -86,12 +62,29 @@
.notification-action:first-child { .notification-action:first-child {
border-bottom-left-radius: 10px; border-bottom-left-radius: 10px;
background: #1b1b2b; background: transparent;
} }
.notification-action:last-child { .notification-action:last-child {
border-bottom-right-radius: 10px; border-bottom-right-radius: 10px;
background: #1b1b2b; background: transparent;
}
.close-button {
background: @text-color;
color: @noti-bg;
text-shadow: none;
padding: 0;
border-radius: 10px;
margin-top: 5px;
margin-right: 5px;
}
.close-button:hover {
box-shadow: none;
background: @text-color;
transition: all 0.15s ease-in-out;
border: none;
} }
.inline-reply { .inline-reply {
@ -158,7 +151,6 @@
.control-center { .control-center {
background: @noti-bg; background: @noti-bg;
border: 2px solid @noti-border-color;
color: @text-color; color: @text-color;
border-radius: 10px; border-radius: 10px;
padding: 8px; padding: 8px;
@ -182,24 +174,25 @@
.widget-title { .widget-title {
color: @noti-border-color; color: @noti-border-color;
background: @noti-bg-alt; /* background: @noti-bg-alt; */
padding: 3px 6px; padding: 3px 6px;
margin: 5px; margin: 5px;
font-size: 1rem; font-size: 1.25rem;
border-radius: 10px; border-radius: 10px;
} }
.widget-title > button { .widget-title > button {
font-size: 0.75rem; font-size: 1rem;
color: @text-color; color: @text-color;
border-radius: 10px; border-radius: 10px;
background: transparent; background: @noti-bg;
border: 0.5px solid @noti-border-color; border: none;
/* border: 0.5px solid @noti-border-color; */
} }
.widget-title > button:hover { .widget-title > button:hover {
background: #f7768e; background: @text-color-alt;
color: @noti-border-color; color: @noti-bg-alt;
} }
.widget-dnd { .widget-dnd {
@ -214,22 +207,22 @@
.widget-dnd > switch { .widget-dnd > switch {
border-radius: 9999px; border-radius: 9999px;
/* border: 1px solid #7aa2f7; */ /* border: 1px solid #7aa2f7; */
background: @noti-border-color; background: @text-color;
} }
.widget-dnd > switch:checked { .widget-dnd > switch:checked {
background: #f7768e; background: @text-color-alt;
border: 1px solid #f7768e; /* border: 1px solid #f7768e; */
} }
.widget-dnd > switch slider { .widget-dnd > switch slider {
background: @noti-bg; background: @noti-bg;
border-radius: 10px; border-radius: 9999px;
} }
.widget-dnd > switch:checked slider { .widget-dnd > switch:checked slider {
background: @noti-bg; background: @noti-bg;
border-radius: 10px; border-radius: 9999px;
} }
.widget-label { .widget-label {
@ -242,10 +235,8 @@
} }
.widget-mpris { .widget-mpris {
color: @text-color; color: white;
background: @noti-bg-alt; background: transparent;
padding: 3px 6px;
margin: 5px;
border-radius: 10px; border-radius: 10px;
} }
@ -254,23 +245,21 @@
} }
.widget-mpris-player { .widget-mpris-player {
padding: 3px 6px;
margin: 5px;
} }
.widget-mpris-title { .widget-mpris-title {
font-weight: 100; font-weight: 200;
font-size: 1rem; font-size: 1.15rem;
} }
.widget-mpris-subtitle { .widget-mpris-subtitle {
font-size: 0.75rem; font-size: 0.9rem;
} }
.widget-buttons-grid { .widget-buttons-grid {
font-size: large; font-size: large;
color: @noti-border-color; color: @noti-border-color;
padding: 2px; padding: 4px;
margin: 5px; margin: 5px;
border-radius: 10px; border-radius: 10px;
background: @noti-bg-alt; background: @noti-bg-alt;
@ -300,8 +289,8 @@
.widget-volume { .widget-volume {
background: @noti-bg-alt; background: @noti-bg-alt;
padding: 2px; /* padding: 4px; */
margin: 10px 10px 5px 10px; /* margin: 10px 10px 5px 10px; */
border-radius: 10px; border-radius: 10px;
font-size: x-large; font-size: x-large;
color: @text-color; color: @text-color;
@ -330,19 +319,16 @@
} }
.low { .low {
background: @text-color;
padding: 0px; padding: 0px;
border-radius: 10px; border-radius: 10px;
} }
.normal { .normal {
background: @text-color;
padding: 0px; padding: 0px;
border-radius: 10px; border-radius: 10px;
} }
.critical { .critical {
background: red;
padding: 0px; padding: 0px;
border-radius: 10px; border-radius: 10px;
} }