| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 display: block; | 74 display: block; |
| 75 line-height: 1.5; | 75 line-height: 1.5; |
| 76 margin-top: 16px; | 76 margin-top: 16px; |
| 77 width: 100%; | 77 width: 100%; |
| 78 } | 78 } |
| 79 | 79 |
| 80 html[dir='rtl'] #search-field { | 80 html[dir='rtl'] #search-field { |
| 81 background-position: right 16px center; | 81 background-position: right 16px center; |
| 82 } | 82 } |
| 83 | 83 |
| 84 /* Hide the search field if it is empty (!valid) and there are no results. */ | |
| 85 body:not(.has-results) #search-field:not(:valid) { | |
| 86 display: none; | |
| 87 } | |
| 88 | |
| 89 .no-results-message { | 84 .no-results-message { |
| 90 margin-bottom: 1em; | 85 margin-bottom: 1em; |
| 91 padding-left: 16px; | 86 padding-left: 16px; |
| 92 padding-right: 16px; | 87 padding-right: 16px; |
| 93 } | 88 } |
| 94 | 89 |
| 95 .search-results .no-results-message { | 90 .search-results .no-results-message { |
| 96 margin-top: 1em; | 91 margin-top: 1em; |
| 97 } | 92 } |
| 98 | 93 |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 291 |
| 297 h1, | 292 h1, |
| 298 #notification-bar, | 293 #notification-bar, |
| 299 #loading-spinner, | 294 #loading-spinner, |
| 300 .no-results-message { | 295 .no-results-message { |
| 301 padding-left: 0; | 296 padding-left: 0; |
| 302 padding-right: 0; | 297 padding-right: 0; |
| 303 } | 298 } |
| 304 | 299 |
| 305 } /* @media only screen and (max-width:720px) */ | 300 } /* @media only screen and (max-width:720px) */ |
| OLD | NEW |