improved mobile menu
This commit is contained in:
parent
cb15c9faf1
commit
305df5c7df
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -415,6 +415,10 @@ header[role="banner"]{
|
||||||
text-align: right;
|
text-align: right;
|
||||||
li{
|
li{
|
||||||
display: block;
|
display: block;
|
||||||
|
a{
|
||||||
|
display: block;
|
||||||
|
padding: 0.2em 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -134,8 +134,8 @@ function materiotheme_preprocess_html(&$vars) {
|
||||||
'#tag' => 'meta',
|
'#tag' => 'meta',
|
||||||
'#attributes' => array(
|
'#attributes' => array(
|
||||||
'rel' => 'mask-icon',
|
'rel' => 'mask-icon',
|
||||||
'color' => "#69ccce",
|
|
||||||
'href' => '/safari-pinned-tab.svg',
|
'href' => '/safari-pinned-tab.svg',
|
||||||
|
'color' => "#69ccce",
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
$vars['page']['#attached']['html_head'][] = [$safaripinnedtab, '$safaripinnedtab'];
|
$vars['page']['#attached']['html_head'][] = [$safaripinnedtab, '$safaripinnedtab'];
|
||||||
|
|
|
@ -49,7 +49,9 @@ export default {
|
||||||
console.log('startShowroomCarroussel')
|
console.log('startShowroomCarroussel')
|
||||||
this.showrooms = document.querySelectorAll('.field--name-computed-showrooms-reference > .field__item')
|
this.showrooms = document.querySelectorAll('.field--name-computed-showrooms-reference > .field__item')
|
||||||
console.log('showrooms', this.showrooms)
|
console.log('showrooms', this.showrooms)
|
||||||
|
if (!this.showrooms.lenght) {
|
||||||
|
return
|
||||||
|
}
|
||||||
for (let i = 0; i < this.showrooms.length; i++) {
|
for (let i = 0; i < this.showrooms.length; i++) {
|
||||||
if (i%2 === 0) {
|
if (i%2 === 0) {
|
||||||
this.showroomsOdd.push(this.showrooms[i])
|
this.showroomsOdd.push(this.showrooms[i])
|
||||||
|
|
Loading…
Reference in New Issue