223 lines
4.7 KiB
SCSS
223 lines
4.7 KiB
SCSS
* {
|
|
all: unset; // Unsets everything so you can style everything from scratch
|
|
font-family: FontAwesome, Overpass;
|
|
}
|
|
|
|
@import "./style/colors.scss";
|
|
|
|
$bar-module-width: 25px;
|
|
$bar-bg-color: rgba($color0,0.85);
|
|
$bar-inactive-bg-color: rgba($color9,0.1);
|
|
$bar-inactive-fg-color: $color13;
|
|
//$bar-active-bg-color: ;
|
|
$bar-hover-bg-color: rgba($color1,0.5);
|
|
$bar-module-border-radius: 8px;
|
|
|
|
// Global Styles
|
|
.bar {
|
|
background-color: $color5;
|
|
font-size: 1em;
|
|
padding: 10px 0px;
|
|
margin: 0px 15px;
|
|
>box>button {
|
|
&:hover{
|
|
background-color: $bar-hover-bg-color;
|
|
}
|
|
}
|
|
|
|
//bar groups
|
|
.leftgroup,
|
|
.centergroup,
|
|
.rightgroup {
|
|
background-color: $bar-bg-color;
|
|
border-radius: $bar-module-border-radius;
|
|
}
|
|
|
|
//group modules
|
|
.leftgroup>*,
|
|
.centergroup>*,
|
|
.rightgroup>* {
|
|
margin: 5px;
|
|
min-width: $bar-module-width;
|
|
}
|
|
|
|
//value bars
|
|
scale trough,
|
|
progressbar>trough {
|
|
background-color: $color9;
|
|
min-width: 50px;
|
|
min-height: 10px;
|
|
border-radius: 4px;
|
|
}
|
|
scale trough highlight,
|
|
progressbar>trough>progress {
|
|
background-color: $color2;
|
|
border-radius: 4px;
|
|
min-height: 10px;
|
|
}
|
|
|
|
//value graphs
|
|
circular-progress {
|
|
color: $color9;
|
|
background-color: $color2;
|
|
}
|
|
|
|
.revealer-on-hover {
|
|
background-color: $bar-inactive-bg-color;
|
|
color: $bar-inactive-fg-color;
|
|
border-radius: $bar-module-border-radius;
|
|
// margin: 10px 0px;
|
|
}
|
|
.revealer-on-hover>widget>box>box>*,
|
|
.reveal_children>*,
|
|
.reveal_children>widget>image {
|
|
padding: 3px 4px;
|
|
min-width: $bar-module-width;
|
|
&:hover {
|
|
background-color: rgba($color1,0.5);
|
|
}
|
|
}
|
|
.revealer-on-hover>widget>box>box>*{
|
|
border-radius:$bar-module-border-radius;
|
|
}
|
|
.reveal_children>box,
|
|
.reveal_children>widget,
|
|
.reveal_children>button {
|
|
border-left: 2px solid rgba($color0,0.5);
|
|
}
|
|
.rightgroup>label,
|
|
.rightgroup>button,
|
|
.music,
|
|
.profile,
|
|
.active_window {
|
|
background-color: $bar-inactive-bg-color;
|
|
// border: 2px solid rgba($color0,0.5);
|
|
color: $bar-inactive-fg-color;
|
|
padding: 3px 4px;
|
|
border-radius: $bar-module-border-radius;
|
|
// margin: 10px 0px;
|
|
// padding: 5px;
|
|
}
|
|
label {
|
|
margin-top: 2px;
|
|
}
|
|
.workspaces {
|
|
background-color: rgba($color8,0);
|
|
// border: 0px solid rgba($color0,0);
|
|
border-radius: $bar-module-border-radius;
|
|
}
|
|
.workspaces button {
|
|
background-color: rgba($color8,0.5);
|
|
// border: 2px solid rgba($color0,0.5);
|
|
color: $bar-inactive-fg-color;
|
|
// margin: 10px 0px;
|
|
padding: 3px 4px;
|
|
min-width: $bar-module-width;
|
|
}
|
|
.workspaces button:hover {
|
|
background-color: rgba($color1,0.5);
|
|
color: $color1;
|
|
transition-property: background-color;
|
|
transition-duration: .25s;
|
|
}
|
|
.workspaces .focused{
|
|
background-color: rgba($color9,0.6);
|
|
color: $color1;
|
|
}
|
|
button.active {
|
|
color: $color1;
|
|
}
|
|
.workspaces button:first-child {
|
|
border-radius:$bar-module-border-radius 0px 0px $bar-module-border-radius;
|
|
}
|
|
.workspaces button:last-child,
|
|
.reveal_children>box:last-child,
|
|
.reveal_children>button:last-child {
|
|
border-radius:0px $bar-module-border-radius $bar-module-border-radius 0px;
|
|
}
|
|
.workspaces button:only-child,
|
|
.reveal_children>box:only-child,
|
|
.reveal_children>button:only-child {
|
|
border-radius:$bar-module-border-radius;
|
|
}
|
|
menu {
|
|
color: $color9;
|
|
background-color: rgba($color0,0.75);
|
|
border: 2px solid rgba($color0,0.5);
|
|
border-radius: $bar-module-border-radius;
|
|
menuitem {
|
|
padding:10px;
|
|
margin:5px 10px;
|
|
&:backdrop {
|
|
background-color:green;
|
|
}
|
|
&:not(:disabled) {
|
|
background-color: rgba($color8,0.6);
|
|
border: 2px solid rgba($color0,0.5);
|
|
border-radius:6px;
|
|
}
|
|
&:hover {
|
|
background-color:rgba($color12,0.5);
|
|
color: $color1;
|
|
transition: all .2s ease;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
tooltip{
|
|
color: $color9;
|
|
background-color: rgba($color0,0.75);
|
|
border: 2px solid rgba($color0,0.5);
|
|
border-radius: 8px;
|
|
}
|
|
.home {
|
|
> box {
|
|
border-radius: 8px;
|
|
box-shadow: inset 0 0 0px 3px rgba($color1,0.75);
|
|
}
|
|
.rat {
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
}
|
|
.weather {
|
|
background-color: rgba($color0,0.5);
|
|
padding: 10px 0px;
|
|
.weather-subtitle{
|
|
font-size: 0.8em;
|
|
color: rgba($color7,1);
|
|
}
|
|
}
|
|
.notes {
|
|
background-color: rgba($color0,0.5);
|
|
padding: 10px;
|
|
button {
|
|
background-color: rgba($color9,0.5);
|
|
border-radius: 6px;
|
|
padding: 4px 8px;
|
|
margin: 4px;
|
|
box {
|
|
.timestamp {
|
|
font-size: 0.8em;
|
|
margin-top: 6px;
|
|
color: rgba($color7,1)
|
|
}
|
|
}
|
|
}
|
|
button:hover {
|
|
background-color: rgba($color9,0.65);
|
|
}
|
|
}
|
|
.shortcuts {
|
|
background-color: rgba($color0,0.5);
|
|
padding: 15px;
|
|
button {
|
|
background-color: rgba($color9,0.5);
|
|
border-radius: 30px;
|
|
margin: 5px;
|
|
font-size: 1.2em;
|
|
}
|
|
button:hover {
|
|
background-color: rgba($color9,0.65)
|
|
}
|
|
}
|
|
}
|