-
Notifications
You must be signed in to change notification settings - Fork 2
/
olay-react.css
72 lines (64 loc) · 1.55 KB
/
olay-react.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
.olay-active {
overflow: hidden;
}
.olay-container {
position: fixed;
z-index: 999;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.olay-table {
display: table;
width: 100%;
height: 100%;
table-layout: fixed;
}
.olay-cell {
position: relative;
display: table-cell;
vertical-align: middle;
}
.olay-fade-appear-active,
.olay-fade-appear-active .olay-table,
.olay-fade-enter-active,
.olay-fade-enter-active .olay-table,
.olay-fade-exit-active,
.olay-fade-exit-active .olay-table {
-webkit-transition: all .25s cubic-bezier(.5, 0, .5, 1);
-moz-transition: all .25s cubic-bezier(.5, 0, .5, 1);
-ms-transition: all .25s cubic-bezier(.5, 0, .5, 1);
-o-transition: all .25s cubic-bezier(.5, 0, .5, 1);
transition: all .25s cubic-bezier(.5, 0, .5, 1);
}
.olay-fade-appear,
.olay-fade-enter,
.olay-fade-exit.olay-fade-exit-active {
opacity: 0;
}
.olay-fade-appear.olay-fade-appear-active,
.olay-fade-enter.olay-fade-enter-active,
.olay-fade-exit {
opacity: 1;
}
.olay-fade-appear .olay-table,
.olay-fade-enter .olay-table,
.olay-fade-exit.olay-fade-exit-active .olay-table {
-webkit-transform: scale(.95);
-moz-transform: scale(.95);
-ms-transform: scale(.95);
-o-transform: scale(.95);
transform: scale(.95);
}
.olay-fade-appear.olay-fade-appear-active .olay-table,
.olay-fade-enter.olay-fade-enter-active .olay-table,
.olay-fade-exit .olay-table {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}