-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1452 from appknox/PD-1428-account-settings-mfa-re…
…factor-remove-global-styles-css Account Settings MFA Global CSS Migration
- Loading branch information
Showing
4 changed files
with
191 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 25 additions & 17 deletions
42
app/components/account-settings/security/multi-factor-auth/index.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,34 @@ | ||
.mfa__method { | ||
border: 1px solid darken(#f3f5f8, 5%); | ||
background: #f3f5f8; | ||
padding: 0.7em 1em 1em; | ||
.mfa-records-container { | ||
border: 1px solid var(--account-settings-security-mfa-border-color); | ||
|
||
h3 { | ||
margin-bottom: 0; | ||
.mfa-enabled { | ||
background-color: var( | ||
--account-settings-security-mfa-alert-success-background | ||
); | ||
} | ||
} | ||
|
||
.alert-warn { | ||
border: 1px solid var(--account-settings-security-mfa-alert-warn-border-color); | ||
background-color: var(--account-settings-security-mfa-alert-warn-background); | ||
color: var(--account-settings-security-mfa-alert-warn-text-color); | ||
|
||
label { | ||
cursor: default; | ||
.alert-warn-link { | ||
color: var( | ||
--account-settings-security-mfa-alert-warn-text-color | ||
) !important; | ||
} | ||
} | ||
|
||
.mfa__method__enabled { | ||
background: #80c081; | ||
color: white; | ||
border-radius: 0.2em; | ||
padding: 0.3em 0.8em; | ||
.alert-success { | ||
border: 1px solid | ||
var(--account-settings-security-mfa-alert-success-border-color); | ||
background-color: var( | ||
--account-settings-security-mfa-alert-success-background | ||
); | ||
color: var(--account-settings-security-mfa-alert-success-text-color); | ||
} | ||
|
||
.ak-btn-loader { | ||
:global(.ak-loader-circle-indicator) { | ||
stroke: var(--mfa-loader-primary-contrast-text) !important; | ||
} | ||
.info-box { | ||
background-color: var(--account-settings-security-mfa-info-box-bg); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.