Merge pull request #5829 from prateek-webkul/rtl-checkout-form

Alignment issue in checkout form RTL
This commit is contained in:
Prateek Srivastava 2022-02-17 15:12:35 +05:30 committed by GitHub
commit b5d14eea4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 74 additions and 73 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,14 +1,14 @@
{
"/js/jquery-ez-plus.js": "/js/jquery-ez-plus.js?id=ba3c7cada62de152fd8f",
"/js/velocity-core.js": "/js/velocity-core.js?id=8010dfb021a49555afa7",
"/js/velocity.js": "/js/velocity.js?id=41ab97a1e8fa27ba1e09",
"/js/manifest.js": "/js/manifest.js?id=3cded37ef514b0fb89b1",
"/js/components.js": "/js/components.js?id=4390fa88845ac905ec54",
"/css/velocity.css": "/css/velocity.css?id=997141add2dccbf451e9",
"/css/velocity-admin.css": "/css/velocity-admin.css?id=b67a82956e53163b5e3f",
"/images/icon-calendar.svg": "/images/icon-calendar.svg?id=870d0f733a5837742276",
"/images/icon-camera.svg": "/images/icon-camera.svg?id=b2fd2f9e17e1ccee96e2",
"/images/icon-crossed.svg": "/images/icon-crossed.svg?id=c72c3c1ef790bd4fd993",
"/images/icon-eye.svg": "/images/icon-eye.svg?id=9345f20b862e21aa30c6",
"/images/icon-search.svg": "/images/icon-search.svg?id=a5f38a895551b8a015b2"
"/js/jquery-ez-plus.js": "/js/jquery-ez-plus.js?id=839a8f4f976c7cb12580c31185296bdb",
"/js/velocity-core.js": "/js/velocity-core.js?id=8010dfb021a49555afa74bf3bf25b33e",
"/js/velocity.js": "/js/velocity.js?id=8467110c3c1ee5e363d02172acbf1a3f",
"/js/manifest.js": "/js/manifest.js?id=3cded37ef514b0fb89b10e7109801248",
"/js/components.js": "/js/components.js?id=f536199f308a82f48041993dd85acdd3",
"/css/velocity.css": "/css/velocity.css?id=8e689eb5ae9b5579e1ebd24452040362",
"/css/velocity-admin.css": "/css/velocity-admin.css?id=b67a82956e53163b5e3ff45a44f9778f",
"/images/icon-calendar.svg": "/images/icon-calendar.svg?id=870d0f733a58377422766f3152e15486",
"/images/icon-camera.svg": "/images/icon-camera.svg?id=b2fd2f9e17e1ccee96e29f6c6cec91e8",
"/images/icon-crossed.svg": "/images/icon-crossed.svg?id=c72c3c1ef790bd4fd99376bd4ba7bd5b",
"/images/icon-eye.svg": "/images/icon-eye.svg?id=9345f20b862e21aa30c675df49d56fd5",
"/images/icon-search.svg": "/images/icon-search.svg?id=a5f38a895551b8a015b24952561263f1"
}

View File

@ -2,7 +2,7 @@
padding: 20px;
position: relative;
>div:first-child {
> div:first-child {
top: 40px;
position: sticky;
height: max-content;
@ -28,7 +28,7 @@
}
.customer-reviews {
>div {
> div {
&.row {
padding-bottom: 30px;
display: block;
@ -69,7 +69,7 @@
position: relative;
background-color: $light-background;
>div {
> div {
width: 0px;
height: 100%;
background-color: $black-color;
@ -86,7 +86,7 @@
.review-form {
width: 80%;
>div {
> div {
padding-top: 30px;
label {
@ -111,7 +111,7 @@
margin: 20px 0;
.toolbar-wrapper {
>div {
> div {
margin: 0 20px 0 0;
display: inline-block;
@ -133,7 +133,7 @@
}
}
>div:not(:first-child) {
> div:not(:first-child) {
vertical-align: super;
}
@ -191,8 +191,10 @@
animation: fade-in-white 0.3s ease-in-out;
@include border-radius(5px);
@include box-shadow(0px 15px 25px 0px rgba(0, 0, 0, 0.03),
0px 20px 45px 5px rgba(0, 0, 0, 0.2));
@include box-shadow(
0px 15px 25px 0px rgba(0, 0, 0, 0.03),
0px 20px 45px 5px rgba(0, 0, 0, 0.2)
);
.modal-header {
h3 {
@ -274,7 +276,7 @@
.card-body {
cursor: default;
>div:last-child {
> div:last-child {
margin-top: 10px;
}
@ -292,7 +294,6 @@
}
.card-body {
.compare-icon,
.wishlist-icon {
left: 0;
@ -472,7 +473,7 @@
}
form {
>div {
> div {
padding-bottom: 20px;
input {
@ -482,10 +483,14 @@
}
}
}
.back-button {
float: right;
}
}
.container-right {
>.recently-viewed {
> .recently-viewed {
padding-top: 20px;
}
}
@ -677,7 +682,7 @@
padding-bottom: 20px !important;
border-bottom: 2px solid $border-general;
>h3 {
> h3 {
font-size: 16px;
font-weight: 600;
}
@ -706,11 +711,11 @@
}
.cart-item-list {
>.row {
> .row {
margin-bottom: 40px;
}
>.row:last-child {
> .row:last-child {
padding-bottom: 20px;
border-bottom: 2px solid $border-general;
}
@ -737,7 +742,7 @@
font-size: 18px;
}
>a {
> a {
line-height: 20px;
}
}
@ -766,7 +771,6 @@
}
}
@media only screen and (max-width: 375px) {
.cart-details {
.cart-content {
@ -791,7 +795,7 @@
li.breadcrumb-item {
display: inline-block;
&+.breadcrumb-item::before {
& + .breadcrumb-item::before {
display: inline-block;
padding-right: 5px;
padding-left: 5px;
@ -932,8 +936,7 @@
}
.account-table-content {
>.row,
> .row,
.control-group {
margin-bottom: 30px;
}
@ -970,7 +973,7 @@
.address-holder {
margin-top: 30px;
>div {
> div {
margin: 5px 0;
padding-left: 0;
}
@ -991,7 +994,7 @@
margin-bottom: 15px;
}
.table>table {
.table > table {
width: 100%;
color: #5e5e5e;
border: 1px solid rgba(0, 0, 0, 0.125);
@ -1040,9 +1043,11 @@
margin-right: 20px;
border-radius: 0 0 4px 4px;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
background-image: linear-gradient(-180deg,
rgba(0, 0, 0, 0.08),
rgba(0, 0, 0, 0.24));
background-image: linear-gradient(
-180deg,
rgba(0, 0, 0, 0.08),
rgba(0, 0, 0, 0.24)
);
}
input {
@ -1069,7 +1074,7 @@
}
.reviews-container {
>.row {
> .row {
margin-bottom: 40px;
}
}
@ -1079,7 +1084,6 @@
margin: 0;
a:not([href]) {
&.next,
&.previous {
cursor: not-allowed;
@ -1104,7 +1108,6 @@
&.next,
&.previous {
.angle-right-icon,
.angle-left-icon {
@extend .rango-default;
@ -1167,7 +1170,7 @@
}
.section-content {
label+span {
label + span {
font-weight: 600;
color: $grey-color;
}
@ -1258,9 +1261,8 @@
padding: 40px 20px;
.col-lg-7 {
.coupon-container,
>div:not(:first-child) {
> div:not(:first-child) {
margin-top: 20px;
}
}
@ -1297,7 +1299,7 @@
.styled-select {
cursor: pointer;
+.select-icon {
+ .select-icon {
top: 55%;
left: 92%;
font-size: 20px;
@ -1334,7 +1336,7 @@
.address-holder {
margin-top: 15px;
>div {
> div {
margin: 5px 0;
padding-left: 0;
}
@ -1351,7 +1353,7 @@
display: table;
text-align: center;
>div {
> div {
display: table-cell;
vertical-align: middle;
@ -1409,7 +1411,7 @@
.shipping-methods,
.payment-methods {
>.row {
> .row {
margin-bottom: 20px;
}
@ -1447,11 +1449,11 @@
margin-bottom: 20px !important;
}
>.row:first-child {
> .row:first-child {
margin-top: 50px;
}
>.row {
> .row {
margin-bottom: 20px;
}
}
@ -1468,7 +1470,7 @@
position: sticky !important;
max-width: 500px !important;
>div {
> div {
width: 100%;
}
@ -1476,11 +1478,11 @@
padding: 25px 30px;
border: 1px solid $border-general;
>h3 {
> h3 {
margin-bottom: 20px;
}
>.row:not(:last-child) {
> .row:not(:last-child) {
margin-bottom: 10px;
}
@ -1608,7 +1610,6 @@
}
.main-container-wrapper {
/**
* Sticky header for logo and search component. Just make sure
* this class should have height otherwise CLS score will reduce.
@ -1684,8 +1685,8 @@
}
li:hover {
>a {
>span {
> a {
> span {
color: $light-link-color;
}
}
@ -1697,7 +1698,7 @@
.category {
padding: 5px 0 4px 15px;
+.nested {
+ .nested {
color: $font-color;
li {
@ -1828,7 +1829,7 @@
line-height: 38px;
}
>* {
> * {
height: 100%;
}
}
@ -2063,22 +2064,22 @@
}
.full-content-wrapper {
>.container-fluid {
> .container-fluid {
padding: 0 !important;
margin-bottom: 60px !important;
>.row {
> .row {
padding: 0 15px !important;
}
}
p,
div {
>.container-fluid {
> .container-fluid {
padding: 0 !important;
margin-bottom: 60px !important;
>.row {
> .row {
padding: 0 15px !important;
}
}
@ -2153,7 +2154,7 @@
}
}
input[type='checkbox']+span {
input[type='checkbox'] + span {
margin-left: 10px !important;
}
}
@ -2256,7 +2257,6 @@
&.next,
&.previous {
.angle-right-icon,
.angle-left-icon {
@extend .rango-default;
@ -2309,7 +2309,7 @@
}
.carousel-products {
+.recently-viewed {
+ .recently-viewed {
top: -40px;
position: relative;
}
@ -2481,11 +2481,8 @@
}
@media only screen and (max-width: 425px) {
.cart-details {
.cart-content {
.destop-view {
display: none;
}
@ -2587,4 +2584,4 @@
100% {
transform: rotate(360deg);
}
}
}

View File

@ -129,6 +129,10 @@ body {
}
}
}
.back-button {
float: left;
}
}
.sticker {

View File

@ -108,7 +108,7 @@
@auth('customer')
@if(count(auth('customer')->user()->addresses))
<a
class="theme-btn light float-right text-up-14"
class="theme-btn light back-button text-up-14"
@click="backToSavedBillingAddress()">
{{ __('shop::app.checkout.onepage.back') }}