summaryrefslogtreecommitdiffstats
path: root/style
diff options
context:
space:
mode:
authorSimon Rettberg2017-12-01 14:34:51 +0100
committerSimon Rettberg2017-12-01 14:34:51 +0100
commit097825da74ed866be5e3f85606ac5e5de6ab4a08 (patch)
tree514e72a6cae4d4d7bd6b782df699846059b19216 /style
parent[style.css] Try to reduce copy&paste (diff)
downloadslx-admin-097825da74ed866be5e3f85606ac5e5de6ab4a08.tar.gz
slx-admin-097825da74ed866be5e3f85606ac5e5de6ab4a08.tar.xz
slx-admin-097825da74ed866be5e3f85606ac5e5de6ab4a08.zip
[style] Fix checkbox/radio in input-group-addon, add missing label<->input refs
Diffstat (limited to 'style')
-rw-r--r--style/default.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/style/default.css b/style/default.css
index fc8d3af1..7273dba2 100644
--- a/style/default.css
+++ b/style/default.css
@@ -573,6 +573,18 @@ it only applies if they're in a container that has the checkbox class */
margin-top: 0;
}
+.input-group-addon > .checkbox,
+.input-group-addon > .radio {
+ margin: 0;
+ line-height: normal;
+ text-align: left;
+}
+
+.checkbox input[type="checkbox"] + label:empty,
+.radio input[type="radio"] + label:empty {
+ padding: 0;
+}
+
/* Hack to get ellipsis in containers without absolute width */
/* Use: <table class="slx-ellipsis"><tr><td>my text bla bla</td></tr></table> */