Открыть главное меню
Строка 1: Строка 1:
−
/* =========================================
 
−
  BARLIVE — АККУРАТНАЯ ШАПКА (Minerva)
 
−
  ========================================= */
 
−
 
−
/* --- Контейнер шапки --- */
 
−
 
 
.header-container.header-chrome {
 
.header-container.header-chrome {
−
     background: #ffffff !important;
+
     background: #fff !important;
 
     border-bottom: 1px solid #e6e8f5 !important;
 
     border-bottom: 1px solid #e6e8f5 !important;
−
    box-shadow: none !important;
 
 
}
 
}
  
−
/* Внутренний контейнер уже flex в Minerva,
+
/* Родитель уже flex — просто фиксируем поведение детей */
−
  мы его не пересобираем — только выравниваем */
 
−
 
 
 
.header-container form.header {
 
.header-container form.header {
 +
    display: flex !important;
 +
    align-items: center !important;
 
     padding: 0 20px !important;
 
     padding: 0 20px !important;
−
    align-items: center !important;
 
 
}
 
}
  
−
/* --- Кнопка меню --- */
+
/* Меню */
−
 
 
 
#mw-mf-main-menu-button {
 
#mw-mf-main-menu-button {
−
     margin-right: 16px !important;
+
     margin-right: 14px !important;
 
}
 
}
  
−
/* --- Логотип --- */
+
/* ЛОГО */
−
 
 
 
.branding-box {
 
.branding-box {
−
     margin-right: 0 !important;
+
     flex: 0 0 auto !important;
 
}
 
}
  
Строка 34: Строка 24:
 
     height: 36px !important;
 
     height: 36px !important;
 
     width: auto !important;
 
     width: auto !important;
−
    vertical-align: middle !important;
 
 
}
 
}
  
−
 
+
/* ПОИСК — КЛЮЧЕВОЕ */
−
/* --- Поиск --- */
 
−
 
 
 
.search-box {
 
.search-box {
−
     flex: 1 1 auto !important;
+
     flex: 0 0 380px !important;  /* фикс ширины */
−
    margin-left: 24px !important;  /* только слева */
+
     margin-left: 24px !important;
−
     max-width: 420px !important;
 
 
}
 
}
  
Строка 51: Строка 37:
 
}
 
}
  
−
/* --- Иконки справа --- */
+
/* ИКОНКИ СПРАВА */
−
 
 
 
.minerva-user-navigation {
 
.minerva-user-navigation {
 +
    flex: 0 0 auto !important;
 
     margin-left: auto !important;
 
     margin-left: auto !important;
−
   
 
−
    align-items: center !important;
 
−
 
−
}
 
−
 
−
/* Кнопка поиска */
 
−
#searchIcon {
 
−
    height: 36px !important;
 
−
}
 
−
 
−
/* Убираем лишние визуальные смещения */
 
−
.mw-ui-icon-element {
 
−
    vertical-align: middle !important;
 
 
}
 
}

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

.header-container.header-chrome {
    background: #fff !important;
    border-bottom: 1px solid #e6e8f5 !important;
}

/* Родитель уже flex — просто фиксируем поведение детей */
.header-container form.header {
    display: flex !important;
    align-items: center !important;
    padding: 0 20px !important;
}

/* Меню */
#mw-mf-main-menu-button {
    margin-right: 14px !important;
}

/* ЛОГО */
.branding-box {
    flex: 0 0 auto !important;
}

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

/* ПОИСК — КЛЮЧЕВОЕ */
.search-box {
    flex: 0 0 380px !important;   /* фикс ширины */
    margin-left: 24px !important;
}

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

/* ИКОНКИ СПРАВА */
.minerva-user-navigation {
    flex: 0 0 auto !important;
    margin-left: auto !important;
}