From: Jo-Philipp Wich Date: Mon, 25 Jun 2018 07:52:29 +0000 (+0200) Subject: luci-theme-bootstrap: render tblsection row titles X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=211d8bc55ee6c93f8631482fa14f475f7a48dec8;p=oweals%2Fluci.git luci-theme-bootstrap: render tblsection row titles The Bootstrap theme lacked appropriate CSS yet to render section title attributes. Signed-off-by: Jo-Philipp Wich --- 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 abfb7cfb7..622f2b844 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -1728,6 +1728,20 @@ header .pull-right { padding-top: 8px; } font-weight: normal; } +.cbi-section-table-titles.named::before, +.cbi-section-table-descr.named::before, +.cbi-section-table-row[data-title]::before { + content: attr(data-title) " "; + display: table-cell; + padding: 10px 10px 9px; + line-height: 18px; + font-weight: bold; +} + +.cbi-section-table-row[data-title]::before { + border-top: 1px solid #ddd; +} + .left { text-align: left !important; } .right { text-align: right !important; }