mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-10 16:38:17 +00:00
108 lines
1.6 KiB
Plaintext
108 lines
1.6 KiB
Plaintext
body
|
|
{
|
|
width: 100%;
|
|
height: 100%;
|
|
font-family: Minecraft Default;
|
|
font-size: 36dp;
|
|
font-effect: shadow(1dp 1dp #000000);
|
|
color: #ffffff;
|
|
background: transparent;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
div#settings_control_menu
|
|
{
|
|
width: auto;
|
|
height: auto;
|
|
padding: 30dp 24dp;
|
|
decorator: image(images/lce/frame_MessageBox_background.png);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
div#controls
|
|
{
|
|
width: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.slider_row
|
|
{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
width: auto;
|
|
margin-top: 10dp;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.slider_row:first-child
|
|
{
|
|
margin-top: 0;
|
|
}
|
|
|
|
.slider_container
|
|
{
|
|
display: block;
|
|
position: relative;
|
|
width: auto;
|
|
height: 56dp;
|
|
right: 2dp;
|
|
padding: 0 12dp;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
border: 3dp transparent;
|
|
decorator: image(sliderBackground);
|
|
}
|
|
|
|
.slider_container:hover
|
|
{
|
|
border-color: #ffff00;
|
|
decorator: image(sliderBackground_Hover);
|
|
}
|
|
|
|
.slider_label
|
|
{
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
line-height: 50dp;
|
|
padding: 0 12dp;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.slider_container:hover .slider_label
|
|
{
|
|
color: #ffff00;
|
|
}
|
|
|
|
.slider_track
|
|
{
|
|
display: block;
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
cursor: resize;
|
|
}
|
|
|
|
.slider_thumb
|
|
{
|
|
position: absolute;
|
|
width: 24dp;
|
|
height: 50dp;
|
|
decorator: image(images/lce/Slider.png);
|
|
cursor: resize;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
@spritesheet sliderBackground
|
|
{
|
|
src: "Assets/UI/images/lce/sliderBackground-sheet.png";
|
|
|
|
sliderBackground: 0px 0px 300px 16px;
|
|
sliderBackground_Hover: 0px 16px 300px 16px;
|
|
} |