MediaWiki:Vector-2022.css: Difference between revisions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 94: | Line 94: | ||
} | } | ||
| Line 101: | Line 103: | ||
/* Keep the wrapper shape the same in all states */ | /* Keep the wrapper shape the same in all states */ | ||
.vector-search-box .cdx-text-input { | .vector-search-box .cdx-text-input { | ||
border: | border: 0; | ||
border-radius: 25px !important; | border-radius: 25px !important; | ||
background: transparent !important; | background: transparent !important; | ||
| Line 110: | Line 112: | ||
/* On focus, don't change size; (optional) keep same border color to avoid flicker */ | /* On focus, don't change size; (optional) keep same border color to avoid flicker */ | ||
.vector-search-box .cdx-text-input:focus-within { | .vector-search-box .cdx-text-input:focus-within { | ||
border | border: 0; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
| Line 117: | Line 119: | ||
.vector-search-box .cdx-text-input__input, | .vector-search-box .cdx-text-input__input, | ||
#searchInput { | #searchInput { | ||
height: 42px !important; | height: 42px !important; | ||
background-color: #E9EEF6 !important; | background-color: #E9EEF6 !important; | ||
border: 0; | |||
border: 0 | |||
border-radius: 25px !important; | border-radius: 25px !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
/* Fix your earlier typo so layout stays stable */ | /* Fix your earlier typo so layout stays stable */ | ||
| Line 145: | Line 136: | ||
} | } | ||
.vector-header-end .cdx-text-input:focus-within, | .vector-header-end .cdx-text-input:focus-within, | ||
#vector-sticky-header .cdx-text-input:focus-within, | #vector-sticky-header .cdx-text-input:focus-within, | ||
| Line 152: | Line 143: | ||
background-color: #E9EEF6 !important; | background-color: #E9EEF6 !important; | ||
border: 0 !important; | border: 0 !important; | ||
border-radius: | border-radius: 25px !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
outline: none !important; | outline: none !important; | ||
height: 42px !important; | height: 42px !important; | ||
} | } | ||
.cdx-button.cdx-search-input__end-button { | |||
border-radius: 25px !important; | |||
background-color: rgb(194, 231, 255); | |||
border: 0; | |||
color: rgb(0, 29, 53); | |||
letter-spacing: 0.5px; | |||
} | |||