MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
color: #ccc !important; | color: #ccc !important; | ||
background-color: #111 !important; | background-color: #111 !important; | ||
} | |||
/* Dark background and text for suggestion dropdown */ | |||
.select2-container--default .select2-results > .select2-results__options { | |||
background-color: #111 !important; | |||
color: #ccc !important; | |||
border: 1px solid #444; | |||
} | |||
/* Individual result items */ | |||
.select2-container--default .select2-results__option { | |||
background-color: #111; | |||
color: #ccc; | |||
} | |||
/* Hovered/selected result */ | |||
.select2-container--default .select2-results__option--highlighted[aria-selected] { | |||
background-color: #2e4e2e !important; | |||
color: #fff !important; | |||
} | } | ||
Revision as of 11:06, 11 May 2025
/* CSS placed here will be applied to all skins */
/* Dark theme for tokens (Select2 multi-selection input) */
.select2-container--default .select2-selection--multiple {
background-color: #111 !important;
color: #ccc !important;
border: 1px solid #444 !important;
}
/* Style individual tokens */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
background-color: #333 !important;
color: #eee !important;
border: 1px solid #555 !important;
}
/* Style input text inside the token field */
.select2-container--default .select2-selection--multiple .select2-search__field {
color: #ccc !important;
background-color: #111 !important;
}
/* Dark background and text for suggestion dropdown */
.select2-container--default .select2-results > .select2-results__options {
background-color: #111 !important;
color: #ccc !important;
border: 1px solid #444;
}
/* Individual result items */
.select2-container--default .select2-results__option {
background-color: #111;
color: #ccc;
}
/* Hovered/selected result */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
background-color: #2e4e2e !important;
color: #fff !important;
}