Advertisement
fauzanjeg

Fix RTL issue in Split Posts

Nov 2nd, 2021
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.08 KB | None | 0 0
  1. /* Fix RTL issue in Split Posts */
  2. .rtl .jeg_splitpost_nav li {
  3.     padding: 0 0 0 30px;
  4. }
  5.  
  6. .rtl .jeg_splitpost_nav li a {
  7.     text-align: right;
  8. }
  9.  
  10. .rtl .jeg_splitpost_nav li:before {
  11.     content: '\f104';
  12.     right: 15px;
  13.     left: unset;
  14.     -webkit-transform: translate3d(10px, 0, 0);
  15.     transform: translate3d(10px, 0, 0);
  16. }
  17.  
  18. .rtl .jeg_splitpost_nav li:hover:before {
  19.     -webkit-transform: translate3d(0, 0, 0);
  20.     transform: translate3d(0, 0, 0);
  21.   }
  22.  
  23. .rtl .jeg_splitpost_nav li:hover a {
  24.     -webkit-transform: translate3d(-12px, 0, 0);
  25.     transform: translate3d(-12px, 0, 0);
  26. }
  27.  
  28. .rtl .jeg_splitpost_3 .current_title:after {
  29.     left: 0;
  30.     right: unset;
  31.     margin-right: 5px;
  32.     margin-left: unset;
  33. }
  34.  
  35. .rtl .jeg_splitpost_bar .page_nav.next {
  36.     left: 0;
  37.     right: unset;
  38. }
  39.  
  40. .rtl .jeg_splitpost_bar .page_nav.next .fa {
  41.     padding-right: 3px;
  42.     padding-left: unset;
  43. }
  44.  
  45. .rtl .jeg_splitpost_bar .page_nav.prev {
  46.     right: 0;
  47.     left: unset;
  48. }
  49.  
  50. .rtl .jeg_splitpost_bar .page_nav.prev .fa {
  51.     padding-left: 3px;
  52.     padding-right: unset;
  53. }
  54.  
  55. .rtl .jeg_splitpost_5 .current_title {
  56.     padding-left: 80px;
  57.     padding-right: unset;
  58. }
  59.  
  60. .rtl .jeg_splitpost_5 .page_nav.prev {
  61.     left: 40px;
  62.     right: auto;
  63. }
  64.  
  65. .rtl .split-template-6 .pagetitle {
  66.     border-right: 1px solid #eee;
  67.     border-left: unset;
  68.     padding-right: 15px;
  69.     padding-left: unset;
  70.     margin-right: 15px;
  71.     margin-left: unset;
  72. }
  73.  
  74. .rtl .split-template-7 .current_title,
  75. .rtl .split-template-8 .current_title {
  76.     padding-right: 32px;
  77.     padding-left: unset;
  78. }
  79.  
  80. .rtl .split-postlist .pagenum {
  81.     right: 0;
  82.     left: unset;
  83. }
  84.  
  85. .rtl .split-template-9 .current_title,
  86. .rtl .split-template-10 .current_title,
  87. .rtl .split-template-11 .current_title,
  88. .rtl .split-template-12 .current_title,
  89. .rtl .split-template-13 .current_title,
  90. .rtl .split-template-15 .no-image .current_title {
  91.     padding-right: 52px;
  92.     padding-left: unset;
  93. }
  94.  
  95. .rtl .split-template-14 .current_title {
  96.     padding: 2px 42px 2px 0;
  97. }
  98.  
  99. .rtl .split-template-14 .pagenum {
  100.     right: 10px;
  101.     left: unset;
  102. }
  103.  
  104. .rtl .split-container .tns-outer .tns-next {
  105.     left: 0px;
  106.     right: unset;
  107. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement