Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Header] New logo position #1864

Merged
merged 7 commits into from
Aug 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions assets/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -2242,6 +2242,12 @@ input[type='checkbox'] {
column-gap: 2rem;
}

.header--middle-center {
grid-template-areas: 'navigation heading icons';
grid-template-columns: 1fr auto 1fr;
column-gap: 2rem;
}

.header--top-center {
grid-template-areas:
'left-icon heading icons'
Expand Down Expand Up @@ -2298,6 +2304,16 @@ input[type='checkbox'] {
.header__heading-link {
text-align: center;
}

.header--mobile-left .header__heading,
.header--mobile-left .header__heading-link {
text-align: center;
justify-self: start;
}

.header--mobile-left {
grid-template-columns: auto 2fr 1fr;
}
}

@media screen and (min-width: 990px) {
Expand Down
17 changes: 16 additions & 1 deletion locales/cs.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,10 @@
"options__3": {
"label": "Nahoře ve středu"
},
"info": "Pozice se automaticky optimalizuje pro mobilní prostředí."
"info": "Pozice se automaticky optimalizuje pro mobilní prostředí.",
"options__4": {
"label": "Uprostřed ve středu"
}
},
"menu": {
"label": "Nabídka"
Expand All @@ -817,6 +820,18 @@
"options__2": {
"label": "Mega nabídka"
}
},
"mobile_layout": {
"content": "Mobilní rozvržení"
},
"mobile_logo_position": {
"label": "Pozice loga v mobilním zařízení",
"options__1": {
"label": "Uprostřed"
},
"options__2": {
"label": "Vlevo"
}
}
}
},
Expand Down
17 changes: 16 additions & 1 deletion locales/da.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,10 @@
"options__3": {
"label": "Øverst i midten"
},
"info": "Placeringen optimeres automatisk til mobil."
"info": "Placeringen optimeres automatisk til mobil.",
"options__4": {
"label": "Midt på centreret"
}
},
"menu": {
"label": "Menu"
Expand All @@ -817,6 +820,18 @@
"options__2": {
"label": "Megamenu"
}
},
"mobile_layout": {
"content": "Mobillayout"
},
"mobile_logo_position": {
"label": "Placering af logo på mobiltelefon",
"options__1": {
"label": "Centreret"
},
"options__2": {
"label": "Venstre"
}
}
}
},
Expand Down
17 changes: 16 additions & 1 deletion locales/de.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,10 @@
"options__3": {
"label": "Oben zentriert"
},
"info": "Positionen werden automatisch für die mobile Nutzung optimiert."
"info": "Positionen werden automatisch für die mobile Nutzung optimiert.",
"options__4": {
"label": "Mitte zentriert"
}
},
"menu": {
"label": "Menü"
Expand All @@ -817,6 +820,18 @@
"options__2": {
"label": "Mega-Menü"
}
},
"mobile_layout": {
"content": "Mobiles Layout"
},
"mobile_logo_position": {
"label": "Logo-Position für mobile Darstellung",
"options__1": {
"label": "Zentriert"
},
"options__2": {
"label": "Links"
}
}
}
},
Expand Down
16 changes: 15 additions & 1 deletion locales/en.default.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,9 @@
"options__3": {
"label": "Top center"
},
"info": "Position is automatically optimized for mobile."
"options__4": {
"label": "Middle center"
}
},
"menu": {
"label": "Menu"
Expand All @@ -939,6 +941,18 @@
},
"margin_bottom": {
"label": "Bottom margin"
},
"mobile_layout": {
"content": "Mobile layout"
},
"mobile_logo_position": {
"label": "Mobile logo position",
"options__1": {
"label": "Center"
},
"options__2": {
"label": "Left"
}
}
}
LucasLacerdaUX marked this conversation as resolved.
Show resolved Hide resolved
},
Expand Down
17 changes: 16 additions & 1 deletion locales/es.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,10 @@
"options__3": {
"label": "Superior centrada"
},
"info": "La posición se optimizó automáticamente para dispositivos móviles."
"info": "La posición se optimizó automáticamente para dispositivos móviles.",
"options__4": {
"label": "Centrado en el medio"
}
},
"menu": {
"label": "Menú"
Expand All @@ -817,6 +820,18 @@
"options__2": {
"label": "Mega menú"
}
},
"mobile_layout": {
"content": "Diseño para dispositivo móvil"
},
"mobile_logo_position": {
"label": "Posición del logo en dispositivo móvil",
"options__1": {
"label": "Centro"
},
"options__2": {
"label": "Izquierda"
}
}
}
},
Expand Down
17 changes: 16 additions & 1 deletion locales/fi.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,10 @@
"options__3": {
"label": "Keskellä ylhäällä"
},
"info": "Sijainti optimoidaan automaattisesti mobiililaitteille."
"info": "Sijainti optimoidaan automaattisesti mobiililaitteille.",
"options__4": {
"label": "Keskellä"
}
},
"menu": {
"label": "Valikko"
Expand All @@ -817,6 +820,18 @@
"options__2": {
"label": "Mega-valikko"
}
},
"mobile_layout": {
"content": "Mobiiliasettelu"
},
"mobile_logo_position": {
"label": "Logon asettelu mobiilissa",
"options__1": {
"label": "Keskitetty"
},
"options__2": {
"label": "Vasen"
}
}
}
},
Expand Down
17 changes: 16 additions & 1 deletion locales/fr.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,10 @@
"options__3": {
"label": "En haut au centre"
},
"info": "L'emplacement est optimisée pour le mobile automatiquement."
"info": "L'emplacement est optimisée pour le mobile automatiquement.",
"options__4": {
"label": "Centré au milieu"
}
},
"menu": {
"label": "Menu"
Expand All @@ -817,6 +820,18 @@
"options__2": {
"label": "Méga menu"
}
},
"mobile_layout": {
"content": "Mise en page sur mobile"
},
"mobile_logo_position": {
"label": "Position du logo sur mobile",
"options__1": {
"label": "Centre"
},
"options__2": {
"label": "Gauche"
}
}
}
},
Expand Down
17 changes: 16 additions & 1 deletion locales/it.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,10 @@
"options__3": {
"label": "In alto al centro"
},
"info": "Posizione automaticamente ottimizzata per dispositivi mobili."
"info": "Posizione automaticamente ottimizzata per dispositivi mobili.",
"options__4": {
"label": "In mezzo al centro"
}
},
"menu": {
"label": "Menu"
Expand All @@ -817,6 +820,18 @@
"options__2": {
"label": "Mega menu"
}
},
"mobile_layout": {
"content": "Layout dispositivo mobile"
},
"mobile_logo_position": {
"label": "Posizione del logo mobile",
"options__1": {
"label": "Al centro"
},
"options__2": {
"label": "A sinistra"
}
}
}
},
Expand Down
17 changes: 16 additions & 1 deletion locales/ja.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,10 @@
"options__3": {
"label": "上部中央"
},
"info": "位置はモバイル用に自動で最適化されます。"
"info": "位置はモバイル用に自動で最適化されます。",
"options__4": {
"label": "中央"
}
},
"menu": {
"label": "メニュー"
Expand All @@ -817,6 +820,18 @@
"options__2": {
"label": "メガメニュー"
}
},
"mobile_layout": {
"content": "モバイルのレイアウト"
},
"mobile_logo_position": {
"label": "モバイルのロゴの位",
"options__1": {
"label": "中央"
},
"options__2": {
"label": "左"
}
}
}
},
Expand Down
17 changes: 16 additions & 1 deletion locales/ko.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,10 @@
"options__3": {
"label": "가운데 상단"
},
"info": "위치는 자동으로 모바일에 최적화됩니다."
"info": "위치는 자동으로 모바일에 최적화됩니다.",
"options__4": {
"label": "정가운데"
}
},
"menu": {
"label": "메뉴"
Expand All @@ -817,6 +820,18 @@
"options__2": {
"label": "메가 메뉴"
}
},
"mobile_layout": {
"content": "모바일 레이아웃"
},
"mobile_logo_position": {
"label": "모바일 로고 위치",
"options__1": {
"label": "가운데"
},
"options__2": {
"label": "왼쪽"
}
}
}
},
Expand Down
17 changes: 16 additions & 1 deletion locales/nb.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,10 @@
"options__3": {
"label": "Toppsentrert"
},
"info": "Posisjonen optimaliseres automatisk for mobil."
"info": "Posisjonen optimaliseres automatisk for mobil.",
"options__4": {
"label": "Midt i senter"
}
},
"menu": {
"label": "Meny"
Expand All @@ -817,6 +820,18 @@
"options__2": {
"label": "Megameny"
}
},
"mobile_layout": {
"content": "Mobillayout"
},
"mobile_logo_position": {
"label": "Logoplassering på mobil",
"options__1": {
"label": "Sentrert"
},
"options__2": {
"label": "Venstre"
}
}
}
},
Expand Down
Loading