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

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

Issue 3340005: Make NTP look good with themes. (Closed)
Patch Set: Created 10 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/new_new_tab.html
diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html
index ae85056890e4a5cec51a73b32342c60041a98fa9..71e796b41399136771e0442cc4b3ba7f2c0b46ce 100644
--- a/chrome/browser/resources/new_new_tab.html
+++ b/chrome/browser/resources/new_new_tab.html
@@ -129,19 +129,31 @@ if ('mode' in hashParams) {
<span class="link"><span class="link-color"></span></span>
</div>
+ <div id="top-spacer"></div>
+
<div class="sections">
<!-- Start disabled. We only enable if we have at least one app. -->
<div class="section disabled" section="APPS" id="apps-section">
- <h2><img class="disclosure" img src="ntp/ntp_disclosure_triangle.png"
- ><span i18n-content="apps"></span><div class="back"></div></h2>
+ <h2>
+ <img class="disclosure" img src="ntp/ntp_disclosure_triangle.png">
+ <div class="mask">
+ <div class="back"></div>
+ <span i18n-content="apps"></span>
+ </div>
+ </h2>
<div class="maxiview" id="apps-section-content"></div>
<div class="miniview"></div>
</div>
<div id="most-visited-section" class="section" section="THUMB">
- <h2><img class="disclosure" src="ntp/ntp_disclosure_triangle.png"
- ><span i18n-content="mostvisited"></span
- ><div class="settings"></div><div class="back"></div></h2>
+ <h2>
+ <img class="disclosure" src="ntp/ntp_disclosure_triangle.png">
+ <div class="mask">
+ <div class="back"></div>
+ <span i18n-content="mostvisited"></span>
+ <div class="settings-wrapper"><div class="settings"></div></div>
+ </div>
+ </h2>
<div class="maxiview" id="most-visited"></div>
<div class="miniview"></div>
</div>
@@ -150,8 +162,12 @@ if ('mode' in hashParams) {
silly without any. -->
<div id="recently-closed" class="section hidden disabled" section="RECENT"
noexpand="true">
- <h2><span i18n-content="recentlyclosed"></span
- ><div class="back"></div></h2>
+ <h2>
+ <div class="mask">
+ <div class="back"></div>
+ <span i18n-content="recentlyclosed"></span>
+ </div>
+ </h2>
<div class="miniview"></div>
</div>

Powered by Google App Engine
This is Rietveld 408576698