|
|
@ -3,6 +3,9 @@ const csjs = require('csjs-inject') |
|
|
|
// const styles = styleGuide.chooser()
|
|
|
|
// const styles = styleGuide.chooser()
|
|
|
|
|
|
|
|
|
|
|
|
const css = csjs` |
|
|
|
const css = csjs` |
|
|
|
|
|
|
|
.compilerArticle { |
|
|
|
|
|
|
|
padding: 10px; |
|
|
|
|
|
|
|
} |
|
|
|
.title { |
|
|
|
.title { |
|
|
|
font-size: 1.1em; |
|
|
|
font-size: 1.1em; |
|
|
|
font-weight: bold; |
|
|
|
font-weight: bold; |
|
|
@ -28,24 +31,14 @@ const css = csjs` |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
clear: both; |
|
|
|
clear: both; |
|
|
|
} |
|
|
|
} |
|
|
|
.select { |
|
|
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
|
|
margin: 10px 0px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.info { |
|
|
|
.info { |
|
|
|
|
|
|
|
padding: 10px; |
|
|
|
word-break: break-word; |
|
|
|
word-break: break-word; |
|
|
|
} |
|
|
|
} |
|
|
|
.compileTabView { |
|
|
|
|
|
|
|
padding: 2%; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.contract { |
|
|
|
.contract { |
|
|
|
display: block; |
|
|
|
display: block; |
|
|
|
margin: 3% 0; |
|
|
|
margin: 3% 0; |
|
|
|
} |
|
|
|
} |
|
|
|
.compileContainer { |
|
|
|
|
|
|
|
margin-bottom: 2%; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.autocompileContainer { |
|
|
|
.autocompileContainer { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
@ -69,11 +62,12 @@ const css = csjs` |
|
|
|
.warnCompilationSlow { |
|
|
|
.warnCompilationSlow { |
|
|
|
margin-left: 1%; |
|
|
|
margin-left: 1%; |
|
|
|
} |
|
|
|
} |
|
|
|
.compileButtons { |
|
|
|
.compilerConfig { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
flex-wrap: wrap; |
|
|
|
} |
|
|
|
justify-content: flex-end; |
|
|
|
.compilerConfig label { |
|
|
|
|
|
|
|
margin: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
.name { |
|
|
|
.name { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
@ -96,48 +90,27 @@ const css = csjs` |
|
|
|
margin: 0; |
|
|
|
margin: 0; |
|
|
|
margin-bottom: 2%; |
|
|
|
margin-bottom: 2%; |
|
|
|
} |
|
|
|
} |
|
|
|
.contractContainer { |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
margin-bottom: 2%; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.optimizeContainer { |
|
|
|
.optimizeContainer { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
} |
|
|
|
} |
|
|
|
.contractNames { |
|
|
|
.noContractAlert { |
|
|
|
width:78%; |
|
|
|
display: flex; |
|
|
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
} |
|
|
|
.contractHelperButtons { |
|
|
|
.contractHelperButtons { |
|
|
|
|
|
|
|
margin-top: 10px; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
text-align: center; |
|
|
|
align-items: center; |
|
|
|
justify-content: flex-end; |
|
|
|
justify-content: space-between; |
|
|
|
margin: 15px 15px 10px 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.copyButton { |
|
|
|
|
|
|
|
padding: 0 7px; |
|
|
|
|
|
|
|
min-width: 50px; |
|
|
|
|
|
|
|
width: auto; |
|
|
|
|
|
|
|
margin-left: 5px; |
|
|
|
|
|
|
|
background-color: inherit; |
|
|
|
|
|
|
|
border: inherit; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.bytecodeButton { |
|
|
|
.copyToClipboard { |
|
|
|
min-width: 80px; |
|
|
|
font-size: 1rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.copyIcon { |
|
|
|
.copyIcon { |
|
|
|
margin-right: 5px; |
|
|
|
margin-right: 5px; |
|
|
|
} |
|
|
|
} |
|
|
|
.details { |
|
|
|
|
|
|
|
min-width: 70px; |
|
|
|
|
|
|
|
width: 80px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.publish { |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
margin-left: 10px; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.log { |
|
|
|
.log { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
|