Advertisement
fauzanjeg

Fix gallery plugin section on RTL mode

Nov 3rd, 2021
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.93 KB | None | 0 0
  1. /* Fix gallery plugin section on RTL mode */
  2. .rtl .jeg_preview_media_holder .fullscreen-switch i {
  3.     -moz-transform: scale(-1, 1);
  4.     -webkit-transform: scale(-1, 1);
  5.     -o-transform: scale(-1, 1);
  6.     -ms-transform: scale(-1, 1);
  7.     transform: scale(-1, 1);
  8. }
  9.  
  10. .rtl .jeg_preview_media_holder .fullscreen-switch {
  11.     left: 0;
  12.     right: unset;
  13. }
  14.  
  15. .rtl .jeg_preview_media_content_navigation .next i:after {
  16.     content: '\f104';
  17. }
  18.  
  19. .rtl .jeg_preview_media_content_navigation .prev i:after {
  20.     content: '\f105';
  21. }
  22.  
  23. .rtl .jeg_preview_control .left_control {
  24.     margin-right: 15px;
  25.     margin-left: unset;
  26. }
  27.  
  28. .rtl .jeg_preview_control .counter {
  29.     float: right;
  30. }
  31.  
  32. .rtl .jeg_preview_control .counter,
  33. .rtl .jeg_preview_control .subtitle {
  34.     margin-right: 1em;
  35.     margin-left: unset;
  36. }
  37.  
  38. .rtl .jeg_preview_control .zoom {
  39.     left: 15px;
  40.     right: unset;
  41. }
  42.  
  43. .rtl .jeg_preview_control .zoom > span {
  44.     right: auto;
  45.     left: unset;
  46.     float: right;
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement