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

Unified Diff: chrome/browser/resources/ntp_search/new_tab.css

Issue 10867021: NTP5: Improving the Tile Page resize logic (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
Index: chrome/browser/resources/ntp_search/new_tab.css
diff --git a/chrome/browser/resources/ntp_search/new_tab.css b/chrome/browser/resources/ntp_search/new_tab.css
index 85ed2d041fe15c96b07d5e6db4da4c343b1f61d7..f370b69da522b2af5dff9e9b0d0116282cbaed13 100644
--- a/chrome/browser/resources/ntp_search/new_tab.css
+++ b/chrome/browser/resources/ntp_search/new_tab.css
@@ -10,13 +10,14 @@ body {
background: whiteSmoke;
/* TODO(pedrosimonetti): Confirm with designers/engineers what do we want
* to do regarding font family, once AFAIK we want to use Arial always. */
- font-family: Arial;
+ font-family: Arial !important;
jeremycho_google 2012/08/23 01:09:28 Is this necessary? I don't see font-family being
pedrosimonetti2 2012/08/24 00:22:15 The font-family and size is being set using JavaSc
jeremycho_google 2012/08/24 00:54:42 Ah now I see where this happens. Sounds like C++
margin: 0;
overflow: hidden;
padding: 0;
}
#card-slider-frame {
+ -webkit-transition: opacity 250ms, -webkit-transform 250ms;
bottom: 0;
overflow: hidden;
position: absolute;
@@ -24,6 +25,11 @@ body {
width: 100%;
}
+.hide-card-slider {
+ -webkit-transform: translate3d(0, 170px, 0);
+ opacity: 0;
+}
+
#page-list {
display: -webkit-box;
position: static;
@@ -50,6 +56,7 @@ body {
#dot-list li {
display: inline-block;
+ font-size: 1.0833em;
margin-left: 13px;
margin-right: 13px;
min-width: 55px; /* TODO(pedrosimonetti): Confirm value with Marcin. */

Powered by Google App Engine
This is Rietveld 408576698