Disable TOTP buttons' color changed from red to blue

This commit is contained in:
daria 2023-07-10 11:42:28 +03:00
parent 5ab0bf6ffb
commit 085b848cee
3 changed files with 5 additions and 5 deletions

View File

@ -168,6 +168,7 @@
}
}
&.danger-alt, &.btn-danger-alt, &.btn-danger-outline {
border-color: @cp_buttons-red;
color: @cp_buttons-red-text;
@ -178,7 +179,7 @@
}
}
&.primary, &.btn-primary, &.btn-success {
&.primary, &.btn-primary, &.btn-success, &.disable-button{
background-color: @cp_buttons-primary;
color: @cp_buttons-primary-text;
border-color: @cp_buttons-primary-border;

View File

@ -27,7 +27,6 @@
#cp-sidebarlayout-container {
#cp-sidebarlayout-rightside {
input[type="checkbox"] {
vertical-align: middle;
margin-right: 5px;
@ -104,7 +103,7 @@
.cp-password-container {
button {
margin-top: 10px;
//margin-top: 10px;
margin-left: 0;
}
}

View File

@ -945,7 +945,7 @@ define([
]));
if (enabled) {
(function () {
var button = h('button.btn.btn-danger', Messages.mfa_revoke_button);
var button = h('button.btn', Messages.mfa_revoke_button);
button.classList.add('disable-button');
var $mfaRevokeBtn = $(button);
var pwInput;
@ -997,7 +997,7 @@ define([
}).nThen(function () {
$(pwContainer).remove();
var OTPEntry;
var disable = h('button.btn.btn-danger', Messages.mfa_disable);
var disable = h('button.btn.disable-button', Messages.mfa_disable);
$content.append(h('div.cp-password-container', [
h('label.cp-settings-mfa-hint', { for: 'cp-mfa-password' }, Messages.mfa_revoke_code),
OTPEntry = h('input', {