You are here

toolbar.theme.css in Drupal 10

toolbar.theme.css

If Claro is the admin theme, this stylesheet will be used by the active theme even if the active theme is not Claro.

File

core/themes/claro/css/theme/toolbar.theme.css
View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file toolbar.theme.css
  9. *
  10. * If Claro is the admin theme, this stylesheet will be used by the active theme
  11. * even if the active theme is not Claro.
  12. */
  13. .toolbar {
  14. font-family: "Source Sans Pro", "Lucida Grande", Verdana, sans-serif;
  15. /* Set base font size to 13px based on root ems. */
  16. font-size: 0.8125rem;
  17. -moz-tap-highlight-color: rgba(0, 0, 0, 0);
  18. -o-tap-highlight-color: rgba(0, 0, 0, 0);
  19. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  20. tap-highlight-color: rgba(0, 0, 0, 0);
  21. -moz-touch-callout: none;
  22. -o-touch-callout: none;
  23. -webkit-touch-callout: none;
  24. touch-callout: none;
  25. }
  26. .toolbar .toolbar-item {
  27. padding: 1em 1.3333em;
  28. cursor: pointer;
  29. text-decoration: none;
  30. line-height: 1em;
  31. }
  32. .toolbar .toolbar-item:hover,
  33. .toolbar .toolbar-item:focus {
  34. text-decoration: underline;
  35. }
  36. /**
  37. * Toolbar bar.
  38. */
  39. .toolbar .toolbar-bar {
  40. color: #ddd;
  41. background-color: #0f0f0f;
  42. box-shadow: -1px 0 3px 1px rgba(0, 0, 0, 0.3333); /* LTR */
  43. }
  44. [dir="rtl"] .toolbar .toolbar-bar {
  45. box-shadow: 1px 0 3px 1px rgba(0, 0, 0, 0.3333);
  46. }
  47. .toolbar .toolbar-bar .toolbar-item {
  48. color: #fff;
  49. }
  50. .toolbar .toolbar-bar .toolbar-tab > .toolbar-item {
  51. font-weight: bold;
  52. }
  53. .toolbar .toolbar-bar .toolbar-tab > .toolbar-item:hover,
  54. .toolbar .toolbar-bar .toolbar-tab > .toolbar-item:focus {
  55. background-image: linear-gradient(rgba(255, 255, 255, 0.125) 20%, transparent 200%);
  56. }
  57. .toolbar .toolbar-bar .toolbar-tab > .toolbar-item.is-active {
  58. background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%);
  59. }
  60. /**
  61. * Toolbar tray.
  62. */
  63. .toolbar .toolbar-tray {
  64. background-color: #fff;
  65. }
  66. .toolbar-horizontal .toolbar-tray > .toolbar-lining {
  67. padding-right: 5em; /* LTR */
  68. }
  69. [dir="rtl"] .toolbar-horizontal .toolbar-tray > .toolbar-lining {
  70. padding-right: 0;
  71. padding-left: 5em;
  72. }
  73. .toolbar .toolbar-tray-vertical {
  74. border-right: 1px solid #aaa; /* LTR */
  75. background-color: #f5f5f5;
  76. box-shadow: -1px 0 5px 2px rgba(0, 0, 0, 0.3333); /* LTR */
  77. }
  78. [dir="rtl"] .toolbar .toolbar-tray-vertical {
  79. border-right: 0 none;
  80. border-left: 1px solid #aaa;
  81. box-shadow: 1px 0 5px 2px rgba(0, 0, 0, 0.3333);
  82. }
  83. .toolbar-horizontal .toolbar-tray {
  84. border-bottom: 1px solid #aaa;
  85. box-shadow: -2px 1px 3px 1px rgba(0, 0, 0, 0.3333); /* LTR */
  86. }
  87. [dir="rtl"] .toolbar-horizontal .toolbar-tray {
  88. box-shadow: 2px 1px 3px 1px rgba(0, 0, 0, 0.3333);
  89. }
  90. .toolbar .toolbar-tray-horizontal .toolbar-tray {
  91. background-color: #f5f5f5;
  92. }
  93. .toolbar-tray a {
  94. padding: 1em 1.3333em;
  95. cursor: pointer;
  96. text-decoration: none;
  97. color: #565656;
  98. }
  99. .toolbar-tray a:hover,
  100. .toolbar-tray a:active,
  101. .toolbar-tray a:focus,
  102. .toolbar-tray a.is-active {
  103. text-decoration: underline;
  104. color: #000;
  105. }
  106. .toolbar .toolbar-menu {
  107. background-color: #fff;
  108. }
  109. .toolbar-horizontal .toolbar-tray .menu-item + .menu-item {
  110. border-left: 1px solid #ddd; /* LTR */
  111. }
  112. [dir="rtl"] .toolbar-horizontal .toolbar-tray .menu-item + .menu-item {
  113. border-right: 1px solid #ddd;
  114. border-left: 0 none;
  115. }
  116. .toolbar-horizontal .toolbar-tray .menu-item:last-child {
  117. border-right: 1px solid #ddd; /* LTR */
  118. }
  119. [dir="rtl"] .toolbar-horizontal .toolbar-tray .menu-item:last-child {
  120. border-left: 1px solid #ddd;
  121. }
  122. .toolbar .toolbar-tray-vertical .menu-item + .menu-item {
  123. border-top: 1px solid #ddd;
  124. }
  125. .toolbar .toolbar-tray-vertical .menu-item:last-child {
  126. border-bottom: 1px solid #ddd;
  127. }
  128. .toolbar .toolbar-tray-vertical .menu-item .menu-item {
  129. border: 0 none;
  130. }
  131. .toolbar .toolbar-tray-vertical .toolbar-menu ul ul {
  132. border-top: 1px solid #ddd;
  133. border-bottom: 1px solid #ddd;
  134. }
  135. .toolbar .toolbar-tray-vertical .menu-item:last-child > ul {
  136. border-bottom: 0;
  137. }
  138. .toolbar .toolbar-tray-vertical .toolbar-menu .toolbar-menu .toolbar-menu .toolbar-menu {
  139. margin-left: 0.25em; /* LTR */
  140. }
  141. [dir="rtl"] .toolbar .toolbar-tray-vertical .toolbar-menu .toolbar-menu .toolbar-menu .toolbar-menu {
  142. margin-right: 0.25em;
  143. margin-left: 0;
  144. }
  145. .toolbar .toolbar-menu .toolbar-menu a {
  146. color: #434343;
  147. }
  148. /**
  149. * Orientation toggle.
  150. */
  151. .toolbar .toolbar-toggle-orientation {
  152. height: 100%;
  153. padding: 0;
  154. background-color: #f5f5f5;
  155. }
  156. .toolbar-horizontal .toolbar-tray .toolbar-toggle-orientation {
  157. border-left: 1px solid #c9c9c9; /* LTR */
  158. }
  159. [dir="rtl"] .toolbar-horizontal .toolbar-tray .toolbar-toggle-orientation {
  160. border-right: 1px solid #c9c9c9;
  161. border-left: 0 none;
  162. }
  163. .toolbar .toolbar-toggle-orientation > .toolbar-lining {
  164. float: right; /* LTR */
  165. }
  166. [dir="rtl"] .toolbar .toolbar-toggle-orientation > .toolbar-lining {
  167. float: left;
  168. }
  169. .toolbar .toolbar-toggle-orientation button {
  170. display: inline-block;
  171. cursor: pointer;
  172. }