Upgraded ACP
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / style / ui / dialog.scss
CommitLineData
b8eab696
AE
1.dialogOverlay {
2 background-color: transparent;
3 bottom: 0;
4 left: 0;
5 position: fixed;
6 right: 0;
7 top: 0;
8 visibility: hidden;
9 z-index: 399;
10
f2b50825 11 transition: visibility 0s linear .3s, background-color .12s linear;
b8eab696
AE
12
13 &[aria-hidden=false] {
f2b50825 14 background-color: rgba(0, 0, 0, .4);
b8eab696
AE
15 visibility: visible;
16
17 transition-delay: 0s;
18 }
19}
20
21@-webkit-keyframes wcfDialog {
22 0% { visibility: visible; opacity: 0; top: 8%; }
23 100% { visibility: visible; opacity: 1; top: 10%; }
24}
25
26@-webkit-keyframes wcfDialogOut {
27 0% { visibility: visible; opacity: 1; top: 10%; }
28 100% { visibility: hidden; opacity: 0; top: 12%; }
29}
30
31.dialogContainer {
f2b50825 32 border: 1px solid rgb(52, 152, 219);
b8eab696 33 box-shadow: 0 1px 15px 0 rgba(0, 0, 0, .3);
b8eab696
AE
34 left: 50%;
35 max-height: 80%;
36 max-width: 80%;
37 min-width: 400px;
38 position: absolute;
39 top: 10%;
40 transform: translateX(-50%);
f2b50825 41 will-change: opacity, transform;
b8eab696
AE
42
43 -webkit-animation: wcfDialogOut .3s;
44 -webkit-animation-fill-mode: forwards;
45
46 &[aria-hidden=false] {
47 -webkit-animation: wcfDialog .3s;
48 -webkit-animation-fill-mode: forwards;
49 }
50
51 > header {
f2b50825
AE
52 background-color: $wcfContentBackground;
53 border-bottom: 1px solid $wcfContentBorder;
54 color: $wcfContentHeadlineText;
b8eab696
AE
55 display: flex;
56 padding: 7px 10px;
57
b8eab696
AE
58 > span {
59 flex: 1 auto;
f2b50825
AE
60
61 @extend .wcfFontLarge;
b8eab696
AE
62 }
63
64 > a {
f2b50825 65 color: $wcfContentHeadlineLink;
b8eab696
AE
66 flex: 0 0 20px;
67 font-family: FontAwesome;
68 font-size: 18px;
69 text-align: right;
70 text-decoration: none;
71
f2b50825
AE
72 &::before {
73 content: $fa-var-times;
b8eab696
AE
74 }
75
76 > span {
77 display: none;
78 }
79 }
80 }
81
82 > .dialogContent {
f2b50825
AE
83 background-color: $wcfContentBackground;
84 color: $wcfContentText;
b8eab696
AE
85 overflow: auto;
86
87 &:not(.dialogContentNoPadding) {
f2b50825 88 padding: 30px 20px 0 20px;
b8eab696 89
f2b50825 90 &::after {
b8eab696
AE
91 content: "";
92 display: block;
93 height: 10px;
94 }
95
f2b50825 96 &.dialogForm::after {
b8eab696
AE
97 height: 17px;
98 }
99 }
100
101 &:not(.dialogForm) {
102 border-bottom-left-radius: 3px;
103 border-bottom-right-radius: 3px;
104 }
105
106 dl:not(.plain) {
107 > dt {
108 float: none;
b8eab696
AE
109 text-align: left;
110 width: auto !important;
111
112 &:empty {
113 margin-bottom: 0;
114 }
115 }
116
117 > dd {
118 margin-left: 0 !important;
119 }
120 }
121
122 .dialogFormSubmit {
f2b50825
AE
123 background-color: $wcfContentBackground;
124 border-top: 1px solid $wcfContentBorder;
b8eab696
AE
125 bottom: 0;
126 left: 0;
127 padding: 10px;
128 position: absolute;
129 right: 0;
130 }
131 }
132}
133
134@media only screen and (max-width: 800px) {
135}
136
137/* static dialogs */
138.jsStaticDialogContent {
139 display: none;
140}
141
b8eab696
AE
142/* package (un-)installation */
143#packageInstallationDialogContainer > .boxHeadline {
144 margin-top: 0;
145}
146
f2b50825
AE
147@keyframes wcfSpinner {
148 to { transform: rotate(360deg); }
149}
150
b8eab696 151.spinner {
f2b50825
AE
152 background-color: rgb(255, 255, 255);
153 border: 1px solid rgb(204, 204, 204);
154 box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .2);
155 color: rgb(44, 62, 80);
b8eab696
AE
156 left: 50%;
157 opacity: 0;
f2b50825 158 padding: 10px;
b8eab696
AE
159 position: fixed;
160 text-align: center;
161 top: 200px;
162 visibility: hidden;
163 z-index: 401;
164
165 transform: translateX(-50%);
166
b8eab696
AE
167 transition: visibility 0s linear .1s, opacity .1s linear;
168
169 &.active {
170 opacity: 1;
171 visibility: visible;
172
173 transition-delay: 0s;
174 }
175
176 > .icon {
f2b50825
AE
177 border: 2px solid rgb(204, 204, 204);
178 border-top-color: rgb(79, 129, 189);
179 border-radius: 50%;
180 height: 48px;
181 animation: wcfSpinner .6s linear infinite;
182 width: 48px;
183
184 &::before {
185 display: none;
186 }
b8eab696
AE
187 }
188
189 > span:not(.icon) {
190 display: block;
f2b50825 191 margin-top: 5px;
b8eab696
AE
192 }
193}
194
195.systemConfirmation p {
f2b50825 196 //padding-top: @wcfGapSmall;
b8eab696
AE
197}
198
199/* notification overlay */
200#systemNotification {
201 left: 0;
45433290 202 opacity: 0;
b8eab696
AE
203 pointer-events: none;
204 position: fixed;
205 top: 0;
45433290
AE
206 transform: translateY(-100%);
207 transition: visibility .2s linear .2s, transform .2s linear, opacity .2s linear;
208 visibility: hidden;
b8eab696
AE
209 width: 100%;
210 z-index: 460;
211
45433290
AE
212 &.active {
213 opacity: 1;
214 transform: translateY(0%);
215 transition-delay: 0s;
216 visibility: visible;
217 }
218
b8eab696
AE
219 > p {
220 border-top-left-radius: 0;
221 border-top-right-radius: 0;
222 border-top-width: 0;
223 cursor: pointer;
224 display: table;
225 margin: 0 auto;
226 max-width: 80%;
227 pointer-events: auto;
228
f2b50825 229 //.userSelectNone;
b8eab696 230 }
45433290 231}