From 27515c2a2e5ec53fc3c3112d8f013dbc8e3ebc45 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 20 Feb 2017 09:01:00 +0100 Subject: [PATCH] Radio Input indeterminate bugfix - fixes #786 --- app/assets/stylesheets/zammad.scss | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index 80ae54dfd..4aa9f28c6 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -1098,16 +1098,6 @@ th.align-right { box-shadow: 0 0 0 2px hsl(201,62%,90%); color: hsl(200,71%,59%); } - - &:indeterminate { - ~ .icon-checked, - ~ .icon-unchecked { - display: none; - } - ~ .icon-indeterminate { - display: block; - } - } } + .label-text { @@ -1115,6 +1105,18 @@ th.align-right { } } +.checkbox-replacement { + &:indeterminate { + ~ .icon-checked, + ~ .icon-unchecked { + display: none; + } + ~ .icon-indeterminate { + display: block; + } + } +} + .radio-replacement { input:focus ~ .icon-checked, input:focus ~ .icon-unchecked {