OLD | NEW |
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/paper-styles/shadow.htm
l"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> |
4 <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-collapse/iron-coll
apse.html"> |
5 <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-icon/iron-icon.htm
l"> |
6 <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/iron-flex-layout/iron-f
lex-layout.html"> |
7 <link rel="import" href="chrome://resources/html/icon.html"> | 7 <link rel="import" href="chrome://resources/html/icon.html"> |
8 <link rel="import" href="chrome://history/searched_label.html"> | 8 <link rel="import" href="chrome://history/searched_label.html"> |
9 <link rel="import" href="chrome://history/shared_style.html"> | 9 <link rel="import" href="chrome://history/shared_style.html"> |
10 | 10 |
11 <dom-module id="history-synced-device-card"> | 11 <dom-module id="history-synced-device-card"> |
12 <template> | 12 <template> |
13 <style include="shared-style"> | 13 <style include="shared-style"> |
14 :host { | 14 :host { |
15 @apply(--layout-center); | 15 @apply(--card-sizing); |
16 @apply(--layout-vertical); | 16 display: block; |
17 padding: 0 var(--card-padding-side) var(--card-padding-between); | 17 padding-bottom: var(--card-padding-between); |
18 } | 18 } |
19 | 19 |
20 #card-heading { | 20 #card-heading { |
21 @apply(--layout-justified); | 21 @apply(--layout-justified); |
22 cursor: pointer; | 22 cursor: pointer; |
23 } | 23 } |
24 | 24 |
25 #icon { | 25 #icon { |
26 -webkit-margin-start: 20px; | 26 -webkit-margin-start: 20px; |
27 } | 27 } |
(...skipping 25 matching lines...) Expand all Loading... |
53 | 53 |
54 #collapse { | 54 #collapse { |
55 overflow: hidden; | 55 overflow: hidden; |
56 } | 56 } |
57 | 57 |
58 #history-item-container { | 58 #history-item-container { |
59 background: #fff; | 59 background: #fff; |
60 border: 1px solid var(--card-border-color); | 60 border: 1px solid var(--card-border-color); |
61 border-bottom-width: 2px; | 61 border-bottom-width: 2px; |
62 border-radius: 2px; | 62 border-radius: 2px; |
63 max-width: var(--card-max-width); | |
64 min-width: var(--card-min-width); | |
65 width: 100%; | |
66 } | 63 } |
67 | 64 |
68 #item-container { | 65 #item-container { |
69 @apply(--layout-center); | 66 @apply(--layout-center); |
70 @apply(--layout-horizontal); | 67 @apply(--layout-horizontal); |
71 min-height: var(--item-height); | 68 min-height: var(--item-height); |
72 } | 69 } |
73 | 70 |
74 #window-separator { | 71 #window-separator { |
75 background-color: var(--card-border-color); | 72 background-color: var(--card-border-color); |
(...skipping 28 matching lines...) Expand all Loading... |
104 </template> | 101 </template> |
105 <div class="item-container"> | 102 <div class="item-container"> |
106 <p on-tap="openAllTabs_" id="open-tabs">$i18n{openAll}</p> | 103 <p on-tap="openAllTabs_" id="open-tabs">$i18n{openAll}</p> |
107 </div> | 104 </div> |
108 </div> | 105 </div> |
109 </iron-collapse> | 106 </iron-collapse> |
110 </div> | 107 </div> |
111 </template> | 108 </template> |
112 <script src="chrome://history/synced_device_card.js"></script> | 109 <script src="chrome://history/synced_device_card.js"></script> |
113 </dom-module> | 110 </dom-module> |
OLD | NEW |