-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathindex.scss
82 lines (69 loc) · 1.48 KB
/
index.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
$height-md-up: 440px;
.o-commercial-hero-banner {
@media (min-width: $breakpoint-md) {
height: $height-md-up;
}
&__picture-container {
position: absolute;
height: 200px;
width: 100%;
top: 0;
left: 0;
z-index: -10;
@media (min-width: $breakpoint-md) {
height: $height-md-up;
}
}
&__text--dark {
@media (min-width: $breakpoint-md) {
color: $color-prim-white;
}
}
&__container {
position: relative;
@media (min-width: $breakpoint-md) {
background: linear-gradient(
270deg,
rgba(255, 255, 255, 0) 30%,
rgba(255, 255, 255, 0.9) 60%,
#fff 100%
);
}
&--dark {
@media (min-width: $breakpoint-md) {
background: linear-gradient(
270deg,
rgba(0, 0, 0, 0) 30%,
rgba(0, 0, 0, 0.8) 60%,
#000 100%
);
}
}
}
&__content {
display: flex;
padding: 140px 10px 30px 10px;
max-height: $height-md-up;
overflow: hidden;
@media (min-width: $breakpoint-md) {
padding: 0;
background-color: transparent;
margin: 0;
height: $height-md-up;
}
&-item {
background-color: $color-prim-white;
width: 100%;
word-wrap: break-word;
@media (min-width: $breakpoint-md) {
display: flex;
flex-basis: 50%;
align-items: center;
background-color: transparent;
}
}
&-item-box {
padding: 10px 15px 0 15px;
}
}
}