summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-bootstrap/htdocs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-06-25 09:52:29 +0200
committerJo-Philipp Wich <jo@mein.io>2018-06-25 09:52:29 +0200
commit211d8bc55ee6c93f8631482fa14f475f7a48dec8 (patch)
tree7551a5b8967f46860c21b38de76c299b50f04ea3 /themes/luci-theme-bootstrap/htdocs
parent18d92aca53f40867b1f87898410fc8ddc870fb0c (diff)
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 <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-bootstrap/htdocs')
-rw-r--r--themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css14
1 files changed, 14 insertions, 0 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 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; }