| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 /* This file holds CSS that should be shared, in theory, by all user-visible | 6 /* This file holds CSS that should be shared, in theory, by all user-visible |
| 7 * chrome:// pages. This contrasts chrome_shared.css, which it is meant to | 7 * chrome:// pages. This contrasts chrome_shared.css, which it is meant to |
| 8 * replace, but has CSS specific to options and options-like pages. */ | 8 * replace, but has CSS specific to options and options-like pages. */ |
| 9 | 9 |
| 10 /* Prevent CSS from overriding the hidden property. */ | 10 /* Prevent CSS from overriding the hidden property. */ |
| 11 [hidden] { | 11 [hidden] { |
| 12 display: none !important; | 12 display: none !important; |
| 13 } | 13 } |
| 14 | 14 |
| 15 body { | 15 body { |
| 16 cursor: default; | 16 cursor: default; |
| 17 font-family: Open Sans, sans-serif; | 17 font-family: Open Sans, sans-serif; |
| 18 font-size: 12px; | 18 font-size: 12px; |
| 19 margin: 0; | 19 margin: 0; |
| 20 } | 20 } |
| 21 | 21 |
| 22 body.uber-frame { |
| 23 -webkit-margin-start: 155px; |
| 24 } |
| 25 |
| 22 p { | 26 p { |
| 23 line-height: 22px; | 27 line-height: 22px; |
| 24 } | 28 } |
| 25 | 29 |
| 26 h1 { | 30 h1 { |
| 27 -webkit-user-select: none; | 31 -webkit-user-select: none; |
| 28 color: rgb(48, 57, 66); | 32 color: rgb(48, 57, 66); |
| 29 font-size: 18px; | 33 font-size: 18px; |
| 30 font-weight: normal; | 34 font-weight: normal; |
| 31 margin-top: 1em; | 35 margin-top: 1em; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 94 |
| 91 /* WebKit does not honor alignment for text specified via placeholder attribute. | 95 /* WebKit does not honor alignment for text specified via placeholder attribute. |
| 92 * This CSS is a workaround. Please remove once WebKit bug is fixed. | 96 * This CSS is a workaround. Please remove once WebKit bug is fixed. |
| 93 * https://bugs.webkit.org/show_bug.cgi?id=63367 | 97 * https://bugs.webkit.org/show_bug.cgi?id=63367 |
| 94 */ | 98 */ |
| 95 html[dir='rtl'] input.weakrtl::-webkit-input-placeholder, | 99 html[dir='rtl'] input.weakrtl::-webkit-input-placeholder, |
| 96 html[dir='rtl'] .weakrtl input::-webkit-input-placeholder { | 100 html[dir='rtl'] .weakrtl input::-webkit-input-placeholder { |
| 97 direction: rtl; | 101 direction: rtl; |
| 98 } | 102 } |
| 99 | 103 |
| 100 .overlay { | |
| 101 -webkit-box-align: center; | |
| 102 -webkit-box-orient: vertical; | |
| 103 -webkit-box-pack: center; | |
| 104 -webkit-transition: 200ms opacity; | |
| 105 background-color: rgba(255, 255, 255, 0.75); | |
| 106 bottom: 0; | |
| 107 display: -webkit-box; | |
| 108 left: 0; | |
| 109 overflow: auto; | |
| 110 padding: 20px; | |
| 111 padding-bottom: 130px; | |
| 112 position: fixed; | |
| 113 right: 0; | |
| 114 top: 0; | |
| 115 } | |
| 116 | |
| 117 /* TODO(estade): remove this: http://crbug.com/109967 | 104 /* TODO(estade): remove this: http://crbug.com/109967 |
| 118 * For now it's a bandaid until we install open sans properly. */ | 105 * For now it's a bandaid until we install open sans properly. */ |
| 119 <if expr="not pp_ifdef('chromeos')"> | 106 <if expr="not pp_ifdef('chromeos')"> |
| 120 @font-face { | 107 @font-face { |
| 121 font-family: 'Open Sans'; | 108 font-family: 'Open Sans'; |
| 122 font-style: normal; | 109 font-style: normal; |
| 123 font-weight: 400; | 110 font-weight: 400; |
| 124 src: local('Open Sans'), local('OpenSans'), | 111 src: local('Open Sans'), local('OpenSans'), |
| 125 url('chrome://resources/fonts/open_sans.woff') format('woff'); | 112 url('chrome://resources/fonts/open_sans.woff') format('woff'); |
| 126 } | 113 } |
| 127 </if> | 114 </if> |
| OLD | NEW |