-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDropdown.module.css
More file actions
102 lines (93 loc) · 1.93 KB
/
Dropdown.module.css
File metadata and controls
102 lines (93 loc) · 1.93 KB
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
@import 'https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap';
.iconButton {
display: flex;
justify-content: center;
align-items: center;
font-family: Verdana, sans-serif;
padding: 3px;
border: 2px solid white;
border-radius: 5px;
width: 130px;
height: 50px;
color: white;
float: right;
margin-right: 20px;
box-sizing: border-box;
transition: 0.3s ease;
transform: none;
user-select: none;
}
.iconButton:hover {
background-color: white;
color: #3498db;
cursor: pointer;
transition: 0.3s ease;
}
.iconButtonOpen {
font-family: Verdana, Geneva, sans-serif;
padding: 3px;
border: 2px solid white;
border-radius: 5px;
width: 130px;
height: 50px;
float: right;
margin-right: 20px;
box-sizing: border-box;
text-align: center;
background-color: white;
color: #3498db;
cursor: pointer;
transition: 0.3s ease;
transform: none;
user-select: none;
}
.dropdownActive {
opacity: 1;
visibility: visible;
transform: translateY(0);
transition: 0.3s ease;
}
.dropdownInactive {
opacity: 0;
visibility: hidden;
transform: translateY(-45px);
transition: 0.3s;
pointer-events: none;
}
.dropdownMenu {
margin: 5px;
position: absolute;
right: 3px;
top: 60px;
z-index: 1000;
background-color: white;
border-bottom: 2px #3498db solid;
border-radius: 5px;
}
.dropdownItem {
text-transform: capitalize;
display: grid;
grid-template-columns: 90px auto;
font-size: 18px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
width: 150px;
padding: 10px;
height: 40px;
background-color: white;
border: 2px white solid;
border-radius: 5px;
color: #3498db;
align-items: center;
transform: none;
user-select: none;
cursor: pointer;
}
.dropdownItem:hover {
background-color: whitesmoke;
}
.dragDropIndicator {
font-size: 20px;
font-weight: bold;
position: absolute;
right: 15px;
}