summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/menu_button.css
blob: d495624f0a866a4dba11cd9533a23a63aeed1de2 (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
/* 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 button + ul {
  visibility: hidden;
  position: absolute;
  top: 22px;
  left: 1px;
}

.menu-button button.active + ul {
  visibility: visible;
}

.menu-button button.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 button .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: 1;
}

.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;
}