You are here

navbar.module-rtl.css in Navbar 7

navbar.module-rtl.css

RTL styling for navbar.base.css

File

css/navbar.module-rtl.css
View source
  1. /**
  2. * @file navbar.module-rtl.css
  3. *
  4. * RTL styling for navbar.base.css
  5. */
  6. #navbar-administration ul.navbar-menu {
  7. text-align: right;
  8. }
  9. /* Override core system.menus.css */
  10. #navbar-administration ul.navbar-menu li {
  11. margin-right: 0;
  12. }
  13. /* Present the admin navbar tabs horizontally as a default on user agents that
  14. * do not understand media queries or on user agents where JavaScript is
  15. * disabled. */
  16. #navbar-administration .navbar-bar .navbar-tab,
  17. #navbar-administration .navbar-tray-horizontal li {
  18. float: right;
  19. }
  20. /* Present the admin navbar tabs vertically by default on user agents that
  21. * that understand media queries. This will be the small screen default. */
  22. @media only screen {
  23. #navbar-administration .navbar-bar .navbar-tab,
  24. #navbar-administration .navbar-tray-horizontal li {
  25. float: none;
  26. }
  27. }
  28. /* This min-width media query is meant to provide basic horizontal layout to
  29. * the main menu tabs when JavaScript is disabled on user agents that understand
  30. * media queries. */
  31. @media (min-width:16.5em) {
  32. #navbar-administration .navbar-bar .navbar-tab,
  33. #navbar-administration .navbar-tray-horizontal li {
  34. float: right;
  35. }
  36. }
  37. /* Present the admin navbar tabs horizontally when the configured narrow
  38. * breakpoint is active. */
  39. #navbar-administration.navbar-oriented .navbar-bar .navbar-tab,
  40. #navbar-administration.navbar-oriented .navbar-tray-horizontal li {
  41. float: right;
  42. }
  43. /**
  44. * Navbar tray.
  45. */
  46. #navbar-administration.navbar-oriented .navbar-tray-vertical {
  47. left: auto;
  48. right: -100%;
  49. }
  50. #navbar-administration .navbar-tray-vertical > .navbar-lining:before {
  51. left: auto;
  52. right: 0;
  53. }
  54. #navbar-administration.navbar-oriented .navbar-tray-vertical.navbar-active {
  55. direction: rtl;
  56. left: auto;
  57. right: 0;
  58. }
  59. body.navbar-tray-open.navbar-vertical.navbar-fixed {
  60. margin-left: auto;
  61. margin-left: auto;
  62. margin-right: 240px;
  63. margin-right: 15rem;
  64. }
  65. /**
  66. * ToolBar tray orientation toggle.
  67. */
  68. /* Show the orientation toggle when the configured narrow breakpoint is
  69. * active. */
  70. #navbar-administration.navbar-oriented .navbar-tray-horizontal .navbar-toggle-orientation {
  71. left: 0;
  72. right: auto;
  73. }
  74. #navbar-administration.navbar-oriented .navbar-tray-vertical .navbar-toggle-orientation {
  75. float: left;
  76. }