| <link rel="import" href="chrome://resources/html/polymer.html"> |
| |
| <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> |
| |
| <dom-module id="print-preview-settings-section"> |
| <template> |
| <style> |
| :host { |
| display: flex; |
| padding: 0 20px; |
| } |
| |
| ::slotted([slot=controls]), |
| ::slotted([slot=title]) { |
| display: flex; |
| flex-direction: column; |
| justify-content: center; |
| min-height: 38px; |
| word-break: break-word; |
| } |
| |
| ::slotted([slot=controls]) { |
| flex: 1; |
| overflow: hidden; |
| } |
| |
| ::slotted([slot=title]) { |
| color: var(--google-grey-900); |
| flex: none; |
| font-size: 1em; |
| line-height: calc(20/13 * 1em); |
| width: 75px; |
| } |
| </style> |
| <slot name="title"></slot> |
| <slot name="controls"></slot> |
| </template> |
| <script src="settings_section.js"></script> |
| </dom-module> |