Dev: Touch visual effects

This commit is contained in:
surunzi
2016-05-29 09:43:19 +08:00
parent 166c792c20
commit e1a00e1af9
24 changed files with 192 additions and 71 deletions

View File

@@ -197,9 +197,9 @@ export default class Console extends Tool
var settings = this._parent.get('settings');
settings.text('Console')
.add(cfg, 'catchGlobalErr', 'Catch Global Errors')
.add(cfg, 'overrideConsole', 'Override Console')
.add(cfg, 'displayIfErr', 'Auto Display If Error Occurs')
.switch(cfg, 'catchGlobalErr', 'Catch Global Errors')
.switch(cfg, 'overrideConsole', 'Override Console')
.switch(cfg, 'displayIfErr', 'Auto Display If Error Occurs')
.separator()
}
}

View File

@@ -18,7 +18,7 @@
top: 1px;
transition: color $anim-duration;
&:active {
color: $gray-light;
color: $gray-dark;
}
}
.icon-ban {

View File

@@ -37,7 +37,7 @@
color: $blue;
}
.icon-times-circle {
color: $red-dark;
color: $red;
}
.icon-exclamation-triangle {
color: $yellow-dark;
@@ -79,22 +79,22 @@
}
}
&.error {
background: #fff0f0;
color: #f00;
border-top: 1px solid #ffd7d7;
border-bottom: 1px solid #ffd7d7;
background: $red-light;
color: $red;
border-top: 1px solid $red;
border-bottom: 1px solid $red;
.stack {
color: #000;
color: $gray-dark;
padding-left: 1.2em;
}
.times {
background: #f00;
background: $red;
}
}
&.warn {
background: #fffbe6;
border-top: 1px solid #fff5c2;
border-bottom: 1px solid #fff5c2;
border-top: 1px solid $yellow;
border-bottom: 1px solid $yellow;
}
&.info {
color: $blue;