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

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

Issue 2670123003: [Local NTP] Cleanup: Remove support for "icons" layout (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | chrome/browser/resources/local_ntp/local_ntp.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/local_ntp/local_ntp.css
diff --git a/chrome/browser/resources/local_ntp/local_ntp.css b/chrome/browser/resources/local_ntp/local_ntp.css
index 184560e9cc32f394350cf6b942a61f09d3d58b99..31851c9fac37aceda93b29815771151510336f5c 100644
--- a/chrome/browser/resources/local_ntp/local_ntp.css
+++ b/chrome/browser/resources/local_ntp/local_ntp.css
@@ -166,42 +166,20 @@ body.fakebox-focused #cursor {
text-align: -webkit-center;
}
-.icon-ntp #most-visited {
- margin-top: calc(100px - 36px);
-}
-
/* Non-Google pages have no Fakebox, so don't need top margin. */
.non-google-page #most-visited {
margin-top: 0;
}
#mv-tiles {
+ /* We need a 16px margin and the tiles have 130px height. */
+ height: calc(2*130px + 16px);
+ line-height: calc(130px + 16px);
margin: 0;
position: relative;
text-align: -webkit-auto;
}
-.thumb-ntp #mv-tiles {
- /* we need a 16px margin and the tiles have 130px height. */
- height: calc(2*130px + 16px);
- line-height: calc(130px + 16px);
-}
-
-.icon-ntp #mv-tiles {
- background: rgba(255,255,255,0.2);
- border-radius: 4px;
- height: calc(2 * 112px);
- padding: calc(36px - 18px) calc(36px - 18px - 12px);
-}
-
-.icon-ntp.dark #mv-tiles {
- background: rgba(0,0,0,0.4);
-}
-
-.default-theme.icon-ntp #mv-tiles {
- background: none;
-}
-
#mv-notice-x {
-webkit-mask-image: -webkit-image-set(
url(chrome-search://local-ntp/images/close_3_mask.png) 1x,
@@ -240,10 +218,6 @@ html[dir=rtl] #mv-notice-x {
padding: 10px 0;
}
-.icon-ntp #mv-notice {
- margin-top: 30px;
-}
-
#mv-notice span {
cursor: default;
display: inline-block;
« no previous file with comments | « no previous file | chrome/browser/resources/local_ntp/local_ntp.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698