From 918146c16bf4d0f6c3d14d6f1fdd0dd61aa63118 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 31 May 2019 17:20:14 +0200 Subject: [PATCH] style: prefer background-color property --- resources/style.css | 48 ++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/resources/style.css b/resources/style.css index b2c96269..ed4a7070 100644 --- a/resources/style.css +++ b/resources/style.css @@ -7,10 +7,10 @@ } 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); color: #ffffff; - transition-property: background, background-color; + transition-property: background-color; transition-duration: .5s; } @@ -20,10 +20,10 @@ window#waybar.hidden { /* window#waybar.empty { - background: transparent; + background-color: transparent; } 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 */ #workspaces button { padding: 0 5px; - background: transparent; + background-color: transparent; color: #ffffff; border-bottom: 3px solid transparent; } #workspaces button.focused { - background: #64727D; + background-color: #64727D; border-bottom: 3px solid #ffffff; } @@ -54,7 +54,7 @@ window#waybar.chromium { } #mode { - background: #64727D; + background-color: #64727D; border-bottom: 3px solid #ffffff; } @@ -86,7 +86,7 @@ window#waybar.chromium { } #battery.critical:not(.charging) { - background: #f53c3c; + background-color: #f53c3c; color: #ffffff; animation-name: blink; animation-duration: 0.5s; @@ -100,56 +100,56 @@ label:focus { } #cpu { - background: #2ecc71; + background-color: #2ecc71; color: #000000; } #memory { - background: #9b59b6; + background-color: #9b59b6; } #backlight { - background: #90b1b1; + background-color: #90b1b1; } #network { - background: #2980b9; + background-color: #2980b9; } #network.disconnected { - background: #f53c3c; + background-color: #f53c3c; } #pulseaudio { - background: #f1c40f; + background-color: #f1c40f; color: #000000; } #pulseaudio.muted { - background: #90b1b1; + background-color: #90b1b1; color: #2a5c45; } #custom-media { - background: #66cc99; + background-color: #66cc99; color: #2a5c45; min-width: 100px; } .custom-spotify { - background: #66cc99; + background-color: #66cc99; } .custom-vlc { - background: #ffa000; + background-color: #ffa000; } #temperature { - background: #f0932b; + background-color: #f0932b; } #temperature.critical { - background: #eb4d4b; + background-color: #eb4d4b; } #tray { @@ -166,18 +166,18 @@ label:focus { } #mpd { - background: #66cc99; + background-color: #66cc99; color: #2a5c45; } #mpd.disconnected { - background: #f53c3c; + background-color: #f53c3c; } #mpd.stopped { - background: #90b1b1; + background-color: #90b1b1; } #mpd.paused { - background: #51a37a; + background-color: #51a37a; }