391 lines
5.8 KiB
SCSS
391 lines
5.8 KiB
SCSS
@use "palette" as *;
|
|
|
|
$radius: 12px;
|
|
$bar-alpha: 0.7;
|
|
$bar-bg: transparentize($base01, 1 - $bar-alpha);
|
|
$module-bg: transparentize($base02, 0.4);
|
|
|
|
* {
|
|
all: unset;
|
|
font-family: $font-family;
|
|
font-size: $font-size;
|
|
}
|
|
|
|
.Bar,
|
|
.popup-window {
|
|
background: transparent;
|
|
}
|
|
|
|
.bar {
|
|
background: $bar-bg;
|
|
padding: 0;
|
|
color: $base05;
|
|
|
|
label,
|
|
icon {
|
|
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
|
|
-gtk-icon-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
|
|
}
|
|
}
|
|
|
|
.bar-corners {
|
|
background: transparent;
|
|
color: $bar-bg;
|
|
}
|
|
|
|
.corner {
|
|
background: transparent;
|
|
color: $module-bg;
|
|
}
|
|
|
|
.bar .first,
|
|
.bar .center,
|
|
.bar .end,
|
|
.bar .last {
|
|
background: $module-bg;
|
|
padding: 2px 10px;
|
|
|
|
&:hover {
|
|
background: $base03;
|
|
}
|
|
}
|
|
|
|
.bar .first {
|
|
border-radius: 0 0 ($radius * 2.5) 0;
|
|
margin: 0 2px 0 0;
|
|
}
|
|
|
|
.bar .center {
|
|
border-radius: $radius;
|
|
margin: 2px;
|
|
}
|
|
|
|
.bar .end {
|
|
border-radius: ($radius * 0.75) ($radius * 2) ($radius * 0.75) ($radius * 2);
|
|
margin: 2px;
|
|
}
|
|
|
|
.bar .last {
|
|
border-radius: 0 0 0 ($radius * 2.5);
|
|
margin: 0 0 0 2px;
|
|
}
|
|
|
|
.logo icon {
|
|
min-width: 20px;
|
|
min-height: 20px;
|
|
}
|
|
|
|
.clock {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.clock icon {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ws {
|
|
min-width: 20px;
|
|
border-radius: 6px;
|
|
margin: 0 2px;
|
|
padding: 0 6px;
|
|
}
|
|
|
|
.ws.active {
|
|
background: $base0D;
|
|
color: $base00;
|
|
}
|
|
|
|
.ws:hover {
|
|
background: transparentize($base05, 0.88);
|
|
}
|
|
|
|
.quicksettings icon {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.wifi icon,
|
|
.wifi-header icon {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.dropdown {
|
|
background: $base01;
|
|
border-radius: 10px;
|
|
padding: 8px 12px;
|
|
color: $base05;
|
|
}
|
|
|
|
.power-header {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.power-action {
|
|
padding: 8px 0;
|
|
border-radius: 8px;
|
|
|
|
icon {
|
|
font-size: 16px;
|
|
}
|
|
|
|
&:hover {
|
|
background: transparentize($base05, 0.88);
|
|
}
|
|
}
|
|
|
|
.qs-row {
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.qs-toggle {
|
|
margin-right: 8px;
|
|
padding: 0 8px;
|
|
border-radius: 6px;
|
|
|
|
icon {
|
|
font-size: 16px;
|
|
}
|
|
|
|
&:hover {
|
|
background: transparentize($base05, 0.88);
|
|
}
|
|
}
|
|
|
|
.vol-slider {
|
|
trough {
|
|
background: $base03;
|
|
border-radius: 999px;
|
|
min-height: 12px;
|
|
|
|
highlight {
|
|
background: $base0D;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
slider {
|
|
min-width: 16px;
|
|
min-height: 16px;
|
|
background: $base05;
|
|
border-radius: 999px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.wifi-section {
|
|
margin-top: 10px;
|
|
border-top: 1px solid $base02;
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.wifi-toggle {
|
|
padding: 4px 6px;
|
|
border-radius: 6px;
|
|
|
|
label {
|
|
font-weight: bold;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
&:hover {
|
|
background: transparentize($base05, 0.88);
|
|
}
|
|
}
|
|
|
|
.wifi-header {
|
|
label {
|
|
font-weight: bold;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
.wifi-rescan {
|
|
padding: 0 2px;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
switch {
|
|
background: $base03;
|
|
border-radius: 999px;
|
|
min-width: 34px;
|
|
min-height: 16px;
|
|
margin: 1px 0;
|
|
|
|
slider {
|
|
background: $base05;
|
|
border-radius: 999px;
|
|
min-width: 12px;
|
|
min-height: 12px;
|
|
margin: 2px;
|
|
}
|
|
}
|
|
|
|
switch:checked {
|
|
background: $base0D;
|
|
|
|
slider {
|
|
background: $base00;
|
|
}
|
|
}
|
|
}
|
|
|
|
.wifi-status,
|
|
.wifi-empty {
|
|
font-size: 0.85em;
|
|
opacity: 0.7;
|
|
margin: 2px 0;
|
|
}
|
|
|
|
.wifi-password {
|
|
margin: 4px 0;
|
|
padding: 4px 8px;
|
|
border-radius: 6px;
|
|
background: $base02;
|
|
color: $base05;
|
|
}
|
|
|
|
.wifi-row {
|
|
padding: 4px 6px;
|
|
border-radius: 6px;
|
|
margin: 1px 0;
|
|
|
|
icon {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.wifi-row-ssid {
|
|
margin: 0 6px;
|
|
}
|
|
}
|
|
|
|
.wifi-row:hover {
|
|
background: transparentize($base05, 0.88);
|
|
}
|
|
|
|
.battery-level {
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.battery-section {
|
|
margin-top: 10px;
|
|
border-top: 1px solid $base02;
|
|
padding-top: 8px;
|
|
|
|
icon {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
.battery-percent {
|
|
font-weight: bold;
|
|
margin: 0 6px;
|
|
}
|
|
|
|
.battery-status {
|
|
font-size: 0.85em;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.notif-section {
|
|
margin-top: 10px;
|
|
border-top: 1px solid $base02;
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.notif-toggle {
|
|
padding: 4px 6px;
|
|
border-radius: 6px;
|
|
|
|
label {
|
|
font-weight: bold;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
&:hover {
|
|
background: transparentize($base05, 0.88);
|
|
}
|
|
}
|
|
|
|
.notif-clear {
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
font-size: 0.85em;
|
|
|
|
&:hover {
|
|
background: transparentize($base05, 0.88);
|
|
}
|
|
}
|
|
|
|
.notif-empty {
|
|
font-size: 0.85em;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.quicksettings .notif-count {
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.notif-section .notif {
|
|
background: $base02;
|
|
}
|
|
|
|
.notifications {
|
|
.notif {
|
|
background: $base01;
|
|
border-radius: 10px;
|
|
padding: 8px 12px;
|
|
color: $base05;
|
|
|
|
&:hover {
|
|
background: transparentize($base05, 0.88);
|
|
}
|
|
|
|
&.critical {
|
|
border: 1px solid $base08;
|
|
}
|
|
}
|
|
|
|
.notif-header {
|
|
margin-bottom: 4px;
|
|
|
|
.notif-app-name {
|
|
font-weight: bold;
|
|
margin: 0 6px;
|
|
}
|
|
|
|
.notif-time {
|
|
font-size: 0.85em;
|
|
opacity: 0.7;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.notif-close {
|
|
border-radius: 6px;
|
|
padding: 0 2px;
|
|
}
|
|
}
|
|
|
|
.notif-content {
|
|
.notif-image {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.notif-summary {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.notif-text {
|
|
font-size: 0.9em;
|
|
opacity: 0.85;
|
|
}
|
|
}
|
|
|
|
.notif-action {
|
|
background: $base02;
|
|
border-radius: 6px;
|
|
margin-top: 6px;
|
|
padding: 2px 8px;
|
|
|
|
&:hover {
|
|
background: $base03;
|
|
}
|
|
}
|
|
}
|