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