| 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/app-layout/app-drawer/a
pp-drawer.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/app-layout/app-drawer/a
pp-drawer.html"> |
| 3 <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-flex-layout/iron-f
lex-layout.html"> |
| 4 <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/iron-selector/iron-sele
ctor.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"> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #clear-browsing-data { | 41 #clear-browsing-data { |
| 42 text-transform: uppercase; | 42 text-transform: uppercase; |
| 43 } | 43 } |
| 44 | 44 |
| 45 iron-selector { | 45 iron-selector { |
| 46 -webkit-user-select: none; | 46 -webkit-user-select: none; |
| 47 background-color: transparent; | 47 background-color: transparent; |
| 48 color: #5a5a5a; | 48 color: #5a5a5a; |
| 49 } | 49 } |
| 50 | 50 |
| 51 iron-selector a { | 51 iron-selector > a { |
| 52 @apply(--paper-font-subhead); | 52 @apply(--paper-font-subhead); |
| 53 -webkit-padding-start: 24px; | 53 -webkit-padding-start: 24px; |
| 54 align-items: center; | 54 align-items: center; |
| 55 box-sizing: border-box; | 55 box-sizing: border-box; |
| 56 color: inherit; | 56 color: inherit; |
| 57 cursor: pointer; | 57 cursor: pointer; |
| 58 display: flex; | 58 display: flex; |
| 59 font-size: 14px; | 59 font-size: 14px; |
| 60 font-weight: 500; | 60 font-weight: 500; |
| 61 min-height: 48px; | 61 min-height: 48px; |
| 62 outline: none; | 62 outline: none; |
| 63 position: relative; | 63 position: relative; |
| 64 text-decoration: none; | 64 text-decoration: none; |
| 65 } | 65 } |
| 66 | 66 |
| 67 iron-selector a:focus { | 67 iron-selector > a:focus { |
| 68 outline: 0; | 68 outline: 0; |
| 69 position: relative; | 69 position: relative; |
| 70 } | 70 } |
| 71 | 71 |
| 72 iron-selector a:focus::before { | 72 iron-selector > a:focus::before { |
| 73 @apply(--layout-fit); | 73 @apply(--layout-fit); |
| 74 | 74 |
| 75 background: currentColor; | 75 background: currentColor; |
| 76 content: ''; | 76 content: ''; |
| 77 opacity: var(--dark-divider-opacity); | 77 opacity: var(--dark-divider-opacity); |
| 78 pointer-events: none; | 78 pointer-events: none; |
| 79 } | 79 } |
| 80 | 80 |
| 81 iron-selector a.iron-selected { | 81 iron-selector > a.iron-selected { |
| 82 color: var(--google-blue-500); | 82 color: var(--google-blue-500); |
| 83 font-weight: 500; | 83 font-weight: 500; |
| 84 } | 84 } |
| 85 | 85 |
| 86 iron-selector { | 86 iron-selector { |
| 87 -webkit-user-select: none; | 87 -webkit-user-select: none; |
| 88 color: #5a5a5a; | 88 color: #5a5a5a; |
| 89 } | 89 } |
| 90 | 90 |
| 91 #footer { | 91 #footer { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 </a> | 131 </a> |
| 132 <div id="footer" hidden="[[!showFooter]]"> | 132 <div id="footer" hidden="[[!showFooter]]"> |
| 133 <div class="separator"></div> | 133 <div class="separator"></div> |
| 134 <div id="footer-text">$i18nRaw{sidebarFooter}</div> | 134 <div id="footer-text">$i18nRaw{sidebarFooter}</div> |
| 135 </div> | 135 </div> |
| 136 </iron-selector> | 136 </iron-selector> |
| 137 </app-drawer> | 137 </app-drawer> |
| 138 </template> | 138 </template> |
| 139 <script src="chrome://history/side_bar.js"></script> | 139 <script src="chrome://history/side_bar.js"></script> |
| 140 </dom-module> | 140 </dom-module> |
| OLD | NEW |