| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior
/iron-a11y-keys-behavior.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior
/iron-a11y-keys-behavior.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele
ctor.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele
ctor.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp
le.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp
le.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/typography
.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/typography
.html"> |
| 7 <link rel="import" href="chrome://history/browser_service.html"> | 7 <link rel="import" href="chrome://history/browser_service.html"> |
| 8 <link rel="import" href="chrome://history/shared_style.html"> | 8 <link rel="import" href="chrome://history/shared_style.html"> |
| 9 | 9 |
| 10 <dom-module id="history-side-bar"> | 10 <dom-module id="history-side-bar"> |
| 11 <template> | 11 <template> |
| 12 <style include="shared-style"> | 12 <style include="shared-style"> |
| 13 :host { | 13 :host { |
| 14 display: block; | 14 display: block; |
| 15 height: 100%; | 15 height: 100%; |
| 16 padding-top: 5px; | 16 padding-top: 5px; |
| 17 width: var(--side-bar-width); | 17 width: var(--side-bar-width); |
| 18 } | 18 } |
| 19 | 19 |
| 20 div.separator { | 20 div.separator { |
| 21 background-color: rgba(0, 0, 0, 0.08); | 21 background-color: rgba(0, 0, 0, 0.08); |
| 22 height: 1px; | 22 height: 1px; |
| 23 margin: 8px 0; | 23 margin: 8px 0; |
| 24 } | 24 } |
| 25 | 25 |
| 26 #clear-browsing-data { | 26 #clear-browsing-data { |
| 27 text-transform: uppercase; | 27 justify-content: space-between; |
| 28 } |
| 29 |
| 30 #clear-browsing-data iron-icon { |
| 31 -webkit-margin-end: 24px; |
| 32 color: var(--paper-grey-400); |
| 33 height: 20px; |
| 34 margin-bottom: 10px; |
| 35 margin-top: 10px; |
| 36 width: 20px; |
| 28 } | 37 } |
| 29 | 38 |
| 30 iron-selector { | 39 iron-selector { |
| 31 -webkit-user-select: none; | 40 -webkit-user-select: none; |
| 32 background-color: transparent; | 41 background-color: transparent; |
| 33 color: #5a5a5a; | 42 color: #5a5a5a; |
| 34 } | 43 } |
| 35 | 44 |
| 36 iron-selector > a { | 45 iron-selector > a { |
| 37 @apply(--paper-font-subhead); | 46 @apply(--paper-font-subhead); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 </a> | 98 </a> |
| 90 <a href="/syncedTabs" class="page-item" path="syncedTabs" | 99 <a href="/syncedTabs" class="page-item" path="syncedTabs" |
| 91 on-click="onItemClick_"> | 100 on-click="onItemClick_"> |
| 92 $i18n{openTabsMenuItem} | 101 $i18n{openTabsMenuItem} |
| 93 <paper-ripple></paper-ripple> | 102 <paper-ripple></paper-ripple> |
| 94 </a> | 103 </a> |
| 95 <div class="separator"></div> | 104 <div class="separator"></div> |
| 96 <a href="chrome://settings/clearBrowserData" | 105 <a href="chrome://settings/clearBrowserData" |
| 97 on-tap="onClearBrowsingDataTap_" id="clear-browsing-data"> | 106 on-tap="onClearBrowsingDataTap_" id="clear-browsing-data"> |
| 98 $i18n{clearBrowsingData} | 107 $i18n{clearBrowsingData} |
| 108 <iron-icon icon="cr:open-in-new"></iron-icon> |
| 99 <paper-ripple id="cbd-ripple"></paper-ripple> | 109 <paper-ripple id="cbd-ripple"></paper-ripple> |
| 100 </a> | 110 </a> |
| 101 <div id="footer" hidden="[[!showFooter]]"> | 111 <div id="footer" hidden="[[!showFooter]]"> |
| 102 <div class="separator"></div> | 112 <div class="separator"></div> |
| 103 <div id="footer-text">$i18nRaw{sidebarFooter}</div> | 113 <div id="footer-text">$i18nRaw{sidebarFooter}</div> |
| 104 </div> | 114 </div> |
| 105 </iron-selector> | 115 </iron-selector> |
| 106 </template> | 116 </template> |
| 107 <script src="chrome://history/side_bar.js"></script> | 117 <script src="chrome://history/side_bar.js"></script> |
| 108 </dom-module> | 118 </dom-module> |
| OLD | NEW |