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

Side by Side Diff: chrome/browser/resources/hotword_audio_verification/style.css

Issue 695703002: Hotword Audio Verification App: UI Polishes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « chrome/browser/resources/hotword_audio_verification/steps/hotword_audio_history_step.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 * { 5 * {
6 box-sizing: border-box; 6 box-sizing: border-box;
7 color: rgba(0, 0, 0, .87); 7 color: rgba(0, 0, 0, .87);
8 font-family: Helvetica, sans-serif; 8 font-family: Helvetica, sans-serif;
9 font-size: 14px; 9 font-size: 14px;
10 margin: 0; 10 margin: 0;
(...skipping 25 matching lines...) Expand all
36 } 36 }
37 37
38 div.container { 38 div.container {
39 background: #fff; 39 background: #fff;
40 box-shadow: 0 0 30px rgba(0, 0, 0, 0.3); 40 box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
41 height: 600px; 41 height: 600px;
42 width: 800px; 42 width: 800px;
43 } 43 }
44 44
45 div.header { 45 div.header {
46 background: url(../images/header-optin-1x.png) no-repeat; 46 background: -webkit-image-set(
47 url('../images/header-optin-1x.png') 1x,
Dan Beam 2014/10/31 23:31:20 nit: remove quotes (like it was before)
kcarattini 2014/11/03 00:06:18 Done.
48 url('../images/header-optin-2x.png') 2x)
49 no-repeat;
47 height: 240px; 50 height: 240px;
48 vertical-align: bottom; 51 vertical-align: bottom;
49 } 52 }
50 53
51 div.header-text { 54 div.header-text {
52 height: 240px; 55 height: 240px;
53 padding: 60px; 56 padding: 60px;
54 } 57 }
55 58
56 div.header-text h1 { 59 div.header-text h1 {
57 color: #fff; 60 color: #fff;
58 margin-top: 44px; 61 margin-top: 44px;
59 } 62 }
60 63
61 div.header-text h2 { 64 div.header-text h2 {
62 color: #fff; 65 color: #fff;
63 margin-top: 20px; 66 margin-top: 20px;
64 } 67 }
65 68
66 div.content { 69 div.content {
67 height: 240px; 70 height: 240px;
68 margin: 60px 60px auto 60px; 71 margin: 60px 60px auto 60px;
69 } 72 }
70 73
71 .close { 74 .close {
72 background: url(../images/bt-close-1x.png); 75 background: -webkit-image-set(
76 url('../images/bt-close-1x.png') 1x,
77 url('../images/bt-close-2x.png') 2x);
73 float: right; 78 float: right;
74 height: 60px; 79 height: 60px;
75 width: 60px; 80 width: 60px;
76 } 81 }
77 82
78 83
79 .buttonbar button.grayed-out { 84 .buttonbar button.grayed-out {
80 color: rgba(0, 0, 0, .28); 85 color: rgba(0, 0, 0, .28);
81 text-transform: none; 86 text-transform: none;
82 } 87 }
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 color: rgb(213, 0, 0); 186 color: rgb(213, 0, 0);
182 } 187 }
183 188
184 @-webkit-keyframes rotate { 189 @-webkit-keyframes rotate {
185 from { -webkit-transform: rotate(0); } 190 from { -webkit-transform: rotate(0); }
186 to { -webkit-transform: rotate(359deg); } 191 to { -webkit-transform: rotate(359deg); }
187 } 192 }
188 193
189 .train.listening .icon { 194 .train.listening .icon {
190 -webkit-animation: rotate 2s linear infinite; 195 -webkit-animation: rotate 2s linear infinite;
191 background: url(../images/placeholder-loader-1x.png) no-repeat; 196 background: -webkit-image-set(
197 url('../images/placeholder-loader-1x.png') 1x,
198 url('../images/placeholder-loader-2x.png') 2x)
199 no-repeat;
192 } 200 }
193 201
194 .train.not-started .icon { 202 .train.not-started .icon {
195 background: url(../images/ic-check-gray-1x.png) no-repeat; 203 background: -webkit-image-set(
204 url('../images/ic-check-gray-1x.png') 1x,
205 url('../images/ic-check-gray-2x.png') 2x)
206 no-repeat;
196 } 207 }
197 208
198 .train.recorded .icon { 209 .train.recorded .icon {
199 background: url(../images/ic-check-blue-1x.png) no-repeat; 210 background: -webkit-image-set(
211 url('../images/ic-check-blue-1x.png') 1x,
212 url('../images/ic-check-blue-2x.png') 2x)
213 no-repeat;
200 } 214 }
201 215
202 .train.error .icon { 216 .train.error .icon {
203 background: url(../images/placeholder-loader-error-1x.png) no-repeat; 217 background: -webkit-image-set(
218 url('../images/ic-error-1x.png') 1x,
219 url('../images/ic-error-2x.png') 2x)
220 no-repeat;
204 } 221 }
205 222
206 .mic { 223 .mic {
207 background: url(../images/mic-1x.png) no-repeat; 224 background: -webkit-image-set(
225 url('../images/mic-1x.png') 1x,
226 url('../images/mic-2x.png') 2x)
227 no-repeat;
208 height: 80px; 228 height: 80px;
209 left: 666px; 229 left: 666px;
210 position: absolute; 230 position: absolute;
211 top: 200px; 231 top: 200px;
212 width: 80px; 232 width: 80px;
213 } 233 }
214 234
215 .check { 235 .check {
216 clear: both; 236 clear: both;
217 height: 24px; 237 height: 24px;
218 margin-bottom: 24px; 238 margin-bottom: 24px;
219 } 239 }
220 240
221 .check .icon { 241 .check .icon {
222 background: url(../images/ic-check-blue-1x.png) no-repeat; 242 background: -webkit-image-set(
243 url('../images/ic-check-blue-1x.png') 1x,
244 url('../images/ic-check-blue-2x.png') 2x)
245 no-repeat;
223 display: inline-block; 246 display: inline-block;
224 height: 24px; 247 height: 24px;
225 margin-right: 16px; 248 margin-right: 16px;
226 vertical-align: top; 249 vertical-align: top;
227 width: 24px; 250 width: 24px;
228 } 251 }
229 252
230 .check .text { 253 .check .text {
231 color: rgba(0, 0, 0, .54); 254 color: rgba(0, 0, 0, .54);
232 display: inline-block; 255 display: inline-block;
233 height: 24px; 256 height: 24px;
234 line-height: 24px; 257 line-height: 24px;
235 vertical-align: top; 258 vertical-align: top;
236 } 259 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/hotword_audio_verification/steps/hotword_audio_history_step.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698