You are here

navbar.icons-rtl.css in Navbar 7

File

css/navbar.icons-rtl.css
View source
  1. /**
  2. * @file navbar.icons-rtl.css
  3. *
  4. * RTL styles for navbar.icons.css
  5. */
  6. #navbar-administration .navbar-icon {
  7. padding-left: 1.3333em;
  8. padding-right: 2.75em;
  9. }
  10. #navbar-administration .navbar-icon:before {
  11. left: auto;
  12. right: 0.6667em;
  13. }
  14. #navbar-administration .navbar-menu ul .navbar-icon {
  15. padding-left: 0;
  16. padding-right: 1.3333em;
  17. }
  18. #navbar-administration .navbar-tray-vertical .navbar-menu ul a {
  19. padding-left: 0;
  20. padding-right: 2.75em;
  21. }
  22. #navbar-administration .navbar-tray-vertical .navbar-menu ul ul a {
  23. padding-left: 0;
  24. padding-right: 3.75em;
  25. }
  26. #navbar-administration .navbar-tray-vertical .navbar-menu a {
  27. padding-left: 4em;
  28. padding-right: 2.75em;
  29. }
  30. /**
  31. * Top level icons.
  32. */
  33. .navbar-bar .navbar-icon-escape-admin:before {
  34. background-image: url("../icons/bebebe/chevron-disc-right.svg");
  35. }
  36. .no-svg .navbar-bar .navbar-icon-escape-admin:before {
  37. background-image: url("../icons/bebebe/chevron-disc-right.png");
  38. }
  39. @media only screen and (min-width: 16.5em) {
  40. #navbar-administration .navbar-bar .navbar-icon:before {
  41. left: auto;
  42. right: 0;
  43. }
  44. }
  45. @media only screen and (min-width: 36em) {
  46. #navbar-administration .navbar-bar .navbar-icon {
  47. background-position: right center;
  48. padding-left: 1.3333em;
  49. padding-right: 2.75em;
  50. }
  51. #navbar-administration .navbar-bar .navbar-icon:before {
  52. left: auto;
  53. right: 0.6667em;
  54. }
  55. }
  56. /**
  57. * Accessibility/focus
  58. */
  59. #navbar-administration .navbar-tab a {
  60. border-left: none;
  61. border-right: 2px solid transparent;
  62. }
  63. #navbar-administration .navbar-tray-horizontal a,
  64. #navbar-administration .navbar-box a {
  65. border-left: none;
  66. border-right: 2px solid transparent;
  67. }
  68. /**
  69. * Handle.
  70. */
  71. #navbar-administration .navbar-icon.navbar-handle:before {
  72. left: auto;
  73. right: 1.6667em;
  74. }
  75. .no-svg #navbar-administration .navbar-icon.navbar-handle:before {
  76. left: auto;
  77. right: 1.6667em;
  78. }
  79. #navbar-administration .navbar-icon-escape-admin:before {
  80. background-image: url(../icons/bebebe/chevron-disc-right.svg);
  81. }
  82. .no-svg #navbar-administration .navbar-icon-escape-admin:before {
  83. background-image: url(../icons/bebebe/chevron-disc-right.png);
  84. }
  85. /**
  86. * Orientation toggle.
  87. */
  88. #navbar-administration .navbar-toggle-orientation button:before {
  89. left: auto;
  90. right: 0;
  91. }
  92. #navbar-administration .navbar-toggle-orientation .navbar-icon {
  93. padding-right: 0;
  94. }
  95. /**
  96. * In order to support a hover effect on the SVG images, while also supporting
  97. * RTL text direction and no SVG support, this little icon requires some very
  98. * specific targeting, setting and unsetting.
  99. */
  100. #navbar-administration .navbar-toggle-orientation [value="vertical"]:before {
  101. background-image: url("../icons/bebebe/push-right.svg");
  102. }
  103. #navbar-administration .navbar-toggle-orientation [value="vertical"]:hover:before {
  104. background-image: url("../icons/787878/push-right.svg");
  105. }
  106. .no-svg #navbar-administration .navbar-toggle-orientation [value="vertical"]:before {
  107. background-image: url("../icons/bebebe/push-right.png");
  108. }
  109. .no-svg #navbar-administration .navbar-toggle-orientation [value="vertical"]:hover:before {
  110. background-image: url("../icons/787878/push-right.png");
  111. }