refactor:estilizando css do block product-name
This commit is contained in:
parent
036c504d69
commit
570893390e
BIN
assets/fonts/OpenSans-Bold.ttf
Normal file
BIN
assets/fonts/OpenSans-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-BoldItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-ExtraBold.ttf
Normal file
BIN
assets/fonts/OpenSans-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-ExtraBoldItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-ExtraBoldItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Italic.ttf
Normal file
BIN
assets/fonts/OpenSans-Italic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Light.ttf
Normal file
BIN
assets/fonts/OpenSans-Light.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-LightItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-LightItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Medium.ttf
Normal file
BIN
assets/fonts/OpenSans-Medium.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-MediumItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-Regular.ttf
Normal file
BIN
assets/fonts/OpenSans-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-SemiBold.ttf
Normal file
BIN
assets/fonts/OpenSans-SemiBold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/OpenSans-SemiBoldItalic.ttf
Normal file
BIN
assets/fonts/OpenSans-SemiBoldItalic.ttf
Normal file
Binary file not shown.
@ -108,8 +108,8 @@
|
||||
},
|
||||
"children": [
|
||||
"flex-layout.row#product-name",
|
||||
"product-identifier.product",
|
||||
"product-rating-summary",
|
||||
"flex-layout.row#list-price-savings",
|
||||
"flex-layout.row#selling-price",
|
||||
"product-installments",
|
||||
"example-component",
|
||||
|
5
styles/configs/font-faces.css
Normal file
5
styles/configs/font-faces.css
Normal file
@ -0,0 +1,5 @@
|
||||
@font-face {
|
||||
font-family: 'OpenSans';
|
||||
src: url('assets/fonts/OpenSans-Regular.ttf');
|
||||
font-weight: 400;
|
||||
}
|
@ -253,84 +253,84 @@
|
||||
"measure": [30, 34, 20],
|
||||
"styles": {
|
||||
"heading-1": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "OpensSans sans-serif",
|
||||
"fontWeight": "700",
|
||||
"fontSize": "3rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-2": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "OpensSans sans-serif",
|
||||
"fontWeight": "700",
|
||||
"fontSize": "2.25rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-3": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "OpensSans sans-serif",
|
||||
"fontWeight": "700",
|
||||
"fontSize": "1.75rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-4": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "OpensSans sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1.5rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-5": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "OpensSans sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"heading-6": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "OpensSans sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"body": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "OpensSans sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "1rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"small": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "OpensSans sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "0.875rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"mini": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "OpensSans sans-serif",
|
||||
"fontWeight": "normal",
|
||||
"fontSize": "0.75rem",
|
||||
"textTransform": "initial",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"action": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "OpensSans sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "1rem",
|
||||
"textTransform": "uppercase",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"action--small": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "OpensSans sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "0.875rem",
|
||||
"textTransform": "uppercase",
|
||||
"letterSpacing": "0"
|
||||
},
|
||||
"action--large": {
|
||||
"fontFamily": "San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif",
|
||||
"fontFamily": "OpensSans sans-serif",
|
||||
"fontWeight": "500",
|
||||
"fontSize": "1.25rem",
|
||||
"textTransform": "uppercase",
|
||||
|
@ -1,3 +1,30 @@
|
||||
.product-identifier--productReference {
|
||||
margin-bottom: 1rem;
|
||||
/*
|
||||
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 */
|
||||
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;700&display=swap");
|
||||
/*font*/
|
||||
/*colors*/
|
||||
/* Grid breakpoints */
|
||||
.product-identifier__label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.product-identifier__separator {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.product-identifier__value {
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: rgba(146, 146, 146, 0.48);
|
||||
}
|
@ -73,6 +73,7 @@
|
||||
|
||||
.productImagesThumb {
|
||||
width: 15%;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.shippingTableHead {
|
||||
@ -98,11 +99,6 @@
|
||||
grid-template-areas: "t p d ";
|
||||
}
|
||||
|
||||
.shippingTableHead {
|
||||
display: flex;
|
||||
gap: 60px;
|
||||
}
|
||||
|
||||
.shippingTableRadioBtn {
|
||||
display: none;
|
||||
}
|
||||
@ -165,4 +161,16 @@
|
||||
position: absolute;
|
||||
top: 731.1px;
|
||||
right: 563px;
|
||||
}
|
||||
|
||||
.productBrand--quickview {
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-size: 20px;
|
||||
line-height: 34px;
|
||||
text-align: right;
|
||||
color: #575757;
|
||||
}
|
19
styles/sass/pages/product/vtex.product-identifier.scss
Normal file
19
styles/sass/pages/product/vtex.product-identifier.scss
Normal file
@ -0,0 +1,19 @@
|
||||
.product-identifier__label {
|
||||
display: none;
|
||||
}
|
||||
.product-identifier__separator {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.product-identifier__value {
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
color: rgba(146, 146, 146, 0.48);
|
||||
}
|
@ -53,13 +53,14 @@
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.thumbImg {
|
||||
.thumbImg {
|
||||
width: 86%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.productImagesThumb {
|
||||
width: 15%;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
// estilização do frete
|
||||
@ -82,13 +83,13 @@
|
||||
//estilização das colunas
|
||||
.shippingTableRow {
|
||||
display: grid;
|
||||
grid-template-columns: 110px 110px 130px;;
|
||||
grid-template-columns: 110px 110px 130px;
|
||||
grid-template-areas: "t p d ";
|
||||
}
|
||||
.shippingTableHead {
|
||||
display: flex;
|
||||
gap: 60px ;
|
||||
}
|
||||
// .shippingTableHead {
|
||||
// display: flex;
|
||||
// gap: 60px ;
|
||||
// }
|
||||
|
||||
.shippingTableRadioBtn {
|
||||
display: none;
|
||||
@ -161,3 +162,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
// estilização do texto
|
||||
|
||||
.productBrand--quickview {
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-size: 20px;
|
||||
line-height: 34px;
|
||||
text-align: right;
|
||||
color: #575757;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user