@import "config.less"; @popup-height: 54 * @unit_base; @popup-width: 45 * @unit_base; @img-height: 37 * @unit_base; @img-width: 37 * @unit_base; @handle-height: 36 * @unit_base; @handle-width: 36 * @unit_base; label.ui-slider { display: block; } select.ui-slider-switch { display: none; } .ui-slider-container { position: relative; vertical-align: middle; height: 18 * @unit_base; margin-left: 16 * @unit_base; margin-right: 16 * @unit_base; margin-top: 18 * @unit_base; margin-bottom: 18 * @unit_base; background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, @color_progress_bar1), color-stop(1, @color_progress_bar0) ); .LESSbox-shadow(0px, 0px, 2px, @color_progress_shadow); .LESSborder-radius-all( 10 * @unit_base ); } .ui-li > .ui-slider-container { margin-top: 0; margin-bottom: 0; } .ui-slider-left-volume, .ui-slider-left-bright { position: absolute; vertical-align: middle; top: -0.5rem; left: -50 * @unit_base; height: @img-height; width: @img-width; background: url(images/controls/00_slider_button_brightness_01.png) no-repeat; .LESSbackground-size(@img-width, @img-height); } .ui-slider-left-volume { background: url(images/controls/00_slider_button_volume_01.png) no-repeat; .LESSbackground-size(@img-width, @img-height); } .ui-slider-right-volume, .ui-slider-right-bright { position: absolute; top: -0.5rem; right: -50 * @unit_base; height: @img-height; width: @img-width; vertical-align: middle; background: url(images/controls/00_slider_button_brightness_02.png) no-repeat; .LESSbackground-size(@img-width, @img-height); } .ui-slider-right-volume { background: url(images/controls/00_slider_button_volume_02.png) no-repeat; .LESSbackground-size(@img-width, @img-height); } .ui-slider-left-text { position: absolute; top: -0.5rem; height: 37 * @unit_base; text-align: center; color: @color_slider_left_text; } .ui-slider-right-text { position: absolute; top: -0.5rem; height: 37 * @unit_base; text-align: center; color: @color_slider_right_text; } div.ui-slider:not(.ui-toggle-switch) { position: relative; top: 5 * @unit_base; height: 7 * @unit_base; margin-left: 5 * @unit_base; margin-right: 5 * @unit_base; .LESSborder-radius-all( 10 * @unit_base ); border: 1px; border-style: solid; border-color: @color_progress_border; background-color: @color_progress_bar0; .ui-btn { top: -0.75rem; margin-top: 0; } .ui-btn-inner { padding: 0.3rem 0 0 0; } .ui-btn-text { color: @color_slider_handle_text; } } a.ui-slider-handle { position: relative; z-index: 10; width: 36 * @unit_base; height: 36 * @unit_base; margin-left: -19 * @unit_base; color: @color_slider_handle_text; font-size: 0.95rem; background: url(images/controls/00_slider_handle.png) no-repeat; .LESSbackground-size(@handle-width, @handle-height); } .ui-slider-popup { position: absolute !important; z-index: @z_base_popup; width: @popup-width; height: @popup-height; padding-top: 0.1rem; color: @color_slider_popup_text; text-align: center; font-size: 1.5rem; background: url(images/controls/00_slider_popup_bg.png) no-repeat; .LESSbackground-size(@popup-width, @popup-height); } .ui-slider-bg { position: absolute; height: 7 * @unit_base; width: 0; background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, @color_progress_value0), color-stop(1, @color_progress_value1) ); .LESSborder-radius-all( 10 * @unit_base ); } .ui-slider-handle-press { position: absolute; z-index: 15; width: 37 * @unit_base; height: 37 * @unit_base; //FIXME background: url(images/controls/00_slider_handle_press.png) no-repeat; .LESSbackground-size(@handle-width, @handle-height); }