All files / app/web-ui/css request-mfa-css.ts

100% Statements 78/78
100% Branches 0/0
100% Functions 0/0
100% Lines 78/78

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 781x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
export const requestMfaCSS = `
button.expanded {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transform: none;
}
 
button.expanded:hover {
    transform: none;
}
 
.phone-options {
    max-height: 0;
    width: 80%;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8f9fa;
    border: 2px solid rgb(66, 129, 255);
    border-top: none;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    margin-top: -2px;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
 
.phone-options.show {
    max-height: 200px;
    opacity: 1;
    width: 80%;
}
 
.phone-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
 
.phone-option:last-child {
    border-bottom: none;
}
 
.phone-option:hover {
    background-color: #e3f2fd;
}
 
.phone-option.default {
    background-color: #f0f7ff;
}
 
.phone-display {
    color: #333;
    font-size: 0.95rem;
}
`
 
export const requestMfaCSSDark = `
.phone-options {
    background-color: #3a3a3a;
    border-color: rgb(66, 129, 255);
}
 
.phone-option {
    border-bottom-color: #555;
}
 
.phone-option:hover {
    background-color: #1e3a5f;
}
 
.phone-display {
    color: #e0e0e0;
}
`