Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Commit 95953e1

Browse files
author
Shane Tomlinson
authored
Merge pull request #7109 from mozilla/recovery-code-style r=@vbudhram
style(TOTP): add border to the recovery codes in TOTP
2 parents b8ab8a2 + 201aef0 commit 95953e1

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

app/styles/_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ $close-button-color: $color-grey-spinner;
203203
$close-button-zindex: $fox-logo-zindex + 1;
204204

205205
$recovery-code-color: #666;
206+
$recovery-code-background-color: #fbfbfb;
207+
$recovery-code-border-color: #e6e6e6;
206208

207209
$image-url-path: '/images/' !default;
208210

app/styles/modules/_settings-totp.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,16 @@
8686
margin-bottom: 20px;
8787

8888
.recovery-code {
89+
background-color: $recovery-code-background-color;
90+
border-color: $recovery-code-border-color;
91+
border-style: dotted;
92+
border-width: 2px;
8993
color: $recovery-code-color;
9094
display: inline-block;
9195
font-family: monospace;
92-
font-size: 2em;
93-
@include respond-to('small') {
94-
font-size: 1.5em;
95-
}
96+
font-size: 1.2em;
97+
margin-bottom: 6px;
98+
padding: 8px;
9699
text-transform: uppercase;
97100
width: 49%;
98101
}

0 commit comments

Comments
 (0)