@import "config.less"; @unit_base_handler : @unit_base * 0.5; .ui-handler { position : absolute; overflow : hidden; } .ui-handler-direction-y { top : 10 * @unit_base_handler; right : 10 * @unit_base_handler; bottom : 10 * @unit_base_handler; width : 48 * @unit_base_handler; } .ui-handler-direction-x { right : 10 * @unit_base_handler; bottom : 10 * @unit_base_handler; left : 10 * @unit_base_handler; height : 48 * @unit_base_handler; } .ui-handler-track { position : relative; width : 100%; height : 100%; } .ui-handler-thumb { position : absolute; top : 0; left : 0; background-position : center; background-repeat : no-repeat; .LESSborder-radius-all(5 * @unit_base_handler); } .ui-handler-direction-y .ui-handler-thumb { width : 48 * @unit_base_handler; height : 214 * @unit_base_handler; background-size : 48 * @unit_base_handler 40 * @unit_base_handler; } .ui-handler-direction-x .ui-handler-thumb { width : 214 * @unit_base_handler; height : 48 * @unit_base_handler; background-size : 40 * @unit_base_handler 48 * @unit_base_handler; } /* S -----------------------------------------------------------------------------------------------------------*/ .ui-handler-s { .ui-handler-thumb { background-color : @color_scrollview_handler_bg; } .ui-handler-direction-y .ui-handler-thumb { background-image : url("images/00_scroll_bar_handler.png"); } .ui-handler-direction-x .ui-handler-thumb { background-image : url("images/00_scroll_bar_handler_hor.png"); } }