deploy tab colors

pull/1/head
LianaHus 6 years ago
parent 96bec1c3d6
commit 82d6c0b5d5
  1. 4
      src/multiParamManager.js
  2. 9
      src/universal-dapp-styles.js

@ -183,9 +183,9 @@ class MultiParamManager {
this.contractActionsContainerSingle.querySelector(`.${css.instanceButton}`).classList.add('btn-info') this.contractActionsContainerSingle.querySelector(`.${css.instanceButton}`).classList.add('btn-info')
button.classList.add('btn-info') button.classList.add('btn-info')
} else { } else {
this.contractActionsContainerSingle.querySelector(`.${css.instanceButton}`).classList.add('btn-primary') this.contractActionsContainerSingle.querySelector(`.${css.instanceButton}`).classList.add('btn-warning')
button.innerHTML = 'transact' button.innerHTML = 'transact'
button.classList.add('btn-primary') button.classList.add('btn-warning')
} }
if (this.funABI.inputs && this.funABI.inputs.length > 0) { if (this.funABI.inputs && this.funABI.inputs.length > 0) {

@ -31,7 +31,9 @@ var css = csjs`
word-break: break-word; word-break: break-word;
min-width: 230px; min-width: 230px;
} }
.inputGroupText {
width: 100%;
}
.title .copy { .title .copy {
color: var(--primary); color: var(--primary);
} }
@ -42,7 +44,6 @@ var css = csjs`
flex-wrap: nowrap; flex-wrap: nowrap;
} }
.instance { .instance {
min-width: 310px;
display: block; display: block;
/* display: flex; */ /* display: flex; */
flex-direction: column; flex-direction: column;
@ -129,10 +130,12 @@ var css = csjs`
/* background-color:var(--info); */ /* background-color:var(--info); */
min-width: 100px; min-width: 100px;
width: 100px; width: 100px;
font-size: 10px;
margin:0; margin:0;
word-break: inherit; word-break: inherit;
outline: none; outline: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
.contractProperty input { .contractProperty input {
/* width: 75% */ /* width: 75% */

Loading…
Cancel
Save