style: prefer background-color property

This commit is contained in:
Alex 2019-05-31 17:20:14 +02:00
parent 0b01b35c76
commit 918146c16b
1 changed files with 24 additions and 24 deletions

View File

@ -7,10 +7,10 @@
} }
window#waybar { window#waybar {
background: rgba(43, 48, 59, 0.5); background-color: rgba(43, 48, 59, 0.5);
border-bottom: 3px solid rgba(100, 114, 125, 0.5); border-bottom: 3px solid rgba(100, 114, 125, 0.5);
color: #ffffff; color: #ffffff;
transition-property: background, background-color; transition-property: background-color;
transition-duration: .5s; transition-duration: .5s;
} }
@ -20,10 +20,10 @@ window#waybar.hidden {
/* /*
window#waybar.empty { window#waybar.empty {
background: transparent; background-color: transparent;
} }
window#waybar.solo { window#waybar.solo {
background: #FFFFFF; background-color: #FFFFFF;
} }
*/ */
@ -39,13 +39,13 @@ window#waybar.chromium {
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button { #workspaces button {
padding: 0 5px; padding: 0 5px;
background: transparent; background-color: transparent;
color: #ffffff; color: #ffffff;
border-bottom: 3px solid transparent; border-bottom: 3px solid transparent;
} }
#workspaces button.focused { #workspaces button.focused {
background: #64727D; background-color: #64727D;
border-bottom: 3px solid #ffffff; border-bottom: 3px solid #ffffff;
} }
@ -54,7 +54,7 @@ window#waybar.chromium {
} }
#mode { #mode {
background: #64727D; background-color: #64727D;
border-bottom: 3px solid #ffffff; border-bottom: 3px solid #ffffff;
} }
@ -86,7 +86,7 @@ window#waybar.chromium {
} }
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
background: #f53c3c; background-color: #f53c3c;
color: #ffffff; color: #ffffff;
animation-name: blink; animation-name: blink;
animation-duration: 0.5s; animation-duration: 0.5s;
@ -100,56 +100,56 @@ label:focus {
} }
#cpu { #cpu {
background: #2ecc71; background-color: #2ecc71;
color: #000000; color: #000000;
} }
#memory { #memory {
background: #9b59b6; background-color: #9b59b6;
} }
#backlight { #backlight {
background: #90b1b1; background-color: #90b1b1;
} }
#network { #network {
background: #2980b9; background-color: #2980b9;
} }
#network.disconnected { #network.disconnected {
background: #f53c3c; background-color: #f53c3c;
} }
#pulseaudio { #pulseaudio {
background: #f1c40f; background-color: #f1c40f;
color: #000000; color: #000000;
} }
#pulseaudio.muted { #pulseaudio.muted {
background: #90b1b1; background-color: #90b1b1;
color: #2a5c45; color: #2a5c45;
} }
#custom-media { #custom-media {
background: #66cc99; background-color: #66cc99;
color: #2a5c45; color: #2a5c45;
min-width: 100px; min-width: 100px;
} }
.custom-spotify { .custom-spotify {
background: #66cc99; background-color: #66cc99;
} }
.custom-vlc { .custom-vlc {
background: #ffa000; background-color: #ffa000;
} }
#temperature { #temperature {
background: #f0932b; background-color: #f0932b;
} }
#temperature.critical { #temperature.critical {
background: #eb4d4b; background-color: #eb4d4b;
} }
#tray { #tray {
@ -166,18 +166,18 @@ label:focus {
} }
#mpd { #mpd {
background: #66cc99; background-color: #66cc99;
color: #2a5c45; color: #2a5c45;
} }
#mpd.disconnected { #mpd.disconnected {
background: #f53c3c; background-color: #f53c3c;
} }
#mpd.stopped { #mpd.stopped {
background: #90b1b1; background-color: #90b1b1;
} }
#mpd.paused { #mpd.paused {
background: #51a37a; background-color: #51a37a;
} }