navSearchBar.less
2.31 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
112
113
114
115
116
117
118
119
120
121
122
123
124
@charset "UTF-8";
.nav-search-bar {
display: flex;
justify-content: flex-start;
align-items: center;
margin: 0 auto;
height: 95px;
border-bottom: 1px solid #E6E6E6;
.box {
display: flex;
justify-content: flex-start;
align-items: flex-start;
margin: 20px auto 0 auto;
width: 690px;
height: 100%;
.back-img {
display: block;
margin-top: 10px;
width: 35px;
height: 35px;
& + .search-box {
margin-left: 20px;
}
}
.search-box {
background-color: #F9F9F9;
width: 635px;
height: 58px;
border-radius: 32px;
.box {
display: flex;
justify-content: flex-start;
align-items: center;
margin: 0 auto;
width: 575px;
height: 100%;
.search-img {
display: block;
width: 32px;
height: 32px;
}
.line {
background-color: #858585;
margin: 0 20px;
width: 1px;
height: 22px;
}
.input-box {
display: flex;
justify-content: space-between;
align-items: center;
width: 500px;
.input {
background-color: transparent;
padding: 0;
color: #222222;
font-size: 26px;
width: 100%;
height: 100%;
border: none;
outline: none;
&::placeholder {
color: #B4B4B4;
font-size: 26px;
}
&::-webkit-search-cancel-button {
display: none;
}
}
.input[type=search] {
-webkit-appearance: textfield;
-webkit-box-sizing: content-box;
font-family: inherit;
font-size: 100%;
}
.input::-webkit-search-decoration,
.input::-webkit-search-cancel-button {
display: none;
}
.text {
display: flex;
justify-content: flex-start;
align-items: center;
color: #BEBEBE;
font-size: 24px;
font-weight: 400;
width: 335px;
height: 100%;
}
.icon-clear-input-img {
display: block;
width: 26px;
height: 26px;
}
}
}
&.have-func {
width: 415px;
.box {
width: 355px;
.input-box {
width: 280px;
.input {
width: 245px;
}
.text {
width: 280px;
}
}
}
}
& + .func-img {
margin-left: 20px;
}
}
.func-img {
display: block;
margin-top: 10px;
width: 35px;
height: 35px;
}
}
}