| 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/cr/ui/focus_row.html"> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <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"> | 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-icon/iron-icon.htm
l"> | 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/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"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> |
| 7 <link rel="import" href="chrome://resources/html/icon.html"> | 8 <link rel="import" href="chrome://resources/html/icon.html"> |
| 8 <link rel="import" href="chrome://history/browser_service.html"> | 9 <link rel="import" href="chrome://history/browser_service.html"> |
| 9 <link rel="import" href="chrome://history/constants.html"> | 10 <link rel="import" href="chrome://history/constants.html"> |
| 10 <link rel="import" href="chrome://history/searched_label.html"> | 11 <link rel="import" href="chrome://history/searched_label.html"> |
| 11 <link rel="import" href="chrome://history/shared_style.html"> | 12 <link rel="import" href="chrome://history/shared_style.html"> |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 #collapse { | 56 #collapse { |
| 56 overflow: hidden; | 57 overflow: hidden; |
| 57 } | 58 } |
| 58 | 59 |
| 59 #history-item-container { | 60 #history-item-container { |
| 60 @apply(--shadow-elevation-2dp); | 61 @apply(--shadow-elevation-2dp); |
| 61 background: #fff; | 62 background: #fff; |
| 62 border-radius: 2px; | 63 border-radius: 2px; |
| 63 } | 64 } |
| 64 | 65 |
| 65 #item-container { | 66 .item-container { |
| 66 align-items: center; | 67 align-items: center; |
| 67 display: flex; | 68 display: flex; |
| 68 margin: 0 20px; | 69 margin: 0 20px; |
| 69 min-height: var(--item-height); | 70 min-height: var(--item-height); |
| 70 } | 71 } |
| 71 | 72 |
| 72 #window-separator { | 73 .window-separator { |
| 73 background-color: var(--card-border-color); | 74 background-color: var(--card-border-color); |
| 74 height: 1px; | 75 height: 1px; |
| 75 margin: 5px auto; | 76 margin: 5px auto; |
| 76 width: 80%; | 77 width: 80%; |
| 77 } | 78 } |
| 78 </style> | 79 </style> |
| 79 <div id="history-item-container"> | 80 <div id="history-item-container"> |
| 80 <div class="card-title" id="card-heading" aria-expanded$="[[opened]]" | 81 <div class="card-title" id="card-heading" aria-expanded$="[[opened]]" |
| 81 aria-controls="collapse" on-tap="toggleTabCard"> | 82 aria-controls="collapse" on-tap="toggleTabCard"> |
| 82 <div id="title-left-content"> | 83 <div id="title-left-content"> |
| 83 <div id="device-name"> | 84 <div id="device-name"> |
| 84 [[device]] | 85 [[device]] |
| 85 </div> | 86 </div> |
| 86 <span id="last-update-time">[[lastUpdateTime]]</span> | 87 <span id="last-update-time">[[lastUpdateTime]]</span> |
| 87 </div> | 88 </div> |
| 88 <div id="right-buttons"> | 89 <div id="right-buttons"> |
| 89 <button is="paper-icon-button-light" id="menu-button" | 90 <button is="paper-icon-button-light" id="menu-button" |
| 90 class="more-vert-button" on-click="onMenuButtonTap_" | 91 class="more-vert-button" on-click="onMenuButtonTap_" |
| 91 title="$i18n{moreActionsButton}"> | 92 title="$i18n{moreActionsButton}"> |
| 92 <div></div> | 93 <div></div> |
| 93 <div></div> | 94 <div></div> |
| 94 <div></div> | 95 <div></div> |
| 95 </button> | 96 </button> |
| 96 <button is="paper-icon-button-light" class="icon-button" | 97 <button is="paper-icon-button-light" class="icon-button" |
| 97 title$="[[getCollapseTitle_(opened)]]"> | 98 id="collapse-button" title$="[[getCollapseTitle_(opened)]]"> |
| 98 <iron-icon icon="[[getCollapseIcon_(opened)]]" | 99 <iron-icon icon="[[getCollapseIcon_(opened)]]" |
| 99 id="dropdown-indicator"> | 100 id="dropdown-indicator"> |
| 100 </iron-icon> | 101 </iron-icon> |
| 101 </button> | 102 </button> |
| 102 </div> | 103 </div> |
| 103 </div> | 104 </div> |
| 104 | 105 |
| 105 <iron-collapse opened="{{opened}}" id="collapse"> | 106 <iron-collapse opened="{{opened}}" id="collapse"> |
| 106 <div id="tab-item-list"> | 107 <div id="tab-item-list"> |
| 107 <template is="dom-repeat" items="[[tabs]]" as="tab" id="tab-list"> | 108 <template is="dom-repeat" items="[[tabs]]" as="tab" id="tab-list"> |
| 108 <div id="item-container"> | 109 <div class="item-container"> |
| 109 <div id="icon" class="website-icon"></div> | 110 <div class="website-icon"></div> |
| 110 <a href="[[tab.url]]" class="website-title" title="[[tab.title]]" | 111 <a href="[[tab.url]]" class="website-title" title="[[tab.title]]" |
| 111 on-click="openTab_" on-contextmenu="onLinkRightClick_"> | 112 on-click="openTab_" on-contextmenu="onLinkRightClick_"> |
| 112 <history-searched-label title="[[tab.title]]" | 113 <history-searched-label title="[[tab.title]]" |
| 113 search-term="[[searchTerm]]"></history-searched-label> | 114 search-term="[[searchTerm]]"></history-searched-label> |
| 114 </a> | 115 </a> |
| 115 </div> | 116 </div> |
| 116 <div id="window-separator" | 117 <div class="window-separator" |
| 117 hidden$="[[!isWindowSeparatorIndex_(index, separatorIndexes)]]"> | 118 hidden$="[[!isWindowSeparatorIndex_(index, separatorIndexes)]]"> |
| 118 </div> | 119 </div> |
| 119 </template> | 120 </template> |
| 120 </div> | 121 </div> |
| 121 </iron-collapse> | 122 </iron-collapse> |
| 122 </div> | 123 </div> |
| 123 </template> | 124 </template> |
| 124 <script src="chrome://history/synced_device_card.js"></script> | 125 <script src="chrome://history/synced_device_card.js"></script> |
| 125 </dom-module> | 126 </dom-module> |
| OLD | NEW |