|
1 | 1 | .audio-config {
|
2 |
| - position: relative; /* Keep relative for potential other children */ |
3 |
| - /* z-index is not needed here anymore */ |
| 2 | + position: relative; |
4 | 3 |
|
5 | 4 | &__modal {
|
6 |
| - position: fixed; /* MUST be fixed for portal + JS positioning */ |
7 |
| - width: 260px; |
| 5 | + position: fixed; |
| 6 | + width: 360px; |
8 | 7 | max-height: 500px;
|
9 | 8 | background: var(--color-neutral-background);
|
10 | 9 | box-shadow: 0 4px 10px 0 rgba(var(--color-neutral-shadow-raw) / 30%);
|
|
22 | 21 | }
|
23 | 22 |
|
24 | 23 | .audio-config__slider-container {
|
25 |
| - padding: 28px 16px 0px 16px; |
| 24 | + padding: 28px 16px 0; |
26 | 25 |
|
27 | 26 | .ant-slider {
|
28 | 27 | margin-left: 10px;
|
|
35 | 34 | bottom: 20px;
|
36 | 35 | font-size: 12px;
|
37 | 36 | transform: none;
|
| 37 | + color: var(--color-neutral-content); |
38 | 38 | }
|
39 | 39 | }
|
40 | 40 | }
|
|
66 | 66 | }
|
67 | 67 | }
|
68 | 68 |
|
| 69 | + &__range-handle { |
| 70 | + &::before { |
| 71 | + width: 14px !important; |
| 72 | + height: 14px !important; |
| 73 | + box-shadow: none; |
| 74 | + } |
| 75 | + } |
69 | 76 |
|
70 | 77 | &__scroll-content {
|
71 | 78 | flex-grow: 1;
|
72 | 79 | overflow-y: auto;
|
73 | 80 | padding: 0;
|
74 | 81 |
|
75 | 82 | > .audio-config__slider-container,
|
76 |
| - > .audio-config__toggle, |
77 |
| - > .audio-config__spectrogram-controls { |
| 83 | + > .audio-config__toggle { |
78 | 84 | padding: 8px 16px;
|
79 | 85 | }
|
80 | 86 | }
|
81 | 87 |
|
82 | 88 | &__buttons {
|
83 |
| - margin-top: 0; /* Remove margin */ |
| 89 | + margin-top: 0; |
84 | 90 | padding: 2px 0;
|
85 | 91 | border-top: 1px solid var(--color-neutral-border);
|
86 | 92 | font-size: 14px;
|
87 | 93 | cursor: pointer;
|
88 |
| - flex-shrink: 0; /* Prevent buttons from shrinking */ |
89 |
| - background: var(--color-neutral-background); /* Ensure background matches */ |
| 94 | + flex-shrink: 0; |
| 95 | + background: var(--color-neutral-background); |
90 | 96 | }
|
91 | 97 |
|
92 | 98 | &__menu-button {
|
|
100 | 106 | }
|
101 | 107 | }
|
102 | 108 |
|
103 |
| - &__spectrogram-controls { |
104 |
| - display: flex; |
105 |
| - flex-direction: column; |
106 |
| - width: 100%; |
107 |
| - padding: 8px 16px; |
108 |
| - |
109 |
| - .range { |
110 |
| - width: 100%; |
111 |
| - margin: 8px 0; |
112 |
| - padding: 0; |
113 |
| - |
114 |
| - &.range_align_horizontal { |
115 |
| - padding: 0; |
116 |
| - } |
117 |
| - |
118 |
| - &__body { |
119 |
| - width: 100%; |
120 |
| - } |
121 |
| - |
122 |
| - &__range-handle { |
123 |
| - &::before { |
124 |
| - width: 14px !important; |
125 |
| - height: 14px !important; |
126 |
| - } |
127 |
| - } |
128 |
| - } |
129 |
| - } |
130 |
| - |
131 |
| - &__control { |
132 |
| - display: flex; |
133 |
| - align-items: center; |
134 |
| - justify-content: space-between; |
135 |
| - gap: 10px; |
136 |
| - margin: 10px 0; |
137 |
| - width: auto; |
138 |
| - |
139 |
| - .info { |
140 |
| - display: flex; |
141 |
| - align-items: center; |
142 |
| - gap: 8px; |
143 |
| - font-size: 12px; |
144 |
| - color: var(--color-neutral-content-subtler); |
145 |
| - white-space: nowrap; |
146 |
| - |
147 |
| - svg { |
148 |
| - width: 14px; |
149 |
| - height: 14px; |
150 |
| - color: var(--color-neutral-icon); |
151 |
| - } |
152 |
| - } |
153 |
| - |
154 |
| - .input-group { |
155 |
| - display: flex; |
156 |
| - align-items: center; |
157 |
| - gap: 12px; |
158 |
| - } |
159 |
| - |
160 |
| - .separator { |
161 |
| - color: var(--color-neutral-content-subtlest); |
162 |
| - font-size: 12px; |
163 |
| - white-space: nowrap; |
164 |
| - margin: 0 4px; |
165 |
| - } |
166 |
| - } |
167 |
| - |
168 |
| - .ant-select { |
169 |
| - margin: 4px 0; |
170 |
| - } |
171 |
| - |
172 |
| - &__info { |
173 |
| - display: flex; |
174 |
| - align-items: center; |
175 |
| - gap: 8px; |
176 |
| - margin-bottom: 5px; |
177 |
| - } |
178 | 109 |
|
179 | 110 | &__section-header {
|
180 | 111 | background-color: var(--color-neutral-background);
|
|
194 | 125 | }
|
195 | 126 | }
|
196 | 127 | }
|
197 |
| - |
198 |
| -.color-scheme-select { |
199 |
| - .ant-select-selector { |
200 |
| - padding: 0 !important; |
201 |
| - border: none !important; |
202 |
| - height: 32px; |
203 |
| - line-height: 32px; |
204 |
| - overflow: hidden; |
205 |
| - border-radius: 4px; |
206 |
| - } |
207 |
| - |
208 |
| - .ant-select-selection-item { |
209 |
| - padding: 0 12px !important; |
210 |
| - line-height: 32px !important; |
211 |
| - color: var(--color-neutral-content); |
212 |
| - text-shadow: 0 0 2px rgba(0, 0, 0, 0.7); |
213 |
| - text-align: left; |
214 |
| - width: 100%; |
215 |
| - } |
216 |
| - |
217 |
| - .ant-select-arrow { |
218 |
| - color: var(--color-neutral-content); |
219 |
| - text-shadow: 0 0 2px rgba(0, 0, 0, 0.7); |
220 |
| - right: 8px; |
221 |
| - } |
222 |
| -} |
0 commit comments