Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions themes/luci-theme-material/htdocs/luci-static/material/cascade.css
Original file line number Diff line number Diff line change
Expand Up @@ -3180,6 +3180,33 @@ input[name="nslookup"] {
}*/
}

/* === STATUS OVERVIEW: HIDE/SHOW BUTTONS === */

/* Change mouse icon from text cursor to pointer, and fix buttons not being same min-width */
body[data-page='admin-status-overview'] .cbi-title .label {
cursor: pointer;
min-width: 5.2em !important;
}

/* Create larger buttons for smaller screens (same behaviour as luci-theme-bootstrap) */
@media screen and (max-width: 480px) {
body[data-page='admin-status-overview'] .cbi-title .label {
line-height: 3em;
}
}

/* Slightly fade "show" button: no variable for disabled opacity like luci-theme-bootstrap, assuming 0.7 */
body[data-page='admin-status-overview'] .cbi-title .label.notice {
opacity: 0.7;
}

/* Remove fade when hovered */
body[data-page='admin-status-overview'] .cbi-title .label.notice:hover {
opacity: initial;
}

/* === END STATUS OVERVIEW: HIDE/SHOW BUTTONS === */

/* === STATUS OVERVIEW: MATCH IFACEBOX COLOUR WITH HEADER === */

/* Set text to header colour when using the header colour background to match same behaviour, for e.g. IPv4 Upstream and IPv6 Upstream boxes */
Expand Down
Loading