diff --git a/apps/common/main/resources/img/about/logo-white_s.svg b/apps/common/main/resources/img/about/logo-white_s.svg new file mode 100644 index 000000000..95b51b5ca --- /dev/null +++ b/apps/common/main/resources/img/about/logo-white_s.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/apps/common/main/resources/img/about/logo.png b/apps/common/main/resources/img/about/logo.png deleted file mode 100644 index 1de95f26b..000000000 Binary files a/apps/common/main/resources/img/about/logo.png and /dev/null differ diff --git a/apps/common/main/resources/img/about/logo@2x.png b/apps/common/main/resources/img/about/logo@2x.png deleted file mode 100644 index d6761c806..000000000 Binary files a/apps/common/main/resources/img/about/logo@2x.png and /dev/null differ diff --git a/apps/common/main/resources/img/about/logo_s.svg b/apps/common/main/resources/img/about/logo_s.svg new file mode 100644 index 000000000..04df9911d --- /dev/null +++ b/apps/common/main/resources/img/about/logo_s.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/apps/common/main/resources/less/about.less b/apps/common/main/resources/less/about.less index 84be73a77..781f05365 100644 --- a/apps/common/main/resources/less/about.less +++ b/apps/common/main/resources/less/about.less @@ -4,18 +4,15 @@ margin-bottom: 5px; &:before { - content: if(@icon-src-base64, data-uri(%("%s",'@{common-image-path}/about/logo.png')), ~"url('@{common-image-const-path}/about/logo.png')"); + //content: if(@icon-src-base64, data-uri(%("%s",'@{common-image-path}/about/logo.png')), ~"url('@{common-image-const-path}/about/logo.png')"); + content: ~"url('@{common-image-const-path}/about/logo_s.svg')"; - @media only screen { - @media (-webkit-min-device-pixel-ratio: 2), - (min-resolution: 2dppx), - (min-resolution: 192dpi) - { - content: ~"url('@{common-image-const-path}/about/logo@2x.png')"; - display: block; - transform: scale(.5); - } + .theme-dark & { + content: ~"url('@{common-image-const-path}/about/logo-white_s.svg')"; } + + height: 45px; + width: auto; } }