Debian Codegraph @

addons/auth_totp_portal/static/src/scss/auth_totp_portal.scss

raw
1 /* As we use the Enable TOTP backend wizard in frontend, we need to
2 import the needed css from backend to replicate backend copyclipboard
3 widget style. We cannot put this into the original view as all those
4 classes are generated in the backend widget. */
5 .o_auth_totp_enable_2FA {
6 .o_field_copy {
7 height: 24px;
8 position: relative;
9 width: 100% !important;
10 border-radius: 5px;
11 border: 1px solid $primary;
12 @include font-size($font-size-sm);
13 text-transform: uppercase;
14 color: $o-brand-primary;
15 font-weight: $badge-font-weight;
16 text-align: center;
17 padding-right: 6rem;
18 word-break: break-word;
19 .o_clipboard_button {
20 @include o-position-absolute($top: 0, $right: 0);
21 &.o_btn_text_copy {
22 position: absolute;
23 top: 0;
24 right: 0;
25 }
26 &.o_btn_char_copy {
27 height: 100%;
28 }
29 }
30 &.o_field_copy_url {
31 cursor: pointer;
32 padding-left: 3px;
33 }
34 }
35 }