Skip to content

Commit f291bf2

Browse files
committed
Add: enum field uss
1 parent 3975adf commit f291bf2

1 file changed

Lines changed: 63 additions & 2 deletions

File tree

src/DebugUI/Assets/DebugUI/Package Resources/Debug UI.uss

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@
233233
}
234234

235235
.unity-scroller--vertical {
236+
scale: 0.25 1;
236237
}
237238

238239
.unity-scroll-view__content-viewport {
@@ -268,6 +269,67 @@
268269
-unity-background-image-tint-color: rgb(255, 255, 255);
269270
}
270271

272+
.unity-enum-field {
273+
padding-top: 1px;
274+
padding-bottom: 1px;
275+
margin-top: 2px;
276+
margin-right: 0;
277+
margin-bottom: 2px;
278+
margin-left: 0;
279+
}
280+
281+
.unity-enum-field__arrow {
282+
-unity-background-image-tint-color: rgb(255, 255, 255);
283+
}
284+
285+
.unity-enum-field__input {
286+
border-top-width: 0;
287+
border-right-width: 0;
288+
border-bottom-width: 0;
289+
border-left-width: 0;
290+
border-top-left-radius: 4px;
291+
border-top-right-radius: 4px;
292+
border-bottom-right-radius: 4px;
293+
border-bottom-left-radius: 4px;
294+
background-color: rgb(105, 105, 133);
295+
height: 32px;
296+
margin-top: 0;
297+
margin-right: 0;
298+
margin-bottom: 0;
299+
margin-left: 0;
300+
}
301+
302+
.unity-enum-field__text {
303+
color: rgb(255, 255, 255);
304+
}
305+
306+
.unity-base-dropdown__container-outer {
307+
border-left-color: rgba(255, 255, 255, 0.05);
308+
border-right-color: rgba(255, 255, 255, 0.05);
309+
border-top-color: rgba(255, 255, 255, 0.05);
310+
border-bottom-color: rgba(255, 255, 255, 0.05);
311+
border-top-left-radius: 3px;
312+
border-top-right-radius: 3px;
313+
border-bottom-right-radius: 3px;
314+
border-bottom-left-radius: 3px;
315+
border-top-width: 1px;
316+
border-right-width: 1px;
317+
border-bottom-width: 1px;
318+
border-left-width: 1px;
319+
}
320+
321+
.unity-base-dropdown__container-inner {
322+
border-top-width: 0;
323+
border-right-width: 0;
324+
border-bottom-width: 0;
325+
border-left-width: 0;
326+
border-top-left-radius: 3px;
327+
border-top-right-radius: 3px;
328+
border-bottom-right-radius: 3px;
329+
border-bottom-left-radius: 3px;
330+
background-color: rgb(86, 86, 115);
331+
}
332+
271333
.debug-ui-slider__label {
272334
color: rgb(255, 255, 255);
273335
-unity-text-align: middle-right;
@@ -321,7 +383,6 @@
321383
}
322384

323385
.debug-ui-scroller-vertical {
324-
scale: 0.2 1;
325386
margin-right: -12px;
326387
margin-left: -6px;
327388
margin-top: 1px;
@@ -349,4 +410,4 @@
349410
margin-right: 3px;
350411
margin-bottom: 3px;
351412
margin-left: 3px;
352-
}
413+
}

0 commit comments

Comments
 (0)