scss: apply expected style to disabled buttons (#30576)
This commit is contained in:
parent
9b41d65b5d
commit
f61223bea5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue