_brand.scss
1.61 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
.search-wrap {
position: relative;
z-index: 2;
height: 44rem / $remNum;
padding: 0 (8rem / $remNum);
background: #f0f0f0;
text-align: center;
input {
width: 304rem / $remNum;
height: 28rem / $remNum;
margin: (8rem / $remNum) 0 0 0;
padding: 0;
border: none;
outline: none;
font-size: 14rem / $remNum;
border-radius: 2px;
}
input:focus, input.hasVal {
width: 272rem / $remNum;
padding-left: 32rem / $remNum;
}
.search-btn {
position: absolute;
color: #8e8e93;
font-size: 14rem / $remNum;
top: 12rem / $remNum;
left: 50%;
margin-left: -21rem / $remNum;
span {
margin-right: 2rem / $remNum;
font-size: 14rem / $remNum;
vertical-align: 2%;
}
}
input:focus ~ .search-btn, input.hasVal ~ .search-btn {
left: 18rem / $remNum;
margin-left: 0;
em {
display: none;
}
}
}
.brand-slide {
.slide-box {
height: 176rem / $remNum;
.box {
img {
height: 176rem / $remNum;
}
}
}
}
.no-search {
display: none;
text-align: center;
font-size: 12rem / $remNum;
margin: (20rem / $remNum) 0 0 0;
a {
font-size: 12rem / $remNum;
line-height: 16rem / $remNum;
color: #000;
}
}
.overlay {
display: none;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 1;
}
.overlay.show {
display: block;
}