luci-theme-bootstrap: remove redundant rules

Drop rules specific to the old status page progress bars and rework the
cbi element rules to work independently of a parent form tag.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2018-11-16 19:29:33 +01:00
parent ee6e07217c
commit 5dddb105d2

View file

@ -387,20 +387,20 @@ form .cbi-tab-descr {
} }
form .clearfix, form .clearfix,
form .cbi-value { .cbi-value {
margin-bottom: 18px; margin-bottom: 18px;
zoom: 1; zoom: 1;
} }
form .clearfix:before, form .clearfix:after, form .clearfix:before, form .clearfix:after,
form .cbi-value:before, form .cbi-value:after { .cbi-value:before, .cbi-value:after {
display: table; display: table;
content: ""; content: "";
zoom: 1; zoom: 1;
} }
form .clearfix:after, form .clearfix:after,
form .cbi-value:after { .cbi-value:after {
clear: both; clear: both;
} }
@ -415,11 +415,11 @@ textarea {
} }
form .input, form .input,
form .cbi-value-field { .cbi-value-field {
margin-left: 200px; margin-left: 200px;
} }
form .cbi-value label.cbi-value-title { .cbi-value label.cbi-value-title {
padding-top: 6px; padding-top: 6px;
font-size: 13px; font-size: 13px;
line-height: 18px; line-height: 18px;
@ -1770,19 +1770,6 @@ a.label:hover {
/* LuCI specific items */ /* LuCI specific items */
.hidden { display: none } .hidden { display: none }
#memtotal > div,
#memfree > div,
#memcache > div,
#membuff > div,
#conns > div {
border: 1px solid #ccc;
border-radius: 3px 3px 3px 3px;
color: #808080;
display: inline-block;
font-size: 13px;
line-height: 18px;
}
#xhr_poll_status { #xhr_poll_status {
cursor: pointer; cursor: pointer;
} }