From 6e13e8bc4870b8a31e1b298f35c96f1004290cfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raphae=CC=88l=20Goetter?= Date: Mon, 24 Jan 2022 17:03:36 +0100 Subject: [PATCH] corrections sur radio / checkbox --- changelog.md | 1 + package.json | 2 +- sass/components/_checkbox.scss | 7 +++---- sass/components/_radio.scss | 7 +++---- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/changelog.md b/changelog.md index d7bba8a..a0609cb 100755 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/package.json b/package.json index 5ad44b3..b1bf575 100644 --- a/package.json +++ b/package.json @@ -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)", diff --git a/sass/components/_checkbox.scss b/sass/components/_checkbox.scss index 01be2ce..8741bb9 100755 --- a/sass/components/_checkbox.scss +++ b/sass/components/_checkbox.scss @@ -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; -} \ No newline at end of file +} diff --git a/sass/components/_radio.scss b/sass/components/_radio.scss index f00c3c1..2bf505d 100755 --- a/sass/components/_radio.scss +++ b/sass/components/_radio.scss @@ -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; -} \ No newline at end of file +}