From edda84a6c597f956cb842537a3e2defdb0c88061 Mon Sep 17 00:00:00 2001 From: ninabreznik Date: Thu, 11 Jan 2018 06:04:18 +0800 Subject: [PATCH] Restyle setting tab --- src/app/tabs/settings-tab.js | 60 ++++++++++++++++++++++++++---------- 1 file changed, 43 insertions(+), 17 deletions(-) diff --git a/src/app/tabs/settings-tab.js b/src/app/tabs/settings-tab.js index 2348b92362..a81e71105f 100644 --- a/src/app/tabs/settings-tab.js +++ b/src/app/tabs/settings-tab.js @@ -19,15 +19,22 @@ var css = csjs` } .info { ${styles.rightPanel.settingsTab.box_SolidityVersionInfo} - margin-bottom: 2em; + margin-bottom: 1em; word-break: break-word; } + .title { + font-size: 1.1em; + font-weight: bold; + margin-bottom: 1em; + } .crow { display: flex; overflow: auto; clear: both; padding: .5em; - font-weight: bold; + } + .checkboxText { + font-weight: normal; } .crow label { cursor:pointer; @@ -39,6 +46,8 @@ var css = csjs` font-weight: bold; } .select { + font-weight: bold; + margin-top: 1em; ${styles.rightPanel.settingsTab.dropdown_SelectCompiler} } .heading { @@ -79,23 +88,39 @@ function SettingsTab (container, appAPI, appEvents, opts) { var el = yo`
-
Your current Solidity version is
-
-
-
- -
-
-
- Text Wrap +
Solidity version
+ Current version: +
+ +
-
-
${optionVM}
- Always use VM at Load +
+
General settings
+
+
+ Text Wrap +
+
+
${optionVM}
+ Always use VM at Load +
+
+
+ Enable Optimization +
-
-
- Enable Optimization +
+
Plugin
+
+
+ + Do not use this alpha feature if you are not sure what you are doing! +
+
+ + +
+

Themes ( Selecting a theme will trigger a page reload )

@@ -118,6 +143,7 @@ function SettingsTab (container, appAPI, appEvents, opts) {
+ ` function loadPlugin () {