aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/transitions.css
blob: e2225a98da7e9b6e3121e4a403fed229e7717041 (plain) (blame)
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
/* initial positions */
.app-primary.from-right .main-enter {
  transform: translateX(400px);
  position: absolute;
  width: 100%;
  transition: transform 300ms ease-in-out;
}
.app-primary.from-left .main-enter {
  transform: translateX(-400px);
  position: absolute;
  width: 100%;
  transition: transform 300ms ease-in-out;
}

/* center position */
.app-primary .main-enter.main-enter-active,
.app-primary .main-leave {
  transform: translateX(0px);
  position: absolute;
  width: 100%;
  transition: transform 300ms ease-in-out;
  overflow-x: hidden;
}

/* final positions */
.app-primary.from-left .main-leave-active {
  transform: translateX(400px);
  position: absolute;
  width: 100%;
  transition: transform 300ms ease-in-out;
}
.app-primary.from-right .main-leave-active {
  transform: translateX(-400px);
  position: absolute;
  width: 100%;
  transition: transform 300ms ease-in-out;
}

/* loader transitions */
.loader-enter, .loader-leave-active {
  opacity: 0.0;
  transition: opacity 150 ease-in-out;
}
.loader-enter-active, .loader-leave {
  opacity: 1.0;
  transition: opacity 150 ease-in-out;
}