mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
luci-theme-bootstrap: refining hide/show buttons
Change mouse icon from text cursor to pointer. Smaller buttons on larger screens. Slightly fade "show" button. Remove fade when hovered. Signed-off-by: Joshua Criss <owlsy@outlook.com.au>
This commit is contained in:
committed by
Paul Donald
parent
37fd4169ad
commit
9e4058cdca
@@ -2624,3 +2624,30 @@ div.cbi-value var.cbi-tooltip-container,
|
||||
#view div[style] > svg line[style] {
|
||||
stroke: var(--text-color-highest)!important;
|
||||
}
|
||||
|
||||
/* === STATUS OVERVIEW: HIDE/SHOW BUTTONS === */
|
||||
|
||||
/* Change mouse icon from text cursor to pointer */
|
||||
body[data-page='admin-status-overview'] .cbi-title .label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Smaller buttons on larger screens */
|
||||
@media screen and (min-width : 481px) {
|
||||
body[data-page='admin-status-overview'] .cbi-title .label {
|
||||
line-height: 1em;
|
||||
margin: 0.7em 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Slightly fade "show" button */
|
||||
body[data-page='admin-status-overview'] .cbi-title .label.notice {
|
||||
opacity: var(--disabled-opacity);
|
||||
}
|
||||
|
||||
/* Remove fade when hovered */
|
||||
body[data-page='admin-status-overview'] .cbi-title .label.notice:hover {
|
||||
opacity: initial;
|
||||
}
|
||||
|
||||
/* === END STATUS OVERVIEW: HIDE/SHOW BUTTONS === */
|
||||
|
||||
Reference in New Issue
Block a user