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

Unified Diff: chrome/browser/resources/ntp4/most_visited_page.css

Issue 9325059: [Clean up] Fix style guide nits in chrome/browser/resources/ntp4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing margin Created 8 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/ntp4/apps_page.css ('k') | chrome/browser/resources/ntp4/nav_dot.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/most_visited_page.css
diff --git a/chrome/browser/resources/ntp4/most_visited_page.css b/chrome/browser/resources/ntp4/most_visited_page.css
index 271aa957aa8018e1b6f9135eba37cc3a8d5b7e2d..a8c39f92ef6c89e5083e9d6139b0e1014734bdd5 100644
--- a/chrome/browser/resources/ntp4/most_visited_page.css
+++ b/chrome/browser/resources/ntp4/most_visited_page.css
@@ -1,7 +1,6 @@
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
+ * found in the LICENSE file. */
.most-visited {
position: absolute;
@@ -9,10 +8,10 @@
}
.most-visited {
+ -webkit-box-orient: vertical;
display: -webkit-box;
position: absolute;
text-decoration: none;
- -webkit-box-orient: vertical;
}
.most-visited:focus {
@@ -39,12 +38,12 @@
}
.most-visited .close-button {
+ -webkit-transition: opacity 150ms;
opacity: 0;
position: absolute;
right: 0;
top: 0;
z-index: 5;
- -webkit-transition: opacity 150ms;
}
html[dir=rtl] .most-visited .close-button {
@@ -53,8 +52,8 @@ html[dir=rtl] .most-visited .close-button {
}
.most-visited:hover .close-button {
- opacity: 1;
-webkit-transition-delay: 500ms;
+ opacity: 1;
}
.most-visited .close-button:hover {
@@ -100,6 +99,7 @@ html[dir='rtl'] .most-visited .favicon {
}
.thumbnail {
+ -webkit-transition: opacity 150ms;
background: no-repeat;
/* This shows for missing thumbnails. */
background-color: #eee;
@@ -110,7 +110,6 @@ html[dir='rtl'] .most-visited .favicon {
* to scale a thumbnail larger than this size. */
max-height: 132px;
max-width: 212px;
- -webkit-transition: opacity 150ms;
}
.filler .thumbnail {
@@ -121,10 +120,10 @@ html[dir='rtl'] .most-visited .favicon {
}
.thumbnail-shield {
- border-radius: 3px;
background: -webkit-linear-gradient(rgba(255, 255, 255, 0),
rgba(255, 255, 255, 0) 50%,
rgba(255, 255, 255, 0.9));
+ border-radius: 3px;
}
/* TODO(dbeam): Remove this when printing of -webkit-linear-gradient() works. */
@@ -160,13 +159,13 @@ html[dir='rtl'] .most-visited .favicon {
}
.thumbnail-wrapper {
+ -webkit-box-flex: 1;
+ -webkit-transition: background-color 150ms;
border: 1px solid transparent;
border-radius: 3px;
display: block;
position: relative;
z-index: 5;
- -webkit-box-flex: 1;
- -webkit-transition: background-color 150ms;
}
.filler .thumbnail-wrapper {
« no previous file with comments | « chrome/browser/resources/ntp4/apps_page.css ('k') | chrome/browser/resources/ntp4/nav_dot.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698