OLD | NEW |
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 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 /* This file contains styles specific to Android and iOS. */ | 5 /* This file contains styles specific to Android and iOS. */ |
6 | 6 |
7 html { | 7 html { |
8 height: 100%; | 8 height: 100%; |
9 } | 9 } |
10 | 10 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 display: block; | 75 display: block; |
76 line-height: 1.5; | 76 line-height: 1.5; |
77 margin-top: 16px; | 77 margin-top: 16px; |
78 width: 100%; | 78 width: 100%; |
79 } | 79 } |
80 | 80 |
81 html[dir='rtl'] #search-field { | 81 html[dir='rtl'] #search-field { |
82 background-position: right 16px center; | 82 background-position: right 16px center; |
83 } | 83 } |
84 | 84 |
85 .no-results-message { | |
86 margin-bottom: 1em; | |
87 padding-left: 16px; | |
88 padding-right: 16px; | |
89 } | |
90 | |
91 .search-results .no-results-message { | |
92 margin-top: 1em; | |
93 } | |
94 | |
95 #notification-bar.alone { | 85 #notification-bar.alone { |
96 float: none; | 86 float: none; |
97 font-size: 75%; | 87 font-size: 75%; |
98 margin: 0; | 88 margin: 0; |
99 padding-bottom: 0; | 89 padding-bottom: 0; |
100 padding-top: 0; | 90 padding-top: 0; |
101 } | 91 } |
102 | 92 |
103 #remove-selected, | 93 #remove-selected, |
104 #search-button, | 94 #search-button, |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 } | 280 } |
291 | 281 |
292 #scrolling-container > * { | 282 #scrolling-container > * { |
293 margin-left: auto; | 283 margin-left: auto; |
294 margin-right: auto; | 284 margin-right: auto; |
295 max-width: 718px; | 285 max-width: 718px; |
296 } | 286 } |
297 | 287 |
298 h1, | 288 h1, |
299 #notification-bar, | 289 #notification-bar, |
300 #loading-spinner, | 290 #loading-spinner { |
301 .no-results-message { | |
302 padding-left: 0; | 291 padding-left: 0; |
303 padding-right: 0; | 292 padding-right: 0; |
304 } | 293 } |
305 | 294 |
306 } /* @media only screen and (max-width:720px) */ | 295 } /* @media only screen and (max-width:720px) */ |
307 | 296 |
308 <if expr="is_ios"> | 297 <if expr="is_ios"> |
309 .ios-keyboard-visible #clear-browsing-data { | 298 .ios-keyboard-visible #clear-browsing-data { |
310 display: none; | 299 display: none; |
311 } | 300 } |
312 | 301 |
313 .ios-keyboard-visible #scrolling-container { | 302 .ios-keyboard-visible #scrolling-container { |
314 /* Should be 0, but that breaks scrolling -- see crbug.com/292715. */ | 303 /* Should be 0, but that breaks scrolling -- see crbug.com/292715. */ |
315 bottom: -1px; | 304 bottom: -1px; |
316 } | 305 } |
317 </if> /* is_ios */ | 306 </if> /* is_ios */ |
OLD | NEW |