disabled styling

This commit is contained in:
Raphael Goetter 2017-07-31 21:45:24 +02:00
parent 1ad445f767
commit ceed55bc52
4 changed files with 3 additions and 11 deletions

View File

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

View File

@ -25,7 +25,6 @@
.is-disabled,
[disabled] {
opacity: 0.5;
pointer-events: none;
cursor: not-allowed;
filter: grayscale(1);
}

View File

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

View File

@ -63,11 +63,6 @@ textarea {
cursor: pointer;
}
input[disabled] {
opacity: .5;
cursor: not-allowed;
}
input[readonly] {
background-color: $color-muted;
}