feat(breadcrumb): created initial styles

This commit is contained in:
Henrique Santos Santana 2023-01-21 17:47:29 -03:00
parent efa1d5610a
commit f29c897da7
5 changed files with 76 additions and 11 deletions

View File

@ -16,7 +16,7 @@
"testId": "breadcrumbs", "testId": "breadcrumbs",
"blockClass": "pdp-breadcrumb" "blockClass": "pdp-breadcrumb"
}, },
"children": ["breadcrumb"] "children": ["breadcrumb#pdp-breadcrumb"]
}, },
"flex-layout.row#specifications-title": { "flex-layout.row#specifications-title": {
"children": ["rich-text#specifications"] "children": ["rich-text#specifications"]
@ -181,5 +181,12 @@
"Pinterest": true "Pinterest": true
} }
} }
},
"breadcrumb#pdp-breadcrumb": {
"props": {
"homeIconSize": 0,
"showOnMobile": true
}
} }
} }

View File

@ -7,10 +7,7 @@
*/ */
/* Media Query M3 */ /* Media Query M3 */
/* Grid breakpoints */ /* Grid breakpoints */
.html {
background-color: red;
}
.html--pdp-breadcrumb { .html--pdp-breadcrumb {
background-color: green; width: 271.25px;
padding: 0 40px;
} }

View File

@ -0,0 +1,33 @@
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.container {
width: 100%;
display: flex;
flex-wrap: wrap;
}
.homeLink::before {
content: "Home";
}
.arrow {
display: block;
}
.termArrow {
padding: 0;
}
.termArrow .caretIcon {
display: none;
}
.term {
font-size: 0;
}

View File

@ -1,8 +1,6 @@
.html { $containers: ();
background-color: red;
}
.html--pdp-breadcrumb { .html--pdp-breadcrumb {
background-color: green; width: 271.25px;
padding: 0 40px;
} }

View File

@ -0,0 +1,30 @@
.container {
width: 100%;
display: flex;
flex-wrap: wrap;
}
.homeLink {
&::before {
content: "Home";
}
}
.arrow-1 {
}
.arrow {
display: block;
}
.termArrow {
padding: 0;
.caretIcon {
display: none;
}
}
.term {
font-size: 0;
}