Files
XRLib/Assets/Resources/SHI/Modal/PlayBar.uss
2025-12-02 21:09:37 +09:00

153 lines
3.2 KiB
Plaintext

.playbar-container {
background-color: rgba(255, 255, 255, 0);
padding-top: 15px;
padding-right: 20px;
padding-bottom: 15px;
padding-left: 20px;
flex-direction: column;
width: 100%;
height: 130px;
background-image: resource('SHI/Images/playbar_bg');
}
.progress-section {
flex-direction: row;
align-items: center;
margin-bottom: 10px;
}
.date-label {
color: rgb(255, 255, 255);
font-size: 14px;
-unity-font-definition: resource('Fonts/Pretendard/Pretendard-Regular');
min-width: 70px;
}
.start-label {
-unity-text-align: middle-left;
margin-right: 10px;
}
.end-label {
-unity-text-align: middle-right;
margin-left: 10px;
}
.progress-track {
flex-grow: 1;
height: 4px;
background-color: rgba(0, 0, 0, 0.3);
position: relative;
}
.progress-fill {
position: absolute;
left: 0;
top: 0;
height: 100%;
background-color: rgb(0, 70, 140);
width: 50%;
}
.controls-section {
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.button-group {
flex-direction: row;
align-items: center;
}
.control-btn {
width: 24px;
height: 24px;
margin-top: 0;
margin-right: 4px;
margin-bottom: 0;
margin-left: 4px;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
background-color: rgba(0, 0, 0, 0);
-unity-background-scale-mode: scale-to-fit;
}
.control-btn:hover {
background-color: rgba(0, 0, 0, 0.1);
}
.control-btn:active {
background-color: rgba(0, 0, 0, 0.2);
}
.play-btn {
background-image: resource('SHI/Images/playbar_icon_play_17x21');
}
.play-btn.playing {
background-image: resource('SHI/Images/playbar_icon_pause_17');
}
.stop-btn {
background-image: resource('SHI/Images/playbar_icon_stop_17');
}
.first-btn {
background-image: resource('SHI/Images/playbar_icon_start_16x21');
}
.last-btn {
background-image: resource('SHI/Images/playbar_icon_end_16x21');
}
.current-time-label {
color: rgb(255, 255, 255);
font-size: 14px;
-unity-font-definition: resource('Fonts/Pretendard/Pretendard-SemiBold');
-unity-text-align: middle-center;
}
.interval-dropdown {
width: 60px;
height: 24px;
background-color: rgb(255, 255, 255);
border-radius: 4px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-color: rgb(180, 180, 180);
color: rgb(50, 50, 50);
font-size: 12px;
-unity-font-definition: resource('Fonts/Pretendard/Pretendard-Regular');
}
.interval-dropdown .unity-base-popup-field__input {
background-color: rgb(255, 255, 255);
border-width: 0;
padding-left: 4px;
padding-top: 0;
padding-right: 8px;
padding-bottom: 0;
}
.interval-dropdown .unity-base-popup-field__text {
color: rgb(50, 50, 50);
-unity-text-align: middle-left;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
}
.interval-dropdown .unity-base-popup-field__arrow {
-unity-background-image-tint-color: rgb(100, 100, 100);
}