Configuration files for my GNU/Linux installation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
dotfiles/eww/.config/eww/eww.scss

170 lines
2.6 KiB

// Font stuff
$font-size: 16px;
$icon-size: 18px;
$logo-size: 22px;
// Basic colors
$black: #121212;
$red: #f7768c;
$green: #9ece6a;
$yellow: #e0af68;
$blue: #aabbff;
$magenta: #ad8ee6;
$cyan: #449dab;
$white: #787c99;
// Colors
$bg-color: #181818;
$bg-alt-color: #242424;
$fg-color: #ebdbb2;
$fg-alt-color: #635c4b;
$fg-sel-color: $blue;
$border-color: #484848;
$fg-accent: $blue;
// Misc
$anim-transition: 150ms;
* {
all: unset; //Unsets everything so you can style everything from scratch
font-family: "Fira Code";
// color: $fg-color;
}
// Bar styles
.time-thing {
opacity: 0.2;
}
.bar-1, .bar-2 {
background-color: $bg-color;
color: $fg-color;
border-right: solid 1px $border-color;
padding: .3rem;
}
// Styles on classes (see eww.yuck for more information)
button {
transition-property: opacity, color;
transition-duration: $anim-transition;
}
// Workspaces
.ws-active {
font-weight: bold;
color: $blue;
}
.ws-inactive { opacity: 0.2; }
.workspaces {
// background-color: $bg-alt-color;
// transition-property: all;
// transition-duration: 1s;
}
button.ws {
font-size: $font-size;
margin: 4px;
}
button.ws:hover {
color: $fg-accent;
opacity: 0.8;
}
// Generic stuff
scale trough {
all: unset;
background-color: $bg-alt-color;
border-radius: 5px;
min-height: 60px;
min-width: 4px;
margin: .3rem 0 .3rem 0;
}
// Menu
.powermenu {
transition: color $anim-transition;
// border-right: solid 1px $border-color;
}
.quit, .lock, .reboot, .poweroff {
padding: .5rem .2rem .3rem 0rem;
}
// Colors for the buttons
.lock:hover { color: $white; }
.quit:hover { color: $green; }
.reboot:hover { color: $yellow; }
.poweroff:hover { color: $red; }
.pm-active {
// background-color: $bg-alt-color;
// border-radius: 5px;
}
.pm-inner {
padding: .2rem 0;
}
// Control
.control {
margin-bottom: $logo-size;
padding: .5rem;
margin: 0 .5rem 0 .5rem;
font-family: Material Icons;
font-size: 1.6em;
border-radius: 5px;
}
.icon {
opacity: 0.4;
margin: 0 .2rem;
font-size: $icon-size;
font-family: Material Icons;
}
.icon:hover {
opacity: 1.0;
// color: red;
}
// Volume stuff
.volbar trough highlight {
background-color: $fg-accent;
border-radius: 5px;
}
// Time
.time {
font-size: 11px;
// border-radius: 5px;
border-top: solid 2px $border-color;
color: $fg-alt-color;
padding: .7rem 0;
padding-bottom: .5rem;
margin: .5rem 0 .5rem 0;
}
// Logo button
.logo {
margin-top: 6px;
font-size: $logo-size;
opacity: 0.8;
}
.logo-seperator {
border-bottom: 2px solid $border-color;
}
// .logo:hover {
// // color: $red;
// }
// Color overrides
.red {
color: $red;
opacity: 0.8;
}