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

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

Issue 2073703002: MD History: Simplify flex layout in <history-list> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 6 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/constants.html"> 10 <link rel="import" href="chrome://history/constants.html">
(...skipping 12 matching lines...) Expand all
23 #main-container { 23 #main-container {
24 background: #fff; 24 background: #fff;
25 border-color: var(--card-border-color); 25 border-color: var(--card-border-color);
26 border-style: var(--border-style, solid); 26 border-style: var(--border-style, solid);
27 border-width: 0 1px; 27 border-width: 0 1px;
28 max-width: var(--card-max-width); 28 max-width: var(--card-max-width);
29 min-width: var(--card-min-width); 29 min-width: var(--card-min-width);
30 width: 100%; 30 width: 100%;
31 } 31 }
32 32
33 :host([is-first-item]) #main-container {
34 margin-top: var(--first-card-padding-top);
35 }
36
33 :host([is-card-start]) #main-container { 37 :host([is-card-start]) #main-container {
34 border-top-width: 1px; 38 border-top-width: 1px;
35 } 39 }
36 40
37 :host([is-card-end]) #main-container { 41 :host([is-card-end]) #main-container {
38 border-bottom-width: 2px; 42 border-bottom-width: 2px;
39 margin-bottom: var(--card-padding-between); 43 margin-bottom: var(--card-padding-between);
40 } 44 }
41 45
42 #date-accessed { 46 #date-accessed {
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 <iron-icon icon="cr:more-vert"></iron-icon> 149 <iron-icon icon="cr:more-vert"></iron-icon>
146 </button> 150 </button>
147 </div> 151 </div>
148 <template is="dom-if" if="[[hasTimeGap]]"> 152 <template is="dom-if" if="[[hasTimeGap]]">
149 <div id="time-gap-separator"></div> 153 <div id="time-gap-separator"></div>
150 </template> 154 </template>
151 </div> 155 </div>
152 </template> 156 </template>
153 <script src="chrome://history/history_item.js"></script> 157 <script src="chrome://history/history_item.js"></script>
154 </dom-module> 158 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698