fix: ajustando props do menu dinamico

This commit is contained in:
Caroline Moran 2022-08-11 09:33:06 -04:00
parent f2a03c53ae
commit 80b5ba4a98
5 changed files with 65 additions and 14 deletions

View File

@ -1,7 +1,7 @@
{ {
"vendor": "agenciamagma", "vendor": "agenciamagma",
"name": "m3-custom", "name": "m3-custom",
"version": "0.1.6", "version": "0.0.0",
"title": "m3-custom", "title": "m3-custom",
"description": "m3-custom component", "description": "m3-custom component",
"defaultLocale": "pt-BR", "defaultLocale": "pt-BR",

View File

@ -11,8 +11,8 @@
letter-spacing: 0.1em; letter-spacing: 0.1em;
text-transform: uppercase; text-transform: uppercase;
text-decoration: none; text-decoration: none;
color: #4B4B4D; color: #4b4b4d;
transition: color .4s ease; transition: color 0.4s ease;
} }
.menuItemLink::before { .menuItemLink::before {
content: ""; content: "";
@ -38,7 +38,7 @@
padding: 45px; padding: 45px;
margin: 0 auto; margin: 0 auto;
} }
.agenciam3-m3-custom-0-x-nav { .agenciamagma-m3-custom-0-x-nav {
width: 100%; width: 100%;
} }
.dynamicSubMenuContainer::before { .dynamicSubMenuContainer::before {
@ -51,7 +51,6 @@
top: -14px; top: -14px;
} }
.subMenuItem { .subMenuItem {
z-index: 2; z-index: 2;
width: fit-content; width: fit-content;
@ -61,7 +60,7 @@
display: block; display: block;
font-family: "Roboto", sans-serif; font-family: "Roboto", sans-serif;
font-size: 16px; font-size: 16px;
color: #4B4B4D; color: #4b4b4d;
text-decoration: none; text-decoration: none;
z-index: 2; z-index: 2;
margin: 0 0 10px; margin: 0 0 10px;

View File

@ -132,6 +132,5 @@
} }
} }
} }
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"vendor": "agenciamagma", "vendor": "agenciamagma",
"name": "template-agenciam3", "name": "template-agenciam3",
"version": "1.2.15", "version": "0.0.0",
"builders": { "builders": {
"styles": "2.x", "styles": "2.x",
"store": "0.x", "store": "0.x",

View File

@ -4,18 +4,71 @@
"isMobile": false, "isMobile": false,
"items": [ "items": [
{ {
"MenuItemProps": {
"iconSrc": "string", "iconSrc": "string",
"title": "agencia-m3", "title": "Teste",
"href": "/lugar-algum", "href": "/",
"internal": true, "internal": true,
"content": "teste" "content": "Teste",
"items": [
{
"SubMenuItemProps": {
"iconSrc": "string",
"title": "Teste",
"href": "/",
"internal": true,
"content": "Teste"
}
},
{
"SubMenuItemProps": {
"iconSrc": "string",
"title": "Inverno 2021",
"href": "/",
"internal": true,
"content": "Inverno 2021"
}
}
]
}
} }
] ]
} }
}, },
"dynamic-menu#mobile": { "dynamic-menu#mobile": {
"props": { "props": {
"isMobile": true "isMobile": true,
"items": [
{
"MenuItemProps": {
"iconSrc": "string",
"title": "Teste",
"href": "/",
"internal": true,
"content": "Teste",
"items": [
{
"SubMenuItemProps": {
"iconSrc": "string",
"title": "Teste",
"href": "/",
"internal": true,
"content": "Teste"
}
},
{
"SubMenuItemProps": {
"iconSrc": "string",
"title": "Inverno 2021",
"href": "/",
"internal": true,
"content": "Inverno 2021"
}
}
]
}
}
]
} }
} }
} }