Add input[type=checkbox]:not(.sr-only), input[type=radio]:not(.sr-only) stuff to forms.less and checkbox-no-js.less

This commit is contained in:
Chris Corwin
2015-05-04 10:50:32 -04:00
parent f557cfc915
commit faa2b54881
2 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@
.checkbox {
&.highlight {
input:not(.sr-only) {
input[type="checkbox"]:not(.sr-only) {
& ~ label {
left: -4px;
}

View File

@@ -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;