Изменения

нет описания правки
Строка 626: Строка 626:  
}
 
}
   −
/* контейнер поиска */
  −
.header .search-box,
  −
header .search-box {
  −
    position: absolute !important;
  −
    left: 50% !important;
  −
    top: 50% !important;
  −
    transform: translate(-50%, -50%) !important;
  −
    width: 380px !important;
  −
    max-width: 380px !important;
  −
    margin: 0 !important;
  −
    z-index: 2 !important;
  −
}
      
/* само поле */
 
/* само поле */
Строка 646: Строка 634:  
     height: 38px !important;
 
     height: 38px !important;
 
     box-sizing: border-box !important;
 
     box-sizing: border-box !important;
 +
}
 +
 +
/* ===== Штатное центрирование поиска без дубля при фокусе ===== */
 +
 +
header.header-container.header-chrome > form.header {
 +
    display: grid !important;
 +
    grid-template-columns: 180px 1fr 140px !important;
 +
    align-items: center !important;
 +
    column-gap: 16px !important;
 +
}
 +
 +
/* логотип */
 +
header.header-container.header-chrome .branding-box {
 +
    grid-column: 1 !important;
 +
    justify-self: start !important;
 +
    margin: 0 !important;
 +
}
 +
 +
/* поиск */
 +
header.header-container.header-chrome .search-box {
 +
    grid-column: 2 !important;
 +
    justify-self: center !important;
 +
    width: 100% !important;
 +
    max-width: 420px !important;
 +
    margin: 0 !important;
 +
    position: static !important;
 +
    transform: none !important;
 +
    left: auto !important;
 +
    top: auto !important;
 +
}
 +
 +
/* само поле */
 +
header.header-container.header-chrome .search-box .search {
 +
    width: 100% !important;
 +
    height: 38px !important;
 +
    box-sizing: border-box !important;
 +
}
 +
 +
/* правые иконки */
 +
header.header-container.header-chrome .minerva-user-navigation,
 +
header.header-container.header-chrome .right-navigation {
 +
    grid-column: 3 !important;
 +
    justify-self: end !important;
 +
    margin: 0 !important;
 
}
 
}