Unverified Commit 34265976 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #1572 from ethereum/compieTabUI

Don't highlight when content changed
parents f427491b 1732e55a
...@@ -84,8 +84,6 @@ module.exports = class CompileTab { ...@@ -84,8 +84,6 @@ module.exports = class CompileTab {
}) })
self._deps.editor.event.register('contentChanged', function changedFile () { self._deps.editor.event.register('contentChanged', function changedFile () {
if (!self._view.compileIcon) return if (!self._view.compileIcon) return
const compileTab = document.querySelector('.compileView') // @TODO: compileView tab
compileTab.style.color = styles.colors.red // @TODO: compileView tab
self._view.compileIcon.classList.add(`${css.bouncingIcon}`) // @TODO: compileView tab self._view.compileIcon.classList.add(`${css.bouncingIcon}`) // @TODO: compileView tab
}) })
self._deps.compiler.event.register('loadingCompiler', function start () { self._deps.compiler.event.register('loadingCompiler', function start () {
...@@ -454,6 +452,11 @@ module.exports = class CompileTab { ...@@ -454,6 +452,11 @@ module.exports = class CompileTab {
} }
const css = csjs` const css = csjs`
.title {
font-size: 1.1em;
font-weight: bold;
margin-bottom: 1em;
}
.panicError { .panicError {
color: red; color: red;
font-size: 20px; font-size: 20px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment