| Строка 643: |
Строка 643: |
| | } | | } |
| | | | |
| − | /* ===== полностью скрыть стандартный крестик ===== */ | + | /* ===== FIX: крестик в активном поиске не наезжает на текст ===== */ |
| | | | |
| − | .search-box input[type="search"]::-webkit-search-cancel-button { | + | /* контейнер шапки активного поиска */ |
| − | display: none; | + | .overlay-header.header { |
| | + | position: relative !important; |
| | + | padding-right: 44px !important; /* место под крестик */ |
| | + | box-sizing: border-box !important; |
| | + | } |
| | + | |
| | + | /* область с полем/заголовком поиска */ |
| | + | .overlay-header .search-header-view, |
| | + | .overlay-header .overlay-title, |
| | + | .overlay-header .search-box, |
| | + | .overlay-header input[type="search"], |
| | + | .overlay-header .search { |
| | + | padding-right: 44px !important; |
| | + | box-sizing: border-box !important; |
| | + | } |
| | + | |
| | + | /* сама кнопка-крестик */ |
| | + | .overlay-header .cancel, |
| | + | .search-overlay .cancel, |
| | + | .overlay .cancel.mw-ui-icon { |
| | + | position: absolute !important; |
| | + | right: 10px !important; |
| | + | top: 50% !important; |
| | + | transform: translateY(-50%) !important; |
| | + | margin: 0 !important; |
| | + | z-index: 5 !important; |
| | } | | } |