gluon-luci-theme: add cbi-value-field-long class

This new class allows visually pleasing lists of radio buttons/checkboxes/etc.
with long explanation texts.
This commit is contained in:
Matthias Schiffer 2015-05-03 03:51:19 +02:00
parent a50cce4e09
commit ce2f494e0c
2 changed files with 16 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -648,6 +648,21 @@ div.cbi-value-field {
}
}
div.cbi-value-field-long {
flex: 10;
position: relative;
input, select, input + label {
position: relative;
top: -0.39em;
}
}
div.cbi-value-field-long-after {
flex: 2;
}
div.cbi-value-description {
font-size: 8pt;
}