Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html"> | 2 <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/paper-button/paper-butt on.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> |
| 5 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc h_field.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc h_field.html"> |
| 6 | 6 |
| 7 <link rel="import" href="chrome://history/shared_style.html"> | |
|
tsergeant
2016/02/23 04:52:26
Same here.
calamity
2016/02/23 05:33:43
Done.
| |
| 7 <dom-module id="history-toolbar"> | 8 <dom-module id="history-toolbar"> |
| 8 <template> | 9 <template> |
| 9 | 10 <style include="shared-style"></style> |
| 10 <style> | 11 <style> |
| 11 :host { | 12 :host { |
| 12 background: rgb(63, 85, 102); | 13 background: rgb(63, 85, 102); |
| 13 color: #fff; | 14 color: #fff; |
| 14 height: 56px; | 15 height: 56px; |
| 15 transition: background-color 150ms; | 16 transition: background-color 150ms; |
| 16 } | 17 } |
| 17 | 18 |
| 18 :host, | 19 :host, |
| 19 #items, | 20 #items, |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 31 | 32 |
| 32 h1 { | 33 h1 { |
| 33 @apply(--layout-flex); | 34 @apply(--layout-flex); |
| 34 font-size: 16px; | 35 font-size: 16px; |
| 35 font-weight: 400; | 36 font-weight: 400; |
| 36 padding-left: 24px; | 37 padding-left: 24px; |
| 37 } | 38 } |
| 38 | 39 |
| 39 #items { | 40 #items { |
| 40 margin: 0 auto; | 41 margin: 0 auto; |
| 41 max-width: 960px; | 42 max-width: var(--card-max-width); |
| 42 } | 43 } |
| 43 | 44 |
| 44 #number-selected { | 45 #number-selected { |
| 45 @apply(--layout-flex); | 46 @apply(--layout-flex); |
| 46 } | 47 } |
| 47 | 48 |
| 48 paper-icon-button { | 49 paper-icon-button { |
| 49 height: 36px; | 50 height: 36px; |
| 50 margin: 0 24px 0 2px; | 51 margin: 0 24px 0 2px; |
| 51 min-width: 36px; | 52 min-width: 36px; |
| 52 width: 36px; | 53 width: 36px; |
| 53 } | 54 } |
| 54 | 55 |
| 55 #centered-buttons { | 56 #centered-buttons { |
| 56 flex: 1 1 960px; | 57 flex: 0 1 var(--card-max-width); |
|
tsergeant
2016/02/23 04:52:26
Huh, I'm kinda surprised this works.
calamity
2016/02/23 05:33:43
Acknowledged.
Dan Beam
2016/02/23 18:32:03
why are you surprised by this working?
tsergeant
2016/02/23 22:35:14
I expected that the variables polyfill would only
| |
| 57 max-width: 960px; | |
| 58 } | 58 } |
| 59 | 59 |
| 60 paper-button { | 60 paper-button { |
| 61 pointer-events: auto; | 61 pointer-events: auto; |
| 62 } | 62 } |
| 63 | 63 |
| 64 .toolbar-overlay { | 64 .toolbar-overlay { |
| 65 height: inherit; | 65 height: inherit; |
| 66 left: 0; | 66 left: 0; |
| 67 pointer-events: none; | 67 pointer-events: none; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 108 <paper-button on-tap="onClearBrowsingDataTap_" | 108 <paper-button on-tap="onClearBrowsingDataTap_" |
| 109 i18n-content="clearBrowsingData" | 109 i18n-content="clearBrowsingData" |
| 110 id="clear-browsing-data-button"> | 110 id="clear-browsing-data-button"> |
| 111 </paper-button> | 111 </paper-button> |
| 112 </div> | 112 </div> |
| 113 <div id="back-padding"></div> | 113 <div id="back-padding"></div> |
| 114 </div> | 114 </div> |
| 115 </template> | 115 </template> |
| 116 <script src="chrome://history/history_toolbar.js"></script> | 116 <script src="chrome://history/history_toolbar.js"></script> |
| 117 </dom-module> | 117 </dom-module> |
| OLD | NEW |