-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
107 lines (92 loc) · 1.82 KB
/
style.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
104
105
106
107
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background: skyblue;
width: 100vw;
height: 100vh;
}
.wrapper {
max-width: 300px;
width: 100%;
height: auto;
display: flex;
align-items: center;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
border-radius: 16px;
box-shadow: 1px 1px 1px 0 rgba(255, 255, 255, 0.5),
8px 8px 16px 0 rgba(0, 0, 0, 0.3), -8px -8px 16px 0 rgba(255, 255, 255, 0.3);
overflow-x: hidden;
.image-container {
height: 100%;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
.carousel {
height: 100%;
width: 100%;
transition: all 0.3s ease;
display: flex;
img {
height: 300px;
width: 300px;
}
}
}
.page-btn-group {
position: absolute;
display: flex;
align-items: center;
list-style: none;
left: 50%;
transform: translateX(-50%);
bottom: 8px;
.page-btn {
width: 8px;
height: 8px;
background: rgba(0, 0, 0, 0.15);
border-radius: 50%;
margin: 6px;
cursor: pointer;
&:hover {
background: rgba(0, 0, 0, 0.35);
}
&:active,
:focus {
background: rgb(0, 136, 255);
}
}
.page-btn-active {
background: rgb(0, 136, 255);
}
// .active1 {
// background: red;
// }
}
.btn {
position: absolute;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
i {
background: rgba(0, 0, 0, 0.05);
padding: 20px 8px;
color: rgb(0, 136, 255);
cursor: pointer;
&:hover {
background: rgba(0, 0, 0, 0.15);
}
&:active {
background: rgba(0, 0, 0, 0.3);
color: rgb(0, 76, 143);
}
}
}
}