body { width: 100%; height: 100%; font-family: Minecraft Default; font-size: 26dp; font-effect: shadow(1dp 1dp #000000); color: #333333; background: transparent; display: flex; align-items: center; justify-content: center; } div#settings_ui_menu { width: 449dp; height: auto; margin: auto; margin-top: 320dp; padding: 20dp 34dp; decorator: image(images/lce/frame_MessageBox_background.png); display: flex; flex-direction: column; align-items: center; } p#title { color: #333333; font-size: 29dp; font-weight: bold; margin-bottom: 10dp; text-align: center; width: 100%; } div#controls { width: 100%; display: flex; flex-direction: column; align-items: center; } .toggle_row { display: flex; align-items: center; width: 100%; min-height: 30dp; padding: 1dp 0; margin-bottom: 3dp; } .toggle_row button { display: inline-block; width: 30dp; height: 30dp; padding: 0; border: none; background: transparent; cursor: pointer; } .toggle_row .toggle_switch { display: block; width: 30dp; height: 30dp; decorator: image(images/lce/Tickbox_Background.png); position: relative; } .toggle_row button:hover .toggle_switch { decorator: image(images/lce/Tickbox_Over.png); } .tick_mark { display: block; width: 100%; height: 100%; decorator: image(images/lce/Tick.png); } .toggle_row:not(.checked) .tick_mark { display: none; } .toggle_label { display: inline-block; font-size: 20dp; color: #333333; margin-left: 9dp; line-height: 30dp; } .slider_row { display: flex; flex-direction: column; width: 100%; margin-bottom: 6dp; padding: 2dp 0; } .slider_container { width: 100%; height: 30dp; position: relative; decorator: image(images/lce/Slider_Background.png); border: 1dp transparent; } .slider_container:hover { border-color: #ffff00; } .slider_label { position: absolute; left: 0; top: 0; width: 100%; height: 100%; font-size: 20dp; color: #ffffff; text-align: center; line-height: 30dp; } .slider_container:hover .slider_label { color: #ffff00; } .slider_track { position: absolute; left: 8dp; right: 8dp; top: 0; height: 100%; cursor: resize; } .slider_thumb { position: absolute; width: 12dp; height: 30dp; decorator: image(images/lce/Slider.png); cursor: resize; transform: translateX(-50%); }