@daracl/dialog 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +78 -0
- package/dist/dara.dialog.css +1 -0
- package/dist/dara.dialog.css.map +1 -0
- package/dist/dara.dialog.js +5787 -0
- package/dist/dara.dialog.js.map +1 -0
- package/dist/dara.dialog.min.css +1 -0
- package/dist/dara.dialog.min.css.map +1 -0
- package/dist/dara.dialog.min.js +7 -0
- package/dist/dara.dialog.min.js.LICENSE.txt +5 -0
- package/dist/dara.dialog.min.js.map +1 -0
- package/dist/index.cjs +438 -0
- package/dist/index.cjs.map +7 -0
- package/dist/index.d.ts +138 -0
- package/dist/index.html +101 -0
- package/dist/index.js +418 -0
- package/dist/index.js.map +7 -0
- package/package.json +125 -0
- package/src/index.html +101 -0
- package/src/index.js +540 -0
- package/style/_icon.scss +24 -0
- package/style/dara.dialog copy.scss1 +307 -0
- package/style/dara.dialog.scss +337 -0
- package/style/svg/cancel.svg +1 -0
- package/style/svg/danger.svg +1 -0
- package/style/svg/help.svg +1 -0
- package/style/svg/info.svg +1 -0
- package/style/svg/success.svg +1 -0
- package/style/svg/warning.svg +1 -0
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
@import "_icon.scss";
|
|
2
|
+
|
|
3
|
+
.dara-dialog-hidden {
|
|
4
|
+
visibility: visible;
|
|
5
|
+
width: 0px;
|
|
6
|
+
height: 0px;
|
|
7
|
+
z-index: 1000;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.dara-dialog-overlay {
|
|
11
|
+
background: #aaaaaa;
|
|
12
|
+
opacity: 0.3;
|
|
13
|
+
position: fixed;
|
|
14
|
+
top: 0;
|
|
15
|
+
left: 0;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.dara-dialog-wrapper {
|
|
21
|
+
--dark: #155724;
|
|
22
|
+
--light: #ffffff;
|
|
23
|
+
--font-color: #000000;
|
|
24
|
+
--bg-color: #ffffff;
|
|
25
|
+
--bg-header: #ffffff;
|
|
26
|
+
--border: #e6e6e6;
|
|
27
|
+
--bg-header-color: #f5f5f5;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
z-index: 10000;
|
|
32
|
+
position: fixed;
|
|
33
|
+
width: 400px;
|
|
34
|
+
color: var(--font-color);
|
|
35
|
+
top: 45%;
|
|
36
|
+
left: 50%;
|
|
37
|
+
transform: translate(-50%, -50%);
|
|
38
|
+
|
|
39
|
+
* {
|
|
40
|
+
box-sizing: border-box;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.hide {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.transform-disable {
|
|
48
|
+
transform: none !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.move-on {
|
|
52
|
+
.dialog-move-overay {
|
|
53
|
+
display: block !important;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.resizer {
|
|
57
|
+
display: none;
|
|
58
|
+
position: relative;
|
|
59
|
+
z-index: 0;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.maximise {
|
|
64
|
+
width: calc(100% - 6px) !important;
|
|
65
|
+
height: calc(100% - 6px) !important;
|
|
66
|
+
top: 3px !important;
|
|
67
|
+
left: 3px !important;
|
|
68
|
+
transform: initial;
|
|
69
|
+
|
|
70
|
+
.resizer {
|
|
71
|
+
display: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.dialog-header {
|
|
75
|
+
cursor: default !important;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
> .dara-dialog {
|
|
80
|
+
border: 1px solid var(--border);
|
|
81
|
+
border-radius: 4px;
|
|
82
|
+
height: 100%;
|
|
83
|
+
position: relative;
|
|
84
|
+
background: var(--bg-color);
|
|
85
|
+
|
|
86
|
+
> .dialog-header {
|
|
87
|
+
width: 100%;
|
|
88
|
+
height: 40px;
|
|
89
|
+
padding: 10px 30px 10px 20px;
|
|
90
|
+
background: var(--bg-header-color);
|
|
91
|
+
border: var(--border);
|
|
92
|
+
border-radius: 4px 4px 0px 0px;
|
|
93
|
+
cursor: move;
|
|
94
|
+
> .dialog-title {
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
> .btn-area {
|
|
98
|
+
position: absolute;
|
|
99
|
+
top: 10px;
|
|
100
|
+
right: 10px;
|
|
101
|
+
|
|
102
|
+
> .dialog-maximise,
|
|
103
|
+
> .dialog-close {
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.dialog-move-overay {
|
|
110
|
+
width: 100%;
|
|
111
|
+
height: 100%;
|
|
112
|
+
position: absolute;
|
|
113
|
+
z-index: 1;
|
|
114
|
+
display: none;
|
|
115
|
+
top: 0px;
|
|
116
|
+
left: 0px;
|
|
117
|
+
opacity: 0;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
> .dialog-body {
|
|
121
|
+
padding: 10px 10px 10px 10px;
|
|
122
|
+
height: calc(100% - 40px - 35px);
|
|
123
|
+
border-top: 1px solid var(--border);
|
|
124
|
+
border-bottom: 1px solid var(--border);
|
|
125
|
+
min-height: 50px;
|
|
126
|
+
position: relative;
|
|
127
|
+
|
|
128
|
+
> .dialog-content {
|
|
129
|
+
height: 100%;
|
|
130
|
+
> .dialog-frame {
|
|
131
|
+
width: 100%;
|
|
132
|
+
height: 100%;
|
|
133
|
+
border: 0px;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
> .dialog-footer {
|
|
139
|
+
height: 45px;
|
|
140
|
+
> .btn-area {
|
|
141
|
+
text-align: right;
|
|
142
|
+
padding: 12px 5px 0px;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
> .resizer {
|
|
147
|
+
position: absolute;
|
|
148
|
+
z-index: 2;
|
|
149
|
+
//background: #ece1e1;
|
|
150
|
+
|
|
151
|
+
&.top {
|
|
152
|
+
top: -2px;
|
|
153
|
+
left: 0px;
|
|
154
|
+
width: 100%;
|
|
155
|
+
height: 5px;
|
|
156
|
+
cursor: n-resize;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&.left {
|
|
160
|
+
top: 0px;
|
|
161
|
+
left: -2px;
|
|
162
|
+
width: 5px;
|
|
163
|
+
height: 100%;
|
|
164
|
+
cursor: e-resize;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&.right {
|
|
168
|
+
top: 0px;
|
|
169
|
+
right: -2px;
|
|
170
|
+
width: 5px;
|
|
171
|
+
height: 100%;
|
|
172
|
+
cursor: w-resize;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&.bottom {
|
|
176
|
+
bottom: -2px;
|
|
177
|
+
left: 0px;
|
|
178
|
+
width: 100%;
|
|
179
|
+
height: 5px;
|
|
180
|
+
cursor: s-resize;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&.top-left {
|
|
184
|
+
top: 0px;
|
|
185
|
+
left: 0px;
|
|
186
|
+
width: 7px;
|
|
187
|
+
height: 7px;
|
|
188
|
+
cursor: nwse-resize;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&.top-right {
|
|
192
|
+
top: 0px;
|
|
193
|
+
right: 0px;
|
|
194
|
+
width: 7px;
|
|
195
|
+
height: 7px;
|
|
196
|
+
cursor: nesw-resize;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
&.bottom-left {
|
|
200
|
+
bottom: 0px;
|
|
201
|
+
left: 0px;
|
|
202
|
+
width: 7px;
|
|
203
|
+
height: 7px;
|
|
204
|
+
cursor: nesw-resize;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&.bottom-right {
|
|
208
|
+
bottom: 0px;
|
|
209
|
+
right: 0px;
|
|
210
|
+
width: 7px;
|
|
211
|
+
height: 7px;
|
|
212
|
+
cursor: nwse-resize;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.dialog-btn {
|
|
217
|
+
border-radius: 4px;
|
|
218
|
+
background-color: #f2f7f5; /* Green */
|
|
219
|
+
border: none;
|
|
220
|
+
text-align: center;
|
|
221
|
+
font-size: 16px;
|
|
222
|
+
padding: 3px 5px;
|
|
223
|
+
margin-right: 10px;
|
|
224
|
+
cursor: pointer;
|
|
225
|
+
|
|
226
|
+
&.primary {
|
|
227
|
+
background-color: #cce5ff;
|
|
228
|
+
border-color: #b8daff;
|
|
229
|
+
color: var(--light);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&.secondary {
|
|
233
|
+
background-color: #e2e3e5;
|
|
234
|
+
border-color: #d6d8db;
|
|
235
|
+
color: var(--light);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
&.info {
|
|
239
|
+
background-color: #d1ecf1;
|
|
240
|
+
border-color: #bee5eb;
|
|
241
|
+
color: var(--dark);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&.success {
|
|
245
|
+
background-color: #d4edda;
|
|
246
|
+
border-color: #c3e6cb;
|
|
247
|
+
color: var(--dark);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&.warning {
|
|
251
|
+
background-color: #fff3cd;
|
|
252
|
+
border-color: #ffeeba;
|
|
253
|
+
color: var(--dark);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
&.danger {
|
|
257
|
+
background-color: #f8d7da;
|
|
258
|
+
border-color: #f5c6cb;
|
|
259
|
+
color: var(--light);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
&.hide {
|
|
264
|
+
animation: fadeOut 0.3s;
|
|
265
|
+
animation-fill-mode: forwards;
|
|
266
|
+
//animation: daradialogHide 0.3s ease forwards;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
@keyframes fadeIn {
|
|
272
|
+
from {
|
|
273
|
+
opacity: 0;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
to {
|
|
277
|
+
opacity: 1;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
@keyframes fadeOut {
|
|
282
|
+
from {
|
|
283
|
+
opacity: 1;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
to {
|
|
287
|
+
opacity: 0;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
@keyframes daradialogHide {
|
|
292
|
+
0% {
|
|
293
|
+
transform: translateX(-10px);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
40% {
|
|
297
|
+
transform: translateX(0%);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
80% {
|
|
301
|
+
transform: translateX(-5%);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
100% {
|
|
305
|
+
transform: translateX(calc(100% + 20px));
|
|
306
|
+
}
|
|
307
|
+
}
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
@import "_icon.scss";
|
|
2
|
+
|
|
3
|
+
.dara-dialog-hidden {
|
|
4
|
+
visibility: visible;
|
|
5
|
+
width: 0px;
|
|
6
|
+
height: 0px;
|
|
7
|
+
z-index: 1000;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.dara-dialog-overlay {
|
|
11
|
+
background: #aaaaaa;
|
|
12
|
+
opacity: 0.3;
|
|
13
|
+
position: fixed;
|
|
14
|
+
top: 0;
|
|
15
|
+
left: 0;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.dara-dialog-wrapper {
|
|
21
|
+
z-index: 10000;
|
|
22
|
+
position: fixed;
|
|
23
|
+
width: 400px; // 최대 너비
|
|
24
|
+
color: #000000; // var(--font-color)
|
|
25
|
+
top: 45%;
|
|
26
|
+
left: 50%;
|
|
27
|
+
transform: translate(-50%, -50%);
|
|
28
|
+
|
|
29
|
+
* {
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.hide {
|
|
34
|
+
display: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.transform-disable {
|
|
38
|
+
transform: none !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.move-on {
|
|
42
|
+
.dialog-move-overay {
|
|
43
|
+
display: block !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.resizer {
|
|
47
|
+
display: none;
|
|
48
|
+
position: relative;
|
|
49
|
+
z-index: 0;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.maximise {
|
|
54
|
+
width: calc(100% - 6px) !important;
|
|
55
|
+
height: calc(100% - 6px) !important;
|
|
56
|
+
top: 3px !important;
|
|
57
|
+
left: 3px !important;
|
|
58
|
+
transform: initial;
|
|
59
|
+
|
|
60
|
+
.resizer {
|
|
61
|
+
display: none;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.dialog-header {
|
|
65
|
+
cursor: default !important;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
> .dara-dialog {
|
|
70
|
+
border: 1px solid #e6e6e6; // var(--border)
|
|
71
|
+
border-radius: 4px;
|
|
72
|
+
height: 100%;
|
|
73
|
+
position: relative;
|
|
74
|
+
background: #ffffff; // var(--bg-color)
|
|
75
|
+
|
|
76
|
+
> .dialog-header {
|
|
77
|
+
width: 100%;
|
|
78
|
+
height: 40px;
|
|
79
|
+
padding: 10px 30px 10px 20px;
|
|
80
|
+
background: #f5f5f5; // var(--bg-header-color)
|
|
81
|
+
border: #e6e6e6; // var(--border)
|
|
82
|
+
border-radius: 4px 4px 0px 0px;
|
|
83
|
+
cursor: move;
|
|
84
|
+
|
|
85
|
+
> .btn-area {
|
|
86
|
+
position: absolute;
|
|
87
|
+
top: 10px;
|
|
88
|
+
right: 10px;
|
|
89
|
+
|
|
90
|
+
> .dialog-maximise {
|
|
91
|
+
width: 16px;
|
|
92
|
+
height: 16px;
|
|
93
|
+
display: inline-block;
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
background-repeat: no-repeat;
|
|
96
|
+
background-image: icon(maximise, "6c6c6c");
|
|
97
|
+
}
|
|
98
|
+
> .dialog-close {
|
|
99
|
+
width: 16px;
|
|
100
|
+
height: 16px;
|
|
101
|
+
display: inline-block;
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
background-repeat: no-repeat;
|
|
104
|
+
background-image: icon(close, "6c6c6c");
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.dialog-move-overay {
|
|
110
|
+
width: 100%;
|
|
111
|
+
height: 100%;
|
|
112
|
+
position: absolute;
|
|
113
|
+
z-index: 1;
|
|
114
|
+
display: none;
|
|
115
|
+
top: 0px;
|
|
116
|
+
left: 0px;
|
|
117
|
+
opacity: 0;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
> .dialog-body {
|
|
121
|
+
padding: 10px;
|
|
122
|
+
height: calc(100% - 40px - 35px);
|
|
123
|
+
border-top: 1px solid #e6e6e6; // var(--border)
|
|
124
|
+
border-bottom: 1px solid #e6e6e6; // var(--border)
|
|
125
|
+
min-height: 50px;
|
|
126
|
+
position: relative;
|
|
127
|
+
background-repeat: no-repeat;
|
|
128
|
+
background-position: 10px 10px;
|
|
129
|
+
|
|
130
|
+
&.primary {
|
|
131
|
+
padding-left: 45px;
|
|
132
|
+
background-image: icon(primary, "2496ed");
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&.secondary {
|
|
136
|
+
padding-left: 45px;
|
|
137
|
+
background-image: icon(secondary, "2496ed");
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&.info {
|
|
141
|
+
padding-left: 45px;
|
|
142
|
+
background-image: icon(info, "2496ed");
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&.success {
|
|
146
|
+
padding-left: 45px;
|
|
147
|
+
background-image: icon(success, "493fff");
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&.warning {
|
|
151
|
+
padding-left: 45px;
|
|
152
|
+
background-image: icon(warning, "e18787");
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&.danger {
|
|
156
|
+
padding-left: 45px;
|
|
157
|
+
background-image: icon(danger, "ef2e40");
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
> .dialog-content {
|
|
161
|
+
height: 100%;
|
|
162
|
+
word-break: keep-all;
|
|
163
|
+
word-wrap: break-word;
|
|
164
|
+
overflow: auto;
|
|
165
|
+
|
|
166
|
+
> .dialog-frame {
|
|
167
|
+
width: 100%;
|
|
168
|
+
height: 100%;
|
|
169
|
+
border: 0;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
> .dialog-footer {
|
|
175
|
+
height: 45px;
|
|
176
|
+
|
|
177
|
+
> .btn-area {
|
|
178
|
+
text-align: right;
|
|
179
|
+
padding: 12px 5px 0px;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
> .resizer {
|
|
184
|
+
position: absolute;
|
|
185
|
+
z-index: 2;
|
|
186
|
+
|
|
187
|
+
&.top {
|
|
188
|
+
top: -2px;
|
|
189
|
+
left: 0px;
|
|
190
|
+
width: 100%;
|
|
191
|
+
height: 5px;
|
|
192
|
+
cursor: n-resize;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&.left {
|
|
196
|
+
top: 0px;
|
|
197
|
+
left: -2px;
|
|
198
|
+
width: 5px;
|
|
199
|
+
height: 100%;
|
|
200
|
+
cursor: e-resize;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
&.right {
|
|
204
|
+
top: 0px;
|
|
205
|
+
right: -2px;
|
|
206
|
+
width: 5px;
|
|
207
|
+
height: 100%;
|
|
208
|
+
cursor: w-resize;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&.bottom {
|
|
212
|
+
bottom: -2px;
|
|
213
|
+
left: 0px;
|
|
214
|
+
width: 100%;
|
|
215
|
+
height: 5px;
|
|
216
|
+
cursor: s-resize;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&.top-left {
|
|
220
|
+
top: 0px;
|
|
221
|
+
left: 0px;
|
|
222
|
+
width: 7px;
|
|
223
|
+
height: 7px;
|
|
224
|
+
cursor: nwse-resize;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&.top-right {
|
|
228
|
+
top: 0px;
|
|
229
|
+
right: 0px;
|
|
230
|
+
width: 7px;
|
|
231
|
+
height: 7px;
|
|
232
|
+
cursor: nesw-resize;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
&.bottom-left {
|
|
236
|
+
bottom: 0px;
|
|
237
|
+
left: 0px;
|
|
238
|
+
width: 7px;
|
|
239
|
+
height: 7px;
|
|
240
|
+
cursor: nesw-resize;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
&.bottom-right {
|
|
244
|
+
bottom: 0px;
|
|
245
|
+
right: 0px;
|
|
246
|
+
width: 7px;
|
|
247
|
+
height: 7px;
|
|
248
|
+
cursor: nwse-resize;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.dialog-btn {
|
|
253
|
+
border-radius: 4px;
|
|
254
|
+
background-color: #f2f7f5; /* Green */
|
|
255
|
+
border: none;
|
|
256
|
+
text-align: center;
|
|
257
|
+
font-size: 16px;
|
|
258
|
+
padding: 3px 5px;
|
|
259
|
+
margin-right: 10px;
|
|
260
|
+
cursor: pointer;
|
|
261
|
+
|
|
262
|
+
&.primary {
|
|
263
|
+
background-color: #cce5ff;
|
|
264
|
+
border-color: #b8daff;
|
|
265
|
+
color: #ffffff; // var(--light)
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
&.secondary {
|
|
269
|
+
background-color: #e2e3e5;
|
|
270
|
+
border-color: #d6d8db;
|
|
271
|
+
color: #ffffff; // var(--light)
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
&.info {
|
|
275
|
+
background-color: #d1ecf1;
|
|
276
|
+
border-color: #bee5eb;
|
|
277
|
+
color: #155724; // var(--dark)
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
&.success {
|
|
281
|
+
background-color: #d4edda;
|
|
282
|
+
border-color: #c3e6cb;
|
|
283
|
+
color: #155724; // var(--dark)
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
&.warning {
|
|
287
|
+
background-color: #fff3cd;
|
|
288
|
+
border-color: #ffeeba;
|
|
289
|
+
color: #155724; // var(--dark)
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
&.danger {
|
|
293
|
+
background-color: #f8d7da;
|
|
294
|
+
border-color: #f5c6cb;
|
|
295
|
+
color: #ffffff; // var(--light)
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
&.hide {
|
|
300
|
+
animation: fadeOut 0.3s;
|
|
301
|
+
animation-fill-mode: forwards;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
@keyframes fadeIn {
|
|
307
|
+
from {
|
|
308
|
+
opacity: 0;
|
|
309
|
+
}
|
|
310
|
+
to {
|
|
311
|
+
opacity: 1;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
@keyframes fadeOut {
|
|
316
|
+
from {
|
|
317
|
+
opacity: 1;
|
|
318
|
+
}
|
|
319
|
+
to {
|
|
320
|
+
opacity: 0;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
@keyframes daradialogHide {
|
|
325
|
+
0% {
|
|
326
|
+
transform: translateX(-10px);
|
|
327
|
+
}
|
|
328
|
+
40% {
|
|
329
|
+
transform: translateX(0%);
|
|
330
|
+
}
|
|
331
|
+
80% {
|
|
332
|
+
transform: translateX(-5%);
|
|
333
|
+
}
|
|
334
|
+
100% {
|
|
335
|
+
transform: translateX(calc(100% + 20px));
|
|
336
|
+
}
|
|
337
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="m480-417.782 106.956 106.956q12.696 12.696 31.109 12.413 18.413-.283 31.109-12.978 12.696-12.696 12.696-31.109 0-18.413-12.696-31.109L542.218-480l106.956-106.956q12.696-12.696 12.696-31.109 0-18.413-12.696-31.109-12.696-12.696-31.109-12.696-18.413 0-31.109 12.696L480-542.218 373.044-649.174q-12.696-12.696-30.826-12.696-18.131 0-30.827 12.696-12.695 12.696-12.695 31.109 0 18.413 12.695 31.109L417.782-480 310.826-373.044q-12.696 12.696-12.413 30.826.283 18.131 12.978 30.827 12.696 12.695 31.109 12.695 18.413 0 31.109-12.695L480-417.782Zm0 357q-87.522 0-163.913-32.913-76.392-32.913-132.936-89.456-56.543-56.544-89.456-132.936Q60.782-392.478 60.782-480t32.913-163.913q32.913-76.392 89.456-132.936 56.544-56.543 132.936-89.456Q392.478-899.218 480-899.218t163.913 32.913q76.392 32.913 132.936 89.456 56.543 56.544 89.456 132.936Q899.218-567.522 899.218-480t-32.913 163.913q-32.913 76.392-89.456 132.936-56.544 56.543-132.936 89.456Q567.522-60.782 480-60.782Zm0-106.001q131.739 0 222.478-90.739T793.217-480q0-131.739-90.739-222.478T480-793.217q-131.739 0-222.478 90.739T166.783-480q0 131.739 90.739 222.478T480-166.783ZM480-480Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M479.871-260.782q23.912 0 40.217-16.175 16.304-16.176 16.304-40.088 0-23.912-16.176-40.499-16.175-16.587-40.087-16.587-23.912 0-40.217 16.587-16.304 16.587-16.304 40.499 0 23.912 16.176 40.088 16.175 16.175 40.087 16.175ZM480-438.87q22.087 0 37.544-15.456 15.457-15.457 15.457-37.544v-147q0-22.087-15.457-37.543Q502.087-691.87 480-691.87q-22.087 0-37.544 15.457-15.457 15.456-15.457 37.543v147q0 22.087 15.457 37.544Q457.913-438.87 480-438.87Zm0 378.088q-87.522 0-163.906-32.96-76.385-32.96-132.888-89.464-56.504-56.503-89.464-132.888Q60.782-392.478 60.782-480t32.96-163.906q32.96-76.385 89.464-132.888 56.503-56.504 132.888-89.464 76.384-32.96 163.906-32.96t163.906 32.96q76.385 32.96 132.888 89.464 56.504 56.503 89.464 132.888 32.96 76.384 32.96 163.906t-32.96 163.906q-32.96 76.385-89.464 132.888-56.503 56.504-132.888 89.464Q567.522-60.782 480-60.782Zm0-106.001q131.739 0 222.478-90.739T793.217-480q0-131.739-90.739-222.478T480-793.217q-131.739 0-222.478 90.739T166.783-480q0 131.739 90.739 222.478T480-166.783ZM480-480Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M476.304-240q23.261 0 39.74-16.478 16.478-16.479 16.478-39.819 0-23.341-16.478-39.457-16.479-16.116-39.74-16.116-23.261 0-39.739 16.116-16.478 16.116-16.478 39.457 0 23.34 16.478 39.819Q453.043-240 476.304-240ZM480-60.782q-87.522 0-163.906-32.96-76.385-32.96-132.888-89.464-56.504-56.503-89.464-132.888Q60.782-392.478 60.782-480t32.96-163.906q32.96-76.385 89.464-132.888 56.503-56.504 132.888-89.464 76.384-32.96 163.906-32.96t163.906 32.96q76.385 32.96 132.888 89.464 56.504 56.503 89.464 132.888 32.96 76.384 32.96 163.906t-32.96 163.906q-32.96 76.385-89.464 132.888-56.503 56.504-132.888 89.464Q567.522-60.782 480-60.782Zm0-106.001q131.739 0 222.478-90.739T793.217-480q0-131.739-90.739-222.478T480-793.217q-131.739 0-222.478 90.739T166.783-480q0 131.739 90.739 222.478T480-166.783ZM480-480Zm2.304-160.13q20.442 0 35.569 13.416 15.126 13.416 15.126 33.54 0 19.174-11.521 34.478-11.522 15.305-26.261 28.044-23 20-40.783 44.565-17.782 24.565-17.782 54.565 0 15.918 12.043 26.72T476.796-394q17.204 0 29.4-11.413 12.195-11.413 17.456-28.109 5.131-18.739 17.153-33.261 12.021-14.521 26.325-27.826 23-21.434 38.37-48.282 15.37-26.848 15.37-58.283 0-52.13-40.653-86.043-40.652-33.913-95.087-33.913-40.26 0-75.608 17.13-35.348 17.13-55.609 51.261-8.131 13.696-5.101 29.44 3.03 15.744 16.362 23.908 15.696 9.696 33.239 5.848 17.544-3.848 29.805-18.978 9.869-12.739 24.175-20.174 14.305-7.435 29.911-7.435Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M480-271.521q20.603 0 34.541-13.938 13.938-13.938 13.938-34.541v-151.521q0-20.604-13.938-34.541Q500.603-520 480-520q-20.603 0-34.541 13.938-13.938 13.937-13.938 34.541V-320q0 20.603 13.938 34.541 13.938 13.938 34.541 13.938Zm0-317.174q21.805 0 36.555-14.75T531.305-640q0-21.805-14.75-36.555T480-691.305q-21.805 0-36.555 14.75T428.695-640q0 21.805 14.75 36.555T480-588.695Zm0 527.913q-87.522 0-163.906-32.96-76.385-32.96-132.888-89.464-56.504-56.503-89.464-132.888Q60.782-392.478 60.782-480t32.96-163.906q32.96-76.385 89.464-132.888 56.503-56.504 132.888-89.464 76.384-32.96 163.906-32.96t163.906 32.96q76.385 32.96 132.888 89.464 56.504 56.503 89.464 132.888 32.96 76.384 32.96 163.906t-32.96 163.906q-32.96 76.385-89.464 132.888-56.503 56.504-132.888 89.464Q567.522-60.782 480-60.782Zm0-106.001q131.739 0 222.478-90.739T793.217-480q0-131.739-90.739-222.478T480-793.217q-131.739 0-222.478 90.739T166.783-480q0 131.739 90.739 222.478T480-166.783ZM480-480Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="m422.304-427.784-71.303-71.303q-14.392-14.392-35.914-14.392-21.522 0-35.913 14.392-14.392 14.391-14.109 35.913.283 21.522 14.674 35.914l104.956 104.956q16.162 15.956 37.712 15.956 21.55 0 37.506-15.956l217.522-217.522q14.391-14.391 14.391-35.63 0-21.24-14.391-35.631-14.392-14.392-35.914-14.392-21.522 0-35.913 14.392L422.304-427.784ZM480-60.782q-87.522 0-163.906-32.96-76.385-32.96-132.888-89.464-56.504-56.503-89.464-132.888Q60.782-392.478 60.782-480t32.96-163.906q32.96-76.385 89.464-132.888 56.503-56.504 132.888-89.464 76.384-32.96 163.906-32.96t163.906 32.96q76.385 32.96 132.888 89.464 56.504 56.503 89.464 132.888 32.96 76.384 32.96 163.906t-32.96 163.906q-32.96 76.385-89.464 132.888-56.503 56.504-132.888 89.464Q567.522-60.782 480-60.782Zm0-106.001q131.739 0 222.478-90.739T793.217-480q0-131.739-90.739-222.478T480-793.217q-131.739 0-222.478 90.739T166.783-480q0 131.739 90.739 222.478T480-166.783ZM480-480Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M115.218-110.391q-14.957 0-26.832-7.365-11.876-7.365-18.473-19.418-6.696-11.826-7.196-25.772-.5-13.946 7.196-27.228L433.695-820q7.696-13.391 20.363-19.805 12.666-6.413 26-6.413 13.333 0 25.942 6.413 12.609 6.414 20.305 19.805l363.782 629.826q7.696 13.282 7.196 27.228-.5 13.946-7.196 25.772-6.696 11.826-18.522 19.305-11.826 7.478-26.783 7.478H115.218Zm76.913-97.522h575.738L480-704.173l-287.869 496.26ZM480-241.696q17.565 0 30.196-12.63 12.63-12.631 12.63-30.196t-12.63-29.913Q497.565-326.783 480-326.783t-30.196 12.348q-12.63 12.348-12.63 29.913 0 17.565 12.63 30.196 12.631 12.63 30.196 12.63ZM480-360q17 0 28.5-11.5T520-400v-113.782q0-17-11.5-28.5t-28.5-11.5q-17 0-28.5 11.5t-11.5 28.5V-400q0 17 11.5 28.5T480-360Zm0-96.043Z"/></svg>
|