-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsearchbar.css
71 lines (62 loc) · 1.21 KB
/
searchbar.css
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
.searchbar {
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
background: #fff;
padding: 0 2px;
overflow: hidden; /* hide filters if do not fit */
}
.searchbar table {
width: 100%;
}
.searchbar table,
.searchbar tr,
.searchbar td
{
border: 0;
margin: 0;
padding: 0;
}
.searchbar .input {
width: 99%;
}
.searchbar .input * {
border: 0;
background: #fff;
width: 100%;
box-shadow: none;
}
.searchbar .filters {
width: 0;
white-space: nowrap;
}
.searchbar a.more {
margin: 0 5px;
display: inline-block;
color: #6b6f6b;
text-decoration: none;
}
.searchbar .filters span {
margin: 0 3px;
padding: 1px 10px;
border-radius: 3px;
border: 1px solid #ccc;
display: inline-block;
color: #0a0a0a;
}
.searchbar .filters span x:before {
content: "x";
cursor: pointer;
font-weight: bold;
color: #ccc;
}
/** Add to filters container to have a shadow */
.searchbar_filters {
-webkit-box-shadow: 2px 2px 2px 0px #ccc;
-moz-box-shadow: 2px 2px 2px 0px #ccc;
box-shadow: 2px 2px 2px 0px #ccc;
border: 1px solid #ccc;
border-top: 0;
background: #fff;
color: #0a0a0a;
position: absolute;
z-index: 1;
}