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

Unified Diff: chrome/browser/resources/md_downloads/item.css

Issue 1299803002: MD Downloads: update page margins/layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding deps Created 5 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/md_downloads/item.css
diff --git a/chrome/browser/resources/md_downloads/item.css b/chrome/browser/resources/md_downloads/item.css
index d5353526b1f267874fd9c0c63fb1f49e51a10c9f..75b393a3303d615b9ff81046c3be4d4ad0f49c1a 100644
--- a/chrome/browser/resources/md_downloads/item.css
+++ b/chrome/browser/resources/md_downloads/item.css
@@ -5,11 +5,21 @@
:host {
@apply(--downloads-shared-style);
display: flex;
- margin: 32px 0;
+ margin: 24px 0;
}
:host([hide-date]) {
- margin-top: -16px;
+ margin-top: -12px;
+}
+
+:host(:not(:first-of-type):not([hide-date])) {
+ border-top: 1px solid rgba(0, 0, 0, .14);
+ padding-top: 30px;
+}
+
+:host(:first-of-type),
+:host(:not(:first-of-type):not([hide-date])) {
+ margin-top: 30px;
}
#date-container,
@@ -18,8 +28,8 @@
}
#date-container > * {
- color: #616161;
- font-size: 107.69%;
+ color: #5a5a5a;
+ font-size: 92.3%;
font-weight: bold;
}
@@ -161,13 +171,6 @@
}
@media not all and (max-width: 1024px) {
- /* Only show date separators in wide mode. */
- :host(:not(:first-of-type):not([hide-date])) :-webkit-any(#content-wrapper,
- #since) {
- border-top: 1px solid rgba(0, 0, 0, .2); /* TODO(dbeam): real color. */
- padding-top: 32px;
- }
-
#date-container > * {
-webkit-margin-start: 24px;
}
@@ -190,7 +193,7 @@
#date-container {
flex: none !important;
- margin: 0 auto 32px;
+ margin: 0 auto 30px;
width: var(--downloads-item-width);
}
}
« no previous file with comments | « chrome/browser/resources/md_downloads/downloads.html ('k') | chrome/browser/resources/md_downloads/item.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698