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

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

Issue 8283014: Sync: Update look of sign in box (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 9 years, 2 months 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
OLDNEW
1 /* TODO(jhawkins): Organize these by page. */ 1 /* TODO(jhawkins): Organize these by page. */
2 2
3 #sync-setup-overlay * h4 { 3 #sync-setup-overlay * h4 {
4 margin: 5px 0; 4 margin: 5px 0;
5 } 5 }
6 6
7 #sync-setup-overlay * form { 7 #sync-setup-overlay * form {
8 -webkit-user-select: none; 8 -webkit-user-select: none;
9 } 9 }
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 text-align: left; 81 text-align: left;
82 width: 100%; 82 width: 100%;
83 } 83 }
84 84
85 #sync-setup-overlay * input[type='button'], 85 #sync-setup-overlay * input[type='button'],
86 #sync-setup-overlay * input[type='submit'] { 86 #sync-setup-overlay * input[type='submit'] {
87 min-height: 26px; 87 min-height: 26px;
88 min-width: 87px; 88 min-width: 87px;
89 } 89 }
90 90
91 .end-aligned {
92 text-align: end;
93 }
94
95 #sync-setup-overlay * .throbber { 91 #sync-setup-overlay * .throbber {
96 margin: 4px 10px; 92 margin: 4px 10px;
97 vertical-align: middle;
98 visibility: hidden; 93 visibility: hidden;
99 } 94 }
100 95
101 #gaia-account-text {
102 font-weight: bold;
103 }
104
105 #email-readonly { 96 #email-readonly {
106 font-weight: bold; 97 font-size: 15px;
107 } 98 height: 29px;
108 99 line-height: 29px;
109 #sync-setup-overlay * div.errormsg { 100 margin: 0;
110 color: red;
111 font-size: smaller;
112 } 101 }
113 102
114 #passphrase-encryption-message { 103 #passphrase-encryption-message {
115 color: gray; 104 color: gray;
116 margin-bottom: 5px; 105 margin-bottom: 5px;
117 } 106 }
118 107
119 #passphrase-input { 108 #passphrase-input {
120 margin-top: 5px; 109 margin-top: 5px;
121 margin-bottom: 5px; 110 margin-bottom: 5px;
(...skipping 27 matching lines...) Expand all
149 .overlay-warning input { 138 .overlay-warning input {
150 margin-top: 12px; 139 margin-top: 12px;
151 float: right; 140 float: right;
152 margin-left: 5px; 141 margin-left: 5px;
153 } 142 }
154 143
155 #sync-passphrase-warning { 144 #sync-passphrase-warning {
156 margin-bottom: 5px; 145 margin-bottom: 5px;
157 } 146 }
158 147
159 div.error-msg-spacer {
160 min-height: 1em;
161 }
162
163 #gaia-login-form { 148 #gaia-login-form {
164 margin-bottom: 0; 149 margin-bottom: 0;
165 } 150 }
166 151
152 #captcha-div {
153 overflow: hidden;
James Hawkins 2011/10/14 22:21:36 Alphabetize
sail 2011/10/14 22:57:05 Done.
154 border: 1px solid #e5e5e5;
155 background: #fff;
156 margin: 0 0 1.5em;
157 padding: 1em 1em 0;
158 }
159
167 #captcha-wrapper { 160 #captcha-wrapper {
168 background: no-repeat; 161 background: no-repeat;
169 background-color: #e8eefa;
170 background-position: center; 162 background-position: center;
171 background-size: 200px 70px; 163 background-size: 200px 70px;
164 margin: 0 0 1em;
172 } 165 }
173 166
174 #captcha-image { 167 #captcha-image {
175 height: 70px; 168 height: 70px;
176 width: 200px; 169 width: 200px;
177 } 170 }
178 171
179 #asp-warning-div { 172 #asp-warning-div {
180 text-align: left; 173 text-align: left;
181 } 174 }
182 175
183 #logging-in-throbber { 176 #logging-in-throbber {
184 margin: 0 10px; 177 margin: 0 10px;
185 } 178 }
186 179
187 .bottom-padded-cell {
188 padding-bottom: 3px;
189 }
190
191 .no-vertical-padding {
192 padding-bottom: 0;
193 padding-top: 0;
194 }
195
196 #cancel-space-no-captcha { 180 #cancel-space-no-captcha {
197 height: 22px; 181 height: 22px;
198 } 182 }
199 183
200 #top-blurb {
201 line-height: 1.5em;
202 }
203
204 #top-blurb-error { 184 #top-blurb-error {
205 background-color: #eeb939; 185 -webkit-border-radius: 2px;
206 border-radius: 4px; 186 background: #f9edbe;
187 border: 1px solid #f0c36d;
207 display: block; 188 display: block;
208 font-weight: bold; 189 font-weight: bold;
209 margin-bottom: 10px; 190 line-height: 1.5em;
210 margin-left: auto; 191 margin: 10px auto 10px auto;
James Hawkins 2011/10/14 22:21:36 margin: 10px auto;
sail 2011/10/14 22:57:05 Done.
211 margin-right: auto; 192 padding:0 16px;
212 padding: 4px 10px;
213 text-align: center; 193 text-align: center;
214 visibility: hidden; 194 visibility: hidden;
215 width: 70%; 195 width: 70%;
216 } 196 }
217 197
218 #content-table {
219 background-color: #fff;
220 border: #c3d9ff 1px solid;
221 padding: 2px;
222 }
223
224 .access-code-row > td {
225 padding-bottom: 1px;
226 text-align: center;
227 }
228
229 #access-code-label-row > td {
230 padding-top: 6px;
231 }
232
233 #captcha-instructions {
234 margin-bottom: 5px;
235 white-space: normal;
236 }
237
238 #password-row { 198 #password-row {
239 margin-top: 2px; 199 margin-top: 2px;
240 } 200 }
241 201
242 #action-area { 202 #action-area {
243 margin-top: 2px; 203 margin-top: 2px;
244 } 204 }
245 205
246 #errormsg-0-access-code {
247 text-align: center;
248 }
249
250 #sync-setup-configure { 206 #sync-setup-configure {
251 line-height: 1.33em; 207 line-height: 1.33em;
252 background: #FFFFFF; 208 background: #fff;
253 } 209 }
254 210
255 html[os='mac'] #sync-setup-configure { 211 html[os='mac'] #sync-setup-configure {
256 line-height: 1.5em; 212 line-height: 1.5em;
257 } 213 }
258 214
259 #choose-data-types-form { 215 #choose-data-types-form {
260 -webkit-user-select: none; 216 -webkit-user-select: none;
261 } 217 }
262 218
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 float: right; 272 float: right;
317 } 273 }
318 274
319 html[dir='rtl'] #learn-more-link { 275 html[dir='rtl'] #learn-more-link {
320 float: left; 276 float: left;
321 } 277 }
322 278
323 #customize-link, #use-default-link { 279 #customize-link, #use-default-link {
324 -webkit-transition: opacity .25s; 280 -webkit-transition: opacity .25s;
325 } 281 }
282
283
284 /* Sign in box. */
285
286 .sign-in {
287 margin-left: auto;
James Hawkins 2011/10/14 22:21:36 margin: 0 auto;
sail 2011/10/14 22:57:05 Done.
sail 2011/10/14 22:57:05 Done.
288 margin-right: auto;
289 width: 335px;
290 }
291
292 .signin-box {
293 background: #f5f5f5;
294 border: 1px solid #e5e5e5;
295 padding: 20px 25px 15px;
296 }
297
298 .signin-box h2 {
299 color: #222;
300 font-size: 16px;
301 font-weight: normal;
302 height: 16px;
303 line-height: 16px;
304 margin: 0 0 1.2em;
305 position: relative;
306 }
307
308 .signin-box h2 strong {
309 background: transparent
310 url('chrome://resources/images/google-transparent.png') no-repeat;
311 display: inline-block;
312 height: 19px;
313 position: absolute;
314 right: 0;
James Hawkins 2011/10/14 22:21:36 RTL
sail 2011/10/15 00:28:47 Done.
315 top: 1px;
316 width: 52px;
317 }
318
319 /* Sign in buttons. */
320
321 .signin-box input[type=submit] {
322 -webkit-transition: all 0.218s;
323 -webkit-user-select: none;
324 background-image: -webkit-linear-gradient(top, #4d90fe, #4787ed);
325 border: 1px solid #3079ed;
326 border-radius: 2px;
327 color: #fff;
328 display: inline-block;
329 font-size: 13px;
330 font-weight: bold;
331 height: 32px;
332 line-height: 27px;
333 margin: 0 0.4em 1.2em 0;
James Hawkins 2011/10/14 22:21:36 RTL
sail 2011/10/15 00:28:47 Done.
334 min-width: 54px !important;
335 padding: 0 8px;
336 }
337
338 .signin-box input[type=submit]:hover {
339 -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
340 -webkit-transition: all 0.0s;
341 background-image: -webkit-linear-gradient(top, #4d90fe, #357ae8);
342 border: 1px solid #2f5bb7;
343 color: #fff;
344 }
345
346 .signin-box input[type=submit]:focus {
347 -webkit-box-shadow: inset 0 0 0 1px #fff;
348 border: 1px solid #4d90fe;
349 outline: none;
350 z-index:4 !important;
James Hawkins 2011/10/14 22:21:36 Space after colon.
sail 2011/10/15 00:28:47 Done.
351 }
352
353 .signin-box input[type=submit]:active,
354 .signin-box input[type=submit]:focus:active {
355 -webkit-box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.3);
356 }
357
358 .signin-box input[type=submit]:focus:hover {
359 -webkit-box-shadow: inset 0 0 0 1px #fff, 0px 1px 1px rgba(0, 0, 0, 0.1);
360 }
361
362 .signin-box input[type=submit][disabled],
363 .signin-box input[type=submit][disabled]:hover,
364 .signin-box input[type=submit][disabled]:active {
365 -webkit-box-shadow: none;
366 border: 1px solid #3079ed;
James Hawkins 2011/10/14 22:21:36 Alphabetize
sail 2011/10/14 22:57:05 Done.
367 background-color: #4d90fe;
368 color: #fff;
369 opacity: 0.5;
370 }
371
372 /* Sign in text fields. */
373
374 .signin-box input[type=text],
375 .signin-box input[type=password] {
376 -webkit-box-sizing: border-box;
James Hawkins 2011/10/14 22:21:36 Alphabetize
sail 2011/10/14 22:57:05 Done.
377 -webkit-border-radius: 1px;
378 background-color: #fff;
379 border: 1px solid #d9d9d9;
380 border-top: 1px solid #c0c0c0;
381 color: #333;
382 display: inline-block;
383 font-size: 15px;
384 height: 32px;
385 line-height: 27px;
386 margin-top: 0.5em;
387 padding-left: 8px;
James Hawkins 2011/10/14 22:21:36 RTL
sail 2011/10/15 00:28:47 Done.
388 vertical-align: top;
389 width: 100%;
390 }
391
392 .signin-box input[type=text]:hover,
393 .signin-box input[type=password]:hover {
394 -webkit-box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
395 border: 1px solid #b9b9b9;
396 border-top: 1px solid #a0a0a0;
397 }
398
399 .signin-box input[type=text]:focus,
400 .signin-box input[type=password]:focus {
401 -webkit-box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.3);
402 border: 1px solid #4d90fe;
403 outline: none;
404 }
405
406 .signin-box input[type=text][disabled],
407 .signin-box input[type=password][disabled] {
408 -webkit-box-shadow: none;
409 border: 1px solid #e5e5e5;
410 background: #f5f5f5;
James Hawkins 2011/10/14 22:21:36 Alphabetize
sail 2011/10/15 00:28:47 Done.
411 }
412
413 .signin-box input[type=text][disabled]:hover,
414 .signin-box input[type=password][disabled]:hover {
415 -webkit-box-shadow: none;
416 }
417
418
419 /* Sign in links. */
420
421 .signin-box .account-link {
422 color: #15c !important;
423 text-decoration: none;
424 }
425
426 .signin-box .account-link:visited {
427 color: #61c !important;
428 text-decoration: none;
429 }
430
431 .signin-box .account-link:hover {
432 text-decoration: underline;
433 }
434
435 .signin-box .account-link:active {
436 color: #d14836 !important;
437 text-decoration: underline;
438 }
439
440 /* Sign in text. */
441
442 .signin-box strong {
443 color: #222;
444 display: block;
445 }
446
447 .signin-box label {
448 display: block;
449 margin: 0 0 1.5em;
450 }
451
452 /* Sign in miscellaneous. */
453
454 .signin-box .throbber {
455 float: right;
James Hawkins 2011/10/14 22:21:36 RTL
sail 2011/10/15 00:28:47 Done.
456 }
457
458 #create-account-div {
459 display: inline-block;
460 }
461
462 .signin-box .errormsg {
463 color: #dd4b39 !important;
464 font-size: 13px !important;
465 line-height: 17px;
466 margin: 0.5em 0 1.5em;
467 }
468
469 .signin-box .help-link {
470 -webkit-border-radius: 1em;
471 background: #dd4b39;
472 color: #fff !important;
473 display: inline-block;
474 font-weight: bold;
475 padding: 0 5px;
476 position: relative;
477 text-decoration: none;
478 top: 0px;
479 }
480
481 .signin-box .help-link:visited {
482 color: #fff !important;
483 }
484
485 .signin-box .help-link:hover {
486 color: #fff !important;
487 opacity: .7;
488 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698