-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
index.less
66 lines (58 loc) · 1.52 KB
/
index.less
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
@w-search-select: ~'w-search-select';
.@{w-search-select} {
&-input-contents {
input {
box-shadow: none;
padding: 0px;
min-width: 50px;
height: 22px;
}
.w-input-inner {
&:hover {
box-shadow: none !important;
}
&:focus {
box-shadow: none !important;
}
}
}
&-inner {
display: flex;
justify-content: space-between;
outline: none;
border: none;
align-items: center;
border-radius: 3px;
box-shadow: 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.15),
inset 0 1px 1px rgba(16, 22, 26, 0.2);
box-sizing: border-box;
background: #fff;
min-height: 30px;
margin: 0 !important;
padding: 3px 10px 3px 10px;
vertical-align: middle;
line-height: 30px;
color: #393e48;
font-weight: 400;
font-size: inherit;
transition: box-shadow 0.3s cubic-bezier(0.4, 1, 0.75, 0.9);
appearance: none;
&:focus {
box-shadow: 0 0 0 1px #393e48, 0 0 0 3px rgba(57, 62, 72, 0.17), inset 0 1px 1px rgba(16, 22, 26, 0.2);
}
&:hover {
box-shadow: 0 0 0 1px #6e6e6e, 0 0 0 3px rgba(57, 62, 72, 0), inset 0 1px 1px rgba(16, 22, 26, 0.2);
}
&:focus&:hover {
box-shadow: 0 0 0 1px #6e6e6e, 0 0 0 3px rgba(57, 62, 72, 0.17), inset 0 1px 1px rgba(16, 22, 26, 0.2);
}
&:disabled {
box-shadow: none;
background: #dddddd;
opacity: 0.75;
color: #a5a5a5;
cursor: not-allowed;
resize: none;
}
}
}