diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-01-24 15:42:52 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-02-01 10:06:31 +0100 |
commit | c44c23a1c32da8c2faa5ff14895bc6558ceca2a2 (patch) | |
tree | 1870ddc7f006e3262a91049a23301757097261f1 /core/css/inputs.scss | |
parent | b068809d9f2ac653a6c4b20316361a6ad73436ce (diff) | |
download | nextcloud-server-c44c23a1c32da8c2faa5ff14895bc6558ceca2a2.tar.gz nextcloud-server-c44c23a1c32da8c2faa5ff14895bc6558ceca2a2.zip |
Improve design of description below label of checkbox or radio button
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/css/inputs.scss')
-rw-r--r-- | core/css/inputs.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss index 3562372dbc9..37914365a77 100644 --- a/core/css/inputs.scss +++ b/core/css/inputs.scss @@ -354,6 +354,15 @@ input { &:checked:disabled + label:before { background-color: $color-checkbox-radio-disabled; } + + // Detail description below label of checkbox or radio button + & + label ~ em { + display: inline-block; + margin-left: 18px; + } + & + label ~ em:last-of-type { + margin-bottom: 12px; + } } &.checkbox { + label:before { |