feat: Adiciona responsividade TV

This commit is contained in:
SamuelCondack 2022-12-18 23:35:03 -03:00
parent e8526d9a11
commit 2a3ea2affa
2 changed files with 167 additions and 4 deletions

View File

@ -55,7 +55,9 @@
span { span {
color: #303030; color: #303030;
@media (min-width: 2500px){
font-size: 24px; font-size: 24px;
}
} }
small { small {
@ -184,6 +186,7 @@
font-size: 6rem; font-size: 6rem;
opacity: 0.5; opacity: 0.5;
} }
} }
} }
div[data-bind="css: {active: active, filled: visitedAndNotActive}"]{ div[data-bind="css: {active: active, filled: visitedAndNotActive}"]{
@ -191,6 +194,26 @@
width: 92%; width: 92%;
} }
} }
.client-profile-email{
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
.client-profile-summary{
span{
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
}
#client-profile-data{ #client-profile-data{
@media (min-width: 2500px){ @media (min-width: 2500px){
font-family: 'Tenor Sans'; font-family: 'Tenor Sans';
@ -239,6 +262,11 @@
color: #303030; color: #303030;
margin-bottom: 8px; margin-bottom: 8px;
padding-bottom: 25px; padding-bottom: 25px;
@media (min-width: 2500px){
font-weight: 400;
font-size: 32px;
line-height: 37px;
}
i::before { i::before {
fill: #303030; fill: #303030;
@ -282,6 +310,7 @@
display: none; display: none;
} }
} }
.accordion-heading { .accordion-heading {
.accordion-toggle, .collapsed, .accordion-toggle-active{ .accordion-toggle, .collapsed, .accordion-toggle-active{
.icon-credit-card { .icon-credit-card {
@ -322,6 +351,11 @@
color: #F15A31 !important; color: #F15A31 !important;
border: 1px solid #F15A31; border: 1px solid #F15A31;
} }
.payment-group-item-text{
font-weight: 400;
font-size: 28px;
line-height: 24px;
}
} }
a[data-i18n="paymentData.paymentGroup.giftCard.useGiftCard"]{ a[data-i18n="paymentData.paymentGroup.giftCard.useGiftCard"]{
display: none; display: none;
@ -443,6 +477,11 @@
&:active { &:active {
background: darken(#00C8FF, 5); background: darken(#00C8FF, 5);
} }
@media (min-width: 2500px){
font-weight: 700;
font-size: 28px;
line-height: 38px;
}
} }
/* Shipping configurations */ /* Shipping configurations */
@ -459,8 +498,33 @@
color: #7d7d7d; color: #7d7d7d;
font-size: 14px; font-size: 14px;
font-weight: 700; font-weight: 700;
@media (min-width: 2500px){
font-weight: 700;
font-size: 28px;
line-height: 38px;
}
}
.vtex-omnishipping-1-x-leanShippingTextLabel{
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
.vtex-omnishipping-1-x-leanShippingText{
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
.vtex-omnishipping-1-x-optionPrice{
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
} }
.shp-lean { .shp-lean {
border: 1px solid #E0E0E0; border: 1px solid #E0E0E0;
border-radius: 8px; border-radius: 8px;
@ -490,17 +554,30 @@
font-weight: 700; font-weight: 700;
line-height: 16px; line-height: 16px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
@media (min-width: 2500px){
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
} }
.shp-summary-group-info { .shp-summary-group-info {
border-color: $color-gray4; border-color: $color-gray4;
} }
#force-shipping-fields{
color: #00C8FF;
}
.address-summary { .address-summary {
background: none; background: none;
border-color: #E0E0E0; border-color: #E0E0E0;
border-radius: 5; border-radius: 5;
color: #303030; color: #303030;
padding: 12px; padding: 12px;
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
@include mq(md, max) { @include mq(md, max) {
background-position: 8px 9px; background-position: 8px 9px;
@ -513,7 +590,24 @@
} }
} }
.ship-number{
@media (min-width: 2500px){
label{
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
}
.ship-complement{ .ship-complement{
@media (min-width: 2500px){
label{
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
input{ input{
padding-right: 0px !important; padding-right: 0px !important;
height: 35px; height: 35px;
@ -521,6 +615,13 @@
} }
} }
.ship-receiverName{ .ship-receiverName{
@media (min-width: 2500px){
label{
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
input{ input{
padding-right: 0px !important; padding-right: 0px !important;
height: 35px; height: 35px;
@ -530,6 +631,11 @@
.shp-summary-group-price, .shp-summary-group-price,
.shp-summary-package { .shp-summary-package {
color: $color-gray4; color: $color-gray4;
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
} }
.shp-summary-group-price { .shp-summary-group-price {
@ -543,13 +649,24 @@
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
} }
.vtex-omnishipping-1-x-summaryChange { .vtex-omnishipping-1-x-summaryChange {
border-color: #303030; border-color: #303030;
color: #303030; color: #303030;
} }
#shipping-option-delivery{
@media (min-width: 2500px){
font-weight: 400;
font-size: 28px;
line-height: 38px;
}
}
.vtex-omnishipping-1-x-deliveryChannelsToggle { .vtex-omnishipping-1-x-deliveryChannelsToggle {
color: black; color: black;
text-transform: uppercase; text-transform: uppercase;
@ -604,10 +721,16 @@
} }
} }
} }
} }
.vtex-omnishipping-1-x-addressFormPart1, input{ .vtex-omnishipping-1-x-addressFormPart1, input{
max-width: none; max-width: none;
padding-right: 17px; padding-right: 17px;
@media (min-width: 2500px){
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
} }
.box-client-info-pf{ .box-client-info-pf{
@media (max-width: 815px){ @media (max-width: 815px){
@ -702,13 +825,16 @@
} }
} }
span[data-i18n="global.optinNewsLetter"]{ span[data-i18n="global.optinNewsLetter"]{
@media (min-width: 2500px){
font-family: 'Open Sans'; font-family: 'Open Sans';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 24px; font-size: 24px;
line-height: 33px; line-height: 33px;
} }
}
.client-email{ .client-email{
#client-email{ #client-email{
@media (min-width: 2500px){ @media (min-width: 2500px){
@ -733,12 +859,27 @@
padding-right: 17px; padding-right: 17px;
} }
} }
#ship-postalCode{
@media (min-width: 2500px){
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
.ship-postalCode{ .ship-postalCode{
.input-small{ .input-small{
width: 100%; width: 100%;
min-height: 45px; min-height: 45px;
border-radius: 8px; border-radius: 8px;
margin-bottom: 10px; margin-bottom: 10px;
@media (min-width: 2500){
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
} }
} }
small, a{ small, a{

View File

@ -45,6 +45,11 @@
color: #292929; color: #292929;
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
@media (min-width: 2500px){
font-weight: 400;
font-size: 32px;
line-height: 37px;
}
} }
.item-unavailable { .item-unavailable {
@ -81,6 +86,11 @@
line-height: 16px; line-height: 16px;
text-align: right; text-align: right;
color: #292929; color: #292929;
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
} }
.shipping-date{ .shipping-date{
display: none; display: none;
@ -101,6 +111,7 @@
.summary-totalizers { .summary-totalizers {
td.info { td.info {
width: 100%; width: 100%;
} }
} }
tr.info{ tr.info{
@ -123,6 +134,12 @@
outline: none; outline: none;
border-radius: 8px; border-radius: 8px;
transition: all 0.2s linear; transition: all 0.2s linear;
@media (min-width: 2500px){
font-weight: 700;
font-size: 28px;
line-height: 38px;
}
&:hover { &:hover {
background: darken(#298541, 5); background: darken(#298541, 5);
} }
@ -708,7 +725,6 @@
text-transform: uppercase; text-transform: uppercase;
} }
} }
&-totalizers { &-totalizers {
padding: 0; padding: 0;
width: 346px; width: 346px;
@ -837,6 +853,12 @@
color: $color-black; color: $color-black;
padding: 12px 0; padding: 12px 0;
padding-left: 0px; padding-left: 0px;
@media (min-width: 2500px){
font-weight: 400;
font-size: 28px;
line-height: 38px;
}
} }
&.info { &.info {