first commit
This commit is contained in:
139
admin-kalsport/themes/new-theme/public/theme.rtlfix
Normal file
139
admin-kalsport/themes/new-theme/public/theme.rtlfix
Normal file
@@ -0,0 +1,139 @@
|
||||
@keyframes showcase-img-appearance-rtl {
|
||||
from {
|
||||
-webkit-transform: translate(-20px) translateX(-1);
|
||||
-ms-transform: translate(-20px) translateX(-1);
|
||||
-webkit-transform: translate(-20px) translateX(-1);
|
||||
transform: translate(-20px) translateX(-1);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
-webkit-transform: translate(0) translateX(-1);
|
||||
-ms-transform: translate(0) translateX(-1);
|
||||
-webkit-transform: translate(0) translateX(-1);
|
||||
transform: translate(0) translateX(-1);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar.sidebar-right {
|
||||
-webkit-transform: translate(-100%, 0);
|
||||
-moz-transform: translate(-100%, 0);
|
||||
-ms-transform: translate(-100%, 0);
|
||||
-o-transform: translate(-100%, 0);
|
||||
transform: translate(-100%, 0);
|
||||
}
|
||||
|
||||
/* fix logo position */
|
||||
.main-header > .logo {
|
||||
background-position: right;
|
||||
}
|
||||
|
||||
/* fix profile menu position */
|
||||
.employee-dropdown .dropdown-menu {
|
||||
right: auto !important;
|
||||
left: .3em !important;
|
||||
}
|
||||
|
||||
/* fix select dropdown */
|
||||
.select2-container--open .select2-dropdown {
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
/* fix notification dropdown */
|
||||
.notification-center .dropdown-menu {
|
||||
right: auto;
|
||||
left: 85px !important;
|
||||
}
|
||||
|
||||
/* fix popover */
|
||||
.popover {
|
||||
right: auto;
|
||||
left: 5px;
|
||||
margin-right: 0;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.popover .arrow {
|
||||
left: -8px;
|
||||
right: auto;
|
||||
transform: scaleX(-1);
|
||||
}
|
||||
|
||||
/* fix stock quantity arrow direction */
|
||||
.stock-app .stock-overview .table .qty-update .material-icons {
|
||||
transform: scaleX(-1);
|
||||
}
|
||||
|
||||
/* Fixes image flipping for RTL language */
|
||||
.img-rtl {
|
||||
-webkit-transform: scaleX(-1);
|
||||
transform: scaleX(-1);
|
||||
animation: showcase-img-appearance-rtl .4s;
|
||||
}
|
||||
|
||||
/* Align order status dropdown correctly */
|
||||
.adminorders .dropdown-menu {
|
||||
right: inherit;
|
||||
}
|
||||
|
||||
/* Footer position on RTL */
|
||||
.adminproducts .product-page .product-footer {
|
||||
right: 13.13rem;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.adminproducts .product-page .product-footer .text-right {
|
||||
text-align: left!important;
|
||||
}
|
||||
|
||||
.page-sidebar-closed:not(.mobile) .product-page .product-footer {
|
||||
right: 3.125rem;
|
||||
left: 0!important;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1450px) {
|
||||
.adminproducts .product-page .product-footer .js-btn-save {
|
||||
margin: 0!important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1024px) {
|
||||
.adminproducts .product-page .product-footer {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 440px) {
|
||||
.adminproducts .product-page .product-footer .col-lg-4 {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
min-width: 13rem;
|
||||
padding-left: 0;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.adminproducts .product-page .product-footer .dropdown {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.adminproducts .product-page .product-footer .btn-outline-primary {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.adminproducts .product-page .product-footer .online-title,
|
||||
.adminproducts .product-page .product-footer .offline-title {
|
||||
margin-left: .25rem;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Checkboxes RTL */
|
||||
.md-checkbox [type="checkbox"]:checked + .md-checkbox-control::after, .md-checkbox .indeterminate + .md-checkbox-control::after {
|
||||
border-right-style: none;
|
||||
border-left-style: solid;
|
||||
}
|
||||
|
||||
/* Fix scrollbar position in sidebar menu */
|
||||
.nav-bar-overflow .ps__rail-y {
|
||||
left: 0 !important;
|
||||
}
|
||||
Reference in New Issue
Block a user