-
Notifications
You must be signed in to change notification settings - Fork 1
/
page-swiper.scss
103 lines (92 loc) · 1.53 KB
/
page-swiper.scss
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
html, body {
width: 100%;
height: 100%;
margin: 0;
}
#page-swiper {
position: fixed;
width: 100%;
height: 100%;
#ps-conveyor {
width: 100%;
height: 100%;
.ps-page {
width: 100%;
height: 100%;
position: absolute;
.ps-subpage {
width: 100%;
height: 100%;
position: absolute;
}
}
}
}
.ps-overlay {
z-index: 240;
display: flex;
position: fixed;
&.top {
top: 0;
left: 0;
width: 100%;
margin-top: 1vw;
justify-content: center;
}
&.bottom {
bottom: 0;
left: 0;
width: 100%;
margin-bottom: 1vw;
justify-content: center;
}
&.left {
top: 0;
left: 0;
height: 100%;
margin-left: 1vw;
align-items: center;
}
&.right {
top: 0;
right: 0;
height: 100%;
margin-right: 1vw;
align-items: center;
}
}
.ps-arrow {
$normal-color: rgb(255, 255, 255);
opacity: 0.4;
$size: 2vw;
width: 0;
height: 0;
cursor: pointer;
transition: opacity 0.5s, border-color 0.5s;
&.disabled {
visibility: hidden;
}
&.right {
border-top: $size solid transparent;
border-bottom: $size solid transparent;
border-left: $size solid $normal-color;
}
&.left {
border-top: $size solid transparent;
border-bottom: $size solid transparent;
border-right:$size solid $normal-color;
}
&.up {
border-left: $size solid transparent;
border-right: $size solid transparent;
border-bottom: $size solid $normal-color;
}
&.down {
border-left: $size solid transparent;
border-right: $size solid transparent;
border-top: $size solid $normal-color;
}
&:hover {
opacity: 0.6;
}
}