mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-01 10:18:35 +08:00
Dev: Touch visual effects
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
top: 1px;
|
||||
transition: color $anim-duration;
|
||||
&:active {
|
||||
color: $gray-light;
|
||||
color: $gray-dark;
|
||||
}
|
||||
}
|
||||
.icon-ban {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user