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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 html[dir=rtl] .most-visited .close-button { | 49 html[dir=rtl] .most-visited .close-button { |
50 left: 0; | 50 left: 0; |
51 right: auto; | 51 right: auto; |
52 } | 52 } |
53 | 53 |
54 .most-visited:hover .close-button { | 54 .most-visited:hover .close-button { |
55 opacity: 1; | 55 opacity: 1; |
56 -webkit-transition-delay: 0.5s; | 56 -webkit-transition-delay: 0.5s; |
57 } | 57 } |
58 | 58 |
| 59 .close-button:hover { |
| 60 -webkit-transition-delay: 0; |
| 61 } |
| 62 |
59 .most-visited .favicon { | 63 .most-visited .favicon { |
60 background: no-repeat 5px 50%; | 64 background: no-repeat 5px 50%; |
61 background-size: 32px; | 65 background-size: 32px; |
62 bottom: 7px; | 66 bottom: 7px; |
63 box-sizing: border-box; | 67 box-sizing: border-box; |
64 display: block; | 68 display: block; |
65 height: 32px; | 69 height: 32px; |
66 position: absolute; | 70 position: absolute; |
67 width: 100%; | 71 width: 100%; |
68 } | 72 } |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 display: block; | 144 display: block; |
141 position: relative; | 145 position: relative; |
142 z-index: 5; | 146 z-index: 5; |
143 -webkit-box-flex: 1; | 147 -webkit-box-flex: 1; |
144 -webkit-transition: background-color .15s; | 148 -webkit-transition: background-color .15s; |
145 } | 149 } |
146 | 150 |
147 .filler .thumbnail-wrapper { | 151 .filler .thumbnail-wrapper { |
148 visibility: visible; | 152 visibility: visible; |
149 } | 153 } |
| 154 |
| 155 /* 'finishing-drag' is the state we are in after dropping on the trash can. |
| 156 * Override opacity of the tile to 1, so that the new tile animation |
| 157 * occurs simultaneously with the trash animation. */ |
| 158 .tile.dragging.finishing-drag { |
| 159 opacity: 1; |
| 160 } |
| 161 |
| 162 /* Don't display the new tile until there's something to show. */ |
| 163 .blacklisted { |
| 164 opacity: 0; |
| 165 } |
OLD | NEW |