Add 'disabled' styles for streamfield controls

Follows on from #6802 and #6799.
pull/6931/head
Matt Westcott 2021-03-09 17:55:16 +00:00
rodzic d3e58f7908
commit ee71bd3d07
2 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -36,4 +36,9 @@
&--close i {
transform: rotate(45deg);
}
&[disabled] {
opacity: 0.2;
pointer-events: none;
}
}

Wyświetl plik

@ -23,6 +23,11 @@
}
}
&[disabled] {
opacity: 0.2;
pointer-events: none;
}
// Fallback for no `grid` support in IE11
/* stylelint-disable-next-line scss/media-feature-value-dollar-variable */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {