body { width: 100%; height: 100%; font-family: Minecraft Default; font-size: 36dp; font-effect: shadow(1dp 1dp #000000); color: #333333; background: transparent; display: flex; align-items: center; justify-content: center; } div#settings_audio_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; } .toggle_row { display: flex; align-items: center; align-self: flex-start; width: auto; height: auto; margin-top: 2dp; } .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: 36dp; height: 36dp; decorator: image(images/lce/Tickbox_Background.png); position: relative; } .toggle_row:hover .toggle_switch { decorator: image(images/lce/Tickbox_Over.png); } .toggle_row:hover .toggle_label { color: #ffff00; font-effect: shadow(1dp 1dp #000000); } .tick_mark { display: block; width: 42dp; height: 36dp; decorator: image(images/lce/Tick.png); } .toggle_row:not(.checked) .tick_mark { display: none; } .toggle_label { display: inline-block; font-effect: none; margin-left: 12dp; white-space: nowrap; cursor: pointer; } .slider_row { display: flex; flex-direction: column; align-items: stretch; width: auto; margin-bottom: 10dp; cursor: pointer; } .slider_container { display: block; position: relative; width: auto; min-width: 400dp; height: 56dp; right: 2dp; padding: 0 12dp; text-align: center; box-sizing: border-box; border: 3dp transparent; decorator: image(images/lce/Slider_Background.png); } .slider_container:hover { border-color: #ffff00; decorator: image(images/lce/Slider_BackgroundH.png); } .slider_label { display: inline-block; vertical-align: middle; color: #ffffff; 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%); }