OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 | 5 |
6 .most-visited { | 6 .most-visited { |
7 position: absolute; | 7 position: absolute; |
8 } | 8 } |
9 | 9 |
10 .most-visited { | 10 .most-visited { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 height: 23px; | 88 height: 23px; |
89 overflow: hidden; | 89 overflow: hidden; |
90 padding-top: 8px; | 90 padding-top: 8px; |
91 text-align: center; | 91 text-align: center; |
92 text-overflow: ellipsis; | 92 text-overflow: ellipsis; |
93 white-space: nowrap; | 93 white-space: nowrap; |
94 } | 94 } |
95 | 95 |
96 .thumbnail { | 96 .thumbnail { |
97 background: no-repeat; | 97 background: no-repeat; |
98 /* This shows for missing thumbnails. */ | |
99 background-color: #eee; | |
100 background-size: 100%; | 98 background-size: 100%; |
101 border-radius: 3px; | 99 border-radius: 3px; |
102 /* These max dimensions are not necessary, as the sizing logic in the .js | 100 /* These max dimensions are not necessary, as the sizing logic in the .js |
103 * should be sufficient, but they're here for extra insurance. We never want | 101 * should be sufficient, but they're here for extra insurance. We never want |
104 * to scale a thumbnail larger than this size. */ | 102 * to scale a thumbnail larger than this size. */ |
105 max-height: 132px; | 103 max-height: 132px; |
106 max-width: 212px; | 104 max-width: 212px; |
107 -webkit-transition: opacity 150ms; | 105 -webkit-transition: opacity 150ms; |
108 } | 106 } |
109 | 107 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 * Override opacity of the tile to 1, so that the new tile animation | 162 * Override opacity of the tile to 1, so that the new tile animation |
165 * occurs simultaneously with the trash animation. */ | 163 * occurs simultaneously with the trash animation. */ |
166 .tile.dragging.finishing-drag { | 164 .tile.dragging.finishing-drag { |
167 opacity: 1; | 165 opacity: 1; |
168 } | 166 } |
169 | 167 |
170 /* Don't display the new tile until there's something to show. */ | 168 /* Don't display the new tile until there's something to show. */ |
171 .blacklisted { | 169 .blacklisted { |
172 opacity: 0; | 170 opacity: 0; |
173 } | 171 } |
OLD | NEW |