-
Notifications
You must be signed in to change notification settings - Fork 0
/
g-panel-slider-controller.css
67 lines (60 loc) · 1.73 KB
/
g-panel-slider-controller.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
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
/* Styling to apply to component children based on conditional
host styling. This should be removed when the ::shadow pseudo
selector is available. */
/*
TODO(sorvell): remove when this issue is addressed:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21389
*/
g-panel-slider > * {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
-webkit-transform: translateZ(0);
transform: translateZ(0);
}
g-panel-slider > g-panel-slider {
position: absolute;
}
/* TODO: Why is this here? Kicks in for transition='none'
g-panel-slider > .transition {
-webkit-transition: all 0.218s ease-in-out;
transition: all 0.218s ease-in-out;
}
*/
g-panel-slider > .animate {
-webkit-animation-duration: 0.218s;
-webkit-animation-fill-mode: both;
animation-duration: 0.218s;
animation-fill-mode: both;
}
g-panel-slider > .panels-ascending-from {
-webkit-animation: 0.218s both;
-webkit-animation-name: g-panels-slideLeft;
animation: 0.218s both;
animation-name: g-panels-slideLeft;
}
g-panel-slider > .panels-ascending-to {
-webkit-animation: 0.218s both;
-webkit-animation-name: g-panels-slideFromRight;
animation: 0.218s both;
animation-name: g-panels-slideFromRight;
}
g-panel-slider > .panels-descending-from {
-webkit-animation: 0.218s both;
-webkit-animation-name: g-panels-slideRight;
animation: 0.218s both;
animation-name: g-panels-slideRight;
}
g-panel-slider > .panels-descending-to {
-webkit-animation: 0.218s both;
-webkit-animation-name: g-panels-slideFromLeft;
animation: 0.218s both;
animation-name: g-panels-slideFromLeft;
}