challenge-vtex-io-patricksouza/styles/css/vtex.store-components.css

151 lines
3.4 KiB
CSS
Raw Normal View History

/*
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 */
.productImageTag--main {
max-height: unset !important;
}
.productImagesThumb {
height: auto !important;
width: 90px !important;
margin-right: 16px !important;
}
.productNameContainer--quickview {
text-align: end;
}
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
}
.skuSelectorName {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.skuSelectorItem {
border-radius: 50%;
width: 50px;
height: 50px;
}
.skuSelectorItem:not(:last-child) {
margin-right: 16px;
}
.skuSelectorItem .valueWrapper {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
.skuSelectorItem:hover .frameAround {
border: 2px solid #000000;
}
.skuSelectorItem:hover .valueWrapper {
color: #000000;
}
.skuSelectorItem .frameAround {
border-radius: 50%;
border: 1px solid #989898;
}
.skuSelectorItem--selected .frameAround {
border: 2px solid #000000;
}
.skuSelectorItem--selected .valueWrapper {
color: #000000;
}
.skuSelectorInternalBox {
border-radius: 50%;
}
.skuSelectorInternalBox:hover {
border: none;
}
.skuSelectorInternalBox .diagonalCross {
background-image: linear-gradient(to top right, transparent 50%, rgba(0, 0, 0, 0.5) 53%, currentColor 54%, currentColor 52%, transparent 0%);
transform: rotate(95deg);
}
.shippingContainer {
position: relative;
}
.shippingContainer :global(.vtex-button) {
position: absolute;
top: 25px;
left: 230px;
padding: 12px;
width: max-content;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
padding: 0;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label)::after {
content: "OK";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
color: #ffffff;
}
.shippingContainer :global(.vtex-address-form__postalCode) {
display: flex;
align-items: center;
padding-bottom: 16px;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) {
max-width: 280px;
margin-right: 32px;
padding: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input-prefix__group) {
height: 49px;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-input__suffix) {
display: none;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-input) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
color: #afafaf;
}
.shippingTable {
max-width: 320px;
margin: 0;
border: none;
}
.shippingTable .shippingTableHead {
display: table-header-group !important;
width: 100%;
}
.shippingTable .shippingTableHead .shippingTableRow {
text-align: left;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell {
padding: 0 16px 0 0;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell .shippingTableLabel {
display: flex;
}