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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 body.alternate-logo #logo { | 44 body.alternate-logo #logo { |
45 -webkit-mask-image: | 45 -webkit-mask-image: |
46 url(../../../../ui/webui/resources/images/google_logo.svg); | 46 url(../../../../ui/webui/resources/images/google_logo.svg); |
47 -webkit-mask-repeat: no-repeat; | 47 -webkit-mask-repeat: no-repeat; |
48 -webkit-mask-size: 100%; | 48 -webkit-mask-size: 100%; |
49 background: #eee; | 49 background: #eee; |
50 } | 50 } |
51 | 51 |
52 #fakebox { | 52 #fakebox { |
53 -webkit-transform: translate3d(0, 0, 0); | 53 -webkit-transition: transform 100ms linear, border-color 100ms linear; |
54 -webkit-transition: -webkit-transform 100ms linear, border-color 100ms linear; | |
55 background-color: #fff; | 54 background-color: #fff; |
56 border: 1px solid rgb(185, 185, 185); | 55 border: 1px solid rgb(185, 185, 185); |
57 border-radius: 1px; | 56 border-radius: 1px; |
58 border-top-color: rgb(160, 160, 160); | 57 border-top-color: rgb(160, 160, 160); |
59 cursor: text; | 58 cursor: text; |
60 font-size: 18px; | 59 font-size: 18px; |
61 height: 36px; | 60 height: 36px; |
62 line-height: 36px; | 61 line-height: 36px; |
63 max-width: 672px; | 62 max-width: 672px; |
64 position: relative; | 63 position: relative; |
| 64 transform: translate3d(0, 0, 0); |
65 /* #fakebox width (here and below) should be 2px less than #mv-tiles | 65 /* #fakebox width (here and below) should be 2px less than #mv-tiles |
66 to account for its border. */ | 66 to account for its border. */ |
67 width: 298px; | 67 width: 298px; |
68 } | 68 } |
69 | 69 |
70 .non-google-page #fakebox { | 70 .non-google-page #fakebox { |
71 display: none; | 71 display: none; |
72 } | 72 } |
73 | 73 |
74 #fakebox:hover { | 74 #fakebox:hover { |
(...skipping 201 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 |