From 5a68fb26ba111f0a4a9cb2687ef6b284371a4ee4 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 8 Aug 2017 10:35:32 +0200 Subject: [PATCH] add compile and run tab --- src/app/righthand-panel.js | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/src/app/righthand-panel.js b/src/app/righthand-panel.js index 9569d29125..9c2d35ce2c 100644 --- a/src/app/righthand-panel.js +++ b/src/app/righthand-panel.js @@ -1,22 +1,28 @@ -var csjs = require('csjs-inject') var yo = require('yo-yo') var EventManager = require('ethereum-remix').lib.EventManager var tabbedMenu = require('./tabbed-menu') +var compileTab = require('./compile-tab') +var runTab = require('./run-tab') var settingsTab = require('./settings-tab') var analysisTab = require('./analysis-tab') var debuggerTab = require('./debugger-tab') var filesTab = require('./files-tab') +// -------------- styling ---------------------- +var csjs = require('csjs-inject') +var styleGuide = require('./style-guide') +var styles = styleGuide() + var css = csjs` .options { float: left; - padding: 0.7em 0.3em; - min-width: 65px; + padding-top: 0.7em; + min-width: 60px; font-size: 0.9em; cursor: pointer; - background-color: transparent; - margin-right: 0.5em; + background-color: ${styles.colors.transparent}; font-size: 1em; + text-align: center; } .dragbar { position : absolute; @@ -40,6 +46,9 @@ var css = csjs` .panel { height : 100%; } + .header { + height : 100%; + } ` // ------------------------------------------------------------------ @@ -55,7 +64,8 @@ function RighthandPanel (appAPI, events, opts) { var optionViews = yo`
` var options = yo`