corrections sur radio / checkbox
This commit is contained in:
parent
d9833fe12c
commit
6e13e8bc48
4 changed files with 8 additions and 9 deletions
|
@ -30,14 +30,13 @@ $checkbox-border-radius: 4px;
|
|||
width: $checkbox-size;
|
||||
height: $checkbox-size;
|
||||
vertical-align: text-bottom;
|
||||
outline: 0;
|
||||
box-shadow: inset 0 0 0 1px $primary;
|
||||
background-color: $checkbox-color;
|
||||
transition: background-color 0.15s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.checkbox+label {
|
||||
.checkbox + label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
@ -45,7 +44,7 @@ $checkbox-border-radius: 4px;
|
|||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.checkbox:disabled+label {
|
||||
.checkbox:disabled + label {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
@ -56,4 +55,4 @@ $checkbox-border-radius: 4px;
|
|||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-color: $checkbox-background;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,14 +30,13 @@ $radio-border-radius: 50%;
|
|||
width: $radio-size;
|
||||
height: $radio-size;
|
||||
vertical-align: text-bottom;
|
||||
outline: 0;
|
||||
box-shadow: inset 0 0 0 1px $primary;
|
||||
background-color: $radio-background;
|
||||
transition: background-size 0.15s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.radio+label {
|
||||
.radio + label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
@ -45,7 +44,7 @@ $radio-border-radius: 50%;
|
|||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.radio:disabled+label {
|
||||
.radio:disabled + label {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
@ -56,4 +55,4 @@ $radio-border-radius: 50%;
|
|||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-color: $primary;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue