_vacancies.scss
1.95 KB
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
108
109
110
111
.vacancies {
padding: 50px 0;
@media (min-width: $desktop) {
padding: 100px 0;
}
&__body {
display: flex;
flex-direction: column-reverse;
gap: 20px;
width: 100%;
margin-top: 20px;
@media (min-width: $laptop) {
margin-top: 30px;
gap: 30px;
}
}
&__more {
width: 100%;
@media (min-width: $tablet) {
width: auto;
margin: 0 auto;
}
}
&__list {
display: flex;
flex-direction: column;
gap: 15px;
@media (min-width: $tablet) {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
@media (min-width: $laptop) {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
@media (min-width: $desktop) {
grid-template-columns: repeat(4, 1fr);
}
}
&__item {
display: none;
box-shadow: $shadow;
border-radius: 12px;
background: $white;
border: 1px solid #e6e7e7;
overflow: hidden;
&:nth-of-type(1),
&:nth-of-type(2),
&:nth-of-type(3),
&:nth-of-type(4),
&:nth-of-type(5),
&:nth-of-type(6),
&:nth-of-type(7),
&:nth-of-type(8),
&:nth-of-type(9),
&:nth-of-type(10),
&:nth-of-type(11),
&:nth-of-type(12),
&:nth-of-type(13),
&:nth-of-type(14),
&:nth-of-type(15),
&:nth-of-type(16) {
display: flex;
}
> span {
border-left: 10px solid $green;
padding: 20px 14px;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 5px;
justify-content: space-between;
@media (min-width: $laptop) {
gap: 10px;
}
}
b {
font-weight: 700;
font-size: 14px;
@media (min-width: $laptop) {
font-size: 20px;
}
}
&:hover b {
color: $green;
}
u {
text-decoration: none;
font-size: 14px;
@media (min-width: $laptop) {
font-size: 18px;
}
}
i {
font-size: 12px;
font-style: normal;
border-bottom: 1px dashed $green;
@media (min-width: $laptop) {
font-size: 16px;
}
span {
font-weight: 700;
color: $green;
}
}
}
&__body.active > &__list > &__item {
display: flex;
}
}