open-consul/ui/packages/consul-ui/app/styles/base/components/display-toggle/layout.scss

8 lines
173 B
SCSS

%display-toggle-siblings,
%display-toggle-siblings ~ *:not(.animating):not(label) {
display: none;
}
%display-toggle-siblings:checked ~ *:not(label) {
display: block;
}