2018-04-13 19:19:26 +02:00
|
|
|
@import "variables.scss";
|
2018-01-27 19:12:06 +01:00
|
|
|
|
2018-02-11 05:24:22 +01:00
|
|
|
small {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
}
|
|
|
|
|
2018-11-15 21:13:47 +01:00
|
|
|
.bg-primary {
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed('primaryColor') !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-success {
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed('successColor') !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-danger {
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed('dangerColor') !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-info {
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed('infoColor') !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-warning {
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed('warningColor') !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-29 22:13:37 +01:00
|
|
|
.text-primary {
|
2018-05-30 21:21:41 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('primaryColor') !important;
|
|
|
|
}
|
2018-01-29 22:13:37 +01:00
|
|
|
}
|
|
|
|
|
2018-02-16 21:03:29 +01:00
|
|
|
.text-success {
|
2018-05-30 21:21:41 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('successColor') !important;
|
|
|
|
}
|
2018-02-16 21:03:29 +01:00
|
|
|
}
|
|
|
|
|
2018-11-15 21:27:27 +01:00
|
|
|
.text-danger {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('dangerColor') !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-15 21:43:17 +01:00
|
|
|
.text-warning {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('warningColor') !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-29 22:13:37 +01:00
|
|
|
.text-muted {
|
2018-05-30 21:21:41 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('mutedColor') !important;
|
|
|
|
}
|
2018-01-29 22:13:37 +01:00
|
|
|
}
|
|
|
|
|
2018-02-01 03:40:02 +01:00
|
|
|
.text-default {
|
2018-05-30 21:21:41 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('textColor') !important;
|
|
|
|
}
|
2018-02-01 03:40:02 +01:00
|
|
|
}
|
|
|
|
|
2018-01-31 23:58:06 +01:00
|
|
|
.text-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-02-16 21:03:29 +01:00
|
|
|
.no-margin {
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
|
2018-07-31 04:22:17 +02:00
|
|
|
.font-weight-semibold {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2018-02-16 21:03:29 +01:00
|
|
|
p.lead {
|
|
|
|
font-size: $font-size-large;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2018-01-27 19:12:06 +01:00
|
|
|
.monospaced {
|
|
|
|
font-family: $font-family-monospace;
|
|
|
|
}
|
|
|
|
|
2018-12-21 05:01:21 +01:00
|
|
|
.show-whitespace {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2018-01-27 19:12:06 +01:00
|
|
|
.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 {
|
|
|
|
fill: none;
|
|
|
|
|
2018-05-30 21:21:41 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
stroke: themed('totpStrokeColor');
|
|
|
|
}
|
|
|
|
|
2018-01-27 19:12:06 +01:00
|
|
|
&.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 {
|
2018-05-30 21:21:41 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('dangerColor');
|
|
|
|
}
|
2018-01-27 19:12:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.totp-circle {
|
2018-05-30 21:21:41 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
stroke: themed('dangerColor');
|
|
|
|
}
|
2018-01-27 19:12:06 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-01-29 22:13:37 +01:00
|
|
|
|
|
|
|
.password-block {
|
|
|
|
font-size: $font-size-large;
|
|
|
|
font-family: $font-family-monospace;
|
2018-12-08 19:48:30 +01:00
|
|
|
min-height: 50px;
|
2018-01-30 19:32:58 +01:00
|
|
|
display: flex;
|
2018-12-08 19:48:30 +01:00
|
|
|
flex-wrap: wrap;
|
2018-01-30 19:32:58 +01:00
|
|
|
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-12-08 19:48:30 +01:00
|
|
|
.password-wrapper {
|
2019-04-01 19:40:49 +02:00
|
|
|
word-break: break-all;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
min-width: 0;
|
2018-12-08 19:48:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.password-number {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('passwordNumberColor');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.password-special {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('passwordSpecialColor');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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 {
|
2018-05-30 21:21:41 +02:00
|
|
|
border: 1px solid #000000;
|
2018-02-11 05:24:22 +01:00
|
|
|
border-radius: $border-radius;
|
|
|
|
display: block;
|
2018-05-30 21:21:41 +02:00
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
border-color: themed('inputBorderColor');
|
|
|
|
}
|
2018-02-11 05:24:22 +01:00
|
|
|
}
|
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;
|
|
|
|
display: block;
|
2018-05-30 21:21:41 +02:00
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('mutedColor');
|
|
|
|
}
|
2018-02-02 18:01:55 +01:00
|
|
|
}
|
|
|
|
}
|
2018-02-14 04:45:31 +01:00
|
|
|
|
|
|
|
app-root > #loading {
|
|
|
|
display: flex;
|
|
|
|
text-align: center;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2018-05-31 04:28:04 +02:00
|
|
|
color: $text-muted;
|
2018-05-30 21:21:41 +02:00
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('mutedColor');
|
|
|
|
}
|
2018-02-14 04:45:31 +01:00
|
|
|
}
|
2018-05-31 04:28:04 +02:00
|
|
|
|
|
|
|
.logo-image {
|
|
|
|
@include themify($themes) {
|
|
|
|
content: url('../images/logo-' + themed('logoSuffix') + '@2x.png');
|
|
|
|
}
|
|
|
|
}
|
2018-12-08 19:48:30 +01:00
|
|
|
|
|
|
|
[hidden] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2019-10-25 01:55:21 +02:00
|
|
|
|
|
|
|
.draggable {
|
|
|
|
cursor: move;
|
|
|
|
}
|