mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
luci-base: restore titles class
follow-up to 720c96ce5b
While ::before CSS styling has been deactivated, and
'content' removed, cbi-value-first-field is a bit
ambiguous. So, restore cbi-section-table-titles, and
replace the ::before tags in CSS.
Remove also the data-title for title rows. We already
insert titles for named headers and rows via HTML and
not via CSS after the mentioned commit.
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -2034,7 +2034,10 @@ form.inline { display: inline; margin-bottom: 0; }
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.cbi-section-table-titles.named::before,
|
||||
.cbi-section-table-titles {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.cbi-section-table-descr.named::before,
|
||||
.cbi-section-table-row[data-title]::before {
|
||||
content: none;
|
||||
@@ -2319,10 +2322,6 @@ div.cbi-value var,
|
||||
color: #0069d6;
|
||||
}
|
||||
|
||||
.cbi-value-first-field {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.cbi-value var[data-tooltip],
|
||||
.td.cbi-value-field var[data-tooltip],
|
||||
div.cbi-value var.cbi-tooltip-container,
|
||||
|
||||
@@ -1323,6 +1323,10 @@ td > table > tbody > tr > td,
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tr.cbi-section-table-titles {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tr[data-title]::before,
|
||||
.tr.cbi-section-table-titles.named::before {
|
||||
content: none;
|
||||
@@ -2158,10 +2162,6 @@ td.cbi-value-field var,
|
||||
color: #0069d6;
|
||||
}
|
||||
|
||||
.cbi-value-first-field {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.cbi-optionals {
|
||||
padding: 1rem 1rem 0 1rem;
|
||||
border-top: thin solid #ccc;
|
||||
|
||||
@@ -299,9 +299,8 @@ table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
tr.cbi-section-table-titles[data-title]::before {
|
||||
tr.cbi-section-table-titles {
|
||||
font-weight: bold;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
tr[data-title]::before {
|
||||
@@ -1156,10 +1155,6 @@ textarea {
|
||||
flex: 1 1 100%;
|
||||
}
|
||||
|
||||
.cbi-value-first-field {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.cbi-map-descr,
|
||||
.cbi-tab-descr,
|
||||
.cbi-section-descr,
|
||||
@@ -1784,8 +1779,6 @@ ul.errors {
|
||||
padding-bottom: .5em;
|
||||
}
|
||||
|
||||
tr.cbi-section-table-titles[data-title]::before,
|
||||
tr.cbi-section-table-titles,
|
||||
tr.cbi-section-table-descr {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -1035,10 +1035,6 @@ div.cbi-optionals {
|
||||
color: #2222FF;
|
||||
}
|
||||
|
||||
.cbi-value-first-field {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
ul.cbi-tabmenu {
|
||||
list-style-type: none;
|
||||
@@ -1923,8 +1919,11 @@ select + .cbi-button {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.cbi-section-table-titles {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tr.table-titles,
|
||||
.cbi-section-table-titles,
|
||||
.cbi-section-table-descr {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user