Issues (576)

src/pages/movie/movie.module.scss (16 issues)

1
@import '@/styles/vars.scss';
0 ignored issues
show
Imported partial @/styles/vars.scss should be written as @/styles/vars
Loading history...
2
3
.wrapper {
4
  position: relative;
0 ignored issues
show
Properties should be ordered background-attachment, background-position, background-repeat, background-size, box-shadow, margin-top, min-height, overflow, position, z-index
Loading history...
5
  z-index: 2;
6
  margin-top: -$header-height;
7
  min-height: 100vh;
8
  background-position: center;
9
  background-attachment: fixed;
10
  background-repeat: no-repeat;
11
  background-size: cover;
12
  box-shadow: 0 5px 20px -10px #000;
0 ignored issues
show
Color literals like #000 should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
13
  overflow: hidden;
14
15
  &::after {
16
    content: '';
0 ignored issues
show
Properties should be ordered background, box-shadow, content, height, left, position, top, width, z-index
Loading history...
17
    position: absolute;
18
    z-index: 2;
19
    width: 100%;
20
    height: 100%;
21
    top: 0;
22
    left: 0;
23
    background: #00000085;
24
    box-shadow: inset 345px 0px 100px -5px #0000004d;
0 ignored issues
show
0px should be written without units as 0
Loading history...
25
  }
26
}
27
28
.content {
29
  position: relative;
0 ignored issues
show
Properties should be ordered background-color, border-radius, position, z-index
Loading history...
30
  z-index: 3;
31
  background-color: rgba(0, 0, 0, 0.075);
0 ignored issues
show
Color literals like rgba(0, 0, 0, 0.075) should only be used in variable declarations; they should be referred to via variable everywhere else.
Loading history...
0.075 should be written without a leading zero as .075
Loading history...
32
  border-radius: 10px;
33
34
  & >:not(:last-child) {
0 ignored issues
show
Unnecessary parent selector (&)
Loading history...
35
    margin-bottom: 16px;
36
  }
37
}
38
39
.rowHalf {
0 ignored issues
show
Selector rowHalf should be written in lowercase with hyphens
Loading history...
40
  position: relative;
0 ignored issues
show
Properties should be ordered display, gap, grid-template-columns, justify-items, margin, max-width, padding, position, z-index
Loading history...
41
  z-index: 3;
42
  margin: $header-height * 2 auto;  
0 ignored issues
show
Line contains trailing whitespace
Loading history...
43
  padding: 20px;
44
  max-width: 1200px;
45
  display: grid;
46
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
47
  justify-items: center;
48
  gap: 20px;
0 ignored issues
show
Unknown property gap
Loading history...
49
}
50
51
.genres {
52
  display: flex;
0 ignored issues
show
Properties should be ordered align-items, display, flex-wrap
Loading history...
53
  align-items: center;
54
  flex-wrap: wrap;
55
}
56
57
.genreItem {
0 ignored issues
show
Selector genreItem should be written in lowercase with hyphens
Loading history...
58
  display: inline-flex;
0 ignored issues
show
Properties should be ordered align-items, display
Loading history...
59
  align-items: center;
60
}
61