-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom-select.css
More file actions
146 lines (122 loc) · 2.63 KB
/
custom-select.css
File metadata and controls
146 lines (122 loc) · 2.63 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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
.form .one_select {
display: block;
cursor: pointer;
color: var(--white);
height: 45px;
box-sizing: border-box;
position: relative;
border-bottom: solid 1px white;
background-color: var(--mid-grey);
}
.form .one_select all {
pointer-events: none;
}
.form .one_select.disabled_select {
pointer-events: none;
opacity: 0.6;
}
.form .one_select p {
transition: all 0.3s ease;
font-size: 16px;
position: absolute;
font-weight: 400;
top: 10px;
max-width: calc(100% - 10px);
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
.form .one_select p i {
padding-right: 5px;
}
.form .one_select i.arrow {
right: 0;
top: 17px;
position: absolute;
}
.form .one_select .dropdown {
width: 100%;
padding-top: 45px;
display: none;
}
.form .one_select .dropdown .inner_dropdown {
max-height: 153px;
overflow: hidden;
}
.form .one_select input {
display: none !important;
}
.form .one_select .dropdown li {
box-sizing: border-box;
background-color: #3a3a3d;
display: block;
padding: 15px;
font-size: 14px;
}
.form .one_select .dropdown li i {
padding-right: 10px;
}
.form .one_select .dropdown li small {
display: block;
pointer-events: none;
width: 100%;
color: var(--light-grey);
margin-bottom: -5px;
font-size: 12px;
}
.form .one_select .dropdown li span {
text-align: right;
font-size: 12px;
padding-top: 3px;
float: right;
}
.form .one_select .dropdown li:hover {
cursor: pointer;
background-color: #2e2e30;
}
.form .one_select .dropdown li.disabled {
cursor: default !important;
background-color: #191919;
}
.form .one_select .dropdown li.disabled:hover {
background-color: #191919;
}
.form .one_select .dropdown li.disabled_buy span {
cursor: pointer !important;
opacity: 0;
padding: 7px 5px;
pointer-events: none;
color: var(--gold);
font-weight: 800;
margin-top: -2px;
}
.form .one_select .dropdown li.disabled_buy:hover span {
opacity: 1;
}
.form .one_select .dropdown li.disabled all,
.form .one_select .dropdown li.disabled span {
opacity: 0.3;
}
.form .one_select .dropdown li.disabled:hover span {
opacity: 1;
}
.show_dropdown {
display: block !important;
}
.form .one_select p.move_label {
top: -20px;
opacity: 0.6;
font-size: 12px;
}
.form .side_by_side .one_select {
width: calc(50% - 25px);
float: left;
margin-right: 50px;
}
.form .one_select.on_top {
z-index: 99999 !important;
}
.form .side_by_side .one_select:last-of-type {
margin-right: 0;
}