-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (85 loc) · 1.63 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
body {
font-family: Arial, Helvetica, sans-serif;
background: #23242a;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.dropdown {
min-width: 15em;
position: relative;
margin: 2em;
}
.dropdown *{
box-sizing: border-box;
}
.select {
background: #2a2f3b;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
border: 2px #2a2f3b solid;
border-radius: 0.5em;
padding: 1em;
cursor: pointer;
transition: background 0.3s;
}
/* Clicked Styles in JS*/
.select-clicked {
border: 2px #26489a solid;
box-shadow: 0 0 0.8em #26489a;
}
.select:hover {
background: #323741;
}
.caret {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 6px solid #fff;
transition: 0.3s;
}
/* Rotate Styles in JS*/
.caret-rotate {
transform: rotate(180deg);
}
.menu {
list-style: none;
padding: 0.2em 0.5em;
background: #323741;
border: 1px #363a43 solid;
box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
border-radius: 0.5em;
color: #9fa5b5;
position: absolute;
top: 3em;
left: 50%;
width: 100%;
transform: translateX(-50%);
opacity: 0;
display: none;
transition: 0.2s;
z-index: 1;
}
.menu li{
padding: 0.7em 0.5em;
margin: 0.3em 0;
border-radius: 0.5em;
cursor: pointer;
}
.menu li:hover {
background: #2a2d35;
}
/* Active Styles in JS*/
.active {
background: #23242a;
}
/* Open Styles in JS*/
.menu-open {
display: block;
opacity: 1;
}