From 341c5e4ed84e11cfa68b5235453ae44283e2b244 Mon Sep 17 00:00:00 2001 From: Mikunj Date: Mon, 3 Dec 2018 13:31:43 +1100 Subject: [PATCH 1/8] Updated nickname display modal. --- stylesheets/_conversation.scss | 24 ++++++++++++------- stylesheets/_modules.scss | 1 + stylesheets/_variables.scss | 1 + .../conversation/ConversationHeader.tsx | 2 +- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/stylesheets/_conversation.scss b/stylesheets/_conversation.scss index 8c9c8f669..85d374b97 100644 --- a/stylesheets/_conversation.scss +++ b/stylesheets/_conversation.scss @@ -368,19 +368,20 @@ box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3); .buttons { - margin-top: 10px; button { float: right; margin-left: 10px; - background-color: $grey_l; - border-radius: $border-radius; - padding: 5px 8px; - border: 1px solid $grey_l2; + background-color: $color-loki-green; + border-radius: 100px; + padding: 5px 15px; + border: 1px solid $color-loki-green; + color: white; + outline: none; &:hover { - background-color: $grey_l2; - border-color: $grey_l3; + background-color: $color-loki-green-dark; + border-color: $color-loki-green-dark; } } } @@ -388,10 +389,16 @@ input { width: 100%; padding: 8px; - margin-bottom: 4px; + margin-bottom: 15px; + border: 0; + outline: none; + border-radius: 100px; + background-color: $color-loki-light-gray; } h4 { + margin-top: 8px; + margin-bottom: 16px; white-space: -moz-pre-wrap; /* Mozilla */ white-space: -hp-pre-wrap; /* HP printers */ white-space: -o-pre-wrap; /* Opera 7 */ @@ -406,6 +413,7 @@ font-style: italic; color: $grey; font-size: 12px; + margin-bottom: 16px; } } } diff --git a/stylesheets/_modules.scss b/stylesheets/_modules.scss index 2e534ab57..75cab2bed 100644 --- a/stylesheets/_modules.scss +++ b/stylesheets/_modules.scss @@ -6,6 +6,7 @@ flex-direction: column; align-items: flex-start; margin-right: 8px; + overflow-x: hidden; } .module-contact-name span { diff --git a/stylesheets/_variables.scss b/stylesheets/_variables.scss index 98236c7d8..3d0ba7ba7 100644 --- a/stylesheets/_variables.scss +++ b/stylesheets/_variables.scss @@ -30,6 +30,7 @@ $color-loki-light-gray: #e9e9e9; $color-loki-dark-gray: #323232; $color-loki-extra-dark-gray: #101010; $color-loki-green: #3bd110; +$color-loki-green-dark: #32b10e; // New colors diff --git a/ts/components/conversation/ConversationHeader.tsx b/ts/components/conversation/ConversationHeader.tsx index 490fd541e..5dfd089ee 100644 --- a/ts/components/conversation/ConversationHeader.tsx +++ b/ts/components/conversation/ConversationHeader.tsx @@ -107,7 +107,7 @@ export class ConversationHeader extends React.Component { profileName={profileName} i18n={i18n} /> - {isKeysPending ? ' (pending)' : null} + {isKeysPending ? '(pending)' : null} ); } From d686783124b139f8bf6b94e594ed73976189839c Mon Sep 17 00:00:00 2001 From: Mikunj Date: Mon, 3 Dec 2018 16:18:39 +1100 Subject: [PATCH 2/8] Fix minor icon clipping. Disable text highlighting on header. --- stylesheets/_modules.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stylesheets/_modules.scss b/stylesheets/_modules.scss index 75cab2bed..02636da2c 100644 --- a/stylesheets/_modules.scss +++ b/stylesheets/_modules.scss @@ -14,6 +14,7 @@ overflow-x: hidden; width: 100%; text-align: left; + user-select: none; } .module-contact-name__profile-number { @@ -1980,9 +1981,9 @@ .module-conversation-list-item__message__status-icon { flex-shrink: 0; - margin-top: 2px; + margin-top: 1px; width: 12px; - height: 12px; + height: 13px; display: inline-block; margin-left: 6px; } @@ -2199,7 +2200,7 @@ div { padding: 12px; background-color: $color-dark-90; - + user-select: none; cursor: pointer; &:hover { From 89a19fd09b099f4140830c210de17169478d5142 Mon Sep 17 00:00:00 2001 From: Mikunj Date: Tue, 4 Dec 2018 11:25:57 +1100 Subject: [PATCH 3/8] Added accordian style to registration view --- background.html | 28 +++++++-------- js/views/standalone_registration_view.js | 16 +++++++++ stylesheets/_global.scss | 44 +++++++++++++++++++----- 3 files changed, 66 insertions(+), 22 deletions(-) diff --git a/background.html b/background.html index d011f79f9..9c9331478 100644 --- a/background.html +++ b/background.html @@ -598,27 +598,27 @@