From 274ffbfaed7bac771f8a738dea692ea7842c0087 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sat, 4 Jul 2026 07:07:55 +0545 Subject: [PATCH] refactor(src/styles/window): remove unused CSS rules --- src/styles/window/battery.css | 28 ---------------------------- src/styles/window/osd.css | 11 ----------- src/styles/window/panel.css | 14 +------------- 3 files changed, 1 insertion(+), 52 deletions(-) diff --git a/src/styles/window/battery.css b/src/styles/window/battery.css index 95688d2..c4feaee 100644 --- a/src/styles/window/battery.css +++ b/src/styles/window/battery.css @@ -1,17 +1,3 @@ -#battery-window { - background-color: @bg-a50; - border-radius: apply(radius-sm); -} - -#battery-control-window { - margin: 6px; - background-color: @bg-a50; - border: 1px solid @outline-a30; - box-shadow: inset 0 0 200px 0 @outline-a30; - border-radius: apply(radius-sm); -} - - #battery-widget { background: transparent; padding-left: 5px; @@ -39,17 +25,8 @@ margin: 8px 12px 4px 12px; } -.battery-energy-item { - margin: 4px 12px; - padding: 4px 0; -} - .battery-status-section { - /* background: @fg-a06; */ - /* border-radius: apply(radius-md); */ padding: 2px; - /* margin: 8px 0; */ - /* border: 1px solid @fg-a08; */ } .battery-percentage { @@ -86,10 +63,6 @@ color: @fg-a70; } -#energy-mode-icon.connected { - background-color: @primary; - color: @foreground; -} .battery-power-source { font-size: apply(font-sm); margin-bottom: -4px; @@ -146,7 +119,6 @@ border-radius: apply(radius-sm); padding: 6px 12px; margin: 1px 0; - /* min-height: 36px; */ } #game-mode-button-clickable:hover { diff --git a/src/styles/window/osd.css b/src/styles/window/osd.css index 49b1801..53f7b94 100644 --- a/src/styles/window/osd.css +++ b/src/styles/window/osd.css @@ -24,14 +24,3 @@ background: var(--primary); transition: all apply(transition-slower) cubic-bezier(0.175, 0.885, 0.32, 1.275); } - -#osd-container.muted trough highlight, -#osd-container.muted slider, -#osd-container scale.muted trough highlight, -#osd-container scale.muted slider { - background-color: var(--surface-bright); -} - -#osd-image.muted { - color: var(--outline); -} diff --git a/src/styles/window/panel.css b/src/styles/window/panel.css index f8f834e..1e2e920 100644 --- a/src/styles/window/panel.css +++ b/src/styles/window/panel.css @@ -4,12 +4,6 @@ transition: all 120ms ease-in-out; } -#modules-left, -#modules-right { - margin: 0 5px; - padding: 2px 0; -} - #panel-button:hover, #panel-button.active, #battery-button:hover, @@ -18,8 +12,6 @@ #network-button.active, #bt-button:hover, #bt-button.active, -#tray-button:hover, -#tray-button.active, #global-menu:hover, #global-menu.active, #workspaces>button:hover { @@ -30,14 +22,12 @@ #panel-button, #battery-button, #network-button, -#bt-button, -#tray-button { +#bt-button { margin: 5px 0; padding: 0 2px; border-radius: apply(radius-sm); } -#menubar label, #battery-label, #date-time { font-weight: 500; @@ -90,8 +80,6 @@ #network-button.active *, #bt-button:hover *, #bt-button.active *, -#tray-button:hover *, -#tray-button.active *, #global-menu:hover *, #global-menu.active *, #workspaces>button:hover * {