luci-theme-bootstrap: minor CSS fixes
authorJo-Philipp Wich <jo@mein.io>
Sun, 10 Nov 2019 16:33:48 +0000 (17:33 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 10 Nov 2019 17:18:53 +0000 (18:18 +0100)
 - Don't remove background for disabled buttons
 - Move inactive tooltip element further out of the view area

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index 7c90cf2801eeed08c831f893dd45ed48e96b4600..a1055dc06ca2517ef0975e5671a764e387fa733f 100644 (file)
@@ -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;
 }