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

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

Issue 7794005: [ntp4] More UI refinements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « chrome/browser/resources/ntp4/bookmarks_page.css ('k') | no next file » | 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
===================================================================
--- chrome/browser/resources/ntp4/most_visited_page.css (revision 98657)
+++ chrome/browser/resources/ntp4/most_visited_page.css (working copy)
@@ -62,11 +62,11 @@
.most-visited .favicon {
background: no-repeat 5px 50%;
- background-size: 32px;
+ background-size: 16px;
Evan Stade 2011/08/29 21:28:53 I think you can do background-size 100% maybe
csilv 2011/08/29 22:56:52 Wouldn't that display the globe icon at 32x32? In
Evan Stade 2011/08/29 23:06:45 or just leave it off
csilv 2011/08/30 00:45:29 Done.
bottom: 7px;
box-sizing: border-box;
display: block;
- height: 32px;
+ height: 16px;
position: absolute;
width: 100%;
}
@@ -75,9 +75,8 @@
border-bottom-left-radius: 3px 3px;
border-bottom-right-radius: 3px 3px;
/* Matches height of title. */
- bottom: 23px;
+ bottom: 31px;
height: 3px;
- opacity: 0.5;
position: absolute;
width: 100%;
z-index: 100;
@@ -88,6 +87,7 @@
height: 23px;
line-height: 23px;
overflow: hidden;
+ padding-top: 8px;
Evan Stade 2011/08/29 21:28:53 just add this to line height. And then you'll need
csilv 2011/08/29 22:56:52 line-height doesn't quite work because the text wi
Evan Stade 2011/08/29 23:06:45 if that's the case then I'm sure we can either bot
csilv 2011/08/30 00:45:29 There's not a general CSS way to make text align t
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
« no previous file with comments | « chrome/browser/resources/ntp4/bookmarks_page.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698