update styles in multiParamManager

pull/1/head
Rob Stupay 6 years ago
parent 3e71fbe2e7
commit 5a1c9a44be
  1. 8
      src/universal-dapp-styles.js
  2. 2
      src/universal-dapp-ui.js

@ -76,7 +76,7 @@ var css = csjs`
vertical-align: top; vertical-align: top;
} }
.cActionsWrapper { .cActionsWrapper {
padding: 10px; padding: 0px 0 10px 10px;
border: 1px solid rgba(0,0,0,0.125); border: 1px solid rgba(0,0,0,0.125);
border-top-left-radius: 0; border-top-left-radius: 0;
border-bottom-left-radius: 0.25rem; border-bottom-left-radius: 0.25rem;
@ -196,6 +196,7 @@ var css = csjs`
font-weight: bold; font-weight: bold;
line-height: 25px; line-height: 25px;
cursor: default; cursor: default;
padding-top: 5px;
} }
.contractProperty .contractActionsContainerMultiInner .multiArg label{ .contractProperty .contractActionsContainerMultiInner .multiArg label{
text-align: right; text-align: right;
@ -216,7 +217,7 @@ var css = csjs`
} }
.multiArg { .multiArg {
margin-bottom: 8px; margin-bottom: 8px;
display: flex; /* display: flex; */
} }
.multiArg input{ .multiArg input{
padding: 5px; padding: 5px;
@ -227,6 +228,7 @@ var css = csjs`
margin-right: 6px; margin-right: 6px;
font-size: 10px; font-size: 10px;
min-width: 30%; min-width: 30%;
padding-top: 5px;
} }
.multiArg button { .multiArg button {
border-radius: 3px; border-radius: 3px;
@ -241,7 +243,7 @@ var css = csjs`
} }
.hasArgs .multiArg input { .hasArgs .multiArg input {
border-left: 1px solid #dddddd; border-left: 1px solid #dddddd;
width: 100%; width: 60%;
} }
.hasArgs input { .hasArgs input {
display: block; display: block;

@ -68,7 +68,7 @@ UniversalDAppUI.prototype.renderInstanceFromABI = function (contractABI, address
var shortAddress = helper.shortenAddress(address) var shortAddress = helper.shortenAddress(address)
var title = yo` var title = yo`
<div class="${css.title} alert alert-info"> <div class="${css.title} alert alert-secondary">
<button class="btn ${css.titleExpander}" onclick="${(e) => { toggleClass(e) }}"><i class="fa fa-caret-right" aria-hidden="true"></i></button> <button class="btn ${css.titleExpander}" onclick="${(e) => { toggleClass(e) }}"><i class="fa fa-caret-right" aria-hidden="true"></i></button>
<div class="input-group ${css.nameNbuts}"> <div class="input-group ${css.nameNbuts}">
<div class="${css.titleText} input-group-prepend"><span class="input-group-text ${css.spanTitleText}"> ${contractName} at ${shortAddress} (${context})</span></div> <div class="${css.titleText} input-group-prepend"><span class="input-group-text ${css.spanTitleText}"> ${contractName} at ${shortAddress} (${context})</span></div>

Loading…
Cancel
Save