| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> | 2 <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-icon/iron-icon.htm
l"> | 3 <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-icons/iron-icons.h
tml"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> |
| 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.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> |
| 9 <link rel="import" href="chrome://resources/html/util.html"> | 9 <link rel="import" href="chrome://resources/html/util.html"> |
| 10 | 10 |
| 11 <dom-module id="history-item"> | 11 <dom-module id="history-item"> |
| 12 <template> | 12 <template> |
| 13 <style> | 13 <style> |
| 14 :host { | 14 :host { |
| 15 @apply(--layout-center); | 15 @apply(--layout-center); |
| 16 @apply(--layout-vertical); | 16 @apply(--layout-vertical); |
| 17 padding: 0 24px; | 17 padding: 0 24px; |
| 18 } | 18 } |
| 19 | 19 |
| 20 :host([hidden]) { |
| 21 display: none !important; |
| 22 } |
| 23 |
| 20 #main-container { | 24 #main-container { |
| 21 background: #fff; | 25 background: #fff; |
| 22 border-color: rgba(0, 0, 0, 0.14); | 26 border-color: rgba(0, 0, 0, 0.14); |
| 23 border-style: solid; | 27 border-style: solid; |
| 24 border-width: 0 1px; | 28 border-width: 0 1px; |
| 25 max-width: 960px; | 29 max-width: 960px; |
| 26 min-width: 500px; | 30 min-width: 500px; |
| 27 width: 100%; | 31 width: 100%; |
| 28 } | 32 } |
| 29 | 33 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 visibility: hidden; | 140 visibility: hidden; |
| 137 } | 141 } |
| 138 | 142 |
| 139 #time-gap-separator { | 143 #time-gap-separator { |
| 140 -webkit-border-start: 1px solid #888; | 144 -webkit-border-start: 1px solid #888; |
| 141 -webkit-margin-start: 77px; | 145 -webkit-margin-start: 77px; |
| 142 height: 15px; | 146 height: 15px; |
| 143 } | 147 } |
| 144 </style> | 148 </style> |
| 145 <div id="main-container"> | 149 <div id="main-container"> |
| 146 <div id="date-accessed">[[historyDate]]</div> | 150 <div id="date-accessed"> |
| 151 {{listTitle_(numberOfItems, historyDate, searchTerm)}} |
| 152 </div> |
| 147 <div id="item-container"> | 153 <div id="item-container"> |
| 148 <paper-checkbox id="checkbox" on-tap="onCheckboxSelected_" | 154 <paper-checkbox id="checkbox" on-tap="onCheckboxSelected_" |
| 149 checked="{{selected}}" disabled="[[selectionNotAllowed_()]]"> | 155 checked="{{selected}}" disabled="[[selectionNotAllowed_()]]"> |
| 150 </paper-checkbox> | 156 </paper-checkbox> |
| 151 <span id="time">{{timeAccessed}}</span> | 157 <span id="time">{{visibleTimestamp}}</span> |
| 152 <div id="website-icon"></div> | 158 <div id="website-icon"></div> |
| 153 <div id="titleAndDomain"> | 159 <div id="titleAndDomain"> |
| 154 <a href$="{{websiteUrl}}" id="title">{{websiteTitle}}</a> | 160 <a href$="{{websiteUrl}}" id="title"></a> |
| 155 <span id="domain">{{websiteDomain}}</span> | 161 <span id="domain">{{websiteDomain}}</span> |
| 156 </div> | 162 </div> |
| 157 <iron-icon icon="star" id="bookmark"></iron-icon> | 163 <iron-icon icon="star" id="bookmark"></iron-icon> |
| 158 <paper-icon-button icon="more-vert" id="menu-button" | 164 <paper-icon-button icon="more-vert" id="menu-button" |
| 159 on-tap="onMenuButtonTap_"> | 165 on-tap="onMenuButtonTap_"> |
| 160 </paper-icon-button> | 166 </paper-icon-button> |
| 161 </div> | 167 </div> |
| 162 <template is="dom-if" if="{{hasTimeGap}}"> | 168 <template is="dom-if" if="{{hasTimeGap}}"> |
| 163 <div id="time-gap-separator"></div> | 169 <div id="time-gap-separator"></div> |
| 164 </template> | 170 </template> |
| 165 </div> | 171 </div> |
| 166 </template> | 172 </template> |
| 167 <script src="chrome://history/history_item.js"></script> | 173 <script src="chrome://history/history_item.js"></script> |
| 168 </dom-module> | 174 </dom-module> |
| OLD | NEW |