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

Unified Diff: chrome/browser/resources/new_new_tab.css

Issue 269095: NTP: Fix startup visual state ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/dom_ui/new_tab_ui.cc ('k') | chrome/browser/resources/new_new_tab.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/new_new_tab.css
===================================================================
--- chrome/browser/resources/new_new_tab.css (revision 29178)
+++ chrome/browser/resources/new_new_tab.css (working copy)
@@ -39,15 +39,13 @@
.thumbnail-container {
position: absolute;
- -webkit-transition: top .15s, left .15s;
color: black;
text-decoration: none;
- -webkit-transition: left .15s, top .15s;
+ -webkit-transition: left .15s, right .15s, top .15s;
}
.list > .thumbnail-container {
- -webkit-transition: left .15s, top .15s, width .15s;
- overflow: hidden;
+ overflow: hidden;
}
/* hide outline in thumbnail view */
@@ -294,6 +292,11 @@
visibility: hidden !important;
}
+.collapsed {
+ height: 0 !important;
+ opacity: 0;
+}
+
@-webkit-keyframes 'fade-in' {
0% {
opacity: 0;
@@ -666,35 +669,14 @@
background-image: url(chrome://theme/newtab_checkbox_white);
}
-/* Hard code thumbnail positions to improve initial layout speed */
-#t0, #t4,
-html[dir='rtl'] #t3,
-html[dir='rtl'] #t7 {
- left: 0;
+#most-visited.list {
+ height: 294px;
}
-#t1, #t5,
-html[dir='rtl'] #t2,
-html[dir='rtl'] #t6 {
- left: 235px;
+.list > .thumbnail-container {
+ max-width: 920px;
}
-#t2, #t6,
-html[dir='rtl'] #t1,
-html[dir='rtl'] #t5 {
- left: 470px;
-}
-
-#t3, #t7,
-html[dir='rtl'] #t0,
-html[dir='rtl'] #t4 {
- left: 705px;
-}
-
-#t4, #t5, #t6, #t7 {
- top: 183px;
-}
-
/* tip line */
#tip-line {
margin: 10px 0;
@@ -743,6 +725,10 @@
-webkit-background-size: 150px 93px;
}
+ .list > .thumbnail-container {
+ max-width: 692px;
+ }
+
#notification > * {
max-width: 300px;
}
@@ -750,32 +736,4 @@
#notification > span > .blacklist-title {
max-width: 15ex;
}
-
- #t0, #t4,
- html[dir='rtl'] #t3,
- html[dir='rtl'] #t7 {
- left: 0;
- }
-
- #t1, #t5,
- html[dir='rtl'] #t2,
- html[dir='rtl'] #t6 {
- left: 178px;
- }
-
- #t2, #t6,
- html[dir='rtl'] #t1,
- html[dir='rtl'] #t5 {
- left: 356px;
- }
-
- #t3, #t7,
- html[dir='rtl'] #t0,
- html[dir='rtl'] #t4 {
- left: 534px;
- }
-
- #t4, #t5, #t6, #t7 {
- top: 147px;
- }
}
« no previous file with comments | « chrome/browser/dom_ui/new_tab_ui.cc ('k') | chrome/browser/resources/new_new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698