-
Notifications
You must be signed in to change notification settings - Fork 0
/
_hero-unit.scss
76 lines (64 loc) · 1.41 KB
/
_hero-unit.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
.hero-unit {
min-height: 360px;
padding: 0 2rem;
z-index: auto;
@include breakpoint(large) {
background-color: get-color(primary-light);
border-radius: 0 0 58px;
margin-right: 2rem;
padding: 0 rem-calc(132);
}
&__text {
margin-bottom: 0;
}
&__container {
margin-top: 1rem;
z-index: 1;
@include breakpoint(large) {
padding: 4rem 0 2rem;
}
}
&__search {
> .search-bar > label {
margin: 0;
}
> .search-bar > label > input {
background: $white;
background-image: url("images/search.svg");
background-position: calc(100% - 1rem);
background-repeat: no-repeat;
margin: 0 !important;
padding-right: 2rem;
transition: box-shadow, background-color linear 0.5s;
}
}
&__browse-link {
@include flex;
@include flex-align(justify, middle);
@include breakpoint(medium) {
border-radius: $global-radius;
}
@include breakpoint(large) {
margin: 0 0 0 1rem;
}
background: $white;
border-radius: 5000px;
height: 39px;
margin: 1rem 0;
&:hover {
cursor: pointer;
text-decoration: underline;
}
& > a,
& > li > a {
color: get-color(medium) !important;
font-weight: normal !important;
padding: 0 1.5rem 0 0 !important;
text-decoration: none;
width: auto;
}
.is-dropdown-submenu {
z-index: 3;
}
}
}