scinote-web/app/assets/stylesheets/settings/users.scss
G-Chubinidze 06eeb3b27f
FE manage devices (table view) + revoking the device [SCI-7633] (#4920)
* FE manage devices (table view) + revoking the device [SCI-7633]

* revocation code optimisation

* hound fixes

---------

Co-authored-by: Giga Chubinidze <gchubinidze@unisens.ge>
2023-03-17 13:44:41 +01:00

150 lines
2.1 KiB
SCSS

@import "constants";
@import "mixins";
.user-settings {
.settings-row {
margin-top: 2em;
.user-attribute {
align-items: center;
display: flex;
.btn {
margin-left: auto;
}
}
}
.user-settings-block {
display: block;
margin-bottom: 20px;
}
.two-factor-container {
column-gap: 1em;
display: grid;
grid-template-columns: auto fit-content;
margin: 1em 0;
row-gap: .5em;
.title {
@include font-main;
flex-basis: 100%;
grid-column: 1 / span 2;
.enabled {
@include font-button;
color: $brand-success;
position: relative;
left: 10px;
.fa-check-circle {
position: relative;
right: 2px;
}
}
}
.btn {
align-self: end;
}
}
.two-factor-auth-button {
padding-top: 20px;
padding-bottom: 30px;
}
}
.two-factor-modal {
.two-factor-apps {
align-items: center;
display: flex;
margin: 2em 0;
.app {
align-items: center;
display: flex;
margin: 2em 0;
.app-information {
margin-left: 1.5em;
.app-name {
@include font-h3;
}
}
.store {
margin-right: 1em;
}
}
.apps-list {
flex-shrink: 0;
z-index: 2;
}
.install-mobile {
margin-left: -150px;
}
}
.modal-footer {
text-align: center;
}
.tab-footer {
text-align: center;
}
.qr-code {
display: flex;
justify-content: center;
padding: 4em;
}
.verified-label {
color: $brand-success;
margin-top: 0;
}
.recovery-codes {
@include font-h3;
line-height: 2em;
text-align: center;
}
}
.device-revocation-modal {
.modal-dialog {
height: 216px;
width: 370px;
}
}
.manage-devices {
position: relative;
top: 30px;
}
@media (max-width: 700px) {
.user-settings {
.two-factor-container {
grid-template-columns: auto;
.title {
grid-column: 1;
}
}
}
.two-factor-modal {
.install-mobile {
display: none;
}
}
}