-
Notifications
You must be signed in to change notification settings - Fork 8
/
menu_button.css
100 lines (84 loc) · 1.86 KB
/
menu_button.css
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
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
.menu-button {
position: relative;
}
.menu-button-activator + ul {
display: none;
position: absolute;
line-height: normal;
text-align: __MSG_@@bidi_start_edge__;
}
.menu-button-activator + ul:not(.right-align) {
left: 1px;
}
.menu-button-activator + ul.right-align {
right: 1px;
}
.menu-button-activator.active + ul {
display: block;
}
button.menu-button-activator.active {
background-color: #EEE;
background-image: -webkit-gradient(linear, left top, left bottom,
from(#EEE), to(#E0E0E0));
box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
border: 1px solid #CCC;
color: #333;
}
.menu-button-activator .kd-disclosureindicator {
vertical-align: middle;
margin-left: 7px;
opacity: .8;
}
.menu-button ul {
padding: 0;
margin: 0;
list-style-type: none;
background: white;
outline: 1px solid rgba(0, 0, 0, 0.2);
padding: 0 0 6px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
z-index: 2;
}
.menu-button li {
padding: 6px 44px 6px 30px;
white-space: nowrap;
}
.menu-button li:hover {
background-color: #EEE;
}
.menu-button li.menu-separator {
border-top: 1px solid #EBEBEB;
margin-top: 9px;
margin-bottom: 10px;
padding: 0;
}
.menu-button li.selected {
background-image: url(tick.webp);
background-position: left center;
background-repeat: no-repeat;
}
.help-icon {
vertical-align: -4px;
border: 1px solid transparent;
opacity: 0.35;
-webkit-transition: opacity 0.218s;
}
.help-icon:hover, .help-icon.active {
opacity: 0.5;
}
#help-feedback-toolbar {
margin-left: 8px;
margin-top: 4px;
}
.menu-button-click-trap {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}