Fix OOP <webview> resize and autosize.
[chromium-blink-merge.git] / third_party / polymer / v1_0 / components-chromium / paper-dialog-behavior / paper-dialog-common.css
blob542f6f3651562c3a914be5fc857d38f6b7ce34ee
1 /*
2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 */
11 :host {
12 display: block;
13 margin: 24px 40px;
15 background: var(--paper-dialog-background-color, --primary-background-color);
16 color: var(--paper-dialog-color, --primary-text-color);
18 @apply(--layout-scroll);
19 @apply(--paper-font-body1);
20 @apply(--shadow-elevation-16dp);
21 @apply(--paper-dialog);
24 :host > ::content > * {
25 margin-top: 20px;
26 padding: 0 24px;
29 :host > ::content > .no-padding {
30 padding: 0;
33 :host > ::content > *:first-child {
34 margin-top: 24px;
37 :host > ::content > *:last-child {
38 margin-bottom: 24px;
41 :host > ::content h2 {
42 position: relative;
43 margin: 0;
44 @apply(--paper-font-title);
46 @apply(--paper-dialog-title);
49 :host > ::content .buttons {
50 position: relative;
51 padding: 8px 8px 8px 24px;
52 margin: 0;
54 color: var(--paper-dialog-button-color, --default-primary-color);
56 @apply(--layout-horizontal);
57 @apply(--layout-end-justified);