- Add proper top and bottom margin for tab descriptions
- Allow flex wrapping for cbi-value rows
- Ensure that nested table/grid sections always take the full width
- Make table/grid section row action buttons are as narrow as possible
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
padding-top: 20px;
}
-form .cbi-tab-descr {
- line-height: 18px;
- margin-bottom: 18px;
-}
-
label,
input,
button,
.cbi-value {
display: flex;
+ flex-wrap: wrap;
margin-bottom: 18px;
}
.cbi-value-field {
margin-left: 20px;
+ flex: 1;
}
.cbi-value label.cbi-value-title {
color: var(--text-color-high);
}
+.cbi-value > .cbi-tblsection {
+ width: 100%;
+}
+
label > input[type="checkbox"],
label > input[type="radio"] {
vertical-align: text-top;
font-weight: bold;
}
-.cbi-tabcontainer > fieldset.cbi-section[id] > legend {
- display: none;
+.cbi-tab-descr {
+ margin: -9px 0 18px 0;
}
.tabs .menu-dropdown, .tabs .dropdown-menu {
.td.cbi-section-actions {
text-align: right;
vertical-align: middle;
+ width: 15%;
}
.td.cbi-section-actions > * {
line-height: 300%;
}
-[data-page="admin-network-dhcp"] [data-name="ip"] {
- width: 15%;
-}
-
@keyframes flash {
0% { opacity: 1; }
50% { opacity: .5; }