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 /* This file holds CSS that should be shared, in theory, by all user-visible | 5 /* This file holds CSS that should be shared, in theory, by all user-visible |
6 * chrome:// pages. This contrasts chrome_shared.css, which it is meant to | 6 * chrome:// pages. This contrasts chrome_shared.css, which it is meant to |
7 * replace, but has CSS specific to options and options-like pages. */ | 7 * replace, but has CSS specific to options and options-like pages. */ |
8 | 8 |
9 @import url("chrome://resources/css/button.css"); | 9 @import url("chrome://resources/css/button.css"); |
10 @import url("chrome://resources/css/checkbox.css"); | 10 @import url("chrome://resources/css/checkbox.css"); |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 padding: 5px; | 124 padding: 5px; |
125 } | 125 } |
126 | 126 |
127 html[touch-optimized] input[type='search']::-webkit-search-cancel-button { | 127 html[touch-optimized] input[type='search']::-webkit-search-cancel-button { |
128 -webkit-transform: scale(1.5); | 128 -webkit-transform: scale(1.5); |
129 } | 129 } |
130 | 130 |
131 header > .search-field-container, | 131 header > .search-field-container, |
132 header > button { | 132 header > button { |
133 position: absolute; | 133 position: absolute; |
134 right: 0; | 134 right: 100px; |
135 top: 18px; | 135 top: 21px; |
136 } | 136 } |
137 | 137 |
138 html[dir='rtl'] header > .search-field-container, | 138 html[dir='rtl'] header > .search-field-container, |
139 html[dir='rtl'] header > button { | 139 html[dir='rtl'] header > button { |
140 left: 0; | 140 left: 100px; |
141 right: auto; | 141 right: auto; |
142 } | 142 } |
143 | 143 |
144 header input, | 144 header input, |
145 header button { | 145 header button { |
146 margin: 0; | 146 margin: 0; |
147 } | 147 } |
148 | 148 |
149 /* Elements that need to be LTR even in an RTL context, but should align | 149 /* Elements that need to be LTR even in an RTL context, but should align |
150 * right. (Namely, URLs, search engine names, etc.) | 150 * right. (Namely, URLs, search engine names, etc.) |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 * For now it's a bandaid until we install open sans properly. */ | 193 * For now it's a bandaid until we install open sans properly. */ |
194 <if expr="is_posix and not is_macosx and not pp_ifdef('chromeos')"> | 194 <if expr="is_posix and not is_macosx and not pp_ifdef('chromeos')"> |
195 @font-face { | 195 @font-face { |
196 font-family: 'Open Sans'; | 196 font-family: 'Open Sans'; |
197 font-style: normal; | 197 font-style: normal; |
198 font-weight: 400; | 198 font-weight: 400; |
199 src: local('Open Sans'), local('OpenSans'), | 199 src: local('Open Sans'), local('OpenSans'), |
200 url('chrome://resources/fonts/open_sans.woff') format('woff'); | 200 url('chrome://resources/fonts/open_sans.woff') format('woff'); |
201 } | 201 } |
202 </if> | 202 </if> |
OLD | NEW |