mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-24 18:43:51 +08:00
Working on adding a lot more variables to core. Doing so enables easy styling & changes to the main bulk of the interface. **Example of what can be done** Using these variables in core allows for the following stylistic changes to be made with less than 100 lines of code. Most of which are changing the value assigned to variables in this PR. 
30 lines
546 B
SCSS
Vendored
30 lines
546 B
SCSS
Vendored
.select-kit.single-select {
|
|
.select-kit-filter {
|
|
display: flex;
|
|
|
|
&.is-expanded {
|
|
border-bottom: 1px solid var(--content-border-color);
|
|
}
|
|
}
|
|
|
|
&.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;
|
|
}
|
|
}
|
|
}
|