-
Notifications
You must be signed in to change notification settings - Fork 0
/
searchstyle.css
130 lines (111 loc) · 2.13 KB
/
searchstyle.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
}
body {
background-color: #606C5D;
}
.info{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-bottom: 1rem;
}
.info h1{
padding-bottom: 2rem;
}
.info p{
text-align:justify;
padding-bottom: 1rem;
}
.info a{
text-decoration: none;
color: black;
font-weight: bolder;
}
.info a:hover{
text-decoration: underline;
color: #555;
}
.wrapper {
max-width: 450px;
margin: 150px auto;
}
.search-input {
position: relative;
background: #fff;
width: 100%;
border-radius: 10px;
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.12);
}
.search-input input {
height: 55px;
width: 100%;
outline: none;
border: none;
border-radius: 5px;
padding: 0 60px 0 20px;
font-size: 18px;
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
}
.search-input .icon {
height: 55px;
width: 55px;
line-height: 55px;
position: absolute;
top: 0;
right: 0;
font-size: 20px;
color: black;
cursor: pointer;
}
.search-input .autocom-box {
max-height: 280px;
overflow-y: auto;
}
.autocom-box li {
list-style: none;
padding: 8px 12px;
width: 100%;
cursor: default;
}
.autocom-box li:hover {
background: #e6e1e1;
}
.table-wrapper {
margin-top: 20px;
overflow-x: auto;
}
.data-table {
width: 100%;
border-collapse: collapse;
}
.data-table th,
.data-table td {
padding: 8px 12px;
text-align: left;
border: 1px solid #ccc;
}
.data-table th {
background-color: #f2f2f2;
}
.data-table tbody tr:nth-child(even) {
background-color: #f9f9f9;
}
.clear-button {
display: block;
margin-top: 10px;
padding: 8px 12px;
border: none;
background-color: #FFF4F4;
color: black;
cursor: pointer;
transition: background-color 0.1s;
border-radius: 5px;
}
.clear-button:hover {
background-color: #555;
}