From faa2b548817cefbfc3dd09ded96efd94b2089dc1 Mon Sep 17 00:00:00 2001 From: Chris Corwin Date: Mon, 4 May 2015 10:50:32 -0400 Subject: [PATCH 1/2] 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 fbc68c9c4..241dbf318 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 e712667da..78f1c3607 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; From 5d8bce64d0f423b9a8c6ee7897e2028c6c4fc97e Mon Sep 17 00:00:00 2001 From: Chris Corwin Date: Mon, 4 May 2015 14:48:30 -0400 Subject: [PATCH 2/2] Added type specification to checkbox and radio rules. --- less/fuelux.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/less/fuelux.less b/less/fuelux.less index 4756fe7c5..ea152566b 100644 --- a/less/fuelux.less +++ b/less/fuelux.less @@ -29,3 +29,5 @@ @import "tree.less"; @import "wizard.less"; @import "utility.less"; + +