OLD | NEW |
1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 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 /* Overrides of styles in chrome/browser/resources/chromeos/login/header_bar.js | 6 /* Overrides of styles in chrome/browser/resources/chromeos/login/header_bar.js |
7 * that are needed by the desktop user chooser screen | 7 * that are needed by the desktop user chooser screen |
8 */ | 8 */ |
9 #login-header-bar { | 9 #login-header-bar { |
10 -webkit-padding-after: 16px; | 10 -webkit-padding-after: 16px; |
11 -webkit-padding-before: 16px; | 11 -webkit-padding-before: 16px; |
12 background-color: white; | 12 background-color: white; |
13 border-top: 1px solid #e2e2e2; | 13 border-top: 1px solid #e2e2e2; |
14 bottom: 0; | 14 bottom: 0; |
15 left: 0; | 15 left: 0; |
16 position: absolute; | 16 position: absolute; |
17 right: 0; | 17 right: 0; |
18 } | 18 } |
19 | 19 |
20 .header-bar-item:first-child { | 20 .header-bar-item:first-child { |
21 -webkit-padding-start: 16px; | 21 -webkit-padding-start: 16px; |
22 } | 22 } |
23 | 23 |
24 .header-bar-item { | 24 .header-bar-item { |
25 display: inline-block; | 25 display: inline-block; |
| 26 font-size: 12px; |
26 } | 27 } |
27 | 28 |
28 html[dir=rtl] .header-bar-item { | 29 html[dir=rtl] .header-bar-item { |
29 background-color: white; | 30 background-color: white; |
30 background-position: right center; | 31 background-position: right center; |
31 } | 32 } |
32 | 33 |
33 html[dir=rtl] #login-header-bar button { | 34 html[dir=rtl] #login-header-bar button { |
34 background-position: right center; | 35 background-position: right center; |
35 } | 36 } |
(...skipping 16 matching lines...) Expand all Loading... |
52 border-left: 1px solid #e2e2e2; | 53 border-left: 1px solid #e2e2e2; |
53 margin-left: 10px; | 54 margin-left: 10px; |
54 } | 55 } |
55 | 56 |
56 #login-header-bar button { | 57 #login-header-bar button { |
57 -webkit-padding-start: 24px; | 58 -webkit-padding-start: 24px; |
58 background-color: white; | 59 background-color: white; |
59 background-position: left center; | 60 background-position: left center; |
60 background-repeat: no-repeat; | 61 background-repeat: no-repeat; |
61 border: none; | 62 border: none; |
| 63 border-radius: 0; |
62 box-shadow: none; | 64 box-shadow: none; |
63 cursor: pointer; | 65 cursor: pointer; |
64 font-size: 12px; | |
65 opacity: 0.8; | 66 opacity: 0.8; |
66 } | 67 } |
67 | 68 |
68 #login-header-bar button:active, | 69 #login-header-bar button:active, |
69 #login-header-bar button:focus, | 70 #login-header-bar button:focus, |
70 #login-header-bar button:hover { | 71 #login-header-bar button:hover { |
71 opacity: 1; | 72 opacity: 1; |
72 } | 73 } |
73 | 74 |
74 #login-header-bar button:focus { | 75 #login-header-bar button:focus { |
75 text-decoration: underline; | 76 text-decoration: underline; |
76 } | 77 } |
77 | 78 |
78 #logo { | 79 #logo { |
79 content: -webkit-image-set( | 80 content: -webkit-image-set( |
80 url('../../../app/theme/%DISTRIBUTION%/product_logo_name_48.png') 1x, | 81 url('../../../app/theme/%DISTRIBUTION%/product_logo_name_48.png') 1x, |
81 url('../../../app/theme/%DISTRIBUTION%/product_logo_name_96.png') 2x); | 82 url('../../../app/theme/%DISTRIBUTION%/product_logo_name_96.png') 2x); |
82 height: 18px; | 83 height: 18px; |
83 position: absolute; | 84 position: absolute; |
84 right: 16px; | 85 right: 16px; |
85 top: 20px; | 86 top: 20px; |
86 } | 87 } |
87 | 88 |
88 html[dir=rtl] #logo { | 89 html[dir=rtl] #logo { |
89 left: 16px; | 90 left: 16px; |
90 } | 91 } |
OLD | NEW |