scss: apply expected style to disabled buttons (#30576)

This commit is contained in:
Frédéric Péters 2019-02-12 18:01:48 +01:00
parent 9b41d65b5d
commit f61223bea5
1 changed files with 8 additions and 9 deletions

View File

@ -92,6 +92,14 @@ div.buttons div {
background: $button-hover-background;
color: $button-hover-color;
}
&:disabled {
pointer-events: none;
box-shadow: none;
cursor: not-allowed;
background: grayscale($button-background);
color: grayscale($button-color);
}
}
.fargo-pick-popup button,
@ -115,15 +123,6 @@ div.gru-content form.disabled-during-submit {
}
}
button:disabled,
input[type=submit]:disabled {
pointer-events: none;
box-shadow: none;
cursor: not-allowed;
background: grayscale($button-background);
color: grayscale($button-color);
}
input, input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="file"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], textarea, select {
background: $widget-background;
color: $widget-color;