MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 904: | Line 904: | ||
fill: #202124 !important; | fill: #202124 !important; | ||
color: #202124 !important; | color: #202124 !important; | ||
} | |||
/* Force search dropdown text to be dark */ | |||
#p-search .cdx-typeahead-search__menu .cdx-menu-item, | |||
#p-search .cdx-typeahead-search__menu .cdx-menu-item * { | |||
color: #202124 !important; | |||
fill: #202124 !important; | |||
} | |||
/* Force search dropdown background to be white */ | |||
#p-search .cdx-typeahead-search__menu { | |||
background: #ffffff !important; | |||
} | |||
/* Force search dropdown items to have dark text on hover */ | |||
#p-search .cdx-typeahead-search__menu .cdx-menu-item:hover { | |||
background: #f1f3f4 !important; | |||
color: #202124 !important; | |||
} | |||
/* Force search dropdown icons to be dark */ | |||
#p-search .cdx-typeahead-search__menu .cdx-menu-item__icon svg, | |||
#p-search .cdx-typeahead-search__menu .cdx-menu-item__icon path { | |||
fill: #202124 !important; | |||
} | |||
/* Force search dropdown text to be dark, even if JavaScript changes it */ | |||
#p-search .cdx-typeahead-search__menu .cdx-menu-item { | |||
color: #202124 !important; | |||
} | |||
/* Force search dropdown text to be dark for all states */ | |||
#p-search .cdx-typeahead-search__menu .cdx-menu-item--active, | |||
#p-search .cdx-typeahead-search__menu .cdx-menu-item--selected { | |||
color: #202124 !important; | |||
background: #f1f3f4 !important; | |||
} | } | ||