MediaWiki:Common.css: Difference between revisions
changed wiki name |
Schang1146 (talk | contribs) Allow Select2 input to be responsive to dark/light theme changes |
||
Line 78: | Line 78: | ||
} | } | ||
} | } | ||
/** -------------------------------- **/ | |||
/** Extensions **/ | |||
/* Page Forms */ | |||
/* Input Type - tokens */ | |||
.select2-container--default .select2-selection--multiple { | |||
background-color: var(--background-color-base, #fff); | |||
border: 1px solid var(--border-color-base, #a2a9b1); | |||
} | |||
.select2-container--default.select2-container--focus .select2-selection--multiple { | |||
} | |||
.select2-container--default .select2-selection--multiple:hover { | |||
border-color: var(--border-color-interactive,#72777d); | |||
transition-property: border-color,box-shadow; | |||
transition-duration: 250ms; | |||
} | |||
.select2-dropdown { | |||
background-color: var(--background-color-base, #fff); | |||
border: 1px solid var(--border-color-base, #a2a9b1); | |||
} | |||
.select2-container--default .select2-selection--multiple .select2-selection__choice { | |||
background-color: var(--background-color-base, #fff); | |||
} | |||
.select2-container--default .select2-results__option[aria-selected="true"] { | |||
background-color: var(--background-color-neutral-subtle, #fff); | |||
} | |||
/** -------------------------------- **/ | /** -------------------------------- **/ | ||