-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (79 loc) · 1.58 KB
/
style.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
body{
font-family:'Roboto Mono', monospace;
font-size: 16px;
margin: 0px;
background:#120546 ;
color: #fff;
display: flex;
justify-content: center;
}
.select-box{
margin-top: 150px;
width: 380px;
position: relative;
}
.select-option{
position: relative;
}
.select-option input{
width: 100%;
background-color: #fff;
color: #000;
border-radius: 7px;
cursor: pointer;
font-size: 22px;
padding: 15px 20px;
border: 0 !important;
outline: 0 !important;
}
.select-option:after{
content: "";
border-top: 12px solid #000;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
position: absolute;
right: 15px;
top: 50%;
margin-top: -8px;
}
.content{
background-color: #fff;
position: absolute;
color: #000;
border-radius: 7px;
margin-top: 15px;
width: 100%;
z-index: 999;
padding: 20px;
display: none;
}
.search input{
width: 92%;
font-size: 17px;
padding: 15px;
outline: 0;
border: 1px solid #000;
border-radius: 5px;
}
.options{
margin-top: 10px;
max-height: 250px;
overflow-y: auto;
padding: 0px;
}
.options li{
padding: 10px 15px;
font-size: 21px;
border-radius: 5px;
cursor: pointer;
border-bottom: 1px solid gray;
}
.options li:hover{
background-color: #f2f2f2;
}
.select-box.active .content {
display: block;
}
.select-box.active .select-option::after{
transform: rotate(-180deg);
}