200 lines
3.4 KiB
SCSS
200 lines
3.4 KiB
SCSS
|
|
$foreground: lighten($color: $foreground, $amount: 10);
|
|
|
|
.bar {
|
|
background: transparent;
|
|
padding: 4px;
|
|
|
|
& label {
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
/* Styles .widgets-[left/center/right] */
|
|
.widgets-left,
|
|
.widgets-center,
|
|
.widgets-right {
|
|
background: rgba($background, 0.6);
|
|
border-radius: 18px;
|
|
padding: 6px;
|
|
|
|
& > * {
|
|
margin: 0 3px;
|
|
}
|
|
|
|
& > *:first-child {
|
|
margin-left: 0;
|
|
}
|
|
|
|
& > *:last-child {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
button {
|
|
padding: 6px 10px;
|
|
border-radius: 12px;
|
|
background: none;
|
|
}
|
|
|
|
button:hover {
|
|
background: $color3;
|
|
}
|
|
|
|
button:active {
|
|
background: darken($color: $color3, $amount: 10);
|
|
}
|
|
|
|
button label {
|
|
color: $foreground;
|
|
}
|
|
|
|
menu {
|
|
background: $background;
|
|
border-radius: 14px;
|
|
padding: 2px;
|
|
|
|
& > menuitem {
|
|
padding: 8px 24px;
|
|
border-radius: 5px;
|
|
|
|
&:hover {
|
|
background: $color1;
|
|
}
|
|
|
|
&:first-child {
|
|
border-top-left-radius: inherit;
|
|
border-top-right-radius: inherit;
|
|
}
|
|
|
|
&:last-child {
|
|
border-bottom-left-radius: inherit;
|
|
border-bottom-right-radius: inherit;
|
|
}
|
|
|
|
label {
|
|
font-weight: 600;
|
|
color: $foreground;
|
|
}
|
|
}
|
|
|
|
& > separator {
|
|
background: lighten($color: $background, $amount: 5);
|
|
margin: .5px 10px;
|
|
padding: 1px 0;
|
|
border-radius: 1px;
|
|
}
|
|
}
|
|
|
|
.workspaces {
|
|
padding: 2px 0px;
|
|
border-radius: 10px;
|
|
|
|
& > button {
|
|
padding: 0 0;
|
|
border-radius: 16px;
|
|
margin: 0 2px;
|
|
background: $color1;
|
|
transition: ease-in 80ms;
|
|
transition-property: all;
|
|
|
|
&.active {
|
|
padding: 0 22px;
|
|
background: $foreground;
|
|
}
|
|
|
|
&.default {
|
|
padding: 0 12px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.distro-logo {
|
|
padding: 0;
|
|
padding-left: 12px;
|
|
padding-right: 6px;
|
|
|
|
& > label {
|
|
font-size: 15px;
|
|
padding-right: 2px;
|
|
}
|
|
}
|
|
|
|
.systray {
|
|
margin: 0 6px;
|
|
|
|
& > * > * {
|
|
margin: 0 4px
|
|
}
|
|
}
|
|
|
|
|
|
.mediaplayer {
|
|
border-radius: 12px;
|
|
box-shadow: inset 0 0 0px 2px $color3;
|
|
padding: 0 4px;
|
|
padding-right: 0px;
|
|
|
|
& label.media-title,
|
|
& label.media-artist {
|
|
margin: 0 4px;
|
|
padding-right: 5px;
|
|
color: $foreground;
|
|
font-size: inherit;
|
|
|
|
&.media-title {
|
|
margin-top: 6px;
|
|
margin-bottom: 6px;
|
|
border-right: .5px solid darken($color: $foreground, $amount: 20);
|
|
}
|
|
}
|
|
|
|
&.revealed label.media-artist {
|
|
border-right: 2px solid $color3;
|
|
}
|
|
|
|
& button {
|
|
padding: 0 7px;
|
|
border-radius: 0px;
|
|
}
|
|
}
|
|
|
|
.window {
|
|
padding: 0 4px;
|
|
padding-right: 6px;
|
|
|
|
& > .window-icon {
|
|
padding-right: 24px;
|
|
margin-right: 4px;
|
|
background-position: center;
|
|
background-size: 24px;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
& > label.window-class {
|
|
font-size: 10px;
|
|
font-family: monospace;
|
|
color: darken($color: $foreground, $amount: 20);
|
|
}
|
|
|
|
& > label.window-title {
|
|
margin-top: -2px;
|
|
font-size: inherit;
|
|
color: $foreground;
|
|
}
|
|
}
|
|
|
|
.network {
|
|
padding-left: 10px;
|
|
padding-right: 7px;
|
|
}
|
|
|
|
.notifications button {
|
|
padding-left: 12px;
|
|
padding-right: 10px;
|
|
|
|
&.open, &:hover {
|
|
background: $color3;
|
|
}
|
|
}
|