add new stylesheet, change background,menu,minimap

This commit is contained in:
loro2
2019-07-24 10:07:03 +02:00
parent d6437c6125
commit 573cb5321b
11 changed files with 332 additions and 4 deletions
+2 -2
View File
@@ -17,10 +17,10 @@ SQL.Toggle.prototype._click = function(e) {
SQL.Toggle.prototype._switch = function(state) {
this._state = state;
if (this._state) {
OZ.$("bar").style.height = "";
OZ.$("bar").style.maxHeight = "";
} else {
OZ.$("bar").style.overflow = "hidden";
OZ.$("bar").style.height = this._elm.offsetHeight + "px";
OZ.$("bar").style.maxHeight = this._elm.offsetHeight + "px";
}
this._elm.className = (this._state ? "on" : "off");
}