-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsearch.css
107 lines (100 loc) · 1.77 KB
/
search.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
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
.searchbox
{
/*position: absolute;
top: 50%;
bottom: 50%;
background-color: #2f3640;
height: 40px;
border-radius: 40px;
padding: 10px;*/
background-color:#76D7C4;
height: 40px;
border:none;
width:60%;
display: flex;
justify-content: flex-end;
align-items: center;
}
#header #otherholder .searchbox #searchicon
{
margin-right:8px;
margin-left:8px;
margin-top:5px;
}
/*.searchbtn{
position:absolute;
margin:auto;
width: 40px;
height: 40px;
border-radius: 50%;
background: #2f3640;
transition: 0.4s;
}
.searchbox:hover > .searchbtn{
background: #76D7C4;
}*/
#searchtext{
border: none;
font-family: 'Nunito Sans';
margin:auto;
height:100%;
margin-left:0;
outline: none;
padding: 0px 5px;
font-size: 1rem;
/*transition: 0.5s;*/
width:100%;
}
.searchlist{
position: absolute;
top: 50%;
left:27.5%;
margin-top: 40px;
visibility:hidden;
padding:0 10px;
z-index:5;
height:fit-content;
max-height:500%;
overflow-y:auto;
background-color:white;
}
.searchlist .searchlistitem
{
cursor: pointer;
border:2px solid white;
background-color: white;
padding: 5px;
border-radius:8px;
/*-webkit-box-shadow: 0 3px 8px -2px #c0c0c0;
-moz-box-shadow: 0 3px 8px -2px #c0c0c0;
box-shadow: 0 3px 8px -2px #c0c0c0;*/
margin:10px 0px;
}
.searchlist .searchlistitem:hover{
border: 2px solid #76D7C4;
}
.profile
{
display: inline-block;
padding: 10px;
}
.uname{
font-weight: 400;
color:black;
}
.utype
{
color: gray;
font-style: italic;
}
.sDP{
width: 35px;
margin-left:10px;
}
@media only screen and (max-width:769px)
{
.searchbox
{
display:none !important;
}
}