luci-theme-openwrt-2020: refining indicators
authorJoshua Criss <redacted>
Thu, 2 Apr 2026 04:57:51 +0000 (15:57 +1100)
committerPaul Donald <redacted>
Thu, 2 Apr 2026 14:10:46 +0000 (16:10 +0200)
Match rounded indicators to same
style as "hide" and "show" buttons
for design consistency (site wide).

Signed-off-by: Joshua Criss <redacted>
themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css

index 634ee00e54aedc5b129e8745e58832ce0540f61d..0be8a58af03c4270481f0f1733aa7d25f9564244 100644 (file)
@@ -107,20 +107,22 @@ abbr[title], acronym[title] {
        color: var(--main-bright-color);
        display: inline-block;
        font-size: .85em;
-       line-height: 1.5em;
-       padding: 0 .5em;
        margin: .125em;
-       border-radius: 1em;
        cursor: pointer;
        white-space: nowrap;
+       /* Match rounded indicators to same style as "hide" and "show" buttons for design consistency (site wide) */
+       line-height: 1.8em;
+       border-radius: .5rem;
+       padding: 0 .7em;
 }
 
 #indicators > [data-style="inactive"] {
        background: var(--main-bright-color);
        color: var(--secondary-bright-color);
        border: 2px solid var(--secondary-bright-color);
-       line-height: calc(1.5em - 4px);
-       padding: 0 calc(.5em - 2px);
+       /* Update existing calculations with same new adjustments as above */
+       line-height: calc(1.8em - 4px);
+       padding:0 calc(.7em - 2px);
 }
 
 #menubar h2,
git clone https://git.99rst.org/PROJECT