pull/3094/head
LianaHus 6 years ago
parent 488c3a1876
commit 4f323049bb
  1. 1
      src/app/panels/styles/terminal-styles.js
  2. 6
      src/app/panels/terminal.js
  3. 4
      src/app/ui/dropdown.js
  4. 2
      src/app/ui/landing-page/landing-page.js
  5. 12
      src/app/ui/styles/dropdown-styles.js

@ -21,6 +21,7 @@ var css = csjs`
display : flex; display : flex;
align-items : center; align-items : center;
width : 100%; width : 100%;
border-bottom-style : ridge;
} }
.clear { .clear {
margin-right : 20px; margin-right : 20px;

@ -136,10 +136,10 @@ class Terminal {
</div> </div>
${self._view.pendingTxCount} ${self._view.pendingTxCount}
<div class=${css.verticalLine}></div> <div class=${css.verticalLine}></div>
<div class=${css.listen}> <div class="form-check">
<input id="listenNetworkCheck" onchange=${listenOnNetwork} type="checkbox" class="form-check-input" <input id="listenNetworkCheck" onchange=${listenOnNetwork} type="checkbox" class="form-check-input "
title="If checked Remix will listen on all transactions mined in the current environment and not only transactions created by you"> title="If checked Remix will listen on all transactions mined in the current environment and not only transactions created by you">
<label class="${css.listenLabel} form-check-label" title="If checked Remix will listen on all transactions mined in the current environment and not only transactions created by you" for="listenNetworkCheck">listen on network</label> <label class="form-check-label" title="If checked Remix will listen on all transactions mined in the current environment and not only transactions created by you" for="listenNetworkCheck">listen on network</label>
</div> </div>
${self._view.dropdown} ${self._view.dropdown}
<div class=${css.search}> <div class=${css.search}>

@ -45,9 +45,9 @@ class Dropdown {
</div> </div>
` `
self._view.el = yo` self._view.el = yo`
<div class=${css.dropdown} onclick=${show}> <div class="${css.dropdown}" onclick=${show}>
${self._view.selected} ${self._view.selected}
<div class=${css.options} style="display: none;"> <div class="${css.options} bg-light" style="display: none;">
${self.data._options.map(label => { ${self.data._options.map(label => {
var input = yo`<input data-idx=${self.data._elements.length} onchange=${emit} type="checkbox" />` var input = yo`<input data-idx=${self.data._elements.length} onchange=${emit} type="checkbox" />`
if (self.data.selected.indexOf(label) !== -1) { if (self.data.selected.indexOf(label) !== -1) {

@ -9,7 +9,7 @@ var css = csjs`
flex-wrap : wrap; flex-wrap : wrap;
align-content : space-around; align-content : space-around;
padding : 20px; padding : 20px;
max-width : 300px; max-width : 340px;
background-color: var(--light); background-color: var(--light);
font-family : "Lucida Console", Monaco, monospace; font-family : "Lucida Console", Monaco, monospace;
} }

@ -7,6 +7,7 @@ var css = csjs`
display : flex; display : flex;
flex-direction : column; flex-direction : column;
margin-right : 10px; margin-right : 10px;
margin-left : 10px;
width : auto; width : auto;
} }
.selectbox { .selectbox {
@ -32,15 +33,16 @@ var css = csjs`
display : flex; display : flex;
flex-direction : column; flex-direction : column;
align-items : end; align-items : end;
top : 24px; top : 30px;
left : 0; right : 0;
width : 250px; width : 230px;
border : 1px solid var(--primary); border : 1px solid var(--dark);
border-radius : 3px; border-radius : 3px;
border-top : 0; border-top : 0;
} }
.option { .option {
margin: 0; margin-left : 5px;
margin-top : 5px;
} }
` `

Loading…
Cancel
Save