toolbar.theme.css

toolbar.theme.css

File

drupal/core/modules/toolbar/css/toolbar.theme.css
View source
  1. /**
  2. * @file toolbar.theme.css
  3. */
  4. .toolbar {
  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: 0.8125rem;
  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. .toolbar a {
  18. cursor: pointer;
  19. padding: 1em 1.3333em;
  20. text-decoration: none;
  21. }
  22. .toolbar a:hover {
  23. text-decoration: underline;
  24. }
  25. /**
  26. * Toolbar bar.
  27. */
  28. .toolbar .bar {
  29. background-color: #0f0f0f;
  30. box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.3333);
  31. color: #dddddd;
  32. }
  33. .toolbar .bar a:hover {
  34. background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.125) 20%, transparent 200%);
  35. background-image: linear-gradient(rgba(255, 255, 255, 0.125) 20%, transparent 200%);
  36. text-decoration: none;
  37. }
  38. .toolbar .bar a.active {
  39. background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%);
  40. background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%);
  41. }
  42. .toolbar .bar a {
  43. color: #ffffff;
  44. font-weight: bold;
  45. }
  46. /**
  47. * Toolbar tray.
  48. */
  49. .toolbar .tray > .lining {
  50. background-color: #ffffff;
  51. }
  52. .toolbar .horizontal > .lining {
  53. padding-right: 5em; /* LTR */
  54. }
  55. .toolbar .vertical > .lining,
  56. .toolbar .vertical > .lining:before {
  57. background-color: #ffffff;
  58. border-right: 1px solid #aaaaaa; /* LTR */
  59. }
  60. .toolbar .vertical > .lining:before {
  61. box-shadow: -1px 0 5px 2px rgba(0, 0, 0, 0.3333); /* LTR */
  62. }
  63. .toolbar .horizontal {
  64. border-bottom: 1px solid #aaaaaa;
  65. box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.3333);
  66. }
  67. .toolbar .horizontal .tray {
  68. background-color: #f5f5f5;
  69. }
  70. .toolbar .tray a {
  71. color: #707070;
  72. }
  73. .toolbar .tray a:hover,
  74. .toolbar .tray a:active,
  75. .toolbar .tray a.active {
  76. color: #000;
  77. }
  78. .toolbar .horizontal .menu {
  79. background-color: #ffffff;
  80. }
  81. .toolbar .horizontal .menu li + li {
  82. border-left: 1px solid #dddddd; /* LTR */
  83. }
  84. .toolbar .horizontal .menu li:last-child {
  85. border-right: 1px solid #dddddd; /* LTR */
  86. }
  87. .toolbar .vertical .menu li + li {
  88. border-top: 1px solid #dddddd;
  89. }
  90. .toolbar .vertical .menu li:last-child {
  91. border-bottom: 1px solid #dddddd;
  92. }
  93. .toolbar .vertical .menu .menu li {
  94. border: 0 none;
  95. }
  96. .toolbar .vertical .menu ul ul {
  97. border-bottom: 1px solid #dddddd;
  98. border-top: 1px solid #dddddd;
  99. }
  100. .toolbar .vertical .menu li:last-child > ul {
  101. border-bottom: 0;
  102. }
  103. .toolbar .vertical .menu .menu .menu {
  104. margin-left: 1.3333em; /* LTR */
  105. }
  106. .toolbar .vertical .menu .menu .menu .menu {
  107. margin-left: 0.25em; /* LTR */
  108. }
  109. .toolbar .menu .menu a {
  110. color: #434343;
  111. }
  112. .toolbar .vertical .menu .menu .menu a {
  113. padding-left: 0.6667em; /* LTR */
  114. }
  115. /**
  116. * Orientation toggle.
  117. */
  118. .toolbar .toggle-orientation {
  119. background-color: #f5f5f5;
  120. padding: 0.6667em;
  121. }
  122. .toolbar .horizontal .toggle-orientation {
  123. border-left: 1px solid #c9c9c9; /* LTR */
  124. }
  125. .toolbar .toggle-orientation > .lining {
  126. float: right; /* LTR */
  127. padding: 0.1667em;
  128. }
  129. .toolbar .toggle-orientation button {
  130. cursor: pointer;
  131. display: inline-block;
  132. height: 16px;
  133. padding: 0;
  134. text-indent: -999em;
  135. width: 20px;
  136. }
  137. .toolbar .toggle-orientation button:before {
  138. left: 0; /* LTR */
  139. }
  140. .toolbar .toggle-orientation [value="vertical"]:before {
  141. background-image: url('../images/icon-toggle-vertical.png'); /* LTR */
  142. }
  143. .toolbar .toggle-orientation [value="horizontal"]:before {
  144. background-image: url('../images/icon-toggle-horizontal.png');
  145. }