| 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/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"> | 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"> | 6 <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"> | 7 <link rel="import" href="chrome://resources/html/icon.html"> |
| 8 <link rel="import" href="chrome://history/browser_service.html"> | 8 <link rel="import" href="chrome://history/browser_service.html"> |
| 9 <link rel="import" href="chrome://history/constants.html"> | 9 <link rel="import" href="chrome://history/constants.html"> |
| 10 <link rel="import" href="chrome://history/searched_label.html"> | 10 <link rel="import" href="chrome://history/searched_label.html"> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 } | 25 } |
| 26 | 26 |
| 27 #icon { | 27 #icon { |
| 28 -webkit-margin-start: 20px; | 28 -webkit-margin-start: 20px; |
| 29 } | 29 } |
| 30 | 30 |
| 31 #tab-item-list { | 31 #tab-item-list { |
| 32 padding: 8px 0; | 32 padding: 8px 0; |
| 33 } | 33 } |
| 34 | 34 |
| 35 #open-tabs { | |
| 36 -webkit-margin-start: 20px; | |
| 37 color: rgb(102, 136, 238); | |
| 38 cursor: pointer; | |
| 39 } | |
| 40 | |
| 41 #last-update-time { | 35 #last-update-time { |
| 42 color: var(--secondary-text-color); | 36 color: var(--secondary-text-color); |
| 43 } | 37 } |
| 44 | 38 |
| 45 .card-title .icon-button { | 39 #right-buttons { |
| 46 -webkit-margin-end: 4px; | 40 -webkit-margin-end: 4px; |
| 47 } | 41 } |
| 48 | 42 |
| 43 #menu-button { |
| 44 -webkit-margin-end: 8px; |
| 45 } |
| 46 |
| 49 #collapse { | 47 #collapse { |
| 50 border-bottom: 1px solid var(--card-border-color); | 48 border-bottom: 1px solid var(--card-border-color); |
| 51 overflow: hidden; | 49 overflow: hidden; |
| 52 } | 50 } |
| 53 | 51 |
| 54 #history-item-container { | 52 #history-item-container { |
| 55 background: #fff; | 53 background: #fff; |
| 56 border: 1px solid var(--card-border-color); | 54 border: 1px solid var(--card-border-color); |
| 57 border-radius: 2px; | 55 border-radius: 2px; |
| 58 } | 56 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 70 width: 80%; | 68 width: 80%; |
| 71 } | 69 } |
| 72 </style> | 70 </style> |
| 73 <div id="history-item-container"> | 71 <div id="history-item-container"> |
| 74 <div class="card-title" id="card-heading" aria-expanded$="[[cardOpen_]]" | 72 <div class="card-title" id="card-heading" aria-expanded$="[[cardOpen_]]" |
| 75 aria-controls="collapse" on-tap="toggleTabCard"> | 73 aria-controls="collapse" on-tap="toggleTabCard"> |
| 76 <div> | 74 <div> |
| 77 [[device]] | 75 [[device]] |
| 78 <span id="last-update-time">[[lastUpdateTime]]</span> | 76 <span id="last-update-time">[[lastUpdateTime]]</span> |
| 79 </div> | 77 </div> |
| 80 <button is="paper-icon-button-light" class="icon-button" | 78 <div id="right-buttons"> |
| 81 title$="[[getCollapseTitle_(cardOpen_)]]"> | 79 <button is="paper-icon-button-light" id="menu-button" |
| 82 <iron-icon icon="cr:expand-less" id="dropdown-indicator"> | 80 class="icon-button" on-tap="onMenuButtonTap_"> |
| 83 </iron-icon> | 81 <iron-icon icon="cr:more-vert"></iron-icon> |
| 84 </button> | 82 </button> |
| 83 <button is="paper-icon-button-light" class="icon-button" |
| 84 title$="[[getCollapseTitle_(cardOpen_)]]"> |
| 85 <iron-icon icon="cr:expand-less" id="dropdown-indicator"> |
| 86 </iron-icon> |
| 87 </button> |
| 88 </div> |
| 85 </div> | 89 </div> |
| 86 | 90 |
| 87 <iron-collapse opened="{{cardOpen_}}" id="collapse"> | 91 <iron-collapse opened="{{cardOpen_}}" id="collapse"> |
| 88 <div id="tab-item-list"> | 92 <div id="tab-item-list"> |
| 89 <template is="dom-repeat" items="[[tabs]]" as="tab" id="tab-list"> | 93 <template is="dom-repeat" items="[[tabs]]" as="tab" id="tab-list"> |
| 90 <div id="item-container"> | 94 <div id="item-container"> |
| 91 <div id="icon" class="website-icon"></div> | 95 <div id="icon" class="website-icon"></div> |
| 92 <a href="[[tab.url]]" class="website-title" title="[[tab.title]]" | 96 <a href="[[tab.url]]" class="website-title" title="[[tab.title]]" |
| 93 on-tap="openTab_"> | 97 on-tap="openTab_"> |
| 94 <history-searched-label title="[[tab.title]]" | 98 <history-searched-label title="[[tab.title]]" |
| 95 search-term="[[searchTerm]]"></history-searched-label> | 99 search-term="[[searchTerm]]"></history-searched-label> |
| 96 </a> | 100 </a> |
| 97 </div> | 101 </div> |
| 98 <div id="window-separator" | 102 <div id="window-separator" |
| 99 hidden$="[[!isWindowSeparatorIndex_(index, separatorIndexes)]]"> | 103 hidden$="[[!isWindowSeparatorIndex_(index, separatorIndexes)]]"> |
| 100 </div> | 104 </div> |
| 101 </template> | 105 </template> |
| 102 <div class="item-container"> | |
| 103 <p on-tap="openAllTabs_" id="open-tabs">$i18n{openAll}</p> | |
| 104 </div> | |
| 105 </div> | 106 </div> |
| 106 </iron-collapse> | 107 </iron-collapse> |
| 107 </div> | 108 </div> |
| 108 </template> | 109 </template> |
| 109 <script src="chrome://history/synced_device_card.js"></script> | 110 <script src="chrome://history/synced_device_card.js"></script> |
| 110 </dom-module> | 111 </dom-module> |
| OLD | NEW |