luci-theme-bootstrap: add CSS fixes for tooltip elements
authorJo-Philipp Wich <jo@mein.io>
Sun, 19 Jan 2020 16:50:37 +0000 (17:50 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 19 Jan 2020 19:17:03 +0000 (20:17 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0d97ea26f8a1953ec059191cba31cc06b74f6136)

themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index db51d0e1ca576e2b6e59c9e5add0d1fb8c97c072..633eda9386be1d8d3290e05dc3c68f73653aa992 100644 (file)
@@ -2089,6 +2089,21 @@ div.cbi-value var,
        color: #0069d6;
 }
 
+div.cbi-value var[data-tooltip],
+.td.cbi-value-field var[data-tooltip],
+div.cbi-value var.cbi-tooltip-container,
+.td.cbi-value-field var.cbi-tooltip-container {
+       cursor: help;
+       border-bottom: 1px dotted #0069d6;
+}
+
+div.cbi-value var.cbi-tooltip-container,
+.td.cbi-value-field var.cbi-tooltip-container .cbi-tooltip {
+       font-style: normal;
+       white-space: normal;
+       color: #444;
+}
+
 #modal_overlay > .modal.uci-dialog,
 #modal_overlay > .modal.cbi-modal {
        max-width: 900px;