summaryrefslogtreecommitdiffstats
path: root/core/modules/toolbar/css/toolbar.theme.css
blob: 21aed489e3bc20ff55fdefe27dc5450929656a99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
/**
 * @file toolbar.theme.css
 */
.toolbar {
  font-family: "Source Sans Pro", "Lucida Grande", Verdana, sans-serif;
  /* Set base font size to 13px based on root ems. */
  font-size: 0.8125rem;
  -moz-tap-highlight-color: rgba(0,0,0,0);
  -o-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  tap-highlight-color: rgba(0,0,0,0);
  -moz-touch-callout: none;
  -o-touch-callout: none;
  -webkit-touch-callout: none;
  touch-callout: none;
}
.toolbar .toolbar-item {
  cursor: pointer;
  padding: 1em 1.3333em;
  line-height: 1em;
  text-decoration: none;
}
.toolbar .toolbar-item:hover, .toolbar .toolbar-item:focus {
  text-decoration: underline;
}

/**
 * Toolbar bar.
 */
.toolbar .toolbar-bar {
  background-color: #0f0f0f;
  box-shadow: -1px 0 3px 1px rgba(0, 0, 0, 0.3333); /* LTR */
  color: #dddddd;
}
[dir="rtl"] .toolbar .toolbar-bar {
  box-shadow: 1px 0 3px 1px rgba(0, 0, 0, 0.3333);
}
.toolbar .toolbar-bar .toolbar-item {
  color: #ffffff;
}
.toolbar .toolbar-bar .toolbar-tab > .toolbar-item {
  font-weight: bold;
}
.toolbar .toolbar-bar .toolbar-tab > .toolbar-item:hover,
.toolbar .toolbar-bar .toolbar-tab > .toolbar-item:focus {
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.125) 20%, transparent 200%);
  background-image: linear-gradient(rgba(255, 255, 255, 0.125) 20%, transparent 200%);
  text-decoration: none;
}
.toolbar .toolbar-bar .toolbar-tab > .toolbar-item.is-active {
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%);
  background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%);
}

/**
 * Toolbar tray.
 */
.toolbar .toolbar-tray {
  background-color: #ffffff;
}
.toolbar .toolbar-tray-horizontal > .toolbar-lining {
  padding-right: 5em; /* LTR */
}
[dir="rtl"] .toolbar .toolbar-tray-horizontal > .toolbar-lining {
  padding-right: 0;
  padding-left: 5em;
}
.toolbar .toolbar-tray-vertical {
  background-color: #f5f5f5;
  border-right: 1px solid #aaaaaa; /* LTR */
  box-shadow: -1px 0 5px 2px rgba(0, 0, 0, 0.3333); /* LTR */
}
[dir="rtl"] .toolbar .toolbar-tray-vertical {
  border-left: 1px solid #aaaaaa;
  border-right: 0 none;
  box-shadow: 1px 0 5px 2px rgba(0, 0, 0, 0.3333);
}
.toolbar .toolbar-tray-horizontal {
  border-bottom: 1px solid #aaaaaa;
  box-shadow: -2px 1px 3px 1px rgba(0, 0, 0, 0.3333); /* LTR */
}
[dir="rtl"] .toolbar .toolbar-tray-horizontal {
  box-shadow: 2px 1px 3px 1px rgba(0, 0, 0, 0.3333);
}
.toolbar .toolbar-tray-horizontal .toolbar-tray {
  background-color: #f5f5f5;
}
.toolbar-tray a {
  color: #565656;
  cursor: pointer;
  padding: 1em 1.3333em;
  text-decoration: none;
}
.toolbar-tray a:hover,
.toolbar-tray a:active,
.toolbar-tray a:focus,
.toolbar-tray a.is-active
 {
  color: #000;
  text-decoration: underline;
}
.toolbar .menu {
  background-color: #ffffff;
}
.toolbar .toolbar-tray-horizontal .menu-item + .menu-item {
  border-left: 1px solid #dddddd; /* LTR */
}
[dir="rtl"] .toolbar .toolbar-tray-horizontal .menu-item + .menu-item {
  border-left: 0 none ;
  border-right: 1px solid #dddddd;
}
.toolbar .toolbar-tray-horizontal .menu-item:last-child {
  border-right: 1px solid #dddddd; /* LTR */
}
[dir="rtl"] .toolbar .toolbar-tray-horizontal .menu-item:last-child {
  border-left: 1px solid #dddddd;
}
.toolbar .toolbar-tray-vertical .menu-item + .menu-item {
  border-top: 1px solid #dddddd;
}
.toolbar .toolbar-tray-vertical .menu-item:last-child {
  border-bottom: 1px solid #dddddd;
}
.toolbar .toolbar-tray-vertical .menu-item .menu-item {
  border: 0 none;
}
.toolbar .toolbar-tray-vertical .menu ul ul {
  border-bottom: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
}
.toolbar .toolbar-tray-vertical .menu-item:last-child > ul {
  border-bottom: 0;
}
.toolbar .toolbar-tray-vertical .menu .menu .menu .menu {
  margin-left: 0.25em; /* LTR */
}
[dir="rtl"] .toolbar .toolbar-tray-vertical .menu .menu .menu .menu {
  margin-left: 0;
  margin-right: 0.25em;
}
.toolbar .menu .menu a {
  color: #434343;
}

/**
 * Orientation toggle.
 */
.toolbar .toolbar-toggle-orientation {
  background-color: #f5f5f5;
  padding: 0.6667em;
}
.toolbar .toolbar-tray-horizontal .toolbar-toggle-orientation {
  border-left: 1px solid #c9c9c9; /* LTR */
}
[dir="rtl"] .toolbar .toolbar-tray-horizontal .toolbar-toggle-orientation {
  border-left: 0 none;
  border-right: 1px solid #c9c9c9;
}
.toolbar .toolbar-toggle-orientation > .toolbar-lining {
  float: right; /* LTR */
  padding: 0.1667em;
}
[dir="rtl"] .toolbar .toolbar-toggle-orientation > .toolbar-lining {
  float: left;
}
.toolbar .toolbar-toggle-orientation button {
  cursor: pointer;
  display: inline-block;
}