starting runTab

pull/3094/head
Rob Stupay 6 years ago committed by yann300
parent 3178b850ec
commit 2215fc8669
  1. 2
      src/app/tabs/runTab/contractDropdown.js
  2. 22
      src/app/tabs/styles/run-tab-styles.js

@ -61,7 +61,7 @@ class ContractDropdownUI {
${this.createPanel} ${this.createPanel}
${this.orLabel} ${this.orLabel}
<div class="${css.button} ${css.atAddressSect}"> <div class="${css.button} ${css.atAddressSect}">
<div class="${css.atAddress}" onclick=${this.loadFromAddress.bind(this)}>At Address</div> <div class="${css.atAddress} btn btn-sm btn-info" onclick=${this.loadFromAddress.bind(this)}>At Address</div>
${this.atAddressButtonInput} ${this.atAddressButtonInput}
</div> </div>
</div> </div>

@ -1,6 +1,5 @@
var csjs = require('csjs-inject') var csjs = require('csjs-inject')
var styleGuide = require('../../ui/styles-guide/theme-chooser') const styles = require('../../ui/styles-guide/theme-chooser').chooser()
var styles = styleGuide.chooser()
var css = csjs` var css = csjs`
.runTabView { .runTabView {
@ -16,12 +15,10 @@ var css = csjs`
justify-content: space-between; justify-content: space-between;
} }
.settings { .settings {
${styles.rightPanel.runTab.box_RunTab}
margin-bottom: 2%; margin-bottom: 2%;
padding: 10px 15px 15px 15px; padding: 10px 15px 15px 15px;
} }
.recorderCount { .recorderCount {
border: 1px solid ${styles.rightPanel.runTab.icon_HoverColor};
border-radius: 50%; border-radius: 50%;
margin-right: 30px; margin-right: 30px;
min-width: 13px; min-width: 13px;
@ -61,26 +58,21 @@ var css = csjs`
width: 266px; width: 266px;
} }
.col2 { .col2 {
${styles.rightPanel.runTab.input_RunTab}
border-radius: 3px; border-radius: 3px;
} }
.col2_1 { .col2_1 {
${styles.rightPanel.runTab.input_RunTab}
width: 164px; width: 164px;
min-width: 164px; min-width: 164px;
} }
.col2_2 { .col2_2 {
${styles.rightPanel.runTab.dropdown_RunTab}
width: 82px; width: 82px;
min-width: 82px; min-width: 82px;
} }
.select { .select {
${styles.rightPanel.runTab.dropdown_RunTab}
font-weight: normal; font-weight: normal;
width: 250px; width: 250px;
} }
.instanceContainer { .instanceContainer {
${styles.rightPanel.runTab.box_Instance}
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-bottom: 2%; margin-bottom: 2%;
@ -89,7 +81,6 @@ var css = csjs`
padding: 10px 0px 15px 15px; padding: 10px 0px 15px 15px;
} }
.pendingTxsContainer { .pendingTxsContainer {
${styles.rightPanel.runTab.box_Instance}
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-top: 2%; margin-top: 2%;
@ -97,7 +88,6 @@ var css = csjs`
text-align: center; text-align: center;
} }
.container { .container {
${styles.rightPanel.runTab.box_RunTab}
margin-bottom: 2%; margin-bottom: 2%;
} }
.recorderCollapsedView, .recorderCollapsedView,
@ -109,12 +99,10 @@ var css = csjs`
margin: 0 15px 15px 0; margin: 0 15px 15px 0;
} }
.contractNames { .contractNames {
${styles.rightPanel.runTab.dropdown_RunTab}
width: 100%; width: 100%;
border: 1px solid border: 1px solid
} }
.contractNamesError { .contractNamesError {
border: 1px solid ${styles.appProperties.errorText_Color}
} }
.subcontainer { .subcontainer {
display: flex; display: flex;
@ -127,7 +115,6 @@ var css = csjs`
margin-top: 13px; margin-top: 13px;
} }
.transaction { .transaction {
${styles.rightPanel.runTab.button_transaction}
} }
.atAddress { .atAddress {
margin: 0; margin: 0;
@ -138,7 +125,6 @@ var css = csjs`
border-top-right-radius: 0; border-top-right-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
border-right: 0; border-right: 0;
${styles.rightPanel.runTab.button_atAddress}
} }
.atAddressSect { .atAddressSect {
margin-top: 6px; margin-top: 6px;
@ -148,19 +134,15 @@ var css = csjs`
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
} }
.create { .create {
${styles.rightPanel.runTab.button_Create}
} }
.input { .input {
${styles.rightPanel.runTab.input_RunTab};
font-size: 10px; font-size: 10px;
} }
.noInstancesText { .noInstancesText {
${styles.rightPanel.runTab.box_Instance}
font-style: italic; font-style: italic;
text-align: left; text-align: left;
} }
.pendingTxsText { .pendingTxsText {
${styles.rightPanel.runTab.borderBox_Instance}
font-style: italic; font-style: italic;
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
@ -199,7 +181,6 @@ var css = csjs`
cursor: pointer; cursor: pointer;
font-size: 12px; font-size: 12px;
cursor: pointer; cursor: pointer;
color: ${styles.rightPanel.runTab.icon_Color};
margin-left: 5px; margin-left: 5px;
} }
.icon:hover { .icon:hover {
@ -244,6 +225,7 @@ var css = csjs`
.infoDeployAction { .infoDeployAction {
margin-left: 5px; margin-left: 5px;
font-size: 13px; font-size: 13px;
color: var(--danger);
} }
` `

Loading…
Cancel
Save