You are here

base_module.css in Toolbar Themes 8

/**
 * base_module
 *
 * This is almost a direct copy of Toolbar modules toolbar.module.css. There are
 * minor adjustments and additions such as the line-height, font size and some
 * use of Flex over floats etc, & support for new markup elements.
 *
 * Major styles such as the layout and orientation change assumptions are not
 * modified, these are tied to the JS in core and difficult to move away from.
 */
.toolbar-loading #toolbar-administration {
  overflow: hidden;
}

.toolbar-loading #toolbar-administration .toolbar-bar {
  opacity: 0;
}

#toolbar-administration {
  font-size: medium;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

#toolbar-administration * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.toolbar .toolbar-bar .home-toolbar-tab {
  display: none;
}

.path-admin .toolbar-bar .home-toolbar-tab {
  display: block;
}

@media print {
  #toolbar-administration {
    display: none;
  }
}

.toolbar li {
  list-style: none none;
}

.toolbar .item-list {
  list-style: none none;
}

.toolbar .item-list li {
  list-style: none none;
}

.toolbar .menu-item,
.toolbar .menu-item--expanded {
  list-style: none none;
}

.toolbar .menu-item {
  padding-top: 0;
}

.toolbar .toolbar-bar .toolbar-tab,
.toolbar .menu-item {
  display: block;
}

.toolbar .toolbar-bar .toolbar-tab.hidden {
  display: none;
}

.toolbar .toolbar-bar,
.toolbar .toolbar-tray {
  position: relative;
  z-index: 1250;
}

.toolbar .toolbar-tab__items-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  z-index: 1500;
  position: relative;
}

.toolbar .home-toolbar-tab div {
  display: none;
}

.toolbar .toolbar-icon-admin-toolbar-tools-help {
  text-indent: 0;
}

.toolbar .toolbar-bar .contextual-toolbar-tab {
  float: none !important;
  position: absolute;
  right: 0;
  top: 0;
  padding: 0 0.25em 0;
}

[dir="rtl"] .toolbar .toolbar-bar .contextual-toolbar-tab {
  right: auto;
  left: 0;
  padding-left: 0;
  padding-right: 0.35em;
}

.toolbar .toolbar-bar .contextual-toolbar-tab button {
  outline: none !important;
  color: inherit;
  height: auto;
  font-size: inherit;
}

body.toolbar-fixed .toolbar-oriented {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
}

.toolbar-oriented .toolbar-bar,
.toolbar-oriented .toolbar-tray {
  left: 0;
  position: absolute;
  right: 0;
}

.toolbar-oriented .toolbar-bar {
  z-index: 502;
}

body.toolbar-fixed .toolbar-oriented .toolbar-bar {
  position: fixed;
}

body.toolbar-tray-open.toolbar-fixed.toolbar-vertical .toolbar-oriented {
  bottom: 0;
  width: 15rem;
}

.toolbar .toolbar-bar,
.toolbar .toolbar-tray-horizontal ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#toolbar-administration .no-tabs .toolbar-tray-horizontal {
  left: 2.5em;
  top: 0;
  border-top: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  margin-top: 0 !important;
}

@media (min-width: 16.5em) {
  .toolbar .toolbar-bar,
  .toolbar .toolbar-tray-horizontal ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.toolbar-oriented .toolbar-bar,
.toolbar-oriented .toolbar-tray-horizontal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.toolbar .toolbar-tray {
  z-index: 501;
  display: none;
}

.toolbar-oriented .toolbar-tray-vertical {
  left: -100%;
  position: absolute;
  width: 15rem;
}

[dir="rtl"] .toolbar-oriented .toolbar-tray-vertical {
  left: auto;
  right: -100%;
}

.toolbar .toolbar-tray-vertical > .toolbar-lining {
  min-height: 100%;
}

.toolbar .toolbar-tray-vertical > .toolbar-lining:before {
  width: 100%;
}

.toolbar-oriented .toolbar-tray-vertical > .toolbar-lining:before {
  bottom: 0;
  content: '';
  display: block;
  left: 0;
  position: fixed;
  top: 0;
  width: 14rem;
  z-index: -1;
}

[dir="rtl"] .toolbar-oriented .toolbar-tray-vertical > .toolbar-lining:before {
  left: auto;
  right: 0;
}

.toolbar .toolbar-bar .toolbar-tab > .toolbar-icon {
  position: relative;
  z-index: 502;
}

.toolbar-oriented .toolbar-tray-horizontal .menu-item ul {
  display: none;
}

body.toolbar-fixed .toolbar .toolbar-tray-horizontal {
  position: fixed;
}

.toolbar .toolbar-tray-vertical.is-active,
body.toolbar-fixed .toolbar .toolbar-tray-vertical {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
}

.toolbar .toolbar-tray.is-active {
  display: block;
}

.toolbar-oriented .toolbar-tray-vertical.is-active {
  left: 0;
}

[dir="rtl"] .toolbar-oriented .toolbar-tray-vertical.is-active {
  left: auto;
  right: 0;
}

body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
  margin-left: 15rem;
}

[dir="rtl"] body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
  margin-left: auto;
  margin-right: 15rem;
}

@media print {
  body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
    margin-left: 0;
  }
  [dir="rtl"] body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
    margin-right: 0;
  }
}

.toolbar .toolbar-tray .toolbar-toggle-orientation {
  display: none;
}

.toolbar-oriented .toolbar-tray .toolbar-toggle-orientation {
  display: block;
}

.toolbar-oriented .toolbar-tray-horizontal .toolbar-toggle-orientation {
  bottom: 0;
  position: absolute;
  right: 0;
  top: auto;
}

[dir="rtl"] .toolbar-oriented .toolbar-tray-horizontal .toolbar-toggle-orientation {
  left: 0;
  right: auto;
}
/*# sourceMappingURL=base_module.css.map */

File

themes/base/base_module.css
View source
  1. /**
  2. * base_module
  3. *
  4. * This is almost a direct copy of Toolbar modules toolbar.module.css. There are
  5. * minor adjustments and additions such as the line-height, font size and some
  6. * use of Flex over floats etc, & support for new markup elements.
  7. *
  8. * Major styles such as the layout and orientation change assumptions are not
  9. * modified, these are tied to the JS in core and difficult to move away from.
  10. */
  11. .toolbar-loading #toolbar-administration {
  12. overflow: hidden;
  13. }
  14. .toolbar-loading #toolbar-administration .toolbar-bar {
  15. opacity: 0;
  16. }
  17. #toolbar-administration {
  18. font-size: medium;
  19. line-height: 1.5;
  20. margin: 0;
  21. padding: 0;
  22. vertical-align: baseline;
  23. -webkit-box-sizing: border-box;
  24. box-sizing: border-box;
  25. }
  26. #toolbar-administration * {
  27. -webkit-box-sizing: border-box;
  28. box-sizing: border-box;
  29. }
  30. .toolbar .toolbar-bar .home-toolbar-tab {
  31. display: none;
  32. }
  33. .path-admin .toolbar-bar .home-toolbar-tab {
  34. display: block;
  35. }
  36. @media print {
  37. #toolbar-administration {
  38. display: none;
  39. }
  40. }
  41. .toolbar li {
  42. list-style: none none;
  43. }
  44. .toolbar .item-list {
  45. list-style: none none;
  46. }
  47. .toolbar .item-list li {
  48. list-style: none none;
  49. }
  50. .toolbar .menu-item,
  51. .toolbar .menu-item--expanded {
  52. list-style: none none;
  53. }
  54. .toolbar .menu-item {
  55. padding-top: 0;
  56. }
  57. .toolbar .toolbar-bar .toolbar-tab,
  58. .toolbar .menu-item {
  59. display: block;
  60. }
  61. .toolbar .toolbar-bar .toolbar-tab.hidden {
  62. display: none;
  63. }
  64. .toolbar .toolbar-bar,
  65. .toolbar .toolbar-tray {
  66. position: relative;
  67. z-index: 1250;
  68. }
  69. .toolbar .toolbar-tab__items-wrapper {
  70. display: -webkit-box;
  71. display: -ms-flexbox;
  72. display: flex;
  73. -webkit-box-align: center;
  74. -ms-flex-align: center;
  75. align-items: center;
  76. -webkit-box-pack: start;
  77. -ms-flex-pack: start;
  78. justify-content: flex-start;
  79. z-index: 1500;
  80. position: relative;
  81. }
  82. .toolbar .home-toolbar-tab div {
  83. display: none;
  84. }
  85. .toolbar .toolbar-icon-admin-toolbar-tools-help {
  86. text-indent: 0;
  87. }
  88. .toolbar .toolbar-bar .contextual-toolbar-tab {
  89. float: none !important;
  90. position: absolute;
  91. right: 0;
  92. top: 0;
  93. padding: 0 0.25em 0;
  94. }
  95. [dir="rtl"] .toolbar .toolbar-bar .contextual-toolbar-tab {
  96. right: auto;
  97. left: 0;
  98. padding-left: 0;
  99. padding-right: 0.35em;
  100. }
  101. .toolbar .toolbar-bar .contextual-toolbar-tab button {
  102. outline: none !important;
  103. color: inherit;
  104. height: auto;
  105. font-size: inherit;
  106. }
  107. body.toolbar-fixed .toolbar-oriented {
  108. position: absolute;
  109. left: 0;
  110. right: 0;
  111. top: 0;
  112. width: 100%;
  113. }
  114. .toolbar-oriented .toolbar-bar,
  115. .toolbar-oriented .toolbar-tray {
  116. left: 0;
  117. position: absolute;
  118. right: 0;
  119. }
  120. .toolbar-oriented .toolbar-bar {
  121. z-index: 502;
  122. }
  123. body.toolbar-fixed .toolbar-oriented .toolbar-bar {
  124. position: fixed;
  125. }
  126. body.toolbar-tray-open.toolbar-fixed.toolbar-vertical .toolbar-oriented {
  127. bottom: 0;
  128. width: 15rem;
  129. }
  130. .toolbar .toolbar-bar,
  131. .toolbar .toolbar-tray-horizontal ul {
  132. display: -webkit-box;
  133. display: -ms-flexbox;
  134. display: flex;
  135. }
  136. #toolbar-administration .no-tabs .toolbar-tray-horizontal {
  137. left: 2.5em;
  138. top: 0;
  139. border-top: 0;
  140. -webkit-box-shadow: none;
  141. box-shadow: none;
  142. margin-top: 0 !important;
  143. }
  144. @media (min-width: 16.5em) {
  145. .toolbar .toolbar-bar,
  146. .toolbar .toolbar-tray-horizontal ul {
  147. display: -webkit-box;
  148. display: -ms-flexbox;
  149. display: flex;
  150. }
  151. }
  152. .toolbar-oriented .toolbar-bar,
  153. .toolbar-oriented .toolbar-tray-horizontal {
  154. display: -webkit-box;
  155. display: -ms-flexbox;
  156. display: flex;
  157. }
  158. .toolbar .toolbar-tray {
  159. z-index: 501;
  160. display: none;
  161. }
  162. .toolbar-oriented .toolbar-tray-vertical {
  163. left: -100%;
  164. position: absolute;
  165. width: 15rem;
  166. }
  167. [dir="rtl"] .toolbar-oriented .toolbar-tray-vertical {
  168. left: auto;
  169. right: -100%;
  170. }
  171. .toolbar .toolbar-tray-vertical > .toolbar-lining {
  172. min-height: 100%;
  173. }
  174. .toolbar .toolbar-tray-vertical > .toolbar-lining:before {
  175. width: 100%;
  176. }
  177. .toolbar-oriented .toolbar-tray-vertical > .toolbar-lining:before {
  178. bottom: 0;
  179. content: '';
  180. display: block;
  181. left: 0;
  182. position: fixed;
  183. top: 0;
  184. width: 14rem;
  185. z-index: -1;
  186. }
  187. [dir="rtl"] .toolbar-oriented .toolbar-tray-vertical > .toolbar-lining:before {
  188. left: auto;
  189. right: 0;
  190. }
  191. .toolbar .toolbar-bar .toolbar-tab > .toolbar-icon {
  192. position: relative;
  193. z-index: 502;
  194. }
  195. .toolbar-oriented .toolbar-tray-horizontal .menu-item ul {
  196. display: none;
  197. }
  198. body.toolbar-fixed .toolbar .toolbar-tray-horizontal {
  199. position: fixed;
  200. }
  201. .toolbar .toolbar-tray-vertical.is-active,
  202. body.toolbar-fixed .toolbar .toolbar-tray-vertical {
  203. height: 100%;
  204. overflow-x: hidden;
  205. overflow-y: auto;
  206. position: fixed;
  207. }
  208. .toolbar .toolbar-tray.is-active {
  209. display: block;
  210. }
  211. .toolbar-oriented .toolbar-tray-vertical.is-active {
  212. left: 0;
  213. }
  214. [dir="rtl"] .toolbar-oriented .toolbar-tray-vertical.is-active {
  215. left: auto;
  216. right: 0;
  217. }
  218. body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
  219. margin-left: 15rem;
  220. }
  221. [dir="rtl"] body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
  222. margin-left: auto;
  223. margin-right: 15rem;
  224. }
  225. @media print {
  226. body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
  227. margin-left: 0;
  228. }
  229. [dir="rtl"] body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
  230. margin-right: 0;
  231. }
  232. }
  233. .toolbar .toolbar-tray .toolbar-toggle-orientation {
  234. display: none;
  235. }
  236. .toolbar-oriented .toolbar-tray .toolbar-toggle-orientation {
  237. display: block;
  238. }
  239. .toolbar-oriented .toolbar-tray-horizontal .toolbar-toggle-orientation {
  240. bottom: 0;
  241. position: absolute;
  242. right: 0;
  243. top: auto;
  244. }
  245. [dir="rtl"] .toolbar-oriented .toolbar-tray-horizontal .toolbar-toggle-orientation {
  246. left: 0;
  247. right: auto;
  248. }
  249. /*# sourceMappingURL=base_module.css.map */