You are here

navbar.theme.css in Navbar 7

File

css/navbar.theme.css
View source
  1. /**
  2. * @file navbar.theme.css
  3. */
  4. #navbar-administration {
  5. font-family: "Source Sans Pro", "Lucida Grande", Verdana, sans-serif;
  6. /* Set base font size to 13px based on root ems. */
  7. font-size: small;
  8. -moz-tap-highlight-color: rgba(0,0,0,0);
  9. -o-tap-highlight-color: rgba(0,0,0,0);
  10. -webkit-tap-highlight-color: rgba(0,0,0,0);
  11. tap-highlight-color: rgba(0,0,0,0);
  12. -moz-touch-callout: none;
  13. -o-touch-callout: none;
  14. -webkit-touch-callout: none;
  15. touch-callout: none;
  16. }
  17. #navbar-administration .navbar-tab > *,
  18. #navbar-administration .navbar-menu-item {
  19. padding: 1em 1.3333em;
  20. }
  21. .navbar-box a {
  22. cursor: pointer;
  23. padding: 1em 1.3333em;
  24. line-height: 13em;
  25. text-decoration: none;
  26. }
  27. .navbar-box a:hover {
  28. text-decoration: underline;
  29. }
  30. /**
  31. * Navbar bar.
  32. */
  33. #navbar-administration .navbar-bar {
  34. background-color: #0f0f0f;
  35. box-shadow: -1px 0 3px 1px rgba(0, 0, 0, 0.3333); /* LTR */
  36. color: #dddddd;
  37. }
  38. #navbar-administration .navbar-tab > * {
  39. color: #ffffff;
  40. font-weight: bold;
  41. }
  42. #navbar-administration .navbar-tab > .navbar-menu-item:hover,
  43. #navbar-administration .navbar-tab > .navbar-menu-item:focus {
  44. background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.125) 20%, transparent 200%);
  45. background-image: linear-gradient(rgba(255, 255, 255, 0.125) 20%, transparent 200%);
  46. text-decoration: none;
  47. }
  48. #navbar-administration .navbar-tab > .navbar-menu-item.navbar-active {
  49. background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%);
  50. background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%);
  51. }
  52. /**
  53. * Navbar tray.
  54. */
  55. #navbar-administration .navbar-tray {
  56. background-color: #ffffff;
  57. }
  58. #navbar-administration .navbar-tray-horizontal > .navbar-lining {
  59. padding-right: 5em; /* LTR */
  60. }
  61. #navbar-administration .navbar-tray-vertical {
  62. background-color: #f5f5f5;
  63. border-right: 1px solid #aaaaaa; /* LTR */
  64. box-shadow: -1px 0 5px 2px rgba(0, 0, 0, 0.3333); /* LTR */
  65. }
  66. #navbar-administration .navbar-tray-horizontal {
  67. border-bottom: 1px solid #aaaaaa;
  68. box-shadow: -2px 1px 3px 1px rgba(0, 0, 0, 0.3333); /* LTR */
  69. }
  70. #navbar-administration .navbar-tray-horizontal .navbar-tray {
  71. background-color: #f5f5f5;
  72. }
  73. #navbar-administration .navbar-tray a {
  74. color: #565656;
  75. cursor: pointer;
  76. text-decoration: none;
  77. }
  78. #navbar-administration .navbar-tray a:hover,
  79. #navbar-administration .navbar-tray a:active,
  80. #navbar-administration .navbar-tray a:focus,
  81. #navbar-administration .navbar-tray a.navbar-active {
  82. color: #000;
  83. text-decoration: underline;
  84. }
  85. #navbar-administration .navbar-menu {
  86. background-color: #ffffff;
  87. }
  88. #navbar-administration .navbar-tray-horizontal .navbar-menu li + li {
  89. border-left: 1px solid #dddddd; /* LTR */
  90. }
  91. #navbar-administration .navbar-tray-horizontal .navbar-menu .navbar-level-1:last-child {
  92. border-right: 1px solid #dddddd; /* LTR */
  93. }
  94. #navbar-administration .navbar-tray-vertical .navbar-menu li + li {
  95. border-top: 1px solid #dddddd;
  96. }
  97. #navbar-administration .navbar-tray-vertical .navbar-menu li:last-child {
  98. border-bottom: 1px solid #dddddd;
  99. }
  100. #navbar-administration .navbar-tray-vertical .navbar-menu .navbar-menu li {
  101. border: 0 none;
  102. }
  103. #navbar-administration .navbar-tray-vertical .navbar-menu ul ul {
  104. border-bottom: 1px solid #dddddd;
  105. border-top: 1px solid #dddddd;
  106. }
  107. #navbar-administration .navbar-tray-vertical .navbar-menu li:last-child > ul {
  108. border-bottom: 0;
  109. }
  110. #navbar-administration .navbar-tray-vertical .navbar-menu .navbar-menu .navbar-menu .navbar-menu {
  111. margin-left: 0.25em; /* LTR */
  112. }
  113. #navbar-administration .navbar-menu .navbar-menu a {
  114. color: #434343;
  115. }
  116. /**
  117. * Orientation toggle.
  118. */
  119. #navbar-administration .navbar-toggle-orientation {
  120. background-color: #f5f5f5;
  121. padding: 0.6667em;
  122. }
  123. #navbar-administration .navbar-tray-horizontal .navbar-toggle-orientation {
  124. border-left: 1px solid #c9c9c9; /* LTR */
  125. }
  126. #navbar-administration .navbar-toggle-orientation > .navbar-lining {
  127. float: right; /* LTR */
  128. padding: 0.1667em;
  129. }
  130. #navbar-administration .navbar-toggle-orientation button {
  131. cursor: pointer;
  132. display: inline-block;
  133. }
  134. /**
  135. * Fix Shortcuts Edit link
  136. */
  137. #navbar-administration .edit-shortcuts {
  138. float: left; /* LTR */
  139. padding: 1em 1.3333em;
  140. }
  141. #navbar-administration .navbar-tray-vertical .edit-shortcuts {
  142. padding-left: 2.75em; /* LTR */
  143. padding-right: 4em; /* LTR */
  144. border-bottom: 1px solid #dddddd;
  145. width: 100%;
  146. background-color: #ffffff;
  147. }
  148. /**
  149. * Undo overzealous theme resets.
  150. */
  151. #navbar-administration *:before,
  152. #navbar-administration *:after {
  153. -webkit-box-sizing: content-box;
  154. -moz-box-sizing: content-box;
  155. box-sizing: content-box;
  156. }
  157. /**
  158. * Remove navbar from print view.
  159. */
  160. @media print {
  161. body {
  162. padding-top: 0;
  163. }
  164. body.navbar-tray-open.navbar-vertical.navbar-fixed {
  165. margin-left: 0; /* LTR */
  166. }
  167. #navbar-administration {
  168. display: none !important;
  169. }
  170. }