This repository has been archived by the owner on Dec 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
106 lines (106 loc) · 1.87 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
102
103
104
105
106
* {
-webkit-appearance: none;
}
.container {
margin: 44px auto;
padding: 22px;
font-size: 14px;
font-family: "Frutiger Next Com", "Arial", "Verdana", sans-serif;
}
.custom-select {
position: relative;
display: flex;
flex-direction: column;
border: 1px solid #dfdedd;
}
.custom-select-wrapper {
position: relative;
user-select: none;
width: 100%;
margin-bottom: 24px;
}
.custom-select__trigger {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
padding: 4px 8px;
font-weight: 300;
color: #707172;
height: 40px;
line-height: 40px;
background: transparent;
cursor: pointer;
}
.custom-select.open {
border-color: #f08200;
}
.custom-select.open .custom-options {
opacity: 1;
visibility: visible;
pointer-events: all;
}
.custom-options {
position: absolute;
display: block;
top: calc(100% + 1px);
left: -1px;
right: -1px;
border: 1px solid #dfdedd;
border-top: 0;
background: white;
transition: all 0.25s;
opacity: 0;
visibility: hidden;
pointer-events: none;
z-index: 2;
}
.custom-option {
position: relative;
display: block;
padding: 4px 8px;
font-weight: 300;
color: #707172;
line-height: 40px;
cursor: pointer;
transition: all 0.25s;
}
.custom-option.selected {
color: #f08200;
}
.custom-option:hover {
cursor: pointer;
background-color: #dfdedd;
}
.arrow {
position: relative;
height: 15px;
width: 15px;
}
.arrow::before,
.arrow::after {
content: "";
position: absolute;
bottom: 0px;
width: 0.15rem;
height: 100%;
transition: all 0.25s;
}
.arrow::before {
left: -5px;
transform: rotate(-45deg);
background-color: #394a6d;
}
.arrow::after {
left: 5px;
transform: rotate(45deg);
background-color: #394a6d;
}
.open .arrow::before {
left: -5px;
transform: rotate(45deg);
}
.open .arrow::after {
left: 5px;
transform: rotate(-45deg);
}