2018-01-27 19:12:06 +01:00
|
|
|
|
@import "variables.scss";
|
|
|
|
|
|
2018-02-11 05:24:22 +01:00
|
|
|
|
small {
|
|
|
|
|
font-size: $font-size-small;
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-29 22:13:37 +01:00
|
|
|
|
.text-primary {
|
|
|
|
|
color: $brand-primary !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-muted {
|
|
|
|
|
color: $text-muted !important;
|
|
|
|
|
}
|
|
|
|
|
|
2018-02-01 03:40:02 +01:00
|
|
|
|
.text-default {
|
|
|
|
|
color: $text-color !important;
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-31 23:58:06 +01:00
|
|
|
|
.text-center {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-31 05:34:45 +01:00
|
|
|
|
[hidden] {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-27 19:12:06 +01:00
|
|
|
|
.monospaced {
|
|
|
|
|
font-family: $font-family-monospace;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sr-only {
|
|
|
|
|
position: absolute !important;
|
|
|
|
|
width: 1px !important;
|
|
|
|
|
height: 1px !important;
|
|
|
|
|
padding: 0 !important;
|
|
|
|
|
margin: -1px !important;
|
|
|
|
|
overflow: hidden !important;
|
|
|
|
|
clip: rect(0, 0, 0, 0) !important;
|
|
|
|
|
border: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.totp {
|
|
|
|
|
.totp-code {
|
|
|
|
|
font-family: $font-family-monospace;
|
|
|
|
|
font-size: 1.1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.totp-countdown {
|
|
|
|
|
margin: 3px 3px 0 0;
|
|
|
|
|
display: block;
|
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
|
|
.totp-sec {
|
|
|
|
|
font-size: 0.85em;
|
|
|
|
|
position: absolute;
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
width: 32px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
svg {
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.totp-circle {
|
|
|
|
|
stroke: $brand-primary;
|
|
|
|
|
fill: none;
|
|
|
|
|
|
|
|
|
|
&.inner {
|
|
|
|
|
stroke-width: 3;
|
|
|
|
|
stroke-dasharray: 78.6;
|
|
|
|
|
stroke-dashoffset: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.outer {
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
stroke-dasharray: 88;
|
|
|
|
|
stroke-dashoffset: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.low {
|
|
|
|
|
.totp-sec, .totp-code {
|
|
|
|
|
color: $brand-danger;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.totp-circle {
|
|
|
|
|
stroke: $brand-danger;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-01-29 22:13:37 +01:00
|
|
|
|
|
|
|
|
|
.password-block {
|
|
|
|
|
font-size: $font-size-large;
|
|
|
|
|
word-break: break-all;
|
|
|
|
|
font-family: $font-family-monospace;
|
2018-01-30 19:32:58 +01:00
|
|
|
|
min-height: 60px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2018-01-29 22:13:37 +01:00
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
|
|
.modal-body & {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-01-31 23:58:06 +01:00
|
|
|
|
|
2018-02-02 04:59:04 +01:00
|
|
|
|
#duo-frame {
|
|
|
|
|
background: url('../images/loading.svg') 0 0 no-repeat;
|
2018-02-02 18:01:55 +01:00
|
|
|
|
height: 330px;
|
|
|
|
|
margin: 0 -150px 15px -150px;
|
2018-02-02 04:59:04 +01:00
|
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-02-02 18:01:55 +01:00
|
|
|
|
|
2018-02-11 05:24:22 +01:00
|
|
|
|
form, .form {
|
|
|
|
|
.form-group {
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
label {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-bottom: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input, select, textarea {
|
|
|
|
|
border: 1px solid darken($border-color-dark, 7%);
|
|
|
|
|
border-radius: $border-radius;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
2018-02-02 18:01:55 +01:00
|
|
|
|
}
|
|
|
|
|
|
2018-02-11 05:24:22 +01:00
|
|
|
|
.checkbox {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: block;
|
|
|
|
|
padding-left: 18px;
|
|
|
|
|
|
|
|
|
|
label {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input[type="checkbox"] {
|
|
|
|
|
position: absolute;
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
margin-left: -18px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.help-block {
|
|
|
|
|
margin-top: 3px;
|
|
|
|
|
color: $text-muted;
|
|
|
|
|
display: block;
|
2018-02-02 18:01:55 +01:00
|
|
|
|
}
|
|
|
|
|
}
|