From ea0b90fbf9643ec405f56feee33e96eeef653325 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 10 Nov 2019 17:33:48 +0100 Subject: [PATCH] luci-theme-bootstrap: minor CSS fixes - Don't remove background for disabled buttons - Move inactive tooltip element further out of the view area Signed-off-by: Jo-Philipp Wich (cherry picked from commit 3d0861de2082fe9eb6cef0c480447d8661f783df) --- .../htdocs/luci-static/bootstrap/cascade.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index 7c90cf280..a1055dc06 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -1575,7 +1575,7 @@ select + .cbi-button { .cbi-tooltip { position: absolute; z-index: 1000; - left: -1000px; + left: -10000px; box-shadow: 0 0 2px #ccc; border-radius: 3px; background: #fff; @@ -1662,14 +1662,12 @@ select + .cbi-button { .btn.disabled { cursor: default; - background-image: none; opacity: 0.65; box-shadow: none; } .btn[disabled] { cursor: default; - background-image: none; opacity: 0.65; box-shadow: none; } -- 2.25.1