aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorLibravatar Bennett <hello@vantezzen.io>2020-03-03 17:53:09 +0100
committerLibravatar GitHub <noreply@github.com>2020-03-03 17:53:09 +0100
commite043795a040b8666a6ad253bb6cd37a5d647bbd5 (patch)
treed14e1237d49687742901d515c95d7d2c5fbe069f /src/styles
parentAdd Crowdin contributors to list of contributors (#429) (diff)
downloadferdium-app-e043795a040b8666a6ad253bb6cd37a5d647bbd5.tar.gz
ferdium-app-e043795a040b8666a6ad253bb6cd37a5d647bbd5.tar.zst
ferdium-app-e043795a040b8666a6ad253bb6cd37a5d647bbd5.zip
Add support for unlocking with Touch ID (#423)
* Enhance installation guide in README * Add TouchID unlock for Ferdi Lock * Remove commit 8861014 as it is not related to this feature This reverts commit 88610144b942739772286ec3073b328e829a8b39. * Rename TouchID to "Touch ID" * Improve Touch ID prompt text * Improve unlocking with Touch ID * Fix lint * Add separator after lock-related menu entry Co-authored-by: Amine <amine@mouafik.fr>
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/auth.scss31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/styles/auth.scss b/src/styles/auth.scss
index 44c752677..b40ed971d 100644
--- a/src/styles/auth.scss
+++ b/src/styles/auth.scss
@@ -24,6 +24,15 @@
24 24
25 a { color: $dark-theme-gray-lightest; } 25 a { color: $dark-theme-gray-lightest; }
26 } 26 }
27
28 .locked__or_line {
29 border-top: 2px solid $dark-theme-text-color;
30 color: $dark-theme-text-color;
31
32 &:after {
33 background: $dark-theme-gray-darker;
34 }
35 }
27} 36}
28 37
29.auth { 38.auth {
@@ -76,6 +85,28 @@
76 &.auth__button--skip { margin: 10px auto 0; } 85 &.auth__button--skip { margin: 10px auto 0; }
77 } 86 }
78 87
88 .touchid__button {
89 margin-bottom: 25px;
90 }
91
92 .locked__or_line {
93 border: none;
94 border-top: 2px solid $theme-gray;
95 color: $theme-gray;
96 overflow: visible;
97 text-align: center;
98 height: 5px;
99 margin-bottom: 20px;
100
101 &:after {
102 background: #FFF;
103 content: 'or';
104 padding: 0 10px;
105 position: relative;
106 top: -9px;
107 }
108 }
109
79 .auth__links { 110 .auth__links {
80 background: $theme-gray-lighter; 111 background: $theme-gray-lighter;
81 border-bottom-left-radius: $theme-border-radius; 112 border-bottom-left-radius: $theme-border-radius;