1 | /*!
|
---|
2 | * AngularJS Material Design
|
---|
3 | * https://github.com/angular/material
|
---|
4 | * @license MIT
|
---|
5 | * v1.2.3
|
---|
6 | */
|
---|
7 | .md-dialog-is-showing {
|
---|
8 | max-height: 100%; }
|
---|
9 |
|
---|
10 | .md-dialog-container {
|
---|
11 | display: flex;
|
---|
12 | justify-content: center;
|
---|
13 | align-items: center;
|
---|
14 | position: absolute;
|
---|
15 | top: 0;
|
---|
16 | left: 0;
|
---|
17 | width: 100%;
|
---|
18 | height: 100%;
|
---|
19 | z-index: 80;
|
---|
20 | overflow: hidden; }
|
---|
21 |
|
---|
22 | md-dialog {
|
---|
23 | opacity: 0;
|
---|
24 | min-width: 240px;
|
---|
25 | max-width: 80%;
|
---|
26 | max-height: 80%;
|
---|
27 | position: relative;
|
---|
28 | overflow: auto;
|
---|
29 | box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 13px 19px 2px rgba(0, 0, 0, 0.14), 0px 5px 24px 4px rgba(0, 0, 0, 0.12);
|
---|
30 | display: flex;
|
---|
31 | flex-direction: column; }
|
---|
32 | md-dialog.md-transition-in {
|
---|
33 | opacity: 1;
|
---|
34 | transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
---|
35 | transform: translate(0, 0) scale(1); }
|
---|
36 | md-dialog.md-transition-out {
|
---|
37 | opacity: 0;
|
---|
38 | transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
---|
39 | transform: translate(0, 100%) scale(0.2); }
|
---|
40 | md-dialog > form {
|
---|
41 | display: flex;
|
---|
42 | flex-direction: column;
|
---|
43 | overflow: auto; }
|
---|
44 | md-dialog .md-dialog-content {
|
---|
45 | padding: 24px; }
|
---|
46 | md-dialog md-dialog-content {
|
---|
47 | order: 1;
|
---|
48 | flex-direction: column;
|
---|
49 | overflow: auto;
|
---|
50 | -webkit-overflow-scrolling: touch; }
|
---|
51 | md-dialog md-dialog-content:not([layout=row]) > *:first-child:not(.md-subheader) {
|
---|
52 | margin-top: 0; }
|
---|
53 | md-dialog md-dialog-content:focus {
|
---|
54 | outline: none; }
|
---|
55 | md-dialog md-dialog-content .md-subheader {
|
---|
56 | margin: 0; }
|
---|
57 | md-dialog md-dialog-content .md-dialog-content-body {
|
---|
58 | width: 100%; }
|
---|
59 | md-dialog md-dialog-content .md-prompt-input-container {
|
---|
60 | width: 100%;
|
---|
61 | box-sizing: border-box; }
|
---|
62 | md-dialog md-dialog-actions {
|
---|
63 | display: flex;
|
---|
64 | order: 2;
|
---|
65 | box-sizing: border-box;
|
---|
66 | align-items: center;
|
---|
67 | justify-content: flex-end;
|
---|
68 | margin-bottom: 0;
|
---|
69 | padding-right: 8px;
|
---|
70 | padding-left: 16px;
|
---|
71 | min-height: 52px;
|
---|
72 | overflow: hidden; }
|
---|
73 | [dir=rtl] md-dialog md-dialog-actions {
|
---|
74 | padding-right: 16px; }
|
---|
75 | [dir=rtl] md-dialog md-dialog-actions {
|
---|
76 | padding-left: 8px; }
|
---|
77 | md-dialog md-dialog-actions .md-button {
|
---|
78 | margin-bottom: 8px;
|
---|
79 | margin-left: 8px;
|
---|
80 | margin-right: 0;
|
---|
81 | margin-top: 8px; }
|
---|
82 | [dir=rtl] md-dialog md-dialog-actions .md-button {
|
---|
83 | margin-left: 0; }
|
---|
84 | [dir=rtl] md-dialog md-dialog-actions .md-button {
|
---|
85 | margin-right: 8px; }
|
---|
86 | md-dialog.md-content-overflow md-dialog-actions {
|
---|
87 | border-top-width: 1px;
|
---|
88 | border-top-style: solid; }
|
---|
89 |
|
---|
90 | @media screen and (-ms-high-contrast: active) {
|
---|
91 | md-dialog {
|
---|
92 | border: 1px solid #fff; } }
|
---|
93 |
|
---|
94 | @media (max-width: 959px) {
|
---|
95 | md-dialog.md-dialog-fullscreen {
|
---|
96 | min-height: 100%;
|
---|
97 | min-width: 100%;
|
---|
98 | border-radius: 0; } }
|
---|