chore: clean spaces, tabs, useless CSS

This commit is contained in:
Valentin Nourdin
2022-01-24 13:10:55 +01:00
parent aab0148a1b
commit b4faca5739
9 changed files with 309 additions and 344 deletions

View File

@@ -5,46 +5,43 @@
* Configuration reference: https://github.com/Alexays/Waybar/wiki/Configuration
*
* =========================================================================== */
/* -----------------------------------------------------------------------------
* Keyframes
* -------------------------------------------------------------------------- */
/*
/*
Arc-Dark Color Scheme
*/
@define-color highlight #5294e2 ;
@define-color base1 #404552 ;
@keyframes blink-warning {
70% {
color: white;
}
to {
color: white;
background-color: orange;
}
}
@keyframes blink-critical {
70% {
color: white;
}
to {
color: white;
background-color: red;
}
}
/* -----------------------------------------------------------------------------
* Base styles
* -------------------------------------------------------------------------- */
/* Reset all styles */
* {
border: none;
@@ -63,7 +60,7 @@ Arc-Dark Color Scheme
font-size: 14px;
}
/* Each module */
/* Every modules */
#battery,
#clock,
#backlight,
@@ -77,134 +74,127 @@ Arc-Dark Color Scheme
#temperature,
#tray,
#idle_inhibitor,
#custom-PBPbattery{
padding:0.5rem 0.6rem;
margin: 1px 0px;
#custom-PBPbattery {
padding:0.5rem 0.6rem;
margin: 1px 0px;
}
/* -----------------------------------------------------------------------------
* Module styles
* Modules styles
* -------------------------------------------------------------------------- */
#battery {
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#battery.warning {
color: orange;
}
#battery.critical {
color: red;
}
#battery.warning.discharging {
animation-name: blink-warning;
animation-duration: 3s;
}
#battery.critical.discharging {
animation-name: blink-critical;
animation-duration: 2s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#cpu{
#battery.warning {
color: orange;
}
#battery.critical {
color: red;
}
#battery.warning.discharging {
animation-name: blink-warning;
animation-duration: 3s;
}
#battery.critical.discharging {
animation-name: blink-critical;
animation-duration: 2s;
}
#cpu.warning {
color: orange;
color: orange;
}
#cpu.critical {
color: red;
color: red;
}
#memory {
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#memory.warning {
color: orange;
color: orange;
}
#memory.critical {
color: red;
animation-name: blink-critical;
animation-duration: 2s;
padding-left:5px;
padding-right:5px;
color: red;
animation-name: blink-critical;
animation-duration: 2s;
padding-left:5px;
padding-right:5px;
}
#mode {
background: @highlight;
border-bottom: 3px transparent;
color:white;
margin-left: 5px;
padding:7;
}
#network.disconnected {
color: orange;
}
#pulseaudio{
padding-top:6px;
}
#network.disconnected {
color: orange;
}
#pulseaudio {
padding-top:6px;
}
#pulseaudio.muted {
color: @highlight;
color: @highlight;
}
#temperature.critical {
color: red;
color: red;
}
#window {
font-weight: bold;
font-weight: bold;
}
#workspaces{
font-size:13px;
#workspaces {
font-size:13px;
}
#workspaces button {
border-bottom: 3px solid transparent;
margin-bottom: 0px;
padding:0px;
}
#workspaces button.focused {
border-bottom: 3px solid @highlight;
margin-bottom: 1px;
padding-left:0;
}
border-bottom: 3px solid @highlight;
margin-bottom: 1px;
padding-left:0;
}
#workspaces button.urgent {
border-color: #c9545d;
color: #c9545d;
}
#custom-power{
margin-left:15px;
margin-right:15px;
font-size:15px;
}
#custom-launcher{
font-size:15px;
margin-left:15px;
margin-right:10px;
}
#backlight.icon{
padding-right:1px;
font-size: 13px;
border-color: #c9545d;
color: #c9545d;
}
#custom-power {
margin-left:15px;
margin-right:15px;
font-size:15px;
}
#custom-launcher {
font-size:15px;
margin-left:15px;
margin-right:10px;
}
#backlight.icon {
padding-right:1px;
font-size: 13px;
}