_rtl.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. @import '~@resources/scss/base/bootstrap-extended/include';
  2. /*! rtl:begin:ignore */
  3. [dir='rtl'] {
  4. // Disable x Scrolling in Perfect scrollbar
  5. body .ps__rail-y {
  6. right: auto !important;
  7. left: 1px !important;
  8. }
  9. // Flatpickr month navigation arrow
  10. .flatpickr-prev-month,
  11. .flatpickr-next-month {
  12. svg {
  13. transform: rotate(180deg);
  14. }
  15. }
  16. // Faq page and page pricing
  17. .faq-navigation,
  18. .pricing-free-trial {
  19. .pricing-trial-img,
  20. img {
  21. transform: scaleX(-1);
  22. }
  23. }
  24. // aspect
  25. .b-aspect {
  26. .b-aspect-sizer {
  27. flex-grow: 0 !important;
  28. }
  29. }
  30. // Carousel
  31. .carousel-control-prev-icon,
  32. .carousel-control-next-icon {
  33. transform: rotate(180deg);
  34. }
  35. // Swiper Cube effect fix
  36. .swiper-container-cube.swiper-container-rtl {
  37. .swiper-slide {
  38. transform-origin: 100% 0 !important;
  39. }
  40. }
  41. // RTL Overrides
  42. .swiper-container-rtl {
  43. .swiper-button-prev {
  44. right: 10px !important;
  45. left: auto !important;
  46. }
  47. .swiper-button-next {
  48. left: 10px !important;
  49. right: auto !important;
  50. }
  51. }
  52. // .swiper-container {
  53. // }
  54. // dropdown block
  55. .dropdown {
  56. .btn-block,
  57. .btn-block + .dropdown-toggle-split {
  58. + .dropdown-menu {
  59. left: 0 !important;
  60. }
  61. }
  62. }
  63. // pagination
  64. .pagination .page-item.next-item .page-link,
  65. .pagination .page-item .page-link {
  66. svg {
  67. transform: rotate(180deg);
  68. }
  69. }
  70. // popover
  71. .popover {
  72. right: auto !important;
  73. }
  74. // progress
  75. .progress-bar-animated {
  76. animation: progress-bar-stripes-rtl 40s linear infinite;
  77. }
  78. // time
  79. .b-time {
  80. .b-time-ampm {
  81. margin-left: 0.5rem;
  82. margin-right: 0;
  83. }
  84. }
  85. .b-form-timepicker {
  86. .dropdown-menu {
  87. // left: 0 !important;
  88. right: 100%;
  89. .b-time {
  90. .b-time-ampm {
  91. margin-right: 0.5rem;
  92. margin-left: 0;
  93. }
  94. }
  95. }
  96. }
  97. .input-group {
  98. .input-group-append {
  99. .b-form-timepicker {
  100. .dropdown-menu {
  101. left: 100% !important;
  102. right: auto;
  103. }
  104. }
  105. }
  106. }
  107. // textarea
  108. textarea {
  109. overflow-x: hidden;
  110. }
  111. // ------------------------------------------------
  112. // App Calendar
  113. // ------------------------------------------------
  114. // Reset Chevrons for next/previous month
  115. .app-calendar {
  116. .fc-header-toolbar {
  117. .fc-prev-button,
  118. .fc-next-button {
  119. transform: rotate(180deg);
  120. }
  121. }
  122. }
  123. // Fix Calendar UI
  124. .fc-direction-rtl .fc-scroller-harness > .fc-scroller {
  125. direction: rtl !important;
  126. }
  127. .fc .fc-toolbar .fc-button-group {
  128. .fc-dayGridMonth-button:first-child {
  129. border-top-left-radius: $border-radius !important;
  130. border-bottom-left-radius: $border-radius !important;
  131. border-top-right-radius: 0 !important;
  132. border-bottom-right-radius: 0 !important;
  133. }
  134. .fc-listMonth-button:last-child {
  135. border-top-right-radius: $border-radius !important;
  136. border-bottom-right-radius: $border-radius !important;
  137. border-top-left-radius: 0 !important;
  138. border-bottom-left-radius: 0 !important;
  139. }
  140. }
  141. }
  142. /*! rtl:end:ignore */