Browse code

Include Vex dialog

Benjamin Roth authored on21/03/2019 09:54:50
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,117 @@
1
+@-webkit-keyframes vex-fadein {
2
+  0% {
3
+    opacity: 0; }
4
+  100% {
5
+    opacity: 1; } }
6
+
7
+@keyframes vex-fadein {
8
+  0% {
9
+    opacity: 0; }
10
+  100% {
11
+    opacity: 1; } }
12
+
13
+@-webkit-keyframes vex-fadeout {
14
+  0% {
15
+    opacity: 1; }
16
+  100% {
17
+    opacity: 0; } }
18
+
19
+@keyframes vex-fadeout {
20
+  0% {
21
+    opacity: 1; }
22
+  100% {
23
+    opacity: 0; } }
24
+
25
+@-webkit-keyframes vex-rotation {
26
+  0% {
27
+    -webkit-transform: rotate(0deg);
28
+    transform: rotate(0deg); }
29
+  100% {
30
+    -webkit-transform: rotate(359deg);
31
+    transform: rotate(359deg); } }
32
+
33
+@keyframes vex-rotation {
34
+  0% {
35
+    -webkit-transform: rotate(0deg);
36
+    transform: rotate(0deg); }
37
+  100% {
38
+    -webkit-transform: rotate(359deg);
39
+    transform: rotate(359deg); } }
40
+
41
+.vex, .vex *, .vex *:before, .vex *:after {
42
+  -moz-box-sizing: border-box;
43
+  box-sizing: border-box; }
44
+
45
+.vex {
46
+  position: fixed;
47
+  overflow: auto;
48
+  -webkit-overflow-scrolling: touch;
49
+  z-index: 1111;
50
+  top: 0;
51
+  right: 0;
52
+  bottom: 0;
53
+  left: 0; }
54
+
55
+.vex-scrollbar-measure {
56
+  position: absolute;
57
+  top: -9999px;
58
+  width: 50px;
59
+  height: 50px;
60
+  overflow: scroll; }
61
+
62
+.vex-overlay {
63
+  -webkit-animation: vex-fadein .5s;
64
+  animation: vex-fadein .5s;
65
+  position: fixed;
66
+  z-index: 1111;
67
+  background: rgba(0, 0, 0, 0.4);
68
+  top: 0;
69
+  right: 0;
70
+  bottom: 0;
71
+  left: 0; }
72
+
73
+.vex-overlay.vex-closing {
74
+  -webkit-animation: vex-fadeout .5s forwards;
75
+  animation: vex-fadeout .5s forwards; }
76
+
77
+.vex-content {
78
+  -webkit-animation: vex-fadein .5s;
79
+  animation: vex-fadein .5s;
80
+  background: #fff; }
81
+
82
+.vex.vex-closing .vex-content {
83
+  -webkit-animation: vex-fadeout .5s forwards;
84
+  animation: vex-fadeout .5s forwards; }
85
+
86
+.vex-close:before {
87
+  font-family: Arial, sans-serif;
88
+  content: "\00D7"; }
89
+
90
+.vex-dialog-form {
91
+  margin: 0; }
92
+
93
+.vex-dialog-button {
94
+  text-rendering: optimizeLegibility;
95
+  -webkit-appearance: none;
96
+  -moz-appearance: none;
97
+  appearance: none;
98
+  cursor: pointer;
99
+  -webkit-tap-highlight-color: transparent; }
100
+
101
+.vex-loading-spinner {
102
+  -webkit-animation: vex-rotation .7s linear infinite;
103
+  animation: vex-rotation .7s linear infinite;
104
+  box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
105
+  position: fixed;
106
+  z-index: 1112;
107
+  margin: auto;
108
+  top: 0;
109
+  right: 0;
110
+  bottom: 0;
111
+  left: 0;
112
+  height: 2em;
113
+  width: 2em;
114
+  background: #fff; }
115
+
116
+body.vex-open {
117
+  overflow: hidden; }
0 118
\ No newline at end of file