You are here

quickbar.css in Quickbar 7.2

Same filename and directory in other branches
  1. 6 theme/quickbar.css
  2. 7 theme/quickbar.css
/**
 * Aggressive resets so we can achieve a consistent look in
 * hostile CSS environments.
 */
#quickbar,
#quickbar * {
  border: 0;
  font-size: 100%;
  line-height: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  text-align: left;
  vertical-align: baseline;
}

/**
 * Base styles
 */
#quickbar {
  background: url(sprite.png) 0 -20px repeat-x;
  color: #ccc;
  font: normal 11px/20px "Lucida Grande", Verdana, sans-serif;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 550;
}

.quickbar-float #quickbar {
  position: absolute;
}

#quickbar.quickbar-open {
  height: 80px;
}

.quickbar-enabled.quickbar-sticky {
  margin-top: 30px;
}

.quickbar-enabled.quickbar-sticky #quickbar {
  position: fixed;
  top: 0;
  width: 100%;
}

#quickbar .collapsed {
  display: none;
}

#quickbar div.shadow {
  background: url(sprite.png) 0 -100px repeat-x;
  bottom: -10px;
  height: 10px;
  left: 0;
  position: absolute;
  right: 0;
}

#quickbar a {
  color: #fff;
  text-decoration: none;
}

#quickbar ul.links {
  /* Some themes (like Bartik) override the styling of ul.links
     for consistency when switching back and forth between themes
     we set the font again here */
  font: 11px/20px "Lucida Grande", Verdana, sans-serif;
}
#quickbar ul.links li,
#quickbar ul.links li a {
  float: left; /* LTR */
}
#quickbar ul.links li {
  list-style-type: none;
  list-style-image: none;
}
#quickbar ul.links li:hover a {
  background-color: #666;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

/**
 * First level menus
 */
#quickbar div.depth-0 {
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  padding: 5px 10px;
}

#quickbar div.depth-0 #quickbar-admin {
  float: left; /* LTR */
}

#quickbar div.depth-0 #quickbar-user {
  float: right; /* LTR */
}

#quickbar div.depth-0 ul.links li a {
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  padding: 0 10px;
}
#quickbar div.depth-0 ul.links li a.active {
  background: url(sprite.png) 0 0 repeat-x;
  text-shadow: #333 0 1px 0;
}

#quickbar div.depth-0 .icon {
  display: none;
}

/**
 * Second level menus
 */
#quickbar div.depth-1 {
  padding: 0 10px;
  position: relative;
}

#quickbar div.depth-1 span.close {
  background: url(sprite.png) 0 -135px no-repeat;
  cursor: pointer;
  height: 20px;
  overflow: hidden;
  position: absolute;
  right: 10px; /* LTR */
  text-indent: -9999px;
  top: 15px;
  width: 20px;
}

#quickbar div.depth-1 ul.links {
  float: left; /* LTR */
  height: 40px;
  line-height: 30px;
  overflow: hidden;
  padding: 5px 0;
}
#quickbar div.depth-1 ul.links li {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
#quickbar div.depth-1 ul.links li.view-all {
  background-color: transparent;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  right: 40px; /* LTR */
  top: 5px;
}
#quickbar div.depth-1 ul.links li.view-all a,
#quickbar div.depth-1 ul.links li.view-all a.active {
  background: #333 url(sprite.png) 100% -135px no-repeat;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  font-size: 9px;
  line-height: 20px;
  margin: 0;
  padding: 0 15px 0 10px;
  text-transform: uppercase;
}
#quickbar div.depth-1 ul.links li a {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  margin-right: 5px;
  padding: 5px 15px 5px 5px;
}
#quickbar div.depth-1 ul.links li a.active {
  background-color: #333;
}

#quickbar div.depth-1 span.icon {
  float: left; /* LTR */
  height: 30px;
  margin-right: 5px; /* LTR */
  width: 30px;
}
#quickbar.no-icons div.depth-1 span.icon {
  width: 0;
}
#quickbar.no-icons div.depth-1 ul.links li a {
  padding-left: 10px;
}

/* Overlay module support */
#quickbar ~ #overlay-container {
  margin-top: 30px;
}

File

theme/quickbar.css
View source
  1. /**
  2. * Aggressive resets so we can achieve a consistent look in
  3. * hostile CSS environments.
  4. */
  5. #quickbar,
  6. #quickbar * {
  7. border: 0;
  8. font-size: 100%;
  9. line-height: inherit;
  10. margin: 0;
  11. outline: 0;
  12. padding: 0;
  13. text-align: left;
  14. vertical-align: baseline;
  15. }
  16. /**
  17. * Base styles
  18. */
  19. #quickbar {
  20. background: url(sprite.png) 0 -20px repeat-x;
  21. color: #ccc;
  22. font: normal 11px/20px "Lucida Grande", Verdana, sans-serif;
  23. position: relative;
  24. top: 0;
  25. width: 100%;
  26. z-index: 550;
  27. }
  28. .quickbar-float #quickbar {
  29. position: absolute;
  30. }
  31. #quickbar.quickbar-open {
  32. height: 80px;
  33. }
  34. .quickbar-enabled.quickbar-sticky {
  35. margin-top: 30px;
  36. }
  37. .quickbar-enabled.quickbar-sticky #quickbar {
  38. position: fixed;
  39. top: 0;
  40. width: 100%;
  41. }
  42. #quickbar .collapsed {
  43. display: none;
  44. }
  45. #quickbar div.shadow {
  46. background: url(sprite.png) 0 -100px repeat-x;
  47. bottom: -10px;
  48. height: 10px;
  49. left: 0;
  50. position: absolute;
  51. right: 0;
  52. }
  53. #quickbar a {
  54. color: #fff;
  55. text-decoration: none;
  56. }
  57. #quickbar ul.links {
  58. /* Some themes (like Bartik) override the styling of ul.links
  59. for consistency when switching back and forth between themes
  60. we set the font again here */
  61. font: 11px/20px "Lucida Grande", Verdana, sans-serif;
  62. }
  63. #quickbar ul.links li,
  64. #quickbar ul.links li a {
  65. float: left; /* LTR */
  66. }
  67. #quickbar ul.links li {
  68. list-style-type: none;
  69. list-style-image: none;
  70. }
  71. #quickbar ul.links li:hover a {
  72. background-color: #666;
  73. -moz-border-radius: 10px;
  74. -webkit-border-radius: 10px;
  75. border-radius: 10px;
  76. }
  77. /**
  78. * First level menus
  79. */
  80. #quickbar div.depth-0 {
  81. height: 20px;
  82. line-height: 20px;
  83. overflow: hidden;
  84. padding: 5px 10px;
  85. }
  86. #quickbar div.depth-0 #quickbar-admin {
  87. float: left; /* LTR */
  88. }
  89. #quickbar div.depth-0 #quickbar-user {
  90. float: right; /* LTR */
  91. }
  92. #quickbar div.depth-0 ul.links li a {
  93. -moz-border-radius: 10px;
  94. -webkit-border-radius: 10px;
  95. border-radius: 10px;
  96. padding: 0 10px;
  97. }
  98. #quickbar div.depth-0 ul.links li a.active {
  99. background: url(sprite.png) 0 0 repeat-x;
  100. text-shadow: #333 0 1px 0;
  101. }
  102. #quickbar div.depth-0 .icon {
  103. display: none;
  104. }
  105. /**
  106. * Second level menus
  107. */
  108. #quickbar div.depth-1 {
  109. padding: 0 10px;
  110. position: relative;
  111. }
  112. #quickbar div.depth-1 span.close {
  113. background: url(sprite.png) 0 -135px no-repeat;
  114. cursor: pointer;
  115. height: 20px;
  116. overflow: hidden;
  117. position: absolute;
  118. right: 10px; /* LTR */
  119. text-indent: -9999px;
  120. top: 15px;
  121. width: 20px;
  122. }
  123. #quickbar div.depth-1 ul.links {
  124. float: left; /* LTR */
  125. height: 40px;
  126. line-height: 30px;
  127. overflow: hidden;
  128. padding: 5px 0;
  129. }
  130. #quickbar div.depth-1 ul.links li {
  131. -moz-border-radius: 5px;
  132. -webkit-border-radius: 5px;
  133. border-radius: 5px;
  134. }
  135. #quickbar div.depth-1 ul.links li.view-all {
  136. background-color: transparent;
  137. margin: 0;
  138. padding: 10px 0;
  139. position: absolute;
  140. right: 40px; /* LTR */
  141. top: 5px;
  142. }
  143. #quickbar div.depth-1 ul.links li.view-all a,
  144. #quickbar div.depth-1 ul.links li.view-all a.active {
  145. background: #333 url(sprite.png) 100% -135px no-repeat;
  146. -moz-border-radius: 10px;
  147. -webkit-border-radius: 10px;
  148. border-radius: 10px;
  149. font-size: 9px;
  150. line-height: 20px;
  151. margin: 0;
  152. padding: 0 15px 0 10px;
  153. text-transform: uppercase;
  154. }
  155. #quickbar div.depth-1 ul.links li a {
  156. -moz-border-radius: 5px;
  157. -webkit-border-radius: 5px;
  158. border-radius: 5px;
  159. margin-right: 5px;
  160. padding: 5px 15px 5px 5px;
  161. }
  162. #quickbar div.depth-1 ul.links li a.active {
  163. background-color: #333;
  164. }
  165. #quickbar div.depth-1 span.icon {
  166. float: left; /* LTR */
  167. height: 30px;
  168. margin-right: 5px; /* LTR */
  169. width: 30px;
  170. }
  171. #quickbar.no-icons div.depth-1 span.icon {
  172. width: 0;
  173. }
  174. #quickbar.no-icons div.depth-1 ul.links li a {
  175. padding-left: 10px;
  176. }
  177. /* Overlay module support */
  178. #quickbar ~ #overlay-container {
  179. margin-top: 30px;
  180. }