107 lines
2.8 KiB
Plaintext
107 lines
2.8 KiB
Plaintext
/*
|
|
* ===================================
|
|
* UTKScrollView.uss
|
|
* Unity ScrollView 래핑 스타일
|
|
* ===================================
|
|
*/
|
|
|
|
/* ===================================
|
|
Base Container
|
|
=================================== */
|
|
|
|
.utk-scrollview {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
/* ===================================
|
|
Content Container
|
|
=================================== */
|
|
|
|
.utk-scrollview > .unity-scroll-view__content-and-vertical-scroll-container {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.utk-scrollview > .unity-scroll-view__content-and-vertical-scroll-container > .unity-scroll-view__content-viewport {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.utk-scrollview > .unity-scroll-view__content-and-vertical-scroll-container > .unity-scroll-view__content-viewport > .unity-scroll-view__content-container {
|
|
padding: 0;
|
|
}
|
|
|
|
/* ===================================
|
|
Vertical Scroller
|
|
=================================== */
|
|
|
|
.utk-scrollview .unity-scroller--vertical {
|
|
width: 8px;
|
|
margin-left: var(--space-xs);
|
|
}
|
|
|
|
.utk-scrollview .unity-scroller--vertical > .unity-scroller__low-button,
|
|
.utk-scrollview .unity-scroller--vertical > .unity-scroller__high-button {
|
|
display: none;
|
|
}
|
|
|
|
.utk-scrollview .unity-scroller--vertical > .unity-scroller__slider {
|
|
width: 8px;
|
|
margin: 0;
|
|
}
|
|
|
|
.utk-scrollview .unity-scroller--vertical .unity-base-slider__tracker {
|
|
background-color: var(--color-bg-secondary);
|
|
border-radius: 4px;
|
|
border-width: 0;
|
|
}
|
|
|
|
.utk-scrollview .unity-scroller--vertical .unity-base-slider__dragger {
|
|
width: 8px;
|
|
border-radius: 4px;
|
|
background-color: var(--color-text-disabled);
|
|
border-width: 0;
|
|
transition-duration: var(--anim-fast);
|
|
transition-property: background-color;
|
|
}
|
|
|
|
.utk-scrollview .unity-scroller--vertical .unity-base-slider__dragger:hover {
|
|
background-color: var(--color-text-secondary);
|
|
}
|
|
|
|
/* ===================================
|
|
Horizontal Scroller
|
|
=================================== */
|
|
|
|
.utk-scrollview .unity-scroller--horizontal {
|
|
height: 8px;
|
|
margin-top: var(--space-xs);
|
|
}
|
|
|
|
.utk-scrollview .unity-scroller--horizontal > .unity-scroller__low-button,
|
|
.utk-scrollview .unity-scroller--horizontal > .unity-scroller__high-button {
|
|
display: none;
|
|
}
|
|
|
|
.utk-scrollview .unity-scroller--horizontal > .unity-scroller__slider {
|
|
height: 8px;
|
|
margin: 0;
|
|
}
|
|
|
|
.utk-scrollview .unity-scroller--horizontal .unity-base-slider__tracker {
|
|
background-color: var(--color-bg-secondary);
|
|
border-radius: 4px;
|
|
border-width: 0;
|
|
}
|
|
|
|
.utk-scrollview .unity-scroller--horizontal .unity-base-slider__dragger {
|
|
height: 8px;
|
|
border-radius: 4px;
|
|
background-color: var(--color-text-disabled);
|
|
border-width: 0;
|
|
transition-duration: var(--anim-fast);
|
|
transition-property: background-color;
|
|
}
|
|
|
|
.utk-scrollview .unity-scroller--horizontal .unity-base-slider__dragger:hover {
|
|
background-color: var(--color-text-secondary);
|
|
}
|