OLD | NEW |
1 /* Copyright 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright 2015 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 /* TODO: Need to discuss with NTP folks before we remove font-family from the | 5 /* TODO: Need to discuss with NTP folks before we remove font-family from the |
6 * body tag. */ | 6 * body tag. */ |
7 body { | 7 body { |
8 background-attachment: fixed !important; | 8 background-attachment: fixed !important; |
9 cursor: default; | 9 cursor: default; |
10 font-family: arial, sans-serif; | 10 font-family: arial, sans-serif; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 top: 5px; | 129 top: 5px; |
130 visibility: hidden; | 130 visibility: hidden; |
131 width: 1px; | 131 width: 1px; |
132 } | 132 } |
133 | 133 |
134 html[dir=rtl] #cursor { | 134 html[dir=rtl] #cursor { |
135 left: auto; | 135 left: auto; |
136 right: 9px; | 136 right: 9px; |
137 } | 137 } |
138 | 138 |
139 @-webkit-keyframes blink { | 139 @keyframes blink { |
140 0% { | 140 0% { |
141 opacity: 1; | 141 opacity: 1; |
142 } | 142 } |
143 61.55% { | 143 61.55% { |
144 opacity: 0; | 144 opacity: 0; |
145 } | 145 } |
146 } | 146 } |
147 | 147 |
148 body.fakebox-drag-focused #fakebox-text, | 148 body.fakebox-drag-focused #fakebox-text, |
149 body.fakebox-focused #fakebox-text { | 149 body.fakebox-focused #fakebox-text { |
150 visibility: hidden; | 150 visibility: hidden; |
151 } | 151 } |
152 | 152 |
153 body.fakebox-drag-focused #cursor { | 153 body.fakebox-drag-focused #cursor { |
154 visibility: inherit; | 154 visibility: inherit; |
155 } | 155 } |
156 | 156 |
157 body.fakebox-focused #cursor { | 157 body.fakebox-focused #cursor { |
158 -webkit-animation: blink 1.3s step-end infinite; | 158 animation: blink 1.3s step-end infinite; |
159 visibility: inherit; | 159 visibility: inherit; |
160 } | 160 } |
161 | 161 |
162 #most-visited { | 162 #most-visited { |
163 -webkit-user-select: none; | 163 -webkit-user-select: none; |
164 margin-top: 64px; | 164 margin-top: 64px; |
165 text-align: -webkit-center; | 165 text-align: -webkit-center; |
166 } | 166 } |
167 | 167 |
168 /* Non-Google pages have no Fakebox, so don't need top margin. */ | 168 /* Non-Google pages have no Fakebox, so don't need top margin. */ |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 left: 8px; | 276 left: 8px; |
277 right: auto; | 277 right: auto; |
278 text-align: right; | 278 text-align: right; |
279 } | 279 } |
280 | 280 |
281 #mv-single { | 281 #mv-single { |
282 border: none; | 282 border: none; |
283 height: 100%; | 283 height: 100%; |
284 width: 100%; | 284 width: 100%; |
285 } | 285 } |
OLD | NEW |