MediaWiki:Vector.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 554: | Line 554: | ||
background-color: var(--background-color-base); | background-color: var(--background-color-base); | ||
} | } | ||
:root { | |||
--searchbutton-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M12.2 13.6a7 7 0 1 1 1.4-1.4l5.4 5.4-1.4 1.4zM3 8a5 5 0 1 0 10 0A5 5 0 0 0 3 8z'/%3E%3C/svg%3E"); | |||
} | |||
.vector-search-box .cdx-search-input__end-button.cdx-button { | |||
top: 1px; | |||
right: 1px; | |||
background-image: var(--searchbutton-icon); | |||
} | |||
/* Fix placeholder text being too light in chrome */ | /* Fix placeholder text being too light in chrome */ | ||
::-webkit-input-placeholder { | ::-webkit-input-placeholder { | ||
color: inherit; | color: inherit; | ||
opacity: 0. | opacity: 0.8; | ||
} | } | ||