summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/menu.css
blob: 16ade9f63a52a5ea43ce7a542ac62fac24dc40b2 (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
body {
  background: -webkit-linear-gradient(white, #EEE);
  cursor: default;
  margin: 0;
  -webkit-user-select: none;
  overflow: hidden;
}

.menu-item {
  white-space: nowrap;
  margin: 0;
  padding-top: 1px;
  padding-bottom: 1px;
  background-repeat: no-repeat;
  -webkit-padding-end: 19px;
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  overflow: hidden;
}

.disabled {
  color: #b7b7b7;
}

.no-icon {
  -webkit-padding-start: 19px;
}

.menu-label {
  -webkit-box-flex: 1;
  vertical-align: middle;
}

.accelerator {
  opacity: 0.3;
  -webkit-margin-start: 15px;
}

.left-icon {
  background-position: 4px center;
}

.right-icon {
  background-position: right center;
}

.separator {
  background: -webkit-linear-gradient(left,
                                      rgba(0, 0, 0, .10),
                                      rgba(0, 0, 0, .02) 96%);
  border: 0;
  height: 1px;
  margin: 4px 0;
}

.mnemonic-enabled .mnemonic {
  text-decoration: underline;
}

.selected {
  background-color: #DCE5FA;
}

#viewport {
  overflow: hidden;
}

.scroll-button {
  height: 20px;
  width: 100%;
  line-height: 20px;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center center;
}

#scroll-up {
  /* TODO(oshima): get right icons from UX designer */
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAADCAYAAACwAX77AAAAI0lEQVQImWNgQIA4BgaGuQxoII6BgeEvAwPDf2RJZEEYngsA2N8I6FqZBpwAAAAASUVORK5CYII=");
}

#scroll-down {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAADCAYAAACwAX77AAAAIklEQVQImWNgYGCIY2Bg+MfAwPAfCc9jgAJkSbggsiRcEACghQjtUFgYGwAAAABJRU5ErkJggg==");
}

.scroll-button:hover {
  background-color: #DCE5FA;
}

.hidden {
  display: none;
}