Chromium Code Reviews| 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: 10px; | 10 -webkit-padding-after: 16px; |
| 11 -webkit-padding-before: 10px; | 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: 20px; | 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 } | 26 } |
| 27 | 27 |
| 28 html[dir=rtl] .header-bar-item { | 28 html[dir=rtl] .header-bar-item { |
| 29 background-color: white; | 29 background-color: white; |
| 30 background-position: right center; | 30 background-position: right center; |
| 31 } | 31 } |
| 32 | 32 |
| 33 html[dir=rtl] #login-header-bar button { | 33 html[dir=rtl] #login-header-bar button { |
| 34 background-position: right center; | 34 background-position: right center; |
| 35 } | 35 } |
| 36 | 36 |
| 37 #login-header-bar #add-user-button { | 37 #login-header-bar #add-user-button { |
| 38 background-image: url('chrome://theme/IDR_ICON_PROFILES_ADD_USER'); | 38 background-image: -webkit-image-set( |
| 39 url('chrome://theme/IDR_ICON_PROFILES_ADD_USER') 1x, | |
| 40 url('chrome://theme/IDR_ICON_PROFILES_ADD_USER@2x') 2x); | |
| 39 } | 41 } |
| 40 | 42 |
| 41 #login-header-bar #guest-user-button { | 43 #login-header-bar #guest-user-button { |
| 42 background-image: url('chrome://theme/IDR_ICON_PROFILES_BROWSE_GUEST'); | 44 background-image: -webkit-image-set( |
| 45 url('chrome://theme/IDR_ICON_PROFILES_BROWSE_GUEST') 1x, | |
| 46 url('chrome://theme/IDR_ICON_PROFILES_BROWSE_GUEST@2x') 2x); | |
| 43 border-right: 1px solid #e2e2e2; | 47 border-right: 1px solid #e2e2e2; |
|
Nikita (slow)
2014/06/16 15:28:10
border-right / margin-right: does this mean that r
noms (inactive)
2014/06/16 18:10:56
Done.
| |
| 44 margin-right: 10px; | 48 margin-right: 10px; |
| 45 } | 49 } |
| 46 | 50 |
| 47 #login-header-bar button { | 51 #login-header-bar button { |
| 48 -webkit-padding-start: 24px; | 52 -webkit-padding-start: 24px; |
| 49 background-color: white; | 53 background-color: white; |
| 50 background-position: left center; | 54 background-position: left center; |
| 51 background-repeat: no-repeat; | 55 background-repeat: no-repeat; |
| 52 border: none; | 56 border: none; |
| 53 box-shadow: none; | 57 box-shadow: none; |
| 54 cursor: pointer; | 58 cursor: pointer; |
| 55 font-size: 12px; | 59 font-size: 12px; |
| 56 } | 60 } |
| 61 | |
| 62 #logo { | |
| 63 content: -webkit-image-set( | |
| 64 url('../../../app/theme/%DISTRIBUTION%/product_logo_name_48.png') 1x, | |
| 65 url('../../../app/theme/%DISTRIBUTION%/product_logo_name_96.png') 2x); | |
| 66 height: 18px; | |
| 67 position: absolute; | |
| 68 right: 16px; | |
| 69 top: 20px; | |
| 70 } | |
| 71 | |
| 72 html[dir=rtl] #logo { | |
| 73 left: 16px; | |
| 74 } | |
| OLD | NEW |