summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/keyboard_overlay.css
blob: 239cb4e1bef44b3833c2f1a6c6854f4c85006025 (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
body {
  background: #fff;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.keyboard-overlay-keyboard {
  border-radius: 6px;
  background: -webkit-linear-gradient(#484848, #252525) no-repeat;
  font-family: 'Droid Sans', Arial;
}

.keyboard-overlay-instructions {
  border-radius: 5px;
  background: -webkit-linear-gradient(#334c7e, #0d172b);
  border: 2px solid #576ccf;
  color: #fff;
  display: table;
  position: absolute;
  vertical-align: middle;
  z-index: 100;
}

.keyboard-overlay-instructions-text {
  display: table-cell;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.keyboard-overlay-key {
  border-radius: 4px;
  -webkit-box-orient: vertical;
  background-color: rgba(24, 24, 24, 0.9);
  border: 2px solid #7f7f7f;
  color: #979796;
  display: -webkit-box;
  font-size: 75%;
  font-weight: bold;
  position: absolute;
}

.keyboard-overlay-key.is-shortcut {
  background: -webkit-linear-gradient(rgba(61, 61, 61, 0.8),
                                      rgba(27, 27, 27, 0.8));
  color: #9e9e9e;
}

.keyboard-overlay-key.is-shortcut.modifier-shift {
  border-color: #61ba64;
}

.keyboard-overlay-key.is-shortcut.modifier-ctrl {
  border-color: #5d80c7;
}

.keyboard-overlay-key.is-shortcut.modifier-alt {
  border-color: #b85454;
}

.keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl {
  border-color: #79ac8f;
}

.keyboard-overlay-key.is-shortcut.modifier-shift.modifier-alt {
  border-color: #bfbd79;
}

.keyboard-overlay-key.is-shortcut.modifier-ctrl.modifier-alt {
  border-color: #9e54ce;
}

.keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl.modifier-alt {
  border-color: #7f7f7f;
}

.keyboard-overlay-key.pressed {
  border-color: #fff;
  color: #fff;
  font-size: 85%;
}

.keyboard-overlay-key.pressed.is-shift {
  background: -webkit-linear-gradient(#44a142, #3e5f37);
}

.keyboard-overlay-key.pressed.is-shift.modifier-ctrl {
  background: -webkit-linear-gradient(#42a143, #2e5c53);
}

.keyboard-overlay-key.pressed.is-shift.modifier-alt {
  background: -webkit-linear-gradient(#45a343, #515134);
}

.keyboard-overlay-key.pressed.is-shift.modifier-ctrl.modifier-alt {
  background: -webkit-linear-gradient(#52a12a, #4f4d2e);
}

.keyboard-overlay-key.pressed.is-ctrl {
  background: -webkit-linear-gradient(#1f37a2, #19265a);
}

.keyboard-overlay-key.pressed.is-ctrl.modifier-shift {
  background: -webkit-linear-gradient(#439fa5, #1e3760);
}

.keyboard-overlay-key.pressed.is-ctrl.modifier-alt {
  background: -webkit-linear-gradient(#733690, #22255e);
}

.keyboard-overlay-key.pressed.is-ctrl.modifier-shift.modifier-alt {
  background: -webkit-linear-gradient(#733690, #21255d);
}

.keyboard-overlay-key.pressed.is-alt {
  background: -webkit-linear-gradient(#842c2a, #541e1c);
}

.keyboard-overlay-key.pressed.is-alt.modifier-shift {
  background: -webkit-linear-gradient(top left, #745e31, #55241e);
}

.keyboard-overlay-key.pressed.is-alt.modifier-ctrl {
  background: -webkit-linear-gradient(#76368f, #522128);
}

.keyboard-overlay-key.pressed.is-alt.modifier-shift.modifier-ctrl {
  background: -webkit-linear-gradient(top left, #735f29, #50241b);
}

.keyboard-overlay-shortcut-text {
  -webkit-box-flex: 1;
  -webkit-box-ordinal-group: 1;
  color: #fff;
  text-align: center;
}

.keyboard-overlay-key-text {
  -webkit-box-ordinal-group: 2;
  padding-bottom: 1px;
  text-align: center;
}