chore: small changes

This commit is contained in:
surunzi
2019-11-18 11:54:56 +08:00
parent f4f5973084
commit e188ca28b5
5 changed files with 10 additions and 6 deletions

View File

@@ -62,7 +62,7 @@ const themes = {
background: '#242424',
foreground: '#a5a5a5',
selectForeground: '#eaeaea',
accent: '#000',
accent: '#555',
highlight: '#000',
active: '#555',
border: '#3d3d3d',

View File

@@ -111,7 +111,7 @@ export default class Log extends Emitter {
$container.rmClass('eruda-hidden')
}
$count.text(count)
$icon.addClass('.eruda-hidden')
$icon.addClass('eruda-hidden')
return this
}

View File

@@ -97,10 +97,11 @@
.count {
background: var(--text-color);
padding: 2px 4px;
color: var(--accent);
color: #000;
border-radius: 10px;
font-size: $font-size-s;
float: left;
margin: 3px -6px 0 $padding;
margin: 2px -6px 0 $padding;
}
.log-content-wrapper {
flex: 1;
@@ -159,6 +160,9 @@
background: var(--console-warn-background);
border-top: 1px solid var(--console-warn-border);
border-bottom: 1px solid var(--console-warn-border);
.count {
background: #e8a400;
}
}
&.info {
z-index: 30;

View File

@@ -3819,7 +3819,7 @@ export var evalCss = _.evalCss = (function (exports) {
background: '#242424',
foreground: '#a5a5a5',
selectForeground: '#eaeaea',
accent: '#000',
accent: '#555',
highlight: '#000',
active: '#555',
border: '#3d3d3d',

View File

@@ -2173,7 +2173,7 @@
background: '#242424',
foreground: '#a5a5a5',
selectForeground: '#eaeaea',
accent: '#000',
accent: '#555',
highlight: '#000',
active: '#555',
border: '#3d3d3d',