diff --git a/apps/common/main/resources/img/controls/Scroll_center@1.5x.png b/apps/common/main/resources/img/controls/Scroll_center@1.5x.png new file mode 100644 index 000000000..743ca5769 Binary files /dev/null and b/apps/common/main/resources/img/controls/Scroll_center@1.5x.png differ diff --git a/apps/common/main/resources/less/scroller.less b/apps/common/main/resources/less/scroller.less index 0929d2cf5..6d94e4a7f 100644 --- a/apps/common/main/resources/less/scroller.less +++ b/apps/common/main/resources/less/scroller.less @@ -90,6 +90,12 @@ .background-ximage('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAANCAQAAAAz1Zf0AAAAIUlEQVR42mNgAILz/0GQAQo+/gdBBqLAqE5ydH5k+sgEANHgUH2JtDRHAAAAAElFTkSuQmCC', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAaAgMAAADZOtQaAAAACVBMVEUAAADPz8/x8fFVrc9qAAAAAXRSTlMAQObYZgAAABZJREFUeNpjYAgNYOBaxcDEgAsMLXkA/sUJfm1m4l8AAAAASUVORK5CYII=', 14px); + .pixel-ratio__1_5 & { + //background-image: ~"url(@{common-image-const-path}/controls/Scroll_center@1.5x.png)"; + background-image: data-uri('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAATAgMAAAACIK4YAAAACVBMVEUAAADPz8/x8fFVrc9qAAAAAXRSTlMAQObYZgAAABRJREFUeNpjYAxl4FrBwYAK6CwIAOsnB3Hkb0WyAAAAAElFTkSuQmCC'); + background-size: 14px auto; + } + background-repeat: no-repeat; background-position: 0 center; .border-radius(2px);