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

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

Issue 1607403004: MD History: Display synced tabs history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@second_patch
Patch Set: Merged but tests not working everything else SEEMS ok Created 4 years, 10 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 6d685818a2a66b23a6112e8d8fdd26648e3dd844..947426225e678d7313e461854e653eb308bd7aab 100644
--- a/chrome/browser/resources/md_history/history_item.html
+++ b/chrome/browser/resources/md_history/history_item.html
@@ -8,8 +8,10 @@
<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.html">
<link rel="import" href="chrome://resources/html/util.html">
+<link rel="import" href="chrome://history/shared_style.html">
<dom-module id="history-item">
<template>
+ <style include="shared-style"></style>
<style>
:host {
@apply(--layout-center);
@@ -41,29 +43,14 @@
}
:host([is-card-start]) #date-accessed {
- @apply(--layout-center);
- @apply(--layout-horizontal);
- -webkit-padding-start: 20px;
- background: #fafafa;
- border-bottom: 1px solid rgba(0, 0, 0, 0.14);
- border-radius: 2px 2px 0 0;
- color: #333;
- font-size: 14px;
- font-weight: 500;
- height: 48px;
- }
-
- #item-container {
- @apply(--layout-center);
- @apply(--layout-horizontal);
- min-height: 40px;
+ display: flex;
}
- :host([is-card-start]) #item-container {
+ :host([is-card-start]) .item-container {
padding-top: 8px;
}
- :host([is-card-end]) #item-container {
+ :host([is-card-end]) .item-container {
padding-bottom: 8px;
}
@@ -90,18 +77,6 @@
min-width: 96px;
}
- #title {
- color: #333;
- overflow: hidden;
- text-decoration: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-
- #title:hover {
- text-decoration: underline;
- }
-
#domain {
-webkit-margin-start: 16px;
color: #969696;
@@ -113,12 +88,6 @@
--iron-icon-width: 16px;
}
- #website-icon {
- -webkit-margin-end: 16px;
- height: 16px;
- min-width: 16px;
- }
-
#menu-button {
-webkit-margin-end: 12px;
-webkit-margin-start: 2px;
@@ -143,15 +112,15 @@
}
</style>
<div id="main-container">
- <div id="date-accessed">[[historyDate]]</div>
- <div id="item-container">
+ <div id="date-accessed" class="card-title">[[historyDate]]</div>
+ <div class="item-container">
<paper-checkbox id="checkbox" on-tap="onCheckboxSelected_"
checked="{{selected}}" disabled="[[selectionNotAllowed_()]]">
</paper-checkbox>
<span id="time">{{timeAccessed}}</span>
- <div id="website-icon"></div>
+ <div class="website-icon" id="icon"></div>
<div id="titleAndDomain">
- <a href$="{{websiteUrl}}" id="title">{{websiteTitle}}</a>
+ <a href$="{{websiteUrl}}" id="title" class="url">{{websiteTitle}}</a>
<span id="domain">{{websiteDomain}}</span>
</div>
<iron-icon icon="star" id="bookmark"></iron-icon>
« no previous file with comments | « chrome/browser/resources/md_history/history_card.html ('k') | chrome/browser/resources/md_history/history_item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698