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; | |
98 background-size: 100%; | 100 background-size: 100%; |
Dan Beam
2011/12/06 19:41:14
Do we have a standard of using #666666 hex digits
Evan Stade
2011/12/06 20:17:37
3
| |
99 border-radius: 3px; | 101 border-radius: 3px; |
100 /* These max dimensions are not necessary, as the sizing logic in the .js | 102 /* These max dimensions are not necessary, as the sizing logic in the .js |
101 * should be sufficient, but they're here for extra insurance. We never want | 103 * should be sufficient, but they're here for extra insurance. We never want |
102 * to scale a thumbnail larger than this size. */ | 104 * to scale a thumbnail larger than this size. */ |
103 max-height: 132px; | 105 max-height: 132px; |
104 max-width: 212px; | 106 max-width: 212px; |
105 -webkit-transition: opacity 150ms; | 107 -webkit-transition: opacity 150ms; |
106 } | 108 } |
107 | 109 |
108 .filler .thumbnail { | 110 .filler .thumbnail { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
162 * Override opacity of the tile to 1, so that the new tile animation | 164 * Override opacity of the tile to 1, so that the new tile animation |
163 * occurs simultaneously with the trash animation. */ | 165 * occurs simultaneously with the trash animation. */ |
164 .tile.dragging.finishing-drag { | 166 .tile.dragging.finishing-drag { |
165 opacity: 1; | 167 opacity: 1; |
166 } | 168 } |
167 | 169 |
168 /* Don't display the new tile until there's something to show. */ | 170 /* Don't display the new tile until there's something to show. */ |
169 .blacklisted { | 171 .blacklisted { |
170 opacity: 0; | 172 opacity: 0; |
171 } | 173 } |
OLD | NEW |