Drupal investigation

toolbar.theme.css 4.6KB

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