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

255 lines
6.1 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", sans-serif;
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: 24px;
left: 230px;
padding: 15px;
width: max-content;
background-color: #000000;
border: none;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
padding: 0;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
line-height: 19px;
color: #929292;
}
.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;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell .shippingTableLabel .shippingTableRadioBtn {
display: none;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell .shippingTableLabel :global(.vtex-address-form-4-x-input) {
display: none !important;
}
.subscriberContainer .title {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.subscriberContainer .subscribeLabel {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.subscriberContainer .content {
flex-wrap: wrap;
}
.subscriberContainer .content .input {
width: 50%;
flex: 1;
}
.subscriberContainer .content .inputEmail {
margin-right: 0;
}
.subscriberContainer .content .submit {
width: 100%;
}
.subscriberContainer .content .submit :global(.vtex-button) {
width: 100%;
}
.productDescriptionContainer {
margin-left: 32px;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
}
.productDescriptionContainer .productDescriptionTitle {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 32px;
line-height: 32px;
color: #575757;
}
.productDescriptionContainer .productDescriptionText .container {
padding: 0;
}
.container--menu-row-label-newsletter {
padding: 0;
}
.container--menu-row-label-newsletter .form--menu-row-label-newsletter {
display: contents !important;
}
.container--menu-row-label-newsletter .inputGroup--menu-row-label-newsletter {
border-bottom: 1px solid #929292 !important;
padding: 0;
}
.container--menu-row-label-newsletter .buttonContainer--menu-row-label-newsletter :global(.vtex-button) {
border: none !important;
border-bottom: 3px solid #bfbfbf !important;
background: #000000 !important;
border-radius: 0;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #ffffff;
}
.container--menu-row-label-newsletter .inputGroup--menu-row-label-newsletter :global(.vtex-input-prefix__group) {
border: 0;
}
.container--menu-row-label-newsletter .inputGroup--menu-row-label-newsletter :global(.vtex-styleguide-9-x-input) {
background: #000000;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
text-align: left;
}