Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Side by Side Diff: chrome/browser/resources/ntp4/most_visited_page.css

Issue 8840001: NTP4: Remove gradient while printing most visited thumbnails. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: there are issues on more than one platform, not just MacOS Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698