diff --git a/desktop/sources/links/main.css b/desktop/sources/links/main.css index 9d3af84..376b823 100644 --- a/desktop/sources/links/main.css +++ b/desktop/sources/links/main.css @@ -1,12 +1,10 @@ -body { margin:0px; padding:0px; overflow:hidden; font-family:"input_mono_regular",courier,monospace; background:000; -webkit-app-region: drag; -webkit-user-select: none; font-size:12px;} +body { margin:0px; padding:0px; overflow:hidden; font-family:"input_mono_regular",courier,monospace; background:000; -webkit-user-select: none; font-size:12px;} *:focus {outline: none; } -yu { display:block; } - -#ronin { background:var(--b_low); height: 100vh; width:100vw; } -#ronin #commander { z-index: 9000; top: 15px; position: absolute; left: 15px; width: calc(50vw - 60px); height: calc(100vh - 60px); padding: 15px; border-right: 1px solid #333;} +#ronin { background:var(--b_low); height: 100vh; width:100vw; -webkit-app-region: drag; } +#ronin #commander { z-index: 9000; top: 15px; position: absolute; left: 15px; width: calc(50vw - 60px); height: calc(100vh - 60px); padding: 15px; border-right: 1px solid #333; -webkit-app-region: no-drag;} #ronin #commander textarea { background: none; width: 100%; height: calc(100vh - 75px); resize: none; font-size: 12px;color: white; } #ronin #commander div#status { color:#555; } -#ronin canvas#surface { position: absolute; right:15px; top:15px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20'><circle cx='10' cy='10' r='1' fill='%23555'></circle></svg>"); background-size: 10px 10px; background-position: -4px -4px;} \ No newline at end of file +#ronin canvas#surface { position: absolute; right:15px; top:15px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20'><circle cx='10' cy='10' r='1' fill='%23555'></circle></svg>"); background-size: 10px 10px; background-position: -4px -4px; -webkit-user-select: none;-webkit-app-region: no-drag;} \ No newline at end of file diff --git a/desktop/sources/scripts/commander.js b/desktop/sources/scripts/commander.js index 6b1a40b..ad5df23 100644 --- a/desktop/sources/scripts/commander.js +++ b/desktop/sources/scripts/commander.js @@ -1,5 +1,5 @@ function Commander (ronin) { - this.el = document.createElement('yu') + this.el = document.createElement('div') this.el.id = 'commander' this._input = document.createElement('textarea') this._status = document.createElement('div') diff --git a/desktop/sources/scripts/ronin.js b/desktop/sources/scripts/ronin.js index fe4a863..f05f5b1 100644 --- a/desktop/sources/scripts/ronin.js +++ b/desktop/sources/scripts/ronin.js @@ -11,7 +11,7 @@ function Ronin () { b_inv: '#ffb545' } - this.el = document.createElement('yu') + this.el = document.createElement('div') this.el.id = 'ronin' this.theme = new Theme(defaultTheme)