Spaces:
Paused
Paused
File size: 2,116 Bytes
5eb4857 | 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 | .container {
display: flex;
flex-direction: column;
gap: 8px;
position: relative;
z-index: 50;
}
.label {
font-size: 10px;
font-weight: 800;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.15em;
padding-left: 2px;
}
.trigger {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 10px;
padding: 10px 16px;
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
min-height: 40px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.triggerActive {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}
.trigger:hover {
border-color: var(--primary-light);
background: var(--bg-card);
}
.currentValue {
font-size: 12px;
font-weight: 700;
color: var(--text-main);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.arrow {
font-size: 10px;
color: var(--text-muted);
transition: transform 0.2s;
}
.arrowOpen {
transform: rotate(180deg);
color: var(--primary);
}
.menu {
position: absolute;
top: 100%;
left: 0;
right: 0;
z-index: 100;
}
.menuInner {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 12px;
padding: 8px;
margin-top: 4px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
display: flex;
flex-direction: column;
gap: 4px;
max-height: 250px;
overflow-y: auto;
}
.option {
padding: 10px 12px;
font-size: 12px;
font-weight: 600;
color: var(--text-main);
border-radius: 6px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
transition: all 0.1s;
}
.option:hover {
background: var(--bg-hover);
color: var(--primary);
}
.optionSelected {
background: rgba(30, 64, 175, 0.05);
color: var(--primary);
}
.check {
font-size: 10px;
color: var(--primary);
}
/* Custom scrollbar for menu */
.menuInner::-webkit-scrollbar {
width: 4px;
}
.menuInner::-webkit-scrollbar-thumb {
background: var(--border-subtle);
border-radius: 10px;
}
|