MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 721: | Line 721: | ||
.se-docrow:hover { | .se-docrow:hover { | ||
background: #f4f7fb; | background: #f4f7fb; | ||
} | |||
/* 🚫 Disable Vector search takeover completely */ | |||
.vector-search-box-expanded { | |||
position: relative !important; | |||
left: auto !important; | |||
right: auto !important; | |||
width: auto !important; | |||
max-width: 360px !important; | |||
margin: 0 !important; | |||
} | |||
/* Freeze header layout */ | |||
.vector-header-container, | |||
.vector-header { | |||
display: flex !important; | |||
justify-content: space-between !important; | |||
align-items: center !important; | |||
} | |||
.vector-header-start { | |||
flex: 0 0 auto !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
gap: 12px; | |||
} | |||
.vector-header-end { | |||
flex: 0 0 auto !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
gap: 16px; | |||
} | |||
/* 🔥 Override Vector hiding logic */ | |||
.mw-logo, | |||
.vector-header-start .mw-logo { | |||
display: flex !important; | |||
visibility: visible !important; | |||
opacity: 1 !important; | |||
transform: none !important; | |||
} | |||
/* Keep search ALWAYS in header-end */ | |||
.vector-search-box { | |||
order: 2 !important; | |||
} | |||
.vector-header-start { | |||
order: 1 !important; | |||
} | |||
.vector-header-end { | |||
order: 3 !important; | |||
} | |||
/* Dropdown container */ | |||
.cdx-typeahead-search { | |||
background: #ffffff !important; | |||
color: #202124 !important; | |||
border-radius: 12px; | |||
overflow: hidden; | |||
} | |||
/* Individual results */ | |||
.cdx-menu-item { | |||
color: #202124 !important; | |||
padding: 10px 14px; | |||
} | |||
/* Hover */ | |||
.cdx-menu-item:hover { | |||
background: #f1f3f4 !important; | |||
} | |||
/* Input box */ | |||
.cdx-text-input__input { | |||
background: rgba(255,255,255,0.12) !important; | |||
color: #ffffff !important; | |||
border-radius: 6px; | |||
padding: 6px 10px; | |||
} | |||
/* Placeholder */ | |||
.cdx-text-input__input::placeholder { | |||
color: rgba(255,255,255,0.7) !important; | |||
} | } | ||