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

Side by Side Diff: chrome/browser/resources/md_history/history_item.html

Issue 2123683002: MD History: Address design nits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
8 <link rel="import" href="chrome://resources/html/icon.html"> 8 <link rel="import" href="chrome://resources/html/icon.html">
9 <link rel="import" href="chrome://resources/html/util.html"> 9 <link rel="import" href="chrome://resources/html/util.html">
10 <link rel="import" href="chrome://history/browser_service.html"> 10 <link rel="import" href="chrome://history/browser_service.html">
11 <link rel="import" href="chrome://history/constants.html"> 11 <link rel="import" href="chrome://history/constants.html">
12 <link rel="import" href="chrome://history/searched_label.html"> 12 <link rel="import" href="chrome://history/searched_label.html">
13 <link rel="import" href="chrome://history/shared_style.html"> 13 <link rel="import" href="chrome://history/shared_style.html">
14 14
15 <dom-module id="history-item"> 15 <dom-module id="history-item">
16 <template> 16 <template>
17 <style include="shared-style"> 17 <style include="shared-style">
18 :host { 18 :host {
19 @apply(--layout-center); 19 @apply(--layout-center);
20 @apply(--layout-vertical); 20 @apply(--layout-vertical);
21 padding: 0 var(--history-item-padding-side, 0); 21 padding: 0 var(--history-item-padding-side, 0);
22 } 22 }
23 23
24 #main-container { 24 #main-container {
25 background: #fff; 25 background: #fff;
26 border-color: var(--card-border-color); 26 border-color: var(--card-border-color);
27 border-radius: 2px;
27 border-style: var(--border-style, solid); 28 border-style: var(--border-style, solid);
28 border-width: 0 1px; 29 border-width: 0 1px;
29 max-width: var(--card-max-width); 30 max-width: var(--card-max-width);
30 min-width: var(--card-min-width); 31 min-width: var(--card-min-width);
31 width: 100%; 32 width: 100%;
32 } 33 }
33 34
34 :host([is-first-item]) #main-container { 35 :host([is-first-item]) #main-container {
35 margin-top: var(--first-card-padding-top); 36 margin-top: var(--first-card-padding-top);
36 } 37 }
(...skipping 11 matching lines...) Expand all
48 display: none; 49 display: none;
49 } 50 }
50 51
51 :host([is-card-start]) #date-accessed { 52 :host([is-card-start]) #date-accessed {
52 display: flex; 53 display: flex;
53 } 54 }
54 55
55 #item-container { 56 #item-container {
56 @apply(--layout-center); 57 @apply(--layout-center);
57 @apply(--layout-horizontal); 58 @apply(--layout-horizontal);
58 min-height: 40px; 59 min-height: var(--item-height);
59 } 60 }
60 61
61 :host([is-card-start]) #item-container { 62 :host([is-card-start]) #item-container {
62 padding-top: var(--card-first-last-item-padding); 63 padding-top: var(--card-first-last-item-padding);
63 } 64 }
64 65
65 :host([is-card-end]) #item-container { 66 :host([is-card-end]) #item-container {
66 padding-bottom: var(--card-first-last-item-padding); 67 padding-bottom: var(--card-first-last-item-padding);
67 } 68 }
68 69
69 #title-and-domain { 70 #title-and-domain {
70 @apply(--layout-center); 71 @apply(--layout-center);
71 @apply(--layout-flex); 72 @apply(--layout-flex);
72 @apply(--layout-horizontal); 73 @apply(--layout-horizontal);
73 min-height: 40px;
74 overflow: hidden; 74 overflow: hidden;
75 } 75 }
76 76
77 paper-checkbox { 77 paper-checkbox {
78 --paper-checkbox-checked-color: rgb(68, 136, 255); 78 --paper-checkbox-checked-color: rgb(68, 136, 255);
79 --paper-checkbox-size: 16px; 79 --paper-checkbox-size: 16px;
80 --paper-checkbox-unchecked-color: #969696; 80 --paper-checkbox-unchecked-color: var(--secondary-text-color);
81 height: 16px; 81 height: 16px;
82 margin: 0 16px 0 20px; 82 margin: 0 16px 0 20px;
83 padding: 2px; 83 padding: 2px;
84 width: 16px; 84 width: 16px;
85 } 85 }
86 86
87 #time-accessed { 87 #time-accessed {
88 color: #646464; 88 color: #646464;
89 min-width: 96px; 89 min-width: 96px;
90 } 90 }
91 91
92 #domain { 92 #domain {
93 -webkit-margin-start: 16px; 93 -webkit-margin-start: 16px;
94 color: #969696; 94 color: var(--secondary-text-color);
95 flex-shrink: 0; 95 flex-shrink: 0;
96 } 96 }
97 97
98 #menu-button { 98 #menu-button {
99 -webkit-margin-end: 12px; 99 -webkit-margin-end: 12px;
100 -webkit-margin-start: 2px; 100 -webkit-margin-start: 2px;
101 color: #969696; 101 color: var(--secondary-text-color);
102 height: 36px; 102 height: 36px;
103 width: 36px; 103 width: 36px;
104 } 104 }
105 105
106 #menu-button iron-icon { 106 #menu-button iron-icon {
107 height: 20px; 107 height: 20px;
108 width: 20px; 108 width: 20px;
109 } 109 }
110 110
111 #bookmark-star { 111 #bookmark-star {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 <iron-icon icon="cr:more-vert"></iron-icon> 158 <iron-icon icon="cr:more-vert"></iron-icon>
159 </button> 159 </button>
160 </div> 160 </div>
161 <template is="dom-if" if="[[hasTimeGap]]"> 161 <template is="dom-if" if="[[hasTimeGap]]">
162 <div id="time-gap-separator"></div> 162 <div id="time-gap-separator"></div>
163 </template> 163 </template>
164 </div> 164 </div>
165 </template> 165 </template>
166 <script src="chrome://history/history_item.js"></script> 166 <script src="chrome://history/history_item.js"></script>
167 </dom-module> 167 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/grouped_list.html ('k') | chrome/browser/resources/md_history/history_toolbar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698