1 | @import '@/styles/mixins.scss'; |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
2 | |||
3 | .paginationWrapper { |
||
0 ignored issues
–
show
|
|||
4 | position: fixed; |
||
0 ignored issues
–
show
|
|||
5 | bottom: 0; |
||
6 | display: flex; |
||
7 | justify-content: center; |
||
8 | width: 100%; |
||
9 | transition: all 0.3s ease-out; |
||
0 ignored issues
–
show
|
|||
10 | } |
||
11 | |||
12 | .pagination { |
||
13 | display: flex; |
||
0 ignored issues
–
show
|
|||
14 | padding: 4px; |
||
15 | max-width: 100%; |
||
16 | background: rgba(0, 0, 0, 0.514); |
||
0 ignored issues
–
show
|
|||
17 | border-radius: 10px 10px 0 0; |
||
18 | box-shadow: 2px 5px 10px 5px #0000008f; |
||
19 | border: 1px solid #252525; |
||
0 ignored issues
–
show
|
|||
20 | transition: all 0.3s ease-out; |
||
0 ignored issues
–
show
|
|||
21 | |||
22 | &:hover { |
||
23 | background: rgba(0, 0, 0, 0.808); |
||
0 ignored issues
–
show
|
|||
24 | |||
25 | & > * { |
||
0 ignored issues
–
show
|
|||
26 | opacity: 1; |
||
27 | } |
||
28 | } |
||
29 | } |
||
30 | |||
31 | .paginationItem { |
||
0 ignored issues
–
show
|
|||
32 | display: flex; |
||
0 ignored issues
–
show
|
|||
33 | justify-content: center; |
||
34 | align-items: center; |
||
35 | padding: 22px 0; |
||
36 | @include fluid(padding-left, 8, 16); |
||
0 ignored issues
–
show
|
|||
37 | @include fluid(padding-right, 8, 16); |
||
38 | margin: auto 4px; |
||
39 | height: 32px; |
||
40 | text-align: center; |
||
41 | box-sizing: border-box; |
||
42 | color: rgba(255, 255, 255, 0.705); |
||
0 ignored issues
–
show
|
|||
43 | letter-spacing: 0.01071em; |
||
0 ignored issues
–
show
|
|||
44 | line-height: 1.43; |
||
45 | border-radius: 100px; |
||
46 | user-select: none; |
||
47 | opacity: 0.3; |
||
0 ignored issues
–
show
|
|||
48 | |||
49 | &.dots { |
||
50 | display: none; |
||
0 ignored issues
–
show
|
|||
51 | color: rgb(95, 95, 95); |
||
0 ignored issues
–
show
|
|||
52 | transform: translateY(-8px); |
||
53 | @include media(374) { |
||
0 ignored issues
–
show
|
|||
54 | display: block; |
||
55 | }; |
||
56 | } |
||
57 | |||
58 | &.dots:hover { |
||
59 | color: rgb(95, 95, 95); |
||
0 ignored issues
–
show
|
|||
60 | background-color: transparent; |
||
61 | cursor: default; |
||
62 | } |
||
63 | |||
64 | &:hover { |
||
65 | color: rgba(255, 255, 255, 0.959); |
||
0 ignored issues
–
show
|
|||
66 | background-color: rgba(47, 0, 255, 0.185); |
||
0 ignored issues
–
show
|
|||
67 | cursor: pointer; |
||
68 | opacity: 1; |
||
69 | } |
||
70 | |||
71 | &.selected { |
||
72 | pointer-events: none; |
||
0 ignored issues
–
show
|
|||
73 | color: rgba(255, 255, 255, 0.959); |
||
0 ignored issues
–
show
|
|||
74 | background-color: rgba(153, 0, 0, 0.712); |
||
0 ignored issues
–
show
|
|||
75 | opacity: 1; |
||
76 | animation: selectedAnim 0.3s; |
||
0 ignored issues
–
show
|
|||
77 | } |
||
78 | |||
79 | &.disabled { |
||
80 | pointer-events: none; |
||
0 ignored issues
–
show
|
|||
81 | color: rgb(95, 95, 95); |
||
0 ignored issues
–
show
|
|||
82 | |||
83 | &:hover { |
||
84 | cursor: default; |
||
85 | } |
||
86 | } |
||
87 | } |
||
88 | |||
89 | .arrow { |
||
90 | font-size: 24px; |
||
91 | } |
||
92 | |||
93 | .paginationForward { |
||
0 ignored issues
–
show
|
|||
94 | animation: paginationForwardAnim 1s; |
||
95 | } |
||
96 | |||
97 | .paginationBackward { |
||
0 ignored issues
–
show
|
|||
98 | animation: paginationBackwardAnim 1s; |
||
99 | } |
||
100 | |||
101 | @keyframes selectedAnim { |
||
102 | 0% { |
||
103 | background-color: rgba(153, 0, 0, 0.712); |
||
0 ignored issues
–
show
|
|||
104 | } |
||
0 ignored issues
–
show
|
|||
105 | 50% { |
||
106 | background-color: transparent; |
||
107 | } |
||
0 ignored issues
–
show
|
|||
108 | 100% { |
||
109 | background-color: rgba(153, 0, 0, 0.712); |
||
0 ignored issues
–
show
|
|||
110 | } |
||
111 | } |
||
112 | |||
113 | @keyframes paginationForwardAnim { |
||
114 | from { |
||
115 | opacity: 0.3; |
||
0 ignored issues
–
show
|
|||
116 | transform: translateX(50%) skew(-4deg); |
||
117 | } |
||
0 ignored issues
–
show
|
|||
118 | to { |
||
119 | opacity: 1; |
||
120 | transform: translateX(0); |
||
121 | } |
||
122 | } |
||
123 | |||
124 | @keyframes paginationBackwardAnim { |
||
125 | from { |
||
126 | opacity: 0.3; |
||
0 ignored issues
–
show
|
|||
127 | transform: translateX(-50%) skew(4deg); |
||
128 | } |
||
0 ignored issues
–
show
|
|||
129 | to { |
||
130 | opacity: 1; |
||
131 | transform: translateX(0); |
||
132 | } |
||
133 | } |
||
134 |