mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 21:35:48 +08:00
cb59681d86
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
31 lines
537 B
SCSS
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;
|
|
}
|
|
}
|
|
}
|