From 5f76d304f607eadf2e8f606e345aa836031ceb32 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Sun, 12 Aug 2018 15:46:17 +0300 Subject: [PATCH] Use predefined colours --- client/src/styles/partials/bdsettings/e2ee.scss | 12 ++++++------ client/src/styles/partials/variables/colours.scss | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/src/styles/partials/bdsettings/e2ee.scss b/client/src/styles/partials/bdsettings/e2ee.scss index c1b44c96..0f8fcd9b 100644 --- a/client/src/styles/partials/bdsettings/e2ee.scss +++ b/client/src/styles/partials/bdsettings/e2ee.scss @@ -16,7 +16,7 @@ &.bd-e2eeLock { &.bd-error { - fill: #cc3e3e; + fill: $colerr; } &.bd-ok { @@ -24,7 +24,7 @@ } &.bd-warn { - fill: #ccab3e; + fill: $colwarn; animation: bd-pulse 2s ease-in-out infinite; } } @@ -45,13 +45,13 @@ position: relative; display: inline-block; top: 4px; - E2EE.encryptNewMessages + .bd-e2eeMdBtn { cursor: pointer; &.bd-e2eeLock { &.bd-error { - fill: #cc3e3e; + fill: $colerr; } &.bd-ok { @@ -59,7 +59,7 @@ } &.bd-warn { - fill: #ccab3e; + fill: $colwarn; } &.bd-loading { @@ -93,7 +93,7 @@ } .bd-warn svg { - fill: #ccab3e; + fill: $colwarn; } .bd-popover-wrapper, diff --git a/client/src/styles/partials/variables/colours.scss b/client/src/styles/partials/variables/colours.scss index d4bb26bc..fa44b523 100644 --- a/client/src/styles/partials/variables/colours.scss +++ b/client/src/styles/partials/variables/colours.scss @@ -3,5 +3,5 @@ $colbdgreen: #3ecc9c; $colbdblue: $colbdgreen; $colerr: #d84040; $colwarn: #faa61a; -$colok: #43b581; +$colok: $colbdgreen; $coldimwhite: #b9bbbe;