diff --git a/apps/common/main/resources/less/asc-mixins.less b/apps/common/main/resources/less/asc-mixins.less index dd8ec7a1a..2cfbd80ea 100644 --- a/apps/common/main/resources/less/asc-mixins.less +++ b/apps/common/main/resources/less/asc-mixins.less @@ -280,3 +280,19 @@ } } } + +.adaptive-solid-border(@width, @color, @borderside: all) { + @lb-border: if((@borderside = all), border, e('border-@{borderside}')); + @lb-border-width: if((@borderside = all), border-width, e('border-@{borderside}-width')); + + @{lb-border}: @width solid @color; + + @media only screen { + @media (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 1.9), + (min-resolution: 1.5dppx) and (max-resolution: 1.9dppx), + (min-resolution: 144dpi) and (max-resolution: 191dpi) + { + @{lb-border-width}: (@width / 1.5); + } + } +}