Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: chrome/browser/resources/keyboard_overlay.css

Issue 4226001: Implement DOM UI version of keyboard overlay. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/dom_ui/dom_ui_factory.cc ('k') | chrome/browser/resources/keyboard_overlay.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 body {
2 background: #fff;
3 margin: 0;
4 padding: 0;
5 overflow: hidden;
6 }
7
8 .keyboard-overlay-keyboard {
9 -webkit-border-radius: 6px;
10 background: -webkit-gradient(linear, left top, left bottom,
11 from(#484848), to(#252525)) no-repeat;
12 font-family: 'Droid Sans', Arial;
13 }
14
15 .keyboard-overlay-instructions {
16 -webkit-border-radius: 5px;
17 background: -webkit-gradient(linear, left top, left bottom,
18 from(#334c7e), to(#0d172b));
19 border: 2px solid #576ccf;
20 color: #fff;
21 display: table;
22 position: absolute;
23 vertical-align: middle;
24 z-index: 100;
25 }
26
27 .keyboard-overlay-instructions-text {
28 display: table-cell;
29 font-weight: bold;
30 text-align: center;
31 vertical-align: middle;
32 }
33
34 .keyboard-overlay-key {
35 -webkit-border-radius: 4px;
36 -webkit-box-orient: vertical;
37 background-color: rgba(24, 24, 24, 0.9);
38 border: 2px solid #7f7f7f;
39 color: #979796;
40 display: -webkit-box;
41 font-size: 75%;
42 font-weight: bold;
43 position: absolute;
44 }
45
46 .keyboard-overlay-key.is-shortcut {
47 background: -webkit-gradient(linear, left top, left bottom,
48 from(rgba(61, 61, 61, 0.8)),
49 to(rgba(27, 27, 27, 0.8)));
50 color: #9e9e9e;
51 }
52
53 .keyboard-overlay-key.is-shortcut.modifier-shift {
54 border-color: #61ba64;
55 }
56
57 .keyboard-overlay-key.is-shortcut.modifier-ctrl {
58 border-color: #5d80c7;
59 }
60
61 .keyboard-overlay-key.is-shortcut.modifier-alt {
62 border-color: #b85454;
63 }
64
65 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl {
66 border-color: #79ac8f;
67 }
68
69 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-alt {
70 border-color: #bfbd79;
71 }
72
73 .keyboard-overlay-key.is-shortcut.modifier-ctrl.modifier-alt {
74 border-color: #9e54ce;
75 }
76
77 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl.modifier-alt {
78 border-color: #7f7f7f;
79 }
80
81 .keyboard-overlay-key.pressed {
82 border-color: #fff;
83 color: #fff;
84 font-size: 85%;
85 }
86
87 .keyboard-overlay-key.pressed.is-shift {
88 background: -webkit-gradient(linear, left top, left bottom,
89 from(#44a142), to(#3e5f37));
90 }
91
92 .keyboard-overlay-key.pressed.is-shift.modifier-ctrl {
93 background: -webkit-gradient(linear, left top, left bottom,
94 from(#42a143), to(#2e5c53));
95 }
96
97 .keyboard-overlay-key.pressed.is-shift.modifier-alt {
98 background: -webkit-gradient(linear, left top, right bottom,
99 from(#45a343), to(#515134));
100 }
101
102 .keyboard-overlay-key.pressed.is-shift.modifier-ctrl.modifier-alt {
103 background: -webkit-gradient(linear, left top, right bottom,
104 from(#52a12a), to(#4f4d2e));
105 }
106
107 .keyboard-overlay-key.pressed.is-ctrl {
108 background: -webkit-gradient(linear, left top, left bottom,
109 from(#1f37a2), to(#19265a));
110 }
111
112 .keyboard-overlay-key.pressed.is-ctrl.modifier-shift {
113 background: -webkit-gradient(linear, left top, left bottom,
114 from(#439fa5), to(#1e3760));
115 }
116
117 .keyboard-overlay-key.pressed.is-ctrl.modifier-alt {
118 background: -webkit-gradient(linear, left top, left bottom,
119 from(#733690), to(#22255e));
120 }
121
122 .keyboard-overlay-key.pressed.is-ctrl.modifier-shift.modifier-alt {
123 background: -webkit-gradient(linear, left top, left bottom,
124 from(#733690), to(#21255d));
125 }
126
127 .keyboard-overlay-key.pressed.is-alt {
128 background: -webkit-gradient(linear, left top, left bottom,
129 from(#842c2a), to(#541e1c));
130 }
131
132 .keyboard-overlay-key.pressed.is-alt.modifier-shift {
133 background: -webkit-gradient(linear, left top, right bottom,
134 from(#745e31), to(#55241e));
135 }
136
137 .keyboard-overlay-key.pressed.is-alt.modifier-ctrl {
138 background: -webkit-gradient(linear, left top, left bottom,
139 from(#76368f), to(#522128));
140 }
141
142 .keyboard-overlay-key.pressed.is-alt.modifier-shift.modifier-ctrl {
143 background: -webkit-gradient(linear, left top, right bottom,
144 from(#735f29), to(#50241b));
145 }
146
147 .keyboard-overlay-shortcut-text {
148 -webkit-box-flex: 1;
149 -webkit-box-ordinal-group: 1;
150 color: #fff;
151 text-align: center;
152 }
153
154 .keyboard-overlay-key-text {
155 -webkit-box-ordinal-group: 2;
156 padding-bottom: 1px;
157 text-align: center;
158 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/dom_ui_factory.cc ('k') | chrome/browser/resources/keyboard_overlay.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698