Commit 80d13590 authored by Rob Stupay's avatar Rob Stupay Committed by yann300

stripped out styleguide from compile-tab-styles

parent 0c3b69b8
const csjs = require('csjs-inject') const csjs = require('csjs-inject')
const styleGuide = require('../../ui/styles-guide/theme-chooser') // const styleGuide = require('../../ui/styles-guide/theme-chooser')
const styles = styleGuide.chooser() // const styles = styleGuide.chooser()
const css = csjs` const css = csjs`
.title { .title {
...@@ -31,11 +31,9 @@ const css = csjs` ...@@ -31,11 +31,9 @@ const css = csjs`
.select { .select {
font-weight: bold; font-weight: bold;
margin: 10px 0px; margin: 10px 0px;
${styles.rightPanel.settingsTab.dropdown_SelectCompiler};
} }
.info { .info {
${styles.rightPanel.settingsTab.box_SolidityVersionInfo}
margin-bottom: 1em;
word-break: break-word; word-break: break-word;
} }
.compileTabView { .compileTabView {
...@@ -46,7 +44,6 @@ const css = csjs` ...@@ -46,7 +44,6 @@ const css = csjs`
margin: 3% 0; margin: 3% 0;
} }
.compileContainer { .compileContainer {
${styles.rightPanel.compileTab.box_CompileContainer};
margin-bottom: 2%; margin-bottom: 2%;
} }
.autocompileContainer { .autocompileContainer {
...@@ -70,7 +67,6 @@ const css = csjs` ...@@ -70,7 +67,6 @@ const css = csjs`
line-height: initial; line-height: initial;
} }
.warnCompilationSlow { .warnCompilationSlow {
color: ${styles.rightPanel.compileTab.icon_WarnCompilation_Color};
margin-left: 1%; margin-left: 1%;
} }
.compileButtons { .compileButtons {
...@@ -92,13 +88,11 @@ const css = csjs` ...@@ -92,13 +88,11 @@ const css = csjs`
flex-wrap: wrap; flex-wrap: wrap;
} }
.compileButton { .compileButton {
${styles.rightPanel.compileTab.button_Compile};
width: 100%; width: 100%;
margin: 15px 0 10px 0; margin: 15px 0 10px 0;
font-size: 12px; font-size: 12px;
} }
.container { .container {
${styles.rightPanel.compileTab.box_CompileContainer};
margin: 0; margin: 0;
margin-bottom: 2%; margin-bottom: 2%;
} }
...@@ -111,7 +105,6 @@ const css = csjs` ...@@ -111,7 +105,6 @@ const css = csjs`
display: flex; display: flex;
} }
.contractNames { .contractNames {
${styles.rightPanel.compileTab.dropdown_CompileContract};
width:78%; width:78%;
} }
.contractHelperButtons { .contractHelperButtons {
...@@ -122,7 +115,6 @@ const css = csjs` ...@@ -122,7 +115,6 @@ const css = csjs`
margin: 15px 15px 10px 0; margin: 15px 15px 10px 0;
} }
.copyButton { .copyButton {
${styles.rightPanel.compileTab.button_Publish};
padding: 0 7px; padding: 0 7px;
min-width: 50px; min-width: 50px;
width: auto; width: auto;
...@@ -137,7 +129,6 @@ const css = csjs` ...@@ -137,7 +129,6 @@ const css = csjs`
margin-right: 5px; margin-right: 5px;
} }
.details { .details {
${styles.rightPanel.compileTab.button_Details};
min-width: 70px; min-width: 70px;
width: 80px; width: 80px;
} }
...@@ -148,7 +139,6 @@ const css = csjs` ...@@ -148,7 +139,6 @@ const css = csjs`
cursor: pointer; cursor: pointer;
} }
.log { .log {
${styles.rightPanel.compileTab.box_CompileContainer};
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-bottom: 5%; margin-bottom: 5%;
...@@ -156,7 +146,6 @@ const css = csjs` ...@@ -156,7 +146,6 @@ const css = csjs`
} }
.key { .key {
margin-right: 5px; margin-right: 5px;
color: ${styles.rightPanel.text_Primary};
text-transform: uppercase; text-transform: uppercase;
width: 100%; width: 100%;
} }
...@@ -168,16 +157,12 @@ const css = csjs` ...@@ -168,16 +157,12 @@ const css = csjs`
.questionMark { .questionMark {
margin-left: 2%; margin-left: 2%;
cursor: pointer; cursor: pointer;
color: ${styles.rightPanel.icon_Color_TogglePanel};
} }
.questionMark:hover { .questionMark:hover {
color: ${styles.rightPanel.icon_HoverColor_TogglePanel};
} }
.detailsJSON { .detailsJSON {
padding: 8px 0; padding: 8px 0;
background-color: ${styles.rightPanel.modalDialog_BackgroundColor_Primary};
border: none; border: none;
color: ${styles.rightPanel.modalDialog_text_Secondary};
} }
.icon { .icon {
margin-right: 0.3em; margin-right: 0.3em;
...@@ -197,15 +182,12 @@ const css = csjs` ...@@ -197,15 +182,12 @@ const css = csjs`
@-webkit-keyframes bounce { @-webkit-keyframes bounce {
0% { 0% {
margin-bottom: 0; margin-bottom: 0;
color: ${styles.colors.transparent};
} }
70% { 70% {
margin-bottom: 0; margin-bottom: 0;
color: ${styles.rightPanel.text_Secondary};
} }
100% { 100% {
margin-bottom: 0; margin-bottom: 0;
color: ${styles.colors.transparent};
} }
} }
` `
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment