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