luci-theme-bootstrap: render tblsection row titles
authorJo-Philipp Wich <jo@mein.io>
Mon, 25 Jun 2018 07:52:29 +0000 (09:52 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 25 Jun 2018 07:52:29 +0000 (09:52 +0200)
The Bootstrap theme lacked appropriate CSS yet to render section title
attributes.

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

index abfb7cfb7bb2c0096ccf5a31d21392014f9115c6..622f2b8443b4d15eb889f90466de5e860fd5c5c6 100644 (file)
@@ -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; }