Fixed style of status
This commit is contained in:
parent
d78a610d80
commit
4e4a25f3a6
@ -118,6 +118,8 @@ Additional functions can be found in the [includes](https://github.com/hundredra
|
||||
|
||||
<img src='https://raw.githubusercontent.com/hundredrabbits/Ronin/master/PREVIEW2.jpg' width='600'/>
|
||||
|
||||
<img src='https://raw.githubusercontent.com/hundredrabbits/Ronin/master/PREVIEW3.jpg' width='600'/>
|
||||
|
||||
## Extras
|
||||
|
||||
- This application supports the [Ecosystem Theme](https://github.com/hundredrabbits/Themes).
|
||||
|
@ -6,17 +6,18 @@ body { margin:0px; padding:0px; overflow:hidden; font-family:"input_mono_regular
|
||||
#ronin #wrapper { overflow: hidden; position: relative; }
|
||||
#ronin #wrapper #commander { z-index: 9000;position: relative;width: 310px;height: calc(100vh - 60px);-webkit-app-region: no-drag;padding-right: 30px;transition: margin-left 250ms;}
|
||||
#ronin #wrapper #commander textarea { background: none; width: 100%; height: calc(100vh - 105px); resize: none; font-size: 12px;line-height: 15px; padding-right: 15px}
|
||||
#ronin #wrapper #commander div#status { position: absolute; bottom: 0px; text-transform: lowercase;}
|
||||
#ronin #wrapper #commander #status { position: absolute; bottom: 0px; text-transform: lowercase; line-height: 15px; height: 30px; overflow: hidden; width: calc(100% - 30px);}
|
||||
#ronin #wrapper #commander #source { position: absolute;right: 0px;bottom: 0px; }
|
||||
#ronin.expand #wrapper #commander { width:100%; }
|
||||
#ronin canvas#surface,#ronin canvas#guide { position: absolute; top:0px; -webkit-user-select: none;-webkit-app-region: no-drag; 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; width:100%; height:100%; transition: left 250ms}
|
||||
#ronin #surface,#ronin #guide { position: absolute; top:0px; -webkit-user-select: none;-webkit-app-region: no-drag; 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; width:100%; height:100%; transition: left 250ms}
|
||||
|
||||
/* Default */
|
||||
|
||||
#ronin.hidden #wrapper #commander { margin-left:-40vw; }
|
||||
#ronin.hidden canvas#surface, #ronin.hidden canvas#guide { left:0; }
|
||||
#ronin.hidden #surface, #ronin.hidden #guide { left:0; }
|
||||
|
||||
#ronin.hidden #wrapper #commander { margin-left:calc(-40vw - 30px); }
|
||||
#ronin canvas#surface,#ronin canvas#guide { left:calc(40vw + 30px); }
|
||||
#ronin #surface,#ronin #guide { left:calc(40vw + 30px); }
|
||||
|
||||
#ronin canvas#guide { background:none; }
|
||||
#ronin canvas#surface { border-radius: 2px }
|
||||
#ronin #guide { background:none; }
|
||||
#ronin #surface { border-radius: 2px }
|
||||
|
@ -2,4 +2,5 @@ body { background:var(--background); }
|
||||
#ronin #wrapper { background: var(--background); }
|
||||
#ronin #wrapper #commander { background:var(--background); }
|
||||
#ronin #wrapper #commander textarea { color:var(--f_high); }
|
||||
#ronin #wrapper #commander div#status { color:var(--f_med); }
|
||||
#ronin #wrapper #commander #status { color:var(--f_med); }
|
||||
#ronin #wrapper #commander #status #source { color:var(--f_low); }
|
@ -76,7 +76,7 @@ function Commander (ronin) {
|
||||
// console.log(msg)
|
||||
}
|
||||
// Source
|
||||
const _source = `${ronin.source} ${this._input.value.split('\n').length} lines`
|
||||
const _source = `${ronin.source}[${this._input.value.split('\n').length}]`
|
||||
if (_source !== this._source.textContent) {
|
||||
this._source.textContent = _source
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ function Source (ronin) {
|
||||
}
|
||||
|
||||
this.toString = function () {
|
||||
return this.path ? this.name() + '.lisp' : 'unsaved'
|
||||
return this.path ? this.name() + '.lisp' : '*new'
|
||||
}
|
||||
|
||||
function isDifferent (a, b) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user