From ff0d361c3fcf23f5d264248e25187bea9fd50da2 Mon Sep 17 00:00:00 2001 From: Phillip Lorenzo Date: Fri, 27 Jan 2017 16:17:44 -0800 Subject: [PATCH 1/3] Added a title to the vote page. Initial title: Voting and Influence. Any suggestions are welcome. --- components/vote/app-style.scss | 13 ++++++++++--- components/vote/app.jsx | 29 ++++++++++++++++------------- 2 files changed, 26 insertions(+), 16 deletions(-) diff --git a/components/vote/app-style.scss b/components/vote/app-style.scss index e0ede8ebfef3..d511cfd9c3c4 100644 --- a/components/vote/app-style.scss +++ b/components/vote/app-style.scss @@ -14,6 +14,13 @@ } } + &__title { + font-size: 30pt; + font-weight: bold; + margin-bottom: 10px; + margin-left: 5px; + } + &__influence { flex: 0 0 75%; } @@ -39,7 +46,7 @@ border-left: 2px solid getColor(elephant); } } - + &__influence-section { flex: 0 0 50%; } @@ -97,7 +104,7 @@ height: 25px; vertical-align: middle; margin-right: 10px; - } + } } &__self-info { @@ -109,7 +116,7 @@ } &__update-button { - + } h1 { diff --git a/components/vote/app.jsx b/components/vote/app.jsx index 49a760776e99..89dd8002e072 100644 --- a/components/vote/app.jsx +++ b/components/vote/app.jsx @@ -177,22 +177,25 @@ export default class VoteApp extends React.Component { listInfo && console.log(listInfo); return (
-
-
-
-
- - +
+ Voting and Influence +
+
+
+
+
+ + +
+
+ DISCLAIMER: Since this feature is its Alpha stages, the formula for calculating influence may change. +
-
- DISCLAIMER: Since this feature is its Alpha stages, the formula for calculating influence may change. +
+ {this.renderSelf(inProgress)}
-
- {this.renderSelf(inProgress)} -
-
{ listInfo &&

{listInfo.displayName}

{listInfo.description}
@@ -270,7 +273,7 @@ export default class VoteApp extends React.Component { return
Loading user info...
; } return
; } else { return
From 7a8f10a5aebfa7e4f665738d0cd37b0824b899ef Mon Sep 17 00:00:00 2001 From: pllearns Date: Fri, 27 Jan 2017 16:22:26 -0800 Subject: [PATCH 2/3] Minor change to font-weight of Title --- components/vote/app-style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vote/app-style.scss b/components/vote/app-style.scss index d511cfd9c3c4..62c7cf536303 100644 --- a/components/vote/app-style.scss +++ b/components/vote/app-style.scss @@ -16,7 +16,7 @@ &__title { font-size: 30pt; - font-weight: bold; + font-weight: 800; margin-bottom: 10px; margin-left: 5px; } From 15747034e8b6dfa5eb1c48ae8a040ebcd8343f18 Mon Sep 17 00:00:00 2001 From: pllearns Date: Sun, 29 Jan 2017 13:10:40 -0800 Subject: [PATCH 3/3] Added Vote title to app.jsx file. The config does not seem to affect the HTML display of the title. --- components/vote/app.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vote/app.jsx b/components/vote/app.jsx index 89dd8002e072..15751f078073 100644 --- a/components/vote/app.jsx +++ b/components/vote/app.jsx @@ -178,7 +178,7 @@ export default class VoteApp extends React.Component { return (
- Voting and Influence + Vote