Geen omschrijving

_rtl.scss 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. .rtl {
  2. .sidebar,
  3. .bootstrap-navbar{
  4. right: 0;
  5. left: auto;
  6. margin-right: 20px;
  7. margin-left: 0;
  8. .nav{
  9. i{
  10. float: right;
  11. margin-left: 15px;
  12. margin-right: 0;
  13. }
  14. p{
  15. margin-right: 45px;
  16. text-align: right;
  17. }
  18. .caret{
  19. left: 11px;
  20. right: auto;
  21. }
  22. }
  23. .logo{
  24. a.logo-mini{
  25. float: right;
  26. margin-right: 20px;
  27. margin-left: 10px;
  28. }
  29. .simple-text{
  30. text-align: right;
  31. }
  32. }
  33. .sidebar-wrapper .nav [data-toggle="collapse"] ~ div > ul > li > a .sidebar-mini-icon,
  34. .sidebar-wrapper .user .info [data-toggle="collapse"] ~ div > ul > li > a .sidebar-mini-icon{
  35. float: right;
  36. margin-left: 15px;
  37. margin-right: 0;
  38. }
  39. .sidebar-wrapper > .nav [data-toggle="collapse"] ~ div > ul > li > a .sidebar-normal,
  40. .sidebar-wrapper .user .info [data-toggle="collapse"] ~ div > ul > li > a .sidebar-normal{
  41. text-align: right;
  42. }
  43. &:before{
  44. right: 30px;
  45. left: auto;
  46. }
  47. }
  48. .main-panel .content{
  49. padding: 80px 280px 30px 30px;
  50. }
  51. .footer{
  52. padding: 24px 300px 24px 0;
  53. }
  54. .dropdown-toggle:after{
  55. margin-right: .255em;
  56. margin-left: 0;
  57. }
  58. .dropdown-menu.dropdown-menu-right.dropdown-navbar{
  59. right: -220px !important;
  60. left: auto;
  61. &:before{
  62. right: auto;
  63. left: 35px;
  64. }
  65. }
  66. .notification{
  67. left: 40px;
  68. right: auto;
  69. }
  70. .dropdown-menu{
  71. right: auto;
  72. left: 0;
  73. }
  74. .minimize-sidebar{
  75. float: right;
  76. }
  77. .alert{
  78. left: 0;
  79. margin-left: 0;
  80. margin-right: 0;
  81. button.close{
  82. left: 10px !important;
  83. right: auto !important;
  84. }
  85. span[data-notify="icon"]{
  86. right: 15px;
  87. left: auto;
  88. }
  89. &.alert-with-icon{
  90. padding-right: 65px;
  91. padding-left: 15px;
  92. }
  93. &.alert-with-icon i[data-notify="icon"]{
  94. right: 15px;
  95. left: auto;
  96. }
  97. }
  98. .search-bar{
  99. margin-left: 0;
  100. }
  101. .modal-search .modal-header .close{
  102. margin-right: auto;
  103. left: 10px;
  104. }
  105. @media (min-width: 991px){
  106. &.sidebar-mini .main-panel .content {
  107. padding-right: 130px;
  108. padding-left: 50px;
  109. }
  110. &.sidebar-mini footer{
  111. padding-right: 130px;
  112. padding-left: 50px;
  113. }
  114. .navbar-minimize button{
  115. margin-right: -5px;
  116. }
  117. }
  118. @media screen and (max-width: 991px){
  119. .sidebar{
  120. margin-right: 0;
  121. }
  122. .main-panel .content{
  123. padding-right: 50px;
  124. }
  125. #bodyClick{
  126. right: 260px;
  127. left: auto;
  128. }
  129. .footer{
  130. padding-right: 15px;
  131. }
  132. }
  133. .navbar {
  134. .navbar-nav {
  135. padding-right: 0;
  136. a.nav-link {
  137. text-align: right;
  138. p{
  139. margin-right: 7px;
  140. }
  141. }
  142. .btn {
  143. margin-right: 0;
  144. padding: 0;
  145. i{
  146. margin-left: 4px;
  147. margin-right: 5px;
  148. }
  149. }
  150. .search-bar span{
  151. margin-right: 10px;
  152. }
  153. }
  154. }
  155. .ps__rail-y {
  156. right: auto !important;
  157. left: 0;
  158. }
  159. .main-panel {
  160. position: fixed;
  161. height: 100%;
  162. overflow-y: scroll;
  163. overflow-x: hidden;
  164. }
  165. }
  166. @media screen and (max-width: 768px){
  167. .rtl .main-panel .content{
  168. padding-left: 15px;
  169. padding-right: 15px;
  170. }
  171. }