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 <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-11-10 17:33:48 +01:00
parent 6496ed88a6
commit 3d0861de20

View file

@ -1575,7 +1575,7 @@ select + .cbi-button {
.cbi-tooltip { .cbi-tooltip {
position: absolute; position: absolute;
z-index: 1000; z-index: 1000;
left: -1000px; left: -10000px;
box-shadow: 0 0 2px #ccc; box-shadow: 0 0 2px #ccc;
border-radius: 3px; border-radius: 3px;
background: #fff; background: #fff;
@ -1662,14 +1662,12 @@ select + .cbi-button {
.btn.disabled { .btn.disabled {
cursor: default; cursor: default;
background-image: none;
opacity: 0.65; opacity: 0.65;
box-shadow: none; box-shadow: none;
} }
.btn[disabled] { .btn[disabled] {
cursor: default; cursor: default;
background-image: none;
opacity: 0.65; opacity: 0.65;
box-shadow: none; box-shadow: none;
} }