Issues (576)

src/feature/pagination/Pagination.module.scss (49 issues)

1
@import '@/styles/mixins.scss';
0 ignored issues
show
Imported partial @/styles/mixins.scss should be written as @/styles/mixins
Loading history...
2
3
.paginationWrapper {
0 ignored issues
show
Selector paginationWrapper should be written in lowercase with hyphens
Loading history...
4
  position: fixed;
0 ignored issues
show
Properties should be ordered bottom, display, justify-content, position, transition, width
Loading history...
5
  bottom: 0;
6
  display: flex;
7
  justify-content: center;
8
  width: 100%;
9
  transition: all 0.3s ease-out;
0 ignored issues
show
0.3 should be written without a leading zero as .3
Loading history...
10
}
11
12
.pagination {
13
  display: flex;
0 ignored issues
show
Properties should be ordered background, border, border-radius, box-shadow, display, max-width, padding, transition
Loading history...
14
  padding: 4px;
15
  max-width: 100%;
16
  background: rgba(0, 0, 0, 0.514);
0 ignored issues
show
0.514 should be written without a leading zero as .514
Loading history...
Color literals like rgba(0, 0, 0, 0.514) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
17
  border-radius: 10px 10px 0 0;
18
  box-shadow: 2px 5px 10px 5px #0000008f;
19
  border: 1px solid #252525;
0 ignored issues
show
Color literals like #252525 should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
20
  transition: all 0.3s ease-out;
0 ignored issues
show
0.3 should be written without a leading zero as .3
Loading history...
21
22
  &:hover {
23
    background: rgba(0, 0, 0, 0.808);
0 ignored issues
show
Color literals like rgba(0, 0, 0, 0.808) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
0.808 should be written without a leading zero as .808
Loading history...
24
25
    & > * {
0 ignored issues
show
Unnecessary parent selector (&)
Loading history...
26
      opacity: 1;
27
    }
28
  }
29
}
30
31
.paginationItem {
0 ignored issues
show
Selector paginationItem should be written in lowercase with hyphens
Loading history...
32
  display: flex;
0 ignored issues
show
Properties should be ordered align-items, border-radius, box-sizing, color, display, height, justify-content, letter-spacing, line-height, margin, opacity, padding, text-align, user-select
Loading history...
33
  justify-content: center;
34
  align-items: center;
35
  padding: 22px 0;
36
  @include fluid(padding-left, 8, 16);
0 ignored issues
show
Expected item on line 36 to appear before line 32. Rule sets should be ordered as follows: @extends, @includes without @content, properties, @includes with @content, nested rule sets
Loading history...
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
Color literals like rgba(255, 255, 255, 0.705) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
0.705 should be written without a leading zero as .705
Loading history...
43
  letter-spacing: 0.01071em;
0 ignored issues
show
0.01071 should be written without a leading zero as .01071
Loading history...
44
  line-height: 1.43;
45
  border-radius: 100px;
46
  user-select: none;
47
  opacity: 0.3;
0 ignored issues
show
0.3 should be written without a leading zero as .3
Loading history...
48
49
  &.dots {
50
    display: none;
0 ignored issues
show
Properties should be ordered color, display, transform
Loading history...
51
    color: rgb(95, 95, 95);
0 ignored issues
show
Color literals like rgb(95, 95, 95) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
52
    transform: translateY(-8px);
53
    @include media(374) {
0 ignored issues
show
@include declaration should be preceded by an empty line
Loading history...
54
      display: block;
55
    };
56
  }
57
58
  &.dots:hover {
59
    color: rgb(95, 95, 95);
0 ignored issues
show
Properties should be ordered background-color, color, cursor
Loading history...
Color literals like rgb(95, 95, 95) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
60
    background-color: transparent;
61
    cursor: default;
62
  }
63
64
  &:hover {
65
    color: rgba(255, 255, 255, 0.959);
0 ignored issues
show
Properties should be ordered background-color, color, cursor, opacity
Loading history...
Color literals like rgba(255, 255, 255, 0.959) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
0.959 should be written without a leading zero as .959
Loading history...
66
    background-color: rgba(47, 0, 255, 0.185);
0 ignored issues
show
0.185 should be written without a leading zero as .185
Loading history...
Color literals like rgba(47, 0, 255, 0.185) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
67
    cursor: pointer;
68
    opacity: 1;
69
  }
70
71
  &.selected {
72
    pointer-events: none;
0 ignored issues
show
Properties should be ordered animation, background-color, color, opacity, pointer-events
Loading history...
73
    color: rgba(255, 255, 255, 0.959);
0 ignored issues
show
0.959 should be written without a leading zero as .959
Loading history...
Color literals like rgba(255, 255, 255, 0.959) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
74
    background-color: rgba(153, 0, 0, 0.712);
0 ignored issues
show
0.712 should be written without a leading zero as .712
Loading history...
Color literals like rgba(153, 0, 0, 0.712) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
75
    opacity: 1;
76
    animation: selectedAnim 0.3s;
0 ignored issues
show
0.3 should be written without a leading zero as .3
Loading history...
77
  }
78
79
  &.disabled {
80
    pointer-events: none;
0 ignored issues
show
Properties should be ordered color, pointer-events
Loading history...
81
    color: rgb(95, 95, 95);
0 ignored issues
show
Color literals like rgb(95, 95, 95) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
82
83
    &:hover {
84
      cursor: default;
85
    }
86
  }
87
}
88
89
.arrow {
90
  font-size: 24px;
91
}
92
93
.paginationForward {
0 ignored issues
show
Selector paginationForward should be written in lowercase with hyphens
Loading history...
94
  animation: paginationForwardAnim 1s;
95
}
96
97
.paginationBackward {
0 ignored issues
show
Selector paginationBackward should be written in lowercase with hyphens
Loading history...
98
  animation: paginationBackwardAnim 1s;
99
}
100
101
@keyframes selectedAnim {
102
  0% {
103
    background-color: rgba(153, 0, 0, 0.712);
0 ignored issues
show
0.712 should be written without a leading zero as .712
Loading history...
Color literals like rgba(153, 0, 0, 0.712) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
104
  }
0 ignored issues
show
Rule declaration should be followed by an empty line
Loading history...
105
  50% {
106
    background-color: transparent;
107
  }
0 ignored issues
show
Rule declaration should be followed by an empty line
Loading history...
108
  100% {
109
    background-color: rgba(153, 0, 0, 0.712);
0 ignored issues
show
Color literals like rgba(153, 0, 0, 0.712) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
0.712 should be written without a leading zero as .712
Loading history...
110
  }
111
}
112
113
@keyframes paginationForwardAnim {
114
  from {
115
    opacity: 0.3;
0 ignored issues
show
0.3 should be written without a leading zero as .3
Loading history...
116
    transform: translateX(50%) skew(-4deg);
117
  }
0 ignored issues
show
Rule declaration should be followed by an empty line
Loading history...
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
0.3 should be written without a leading zero as .3
Loading history...
127
    transform: translateX(-50%) skew(4deg);
128
  }
0 ignored issues
show
Rule declaration should be followed by an empty line
Loading history...
129
  to {
130
    opacity: 1;
131
    transform: translateX(0);
132
  }
133
}
134