From 45d3ce8e6277721141fe9e6d2e18a4be4d444315 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 9 Aug 2021 22:26:06 +0300 Subject: [PATCH] Fix Bug 51836, Fix Bug 49875 --- .../main/resources/less/asc-mixins.less | 20 +++++++++++++++++++ apps/common/main/resources/less/spinner.less | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/apps/common/main/resources/less/asc-mixins.less b/apps/common/main/resources/less/asc-mixins.less index 87872228a..66ab63c00 100644 --- a/apps/common/main/resources/less/asc-mixins.less +++ b/apps/common/main/resources/less/asc-mixins.less @@ -100,6 +100,26 @@ .pixel-ratio__2 { } + + .pixel-ratio__1_25 { + @ratio: 1.25; + @one-px: 1px / @ratio; + @two-px: 2px / @ratio; + + --pixel-ratio-factor: @ratio; + --scaled-one-pixel: @one-px; + --scaled-two-pixel: @two-px; + } + + .pixel-ratio__1_75 { + @ratio: 1.75; + @one-px: 1px / @ratio; + @two-px: 2px / @ratio; + + --pixel-ratio-factor: @ratio; + --scaled-one-pixel: @one-px; + --scaled-two-pixel: @two-px; + } } .button-normal-icon(@icon-class, @index, @icon-size, @normal-h-offset: 0px) { diff --git a/apps/common/main/resources/less/spinner.less b/apps/common/main/resources/less/spinner.less index 9e56c1e8d..a87eb17c1 100644 --- a/apps/common/main/resources/less/spinner.less +++ b/apps/common/main/resources/less/spinner.less @@ -39,7 +39,7 @@ .spinner-buttons { position: absolute; top: 0; - right: 1px; + right: @scaled-one-px-value; border-top: @scaled-one-px-value-ie solid transparent; border-top: @scaled-one-px-value solid transparent; border-bottom: @scaled-one-px-value-ie solid transparent;