Открыть главное меню
Строка 1: Строка 1:
/* --- Контейнер шапки --- */ .header-container.header-chrome { background: #ffffff !important; border-bottom: 1px solid #e6e8f5 !important; box-shadow: none !important; } /* Внутренний контейнер уже flex в Minerva, мы его не пересобираем — только выравниваем */ .header-container form.header { align-items: center !important; padding: 0 20px !important; } /* --- Кнопка меню --- */ #mw-mf-main-menu-button { margin-right: 16px !important; } /* --- Логотип --- */ .branding-box { margin-right: 28px !important; /* расстояние до поиска */ display: flex !important; } .branding-box img { height: 36px !important; width: auto !important; display: inline-block !important; vertical-align: middle !important; } /* --- Поиск --- */ .search-box { flex: 0 1 420px !important; } .search-box input { width: 100% !important; max-width: 420px !important; height: 36px !important; background: #f3f4fa !important; border: 1px solid #e0e3f0 !important; border-radius: 10px !important; color: #333 !important; box-shadow: none !important; } /* --- Иконки справа --- */ .minerva-user-navigation { margin-left: auto !important; display: flex !important; align-items: center !important; gap: 14px !important; } /* Кнопка поиска */ #searchIcon { height: 36px !important; } /* Убираем лишние визуальные смещения */ .mw-ui-icon-element { vertical-align: middle !important; }
+
/* =========================================
 +
  BARLIVE — СТАБИЛЬНАЯ ШАПКА (Minerva 1.34)
 +
  Без flex-ломаний
 +
  ========================================= */
 +
 
 +
/* === Контейнер шапки === */
 +
 
 +
.header-container.header-chrome {
 +
    background: #ffffff !important;
 +
    border-bottom: 1px solid #e6e8f5 !important;
 +
    height: 56px !important;
 +
    line-height: 56px !important; /* главный центрирующий механизм */
 +
    box-shadow: none !important;
 +
}
 +
 
 +
/* Убираем лишний внутренний отступ Minerva */
 +
.header-container form.header {
 +
    padding: 0 20px !important;
 +
}
 +
 
 +
/* === Кнопка меню слева === */
 +
 
 +
#mw-mf-main-menu-button {
 +
    vertical-align: middle !important;
 +
    margin-right: 14px !important;
 +
}
 +
 
 +
/* === ЛОГО === */
 +
 
 +
.branding-box {
 +
    margin-right: 28px !important;
 +
}
 +
 
 +
.branding-box img {
 +
    height: 34px !important;
 +
    width: auto !important;
 +
    vertical-align: middle !important;
 +
    display: inline-block !important;
 +
}
 +
 
 +
/* === ПОИСК === */
 +
 
 +
.search-box input {
 +
    height: 34px !important;
 +
    max-width: 420px !important;
 +
    background: #f3f4fa !important;
 +
    border: 1px solid #e0e3f0 !important;
 +
    border-radius: 10px !important;
 +
    color: #333 !important;
 +
    box-shadow: none !important;
 +
    vertical-align: middle !important;
 +
}
 +
 
 +
/* === ИКОНКИ СПРАВА === */
 +
 
 +
.minerva-user-navigation {
 +
    margin-left: auto !important;
 +
}
 +
 
 +
.mw-ui-icon-element {
 +
    vertical-align: middle !important;
 +
}

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

/* =========================================
   BARLIVE — СТАБИЛЬНАЯ ШАПКА (Minerva 1.34)
   Без flex-ломаний
   ========================================= */

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

.header-container.header-chrome {
    background: #ffffff !important;
    border-bottom: 1px solid #e6e8f5 !important;
    height: 56px !important;
    line-height: 56px !important; /* главный центрирующий механизм */
    box-shadow: none !important;
}

/* Убираем лишний внутренний отступ Minerva */
.header-container form.header {
    padding: 0 20px !important;
}

/* === Кнопка меню слева === */

#mw-mf-main-menu-button {
    vertical-align: middle !important;
    margin-right: 14px !important;
}

/* === ЛОГО === */

.branding-box {
    margin-right: 28px !important;
}

.branding-box img {
    height: 34px !important;
    width: auto !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

/* === ПОИСК === */

.search-box input {
    height: 34px !important;
    max-width: 420px !important;
    background: #f3f4fa !important;
    border: 1px solid #e0e3f0 !important;
    border-radius: 10px !important;
    color: #333 !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}

/* === ИКОНКИ СПРАВА === */

.minerva-user-navigation {
    margin-left: auto !important;
}

.mw-ui-icon-element {
    vertical-align: middle !important;
}