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

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

Issue 2268073002: MD History: Remove usage of iron-flex-layout from MD History (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 3 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
« no previous file with comments | « chrome/browser/resources/md_history/side_bar.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-collapse/iron-coll apse.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll apse.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/iron-flex-layout/iron-f lex-layout.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
7 <link rel="import" href="chrome://resources/html/icon.html"> 6 <link rel="import" href="chrome://resources/html/icon.html">
8 <link rel="import" href="chrome://history/browser_service.html"> 7 <link rel="import" href="chrome://history/browser_service.html">
9 <link rel="import" href="chrome://history/constants.html"> 8 <link rel="import" href="chrome://history/constants.html">
10 <link rel="import" href="chrome://history/searched_label.html"> 9 <link rel="import" href="chrome://history/searched_label.html">
11 <link rel="import" href="chrome://history/shared_style.html"> 10 <link rel="import" href="chrome://history/shared_style.html">
12 11
13 <dom-module id="history-synced-device-card"> 12 <dom-module id="history-synced-device-card">
14 <template> 13 <template>
15 <style include="shared-style"> 14 <style include="shared-style">
16 :host { 15 :host {
17 @apply(--card-sizing); 16 @apply(--card-sizing);
18 display: block; 17 display: block;
19 padding-bottom: var(--card-padding-between); 18 padding-bottom: var(--card-padding-between);
20 } 19 }
21 20
22 #card-heading { 21 #card-heading {
23 @apply(--layout-justified);
24 cursor: pointer; 22 cursor: pointer;
23 justify-content: space-between;
25 } 24 }
26 25
27 #tab-item-list { 26 #tab-item-list {
28 padding: 8px 0; 27 padding: 8px 0;
29 } 28 }
30 29
31 #last-update-time { 30 #last-update-time {
32 color: var(--secondary-text-color); 31 color: var(--secondary-text-color);
33 } 32 }
34 33
35 #right-buttons { 34 #right-buttons {
36 -webkit-margin-end: 4px; 35 -webkit-margin-end: 4px;
37 } 36 }
38 37
39 #menu-button { 38 #menu-button {
40 -webkit-margin-end: 8px; 39 -webkit-margin-end: 8px;
41 } 40 }
42 41
43 #collapse { 42 #collapse {
44 overflow: hidden; 43 overflow: hidden;
45 } 44 }
46 45
47 #history-item-container { 46 #history-item-container {
48 @apply(--card-box-shadow); 47 @apply(--card-box-shadow);
49 background: #fff; 48 background: #fff;
50 border-radius: 2px; 49 border-radius: 2px;
51 } 50 }
52 51
53 #item-container { 52 #item-container {
54 @apply(--layout-center); 53 align-items: center;
55 @apply(--layout-horizontal); 54 display: flex;
56 margin: 0 20px; 55 margin: 0 20px;
57 min-height: var(--item-height); 56 min-height: var(--item-height);
58 } 57 }
59 58
60 #window-separator { 59 #window-separator {
61 background-color: var(--card-border-color); 60 background-color: var(--card-border-color);
62 height: 1px; 61 height: 1px;
63 margin: 5px auto; 62 margin: 5px auto;
64 width: 80%; 63 width: 80%;
65 } 64 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 <div id="window-separator" 101 <div id="window-separator"
103 hidden$="[[!isWindowSeparatorIndex_(index, separatorIndexes)]]"> 102 hidden$="[[!isWindowSeparatorIndex_(index, separatorIndexes)]]">
104 </div> 103 </div>
105 </template> 104 </template>
106 </div> 105 </div>
107 </iron-collapse> 106 </iron-collapse>
108 </div> 107 </div>
109 </template> 108 </template>
110 <script src="chrome://history/synced_device_card.js"></script> 109 <script src="chrome://history/synced_device_card.js"></script>
111 </dom-module> 110 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/side_bar.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698