corrections sur radio / checkbox

This commit is contained in:
Raphaël Goetter 2022-01-24 17:03:36 +01:00
parent d9833fe12c
commit 6e13e8bc48
4 changed files with 8 additions and 9 deletions

View File

@ -1,5 +1,6 @@
# Changelog
- 24 janvier 2022 (8.2.1) : corrections des radio / checkbox
- 19 janvier 2022 (8.2) : refonte des variables d'espacement
- 5 janvier 2022 (8.1) : refonte des variables de couleur
- 9 juillet 2021 (8.0.5) : suppression min-height: 0 par défaut

View File

@ -1,6 +1,6 @@
{
"name": "knacss",
"version": "8.2",
"version": "8.2.1",
"homepage": "http://www.knacss.com/",
"bugs": "https://github.com/alsacreations/KNACSS/issues",
"author": "Raphaël GOETTER, Alsacreations (http://www.alsacreations.fr)",

View File

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

View File

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