Browse Source

fixes #1178

tags/v0.3.2.10
Shaun Kichenbrand 5 years ago
parent
commit
14bb88333e
2 changed files with 28 additions and 13 deletions
  1. +27
    -12
      src/client/css/main.less
  2. +1
    -1
      src/client/js/rendering/renderer.js

+ 27
- 12
src/client/css/main.less View File

@@ -1,6 +1,7 @@
@import "colors.less"; @import "colors.less";


body, html {
body,
html {
position: fixed; position: fixed;
overflow: hidden; overflow: hidden;
overscroll-behavior: none; overscroll-behavior: none;
@@ -32,7 +33,9 @@ body {
.uiTooltipInfo { .uiTooltipInfo {
display: none !important; display: none !important;
} }
}

}

} }


.mobile .right { .mobile .right {
@@ -66,6 +69,7 @@ body {
top: 0px; top: 0px;
width: 100vw; width: 100vw;
} }

} }


.disabled { .disabled {
@@ -74,7 +78,8 @@ body {
} }


[class^="ui"] { [class^="ui"] {
input, textarea {
input,
textarea {
-webkit-user-select: text; -webkit-user-select: text;
-khtml-user-select: text; -khtml-user-select: text;
-moz-user-select: text; -moz-user-select: text;
@@ -106,6 +111,7 @@ body {
&:hover { &:hover {
background-color: lighten(@black, 10%); background-color: lighten(@black, 10%);
} }

} }


.spacer-h { .spacer-h {
@@ -129,26 +135,29 @@ body {
&:hover { &:hover {
background-color: lighten(@black, 10%); background-color: lighten(@black, 10%);
} }

} }


} }

} }


::-webkit-scrollbar { ::-webkit-scrollbar {
width: 16px;
width: 16px;
} }

::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
background-color: @gray; background-color: @gray;
-webkit-border-radius: 0px;
border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
} }

::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 0px;
background: @lightGray;
-webkit-border-radius: 10px;
border-radius: 0px;
background: @lightGray;
} }



.q0 { .q0 {
color: @white; color: @white;
} }
@@ -180,6 +189,7 @@ body {
.color-blueA { .color-blueA {
color: @blueA !important; color: @blueA !important;
} }

.color-blueB { .color-blueB {
color: @blueB !important; color: @blueB !important;
} }
@@ -199,6 +209,7 @@ body {
.color-brownC { .color-brownC {
color: @brownC !important; color: @brownC !important;
} }

.color-brownD { .color-brownD {
color: @brownD !important; color: @brownD !important;
} }
@@ -206,21 +217,25 @@ body {
.color-grayA { .color-grayA {
color: @white !important; color: @white !important;
} }

.color-grayB { .color-grayB {
color: @grayB !important; color: @grayB !important;
} }

.color-grayC { .color-grayC {
color: @grayC !important; color: @grayC !important;
} }

.color-grayD { .color-grayD {
color: @grayD !important; color: @grayD !important;
} }


.color-pinkA { .color-pinkA {
color: @pinkA !important;
color: @pinkA !important;
} }

.color-pinkB { .color-pinkB {
color: @pinkB !important;
color: @pinkB !important;
} }


.color-purpleA { .color-purpleA {


+ 1
- 1
src/client/js/rendering/renderer.js View File

@@ -77,7 +77,7 @@ define([
events.on('onGetMap', this.onGetMap.bind(this)); events.on('onGetMap', this.onGetMap.bind(this));
events.on('onToggleFullscreen', this.toggleScreen.bind(this)); events.on('onToggleFullscreen', this.toggleScreen.bind(this));


let zoom = window.devicePixelRatio;
let zoom = isMobile ? 1 : window.devicePixelRatio;
this.width = $('body').width() * zoom; this.width = $('body').width() * zoom;
this.height = $('body').height() * zoom; this.height = $('body').height() * zoom;




Loading…
Cancel
Save