From bcb63eafe0ad43eb06008fc0a3d0ef353fd0957e Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sat, 4 Jul 2026 07:07:37 +0545 Subject: [PATCH] style(src/styles/widgets): remove unused CSS rules --- src/styles/widgets/about.css | 40 -------------------------- src/styles/widgets/desktop-widgets.css | 11 ------- src/styles/widgets/other.css | 14 --------- 3 files changed, 65 deletions(-) diff --git a/src/styles/widgets/about.css b/src/styles/widgets/about.css index 826527c..1f6dfa6 100644 --- a/src/styles/widgets/about.css +++ b/src/styles/widgets/about.css @@ -10,20 +10,6 @@ padding: 2rem; } -#about-options { - background-color: @surface-bright-a90; - border-radius: apply(radius-md); - padding: 2rem; -} - -#about-logo-box { - margin-top: 2rem; - margin-bottom: 2rem; -} - -#about-button-box { - padding: 1rem; -} #vendor-label { color: @fg-a40; margin-top: -1rem; @@ -32,32 +18,6 @@ #info-label { color: @fg-a60; } -#about-info-title-box { - padding-left: 4rem; -} - -#about-name-label { - font-size: 24px; - margin: 0px; - font-weight: 600; -} - -#about-date-label { - font-size: apply(font-xs); - margin: 0px; - color: @text; - font-weight: 400; - margin-bottom: 2rem; -} - -#about-chip-title-label, -#about-so-title-label, -#about-mem-title-label { - font-size: apply(font-sm); - margin: 0px; - margin-right: 10px; - font-weight: 500; -} #more-info-button { background-color: @fg-a40; diff --git a/src/styles/widgets/desktop-widgets.css b/src/styles/widgets/desktop-widgets.css index 1f2366e..46ba10e 100644 --- a/src/styles/widgets/desktop-widgets.css +++ b/src/styles/widgets/desktop-widgets.css @@ -84,8 +84,6 @@ background: linear-gradient(135deg, @background 0%, @surface-bright 50%, @outline 100%); } -/* # */ - /* Calendar Widget */ #calendar-box-widget { background: linear-gradient(to bottom, @surface, @background); @@ -207,10 +205,6 @@ border-radius: apply(radius-lg); } -#ram-progress { - margin-left: 12px; -} - #progress-label { font-weight: 600; font-size: apply(font-md); @@ -247,8 +241,3 @@ font-size: apply(font-base); font-weight: 600; } - -#component-name { - font-size: apply(font-2xs); -} - diff --git a/src/styles/widgets/other.css b/src/styles/widgets/other.css index 4c1a485..4bca6fc 100644 --- a/src/styles/widgets/other.css +++ b/src/styles/widgets/other.css @@ -4,7 +4,6 @@ } .flat-scale slider { - /* background: linear-gradient(135deg, @foreground 0%, @foreground 100%); */ background-color: white; min-height: 24px; min-width: 24px; @@ -24,16 +23,3 @@ min-height: 25px; border-radius: apply(radius-full); } - -/* SmoothSwitch styling */ -.smooth-switch { - min-width: 44px; - min-height: 24px; - background-color: @bg-a80; - color: @foreground; -} - -.smooth-switch.checked { - background-color: @fg-a80; - color: @foreground; -}