OLD | NEW |
---|---|
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 * This is the stylesheet used by the Out of the box experience (OOBE) flow. | 5 * This is the stylesheet used by the Out of the box experience (OOBE) flow. |
6 */ | 6 */ |
7 | 7 |
8 body { | 8 body { |
9 background: -webkit-gradient(radial, center center, 0, center center, 400, | 9 background: -webkit-gradient(radial, center center, 0, center center, 400, |
10 from(#fefefe), to(#efefef)); | 10 from(#fefefe), to(#efefef)); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
49 hr.bottomshadow { | 49 hr.bottomshadow { |
50 -webkit-mask: -webkit-linear-gradient(left, rgba(0,0,0,0), | 50 -webkit-mask: -webkit-linear-gradient(left, rgba(0,0,0,0), |
51 black 50%, rgba(0,0,0,0)); | 51 black 50%, rgba(0,0,0,0)); |
52 -webkit-mask-clip: padding-box; | 52 -webkit-mask-clip: padding-box; |
53 background: -webkit-linear-gradient(bottom, top, | 53 background: -webkit-linear-gradient(bottom, top, |
54 rgba(0,0,0,0.2)), rgba(0,0,0,0.0)); | 54 rgba(0,0,0,0.2)), rgba(0,0,0,0.0)); |
55 border: none; | 55 border: none; |
56 border-bottom: 1px solid rgba(0,0,0,0.5); | 56 border-bottom: 1px solid rgba(0,0,0,0.5); |
57 height: 2px; | 57 height: 2px; |
58 opacity: 0.3; | 58 opacity: 0.3; |
59 z-index: 0; | |
Nikita (slow)
2011/07/29 15:52:11
This one doesn't help in fact.
I didn't figure out
xiyuan
2011/07/29 21:39:33
You might want to try z-index:1 for the dropdown d
Nikita (slow)
2011/08/05 23:40:26
Done.
| |
59 } | 60 } |
60 | 61 |
61 #header { | 62 #header { |
62 background: url('chrome://theme/IDR_PRODUCT_LOGO_64') left center no-repeat; | 63 background: url('chrome://theme/IDR_PRODUCT_LOGO_64') left center no-repeat; |
63 background-size: 48px; | 64 background-size: 48px; |
64 color: #737373; | 65 color: #737373; |
65 display: -webkit-box; | 66 display: -webkit-box; |
66 font-size: 20px; | 67 font-size: 20px; |
67 height: 48px; | 68 height: 48px; |
68 line-height: 48px; | 69 line-height: 48px; |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
495 left: 180px; /* (1000px - 640px) / 2, make it center in oobe div */ | 496 left: 180px; /* (1000px - 640px) / 2, make it center in oobe div */ |
496 } | 497 } |
497 | 498 |
498 body.login-display #header { | 499 body.login-display #header { |
499 visibility: hidden; | 500 visibility: hidden; |
500 } | 501 } |
501 | 502 |
502 body.login-display #footer { | 503 body.login-display #footer { |
503 visibility: hidden; | 504 visibility: hidden; |
504 } | 505 } |
506 | |
507 .dropdown-title { | |
508 -webkit-border-radius: 2px; | |
509 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | |
510 -webkit-padding-end: 20px; | |
511 -webkit-padding-start: 2px; | |
512 -webkit-user-select: none; | |
513 background-image: url("../../shared/images/select.png"), | |
xiyuan
2011/07/29 21:39:33
nit: let's use single quote to be consistent in th
Nikita (slow)
2011/08/05 23:40:26
Done.
| |
514 -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); | |
515 background-position: center right; | |
516 background-repeat: no-repeat; | |
517 border: 1px solid #aaa; | |
518 color: #555; | |
519 font-size: inherit; | |
520 height: 24px; | |
521 margin: 0; | |
522 overflow: hidden; | |
523 padding-top: 2px; | |
524 padding-bottom: 2px; | |
525 text-overflow: ellipsis; | |
526 text-align: left; | |
527 text-indent: 4px; | |
528 white-space: nowrap; | |
529 width: 250px; | |
530 } | |
531 | |
532 .dropdown-title:hover { | |
533 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); | |
534 background-image: url("../../shared/images/select.png"), | |
535 -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9); | |
536 color: #333; | |
537 background-position: center right; | |
538 background-repeat: no-repeat; | |
539 } | |
540 | |
541 .dropdown-title:active { | |
542 -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); | |
543 background-image: url("../../shared/images/select.png"), | |
544 -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc); | |
545 color: #444; | |
546 } | |
547 | |
548 .dropdown-container { | |
549 background: #f7f7f7; | |
550 border: 1px solid #7c91bf; | |
551 overflow: hidden; | |
552 padding-top: 4px; | |
553 padding-bottom: 4px; | |
554 position: relative; | |
555 top: 100%; | |
556 width: 248px; | |
557 } | |
558 | |
559 .dropdown-item-container { | |
560 display: -webkit-box; | |
561 height: 24px; | |
562 padding-left: 5px; | |
563 } | |
564 | |
565 .dropdown-item-container:hover { | |
566 background: #dce4fa; | |
567 } | |
568 | |
569 .dropdown-image { | |
570 width: 24px; | |
571 } | |
572 | |
573 .dropdown-item { | |
574 cursor: default; | |
575 color: #555; | |
576 padding-top: 4px; | |
577 white-space: nowrap; | |
578 } | |
579 | |
580 .dropdown-divider { | |
581 height: 4px; | |
582 } | |
583 | |
584 .dropdown-divider hr { | |
585 -webkit-margin-before: 4px; | |
586 -webkit-margin-after: 4px; | |
587 } | |
588 | |
589 .dropdown-item.disabled-item { | |
590 color: graytext; | |
591 } | |
OLD | NEW |