From dcd554b69faf702a7bdb400f3fb57176fa188b75 Mon Sep 17 00:00:00 2001 From: scorpion-26 Date: Thu, 30 Nov 2023 13:04:55 +0100 Subject: [PATCH] Fix regression caused by #72 The slider texts had a background of inactive, instead of background. So only set the background of the actual sensors --- css/style.css | 26 ++++++++++++++++++++++++-- css/style.scss | 20 ++++++++++++++++++-- 2 files changed, 42 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index af5cad1..c87e593 100644 --- a/css/style.css +++ b/css/style.css @@ -142,36 +142,58 @@ highlight { .disk-widget * { color: #bd93f9; - background-color: #44475a; font-size: 16px; } +.disk-util-progress { + background-color: #44475a; +} + .vram-widget * { color: #ffb86c; + font-size: 16px; +} + +.vram-util-progress { background-color: #44475a; } .ram-widget * { color: #f1fa8c; + font-size: 16px; +} + +.ram-util-progress { background-color: #44475a; } .gpu-widget * { color: #8be9fd; + font-size: 16px; +} + +.gpu-util-progress { background-color: #44475a; } .cpu-widget * { color: #50fa7b; + font-size: 16px; +} + +.cpu-util-progress { background-color: #44475a; } .battery-widget * { color: #ff79c6; - background-color: #44475a; font-size: 16px; } +.battery-util-progress { + background-color: #44475a; +} + .battery-charging { color: #ffb86c; } diff --git a/css/style.scss b/css/style.scss index 8f1aec1..2d11031 100644 --- a/css/style.scss +++ b/css/style.scss @@ -184,35 +184,51 @@ highlight { .disk-widget * { color: $purple; - background-color: $inactive; font-size: $textsize; } +.disk-util-progress { + background-color: $inactive; +} .vram-widget * { color: $orange; + font-size: $textsize; +} +.vram-util-progress { background-color: $inactive; } .ram-widget * { color: $yellow; + font-size: $textsize; +} +.ram-util-progress { background-color: $inactive; } .gpu-widget * { color: $cyan; + font-size: $textsize; +} +.gpu-util-progress { background-color: $inactive; } .cpu-widget * { color: $green; + font-size: $textsize; +} +.cpu-util-progress { background-color: $inactive; } .battery-widget * { color: $pink; - background-color: $inactive; font-size: $textsize; } +.battery-util-progress { + background-color: $inactive; +} .battery-charging { color: $orange