mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
luci-theme-openwrt-2020: refining indicators
Match rounded indicators to same style as "hide" and "show" buttons for design consistency (site wide). Signed-off-by: Joshua Criss <owlsy@outlook.com.au>
This commit is contained in:
committed by
Paul Donald
parent
d90696cca7
commit
37fd4169ad
@@ -107,20 +107,22 @@ abbr[title], acronym[title] {
|
|||||||
color: var(--main-bright-color);
|
color: var(--main-bright-color);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: .85em;
|
font-size: .85em;
|
||||||
line-height: 1.5em;
|
|
||||||
padding: 0 .5em;
|
|
||||||
margin: .125em;
|
margin: .125em;
|
||||||
border-radius: 1em;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
white-space: nowrap;
|
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"] {
|
#indicators > [data-style="inactive"] {
|
||||||
background: var(--main-bright-color);
|
background: var(--main-bright-color);
|
||||||
color: var(--secondary-bright-color);
|
color: var(--secondary-bright-color);
|
||||||
border: 2px solid var(--secondary-bright-color);
|
border: 2px solid var(--secondary-bright-color);
|
||||||
line-height: calc(1.5em - 4px);
|
/* Update existing calculations with same new adjustments as above */
|
||||||
padding: 0 calc(.5em - 2px);
|
line-height: calc(1.8em - 4px);
|
||||||
|
padding:0 calc(.7em - 2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
#menubar h2,
|
#menubar h2,
|
||||||
|
|||||||
Reference in New Issue
Block a user