OLD | NEW |
(Empty) | |
| 1 <link rel="import" href="chrome://md-user-manager/shared_styles.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/p
aper-dialog-behavior.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/p
aper-dialog-shared-styles.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 8 |
| 9 <dom-module id="user-manager-dialog"> |
| 10 <template> |
| 11 <style include="shared-styles paper-dialog-shared-styles"> |
| 12 :host { |
| 13 --paper-dialog: { |
| 14 border-radius: 2px; |
| 15 color: var(--primary-text-color); |
| 16 font-size: inherit; |
| 17 line-height: initial; |
| 18 width: 512px; |
| 19 }; |
| 20 } |
| 21 |
| 22 :host ::content > *, |
| 23 :host > ::content > *:first-child, |
| 24 :host > ::content > *:last-child { |
| 25 /* Overrides paper-dialog-shared-styles. */ |
| 26 margin: 0; |
| 27 padding: 0; |
| 28 } |
| 29 |
| 30 #title-bar { |
| 31 align-items: center; |
| 32 border-bottom: var(--user-manager-separator-line); |
| 33 min-height: 52px; |
| 34 @apply(--user-manager-dialog-title-bar); |
| 35 } |
| 36 |
| 37 #close { |
| 38 --paper-icon-button: { |
| 39 height: 40px; |
| 40 padding: 10px; |
| 41 width: 40px; |
| 42 }; |
| 43 -webkit-margin-end: 6px; |
| 44 -webkit-margin-start: auto; |
| 45 flex-shrink: 0; |
| 46 } |
| 47 |
| 48 :host ::content .title { |
| 49 -webkit-margin-end: 10px; |
| 50 -webkit-margin-start: 16px; |
| 51 font-size: 16px; |
| 52 } |
| 53 |
| 54 :host ::content .body > * { |
| 55 padding: 0 16px; |
| 56 } |
| 57 |
| 58 :host ::content .body > .no-padding { |
| 59 padding: 0; |
| 60 } |
| 61 |
| 62 :host ::content .footer { |
| 63 margin-top: 20px; |
| 64 padding: 16px; |
| 65 } |
| 66 </style> |
| 67 <div id="title-bar" class="horizontal justified layout"> |
| 68 <content select=".title"></content> |
| 69 <paper-icon-button icon="cr:close" id="close" dialog-dismiss> |
| 70 </paper-icon-button> |
| 71 </div> |
| 72 <content select=".body"></content> |
| 73 <content select=".footer"></content> |
| 74 </template> |
| 75 <script src="chrome://md-user-manager/user_manager_dialog.js"></script> |
| 76 </dom-module> |
OLD | NEW |