Открыть главное меню
Строка 16: Строка 16:
 
.header-container form.header {
 
.header-container form.header {
 
     padding: 0 20px !important;
 
     padding: 0 20px !important;
 +
    align-items: center !important;
 
}
 
}
  
Строка 41: Строка 42:
  
 
.search-box {
 
.search-box {
    flex: 0 0 auto !important;  /* запретить растягивание */
+
  flex: 0 0 360px !important;  /* фиксированная ширина */
 +
    max-width: 360px !important;
 
     margin-left: 24px !important;
 
     margin-left: 24px !important;
 
}
 
}
  
 
.search-box input {
 
.search-box input {
     width: 360px !important;     /* фиксированная ширина */
+
     width: 100% !important;
 
     height: 36px !important;
 
     height: 36px !important;
    background: #f3f4fa !important;
 
    border: 1px solid #e0e3f0 !important;
 
    border-radius: 10px !important;
 
 
}
 
}
  

Версия 00:23, 2 марта 2026

/* =========================================
   BARLIVE — АККУРАТНАЯ ШАПКА (Minerva)
   ========================================= */

/* --- Контейнер шапки --- */

.header-container.header-chrome {
    background: #ffffff !important;
    border-bottom: 1px solid #e6e8f5 !important;
    box-shadow: none !important;
}

/* Внутренний контейнер уже flex в Minerva,
   мы его не пересобираем — только выравниваем */

.header-container form.header {
    padding: 0 20px !important;
    align-items: center !important;
}

/* --- Кнопка меню --- */

#mw-mf-main-menu-button {
    margin-right: 16px !important;
}

/* --- Логотип --- */

.branding-box {
    margin-right: 28px !important; /* расстояние до поиска */
    
    
}

.branding-box img {
    height: 36px !important;
    width: auto !important;
    vertical-align: middle !important;
}

/* --- Поиск --- */

.search-box {
   flex: 0 0 360px !important;   /* фиксированная ширина */
    max-width: 360px !important;
    margin-left: 24px !important;
}

.search-box input {
    width: 100% !important;
    height: 36px !important;
}

/* --- Иконки справа --- */

.minerva-user-navigation {
    margin-left: auto !important;
    
    align-items: center !important;

}

/* Кнопка поиска */
#searchIcon {
    height: 36px !important;
}

/* Убираем лишние визуальные смещения */
.mw-ui-icon-element {
    vertical-align: middle !important;
}