From 69608199973651baf585d24a095edf8c0c42e21f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 1 Jun 2021 11:14:58 +0200 Subject: [PATCH] luci-theme-bootstrap: add svg help icon to form field descriptions The still referenced help.gif icon is absent by default since it has been moved to luci-compat. Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/bootstrap/cascade.css | 10 +++------- 1 file changed, 3 insertions(+), 7 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 562f57f5cb..5b5b7ac2dc 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -1866,8 +1866,6 @@ header .pull-right { padding-top: 8px; } .middle { vertical-align: middle !important; } .bottom { vertical-align: bottom !important; } -.cbi-value-field { line-height: 1.5em; } - .cbi-value-field input[type=checkbox], .cbi-value-field input[type=radio] { margin-top: 8px; @@ -1926,11 +1924,9 @@ table table td, } .cbi-value-description { - background-image: url(/luci-static/resources/cbi/help.gif); - background-position: .25em .2em; - background-repeat: no-repeat; - margin: .25em 0 0 0; - padding: 0 0 0 1.7em; + background: url("data:image/svg+xml,") 0 .05em/1em no-repeat; + margin: .25em 0 0; + padding: .1em 0 0 1.3em; } .cbi-section-error { -- 2.30.2