From d29a25d56fd7925e8fe624f71b344f77005d32ec Mon Sep 17 00:00:00 2001 From: Rob Stupay Date: Tue, 2 Apr 2019 14:09:37 +0200 Subject: [PATCH] a step towards runtab bootstrapped --- src/app/ui/styles-guide/theme-chooser.js | 5 +++-- src/multiParamManager.js | 4 ++-- src/universal-dapp-styles.js | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/app/ui/styles-guide/theme-chooser.js b/src/app/ui/styles-guide/theme-chooser.js index b5cc126985..4cd6da1fb4 100644 --- a/src/app/ui/styles-guide/theme-chooser.js +++ b/src/app/ui/styles-guide/theme-chooser.js @@ -11,10 +11,11 @@ const themes = [ {name: 'Yeti', quality: 'light', url: 'https://bootswatch.com/4/yeti/bootstrap.min.css'}, {name: 'Cyborg', quality: 'dark', url: 'https://bootswatch.com/4/cyborg/bootstrap.min.css'}, {name: 'Darkly', quality: 'dark', url: 'https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/darkly/bootstrap.min.css'}, - {name: 'Slate', quality: 'dark', url: 'https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/slate/bootstrap.min.css'} + {name: 'Slate', quality: 'dark', url: 'https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/slate/bootstrap.min.css'}, + {name: 'Superhero', quality: 'dark', url: 'https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/superhero/bootstrap.min.css'} ] -const defaultTheme = 'Superhero' +const defaultTheme = 'Cerulean' module.exports = { event: new EventEmitter(), diff --git a/src/multiParamManager.js b/src/multiParamManager.js index a780119cb9..942338d3f4 100644 --- a/src/multiParamManager.js +++ b/src/multiParamManager.js @@ -123,7 +123,7 @@ class MultiParamManager { var onClick = (domEl) => { this.clickCallBack(this.funABI.inputs, this.basicInputField.value) } - +// TODO: if this is a lookup only make this button btn-info this.contractActionsContainerSingle = yo`
${this.basicInputField} { this.switchMethodViewOn() }} title=${title} >
` @@ -171,7 +171,7 @@ class MultiParamManager { ` var contractProperty = yo`
${this.contractActionsContainerSingle} ${this.contractActionsContainerMulti}
` - +// TODO: add class for btn-info to the button and remove stuff from the class if (this.lookupOnly) { contractProperty.classList.add(css.constant) button.setAttribute('title', (title + ' - call')) diff --git a/src/universal-dapp-styles.js b/src/universal-dapp-styles.js index a085718912..7683d01c45 100644 --- a/src/universal-dapp-styles.js +++ b/src/universal-dapp-styles.js @@ -109,10 +109,10 @@ var css = csjs` border-bottom-left-radius: 0; } .contractProperty button { - background-color: var(--warning); + /* background-color: var(--warning); */ min-width: 100px; width: 100px; - font-size: 10px; + /* font-size: 10px; */ margin:0; word-break: inherit; } @@ -233,7 +233,7 @@ var css = csjs` border-left: none; padding: 8px 8px 8px 10px; font-size: 10px; - height: 25px; + /* height: 25px; */ } .hasArgs button { border-top-right-radius: 0;