From ceed55bc525eb38b931e7b5e90cd125f061e5f56 Mon Sep 17 00:00:00 2001 From: Raphael Goetter Date: Mon, 31 Jul 2017 21:45:24 +0200 Subject: [PATCH] disabled styling --- changelog.md | 1 + sass/_library/_utilities.scss | 1 - sass/components/buttons.scss | 7 ++----- sass/components/forms.scss | 5 ----- 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/changelog.md b/changelog.md index 49ce687..2c24fd4 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,7 @@ - refonte complète des boutons, avec possibilités de variantes (primary, success, warning, etc.) - ajout des badges (tags), avec possibilités de variantes (primary, success, warning, etc.) - ajout des alertes, avec possibilités de variantes (primary, success, warning, etc.) +- ajout d'un bouton de navigation .button-burger - refonte des styles de formulaires - autogrid object en Grid Layout - regroupement des styles des tableaux diff --git a/sass/_library/_utilities.scss b/sass/_library/_utilities.scss index e84fd8a..922d865 100644 --- a/sass/_library/_utilities.scss +++ b/sass/_library/_utilities.scss @@ -25,7 +25,6 @@ .is-disabled, [disabled] { opacity: 0.5; - pointer-events: none; cursor: not-allowed; filter: grayscale(1); } diff --git a/sass/components/buttons.scss b/sass/components/buttons.scss index 8d95e8d..afe3f89 100644 --- a/sass/components/buttons.scss +++ b/sass/components/buttons.scss @@ -71,11 +71,7 @@ button { width: 100% !important; display: block; } - &.disabled, - &--disabled { - opacity: 0.5; - cursor: not-allowed; - } + &--unstyled { padding: 0; border: none; @@ -95,6 +91,7 @@ button { } // burger button +// active it with :focus, .is-active or .js-active .button-burger { position: relative; height: 2.4rem; diff --git a/sass/components/forms.scss b/sass/components/forms.scss index 413e1b6..47314fa 100644 --- a/sass/components/forms.scss +++ b/sass/components/forms.scss @@ -63,11 +63,6 @@ textarea { cursor: pointer; } -input[disabled] { - opacity: .5; - cursor: not-allowed; -} - input[readonly] { background-color: $color-muted; }