discourse/app/assets/stylesheets/common/select-kit/single-select.scss
Joffrey JAFFEUX cb59681d86
DEV: select-kit third major update with focus on accessibility (#13303)
Major changes included:
- better support for screen readers
- trapping focus in modals
- better tabbing order in composer
- alerts on no content found/number of items found
- better autofocus in modals
- mini-tag-chooser is now a multi-select component
- each multi-select-component will now display selection on one row
2021-08-23 10:44:19 +02:00

31 lines
537 B
SCSS

.select-kit.single-select {
.select-kit-filter {
display: flex;
&.is-expanded {
border-bottom: 1px solid var(--primary-low);
}
}
&.is-expanded .select-kit-header:not(.btn),
.select-kit-header:not(.btn):focus,
.select-kit-header:not(.btn):active {
@include default-focus;
}
.select-kit-header:focus {
@include default-focus;
}
.select-kit-header.btn:focus,
.select-kit-header.btn:active {
outline: none;
}
&.is-disabled {
.select-kit-header {
opacity: 0.5;
}
}
}