-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservice-dropdown.css
More file actions
104 lines (90 loc) · 2.11 KB
/
service-dropdown.css
File metadata and controls
104 lines (90 loc) · 2.11 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
/* Google-style searchable dropdown */
.service-search-container {
position: relative;
width: 100%;
}
.service-search-input {
width: 100%;
padding: 14px 16px;
font-size: 16px;
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 8px;
color: white;
transition: all 0.3s ease;
}
.service-search-input:focus {
outline: none;
border-color: #ff6f61;
background: rgba(255, 255, 255, 0.12);
box-shadow: 0 4px 12px rgba(255, 111, 97, 0.2);
}
.service-search-input::placeholder {
color: rgba(255, 255, 255, 0.5);
}
.service-dropdown {
position: absolute;
top: 100%;
left: 0;
right: 0;
margin-top: 8px;
background: #1a2332;
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 8px;
max-height: 400px;
overflow-y: auto;
z-index: 1000;
display: none;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.service-dropdown.show {
display: block;
}
.service-group-label {
padding: 12px 16px 8px;
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 600;
background: rgba(255, 255, 255, 0.03);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.service-option {
padding: 12px 16px;
cursor: pointer;
color: rgba(255, 255, 255, 0.9);
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 10px;
}
.service-option:hover,
.service-option.active {
background: rgba(255, 111, 97, 0.15);
color: white;
}
.service-option .icon {
color: #ff6f61;
font-size: 14px;
}
.no-results {
padding: 20px;
text-align: center;
color: rgba(255, 255, 255, 0.5);
}
/* Scrollbar styling */
.service-dropdown::-webkit-scrollbar {
width: 8px;
}
.service-dropdown::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
border-radius: 4px;
}
.service-dropdown::-webkit-scrollbar-thumb {
background: rgba(255, 111, 97, 0.3);
border-radius: 4px;
}
.service-dropdown::-webkit-scrollbar-thumb:hover {
background: rgba(255, 111, 97, 0.5);
}