From faa2b548817cefbfc3dd09ded96efd94b2089dc1 Mon Sep 17 00:00:00 2001 From: Chris Corwin Date: Mon, 4 May 2015 10:50:32 -0400 Subject: [PATCH] Add input[type=checkbox]:not(.sr-only), input[type=radio]:not(.sr-only) stuff to forms.less and checkbox-no-js.less --- less/checkbox-no-js.less | 2 +- less/forms.less | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/less/checkbox-no-js.less b/less/checkbox-no-js.less index fbc68c9c..241dbf31 100644 --- a/less/checkbox-no-js.less +++ b/less/checkbox-no-js.less @@ -37,7 +37,7 @@ .checkbox { &.highlight { - input:not(.sr-only) { + input[type="checkbox"]:not(.sr-only) { & ~ label { left: -4px; } diff --git a/less/forms.less b/less/forms.less index e712667d..78f1c360 100644 --- a/less/forms.less +++ b/less/forms.less @@ -40,7 +40,7 @@ &.highlight { - input:not(.sr-only) { + input[type="checkbox"]:not(.sr-only), input[type="radio"]:not(.sr-only) { & ~ label { padding: 4px; border-radius: @baseBorderRadius; @@ -53,7 +53,7 @@ } } - input:not(.sr-only) { + input[type="checkbox"]:not(.sr-only), input[type="radio"]:not(.sr-only) { position: absolute; width: 1px; @@ -148,7 +148,7 @@ &.highlight { - input:not(.sr-only) { + input[type="checkbox"]:not(.sr-only), input[type="radio"]:not(.sr-only) { & ~ label { left: -8px; position: relative;