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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 visibility: visible; | 112 visibility: visible; |
113 } | 113 } |
114 | 114 |
115 .thumbnail-shield { | 115 .thumbnail-shield { |
116 border-radius: 3px; | 116 border-radius: 3px; |
117 background: -webkit-linear-gradient(rgba(255, 255, 255, 0), | 117 background: -webkit-linear-gradient(rgba(255, 255, 255, 0), |
118 rgba(255, 255, 255, 0) 50%, | 118 rgba(255, 255, 255, 0) 50%, |
119 rgba(255, 255, 255, 0.9)); | 119 rgba(255, 255, 255, 0.9)); |
120 } | 120 } |
121 | 121 |
| 122 /* TODO(dbeam): Remove this when printing of -webkit-linear-gradient() works. */ |
| 123 @media print { |
| 124 .thumbnail-shield { |
| 125 background: none; |
| 126 } |
| 127 } |
| 128 |
122 .most-visited:focus .thumbnail, | 129 .most-visited:focus .thumbnail, |
123 .most-visited:hover .thumbnail { | 130 .most-visited:hover .thumbnail { |
124 opacity: 0.95; | 131 opacity: 0.95; |
125 } | 132 } |
126 | 133 |
127 .most-visited:focus .thumbnail-shield, | 134 .most-visited:focus .thumbnail-shield, |
128 .most-visited:hover .thumbnail-shield, | 135 .most-visited:hover .thumbnail-shield, |
129 .most-visited:active .thumbnail-shield { | 136 .most-visited:active .thumbnail-shield { |
130 background: -webkit-linear-gradient(rgba(255, 255, 255, 0), | 137 background: -webkit-linear-gradient(rgba(255, 255, 255, 0), |
131 rgba(255, 255, 255, 0) 80%, | 138 rgba(255, 255, 255, 0) 80%, |
(...skipping 30 matching lines...) Expand all Loading... |
162 * Override opacity of the tile to 1, so that the new tile animation | 169 * Override opacity of the tile to 1, so that the new tile animation |
163 * occurs simultaneously with the trash animation. */ | 170 * occurs simultaneously with the trash animation. */ |
164 .tile.dragging.finishing-drag { | 171 .tile.dragging.finishing-drag { |
165 opacity: 1; | 172 opacity: 1; |
166 } | 173 } |
167 | 174 |
168 /* Don't display the new tile until there's something to show. */ | 175 /* Don't display the new tile until there's something to show. */ |
169 .blacklisted { | 176 .blacklisted { |
170 opacity: 0; | 177 opacity: 0; |
171 } | 178 } |
OLD | NEW |