Chromium Code Reviews| 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-media-query/iron-m edia-query.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-media-query/iron-m edia-query.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> |
| 4 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar_se arch_field.html"> | 4 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar_se arch_field.html"> |
| 5 | 5 |
| 6 <dom-module id="cr-toolbar"> | 6 <dom-module id="cr-toolbar"> |
| 7 <template> | 7 <template> |
| 8 <style> | 8 <style> |
| 9 :host { | 9 :host { |
| 10 --cr-toolbar-field-width: 580px; | 10 --cr-toolbar-field-width: 580px; |
| 11 --cr-toolbar-height: 56px; | 11 --cr-toolbar-height: 56px; |
| 12 --paper-icon-button-ink-color: white; | |
|
Dan Beam
2017/03/27 12:13:05
note: it'd be nice if you somehow joined with the
| |
| 12 align-items: center; | 13 align-items: center; |
| 13 color: #fff; | 14 color: #fff; |
| 14 display: flex; | 15 display: flex; |
| 15 height: var(--cr-toolbar-height); | 16 height: var(--cr-toolbar-height); |
| 16 } | 17 } |
| 17 | 18 |
| 18 h1 { | 19 h1 { |
| 19 -webkit-margin-start: 6px; | 20 -webkit-margin-start: 6px; |
| 20 -webkit-padding-end: 12px; | 21 -webkit-padding-end: 12px; |
| 21 flex: 1; | 22 flex: 1; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 155 <iron-media-query query="(max-width: 900px)" query-matches="{{narrow_}}"> | 156 <iron-media-query query="(max-width: 900px)" query-matches="{{narrow_}}"> |
| 156 </iron-media-query> | 157 </iron-media-query> |
| 157 </div> | 158 </div> |
| 158 | 159 |
| 159 <div id="rightContent"> | 160 <div id="rightContent"> |
| 160 <content select=".more-actions"></content> | 161 <content select=".more-actions"></content> |
| 161 </div> | 162 </div> |
| 162 </template> | 163 </template> |
| 163 <script src="cr_toolbar.js"></script> | 164 <script src="cr_toolbar.js"></script> |
| 164 </dom-module> | 165 </dom-module> |
| OLD | NEW |