From 7bfd03eb1c0966626242d5eca4384be3625aa9a1 Mon Sep 17 00:00:00 2001 From: ninabreznik Date: Mon, 25 Sep 2017 04:33:07 +0100 Subject: [PATCH] Trying out new style guide --- src/app/tabs/compile-tab.js | 3 +++ src/app/tabs/run-tab.js | 1 - src/app/ui/dropdown.js | 1 - src/universal-dapp.js | 4 +--- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index 05efbd107c..ae29c63ad9 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -62,6 +62,7 @@ var css = csjs` } .compileButton { ${styles.button} + background-color: ${styles.elementColors.rightPanel_compileTab_compileButton_BackgroundColor}; width: 120px; min-width: 110px; margin-right: 1%; @@ -85,9 +86,11 @@ var css = csjs` } .details { ${styles.button} + background-color: ${styles.elementColors.rightPanel_compileTab_otherButtons_BackgroundColor}; } .publish { ${styles.button} + background-color: ${styles.elementColors.rightPanel_compileTab_otherButtons_BackgroundColor}; margin-left: 2%; width: 120px; } diff --git a/src/app/tabs/run-tab.js b/src/app/tabs/run-tab.js index 9dc373da13..50844d99f1 100644 --- a/src/app/tabs/run-tab.js +++ b/src/app/tabs/run-tab.js @@ -47,7 +47,6 @@ var css = csjs` } .select { ${styles.dropdown} - text-align: center; font-weight: normal; min-width: 150px; } diff --git a/src/app/ui/dropdown.js b/src/app/ui/dropdown.js index 72718bee12..e5282e10b3 100644 --- a/src/app/ui/dropdown.js +++ b/src/app/ui/dropdown.js @@ -9,7 +9,6 @@ var styles = styleGuide() var css = csjs` .dropdown { ${styles.dropdown} - color: : ${styles.colors.black}; overflow : visible; position : relative; display : flex; diff --git a/src/universal-dapp.js b/src/universal-dapp.js index b6f3c80a27..6b5f23554f 100644 --- a/src/universal-dapp.js +++ b/src/universal-dapp.js @@ -31,16 +31,14 @@ var css = csjs` align-items: center; } .title { - font-size: 11px; ${styles.dropdown} + font-size: 11px; width: 400px; display: flex; justify-content: space-between; - align-items: center; overflow: hidden; word-break: break-word; line-height: initial; - background-color: ${styles.colors.general_BackgroundColor}; } .titleText { margin-right: 1em;