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

Unified Diff: chrome/browser/resources/md_history/history_item.html

Issue 1993613002: [MD History] Implement grouped history UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@privatize
Patch Set: address comments Created 4 years, 7 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_history/history_item.html
diff --git a/chrome/browser/resources/md_history/history_item.html b/chrome/browser/resources/md_history/history_item.html
index d9bdbcc6c1bc1a9be7a81cffcb6e895c6cf86faf..a8a2ab797d9130eed4fc64d7cbeeb32aa23713c6 100644
--- a/chrome/browser/resources/md_history/history_item.html
+++ b/chrome/browser/resources/md_history/history_item.html
@@ -7,6 +7,7 @@
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
<link rel="import" href="chrome://resources/html/icon.html">
<link rel="import" href="chrome://resources/html/util.html">
+<link rel="import" href="chrome://history/constants.html">
<link rel="import" href="chrome://history/shared_style.html">
<dom-module id="history-item">
@@ -15,13 +16,13 @@
:host {
@apply(--layout-center);
@apply(--layout-vertical);
- padding: 0 var(--card-padding-side);
+ padding: 0 var(--history-item-padding-side, 0);
}
#main-container {
background: #fff;
border-color: var(--card-border-color);
- border-style: solid;
+ border-style: var(--border-style, solid);
border-width: 0 1px;
max-width: var(--card-max-width);
min-width: var(--card-min-width);
@@ -34,7 +35,7 @@
:host([is-card-end]) #main-container {
border-bottom-width: 2px;
- margin-bottom: 20px;
+ margin-bottom: var(--card-padding-between);
}
#date-accessed {
@@ -52,11 +53,11 @@
}
:host([is-card-start]) #item-container {
- padding-top: 8px;
+ padding-top: var(--card-first-last-item-padding);
}
:host([is-card-end]) #item-container {
- padding-bottom: 8px;
+ padding-bottom: var(--card-first-last-item-padding);
}
#title-and-domain {
« no previous file with comments | « chrome/browser/resources/md_history/grouped_list.js ('k') | chrome/browser/resources/md_history/history_item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698