2018-04-11 05:31:36 +02:00
|
|
|
@import "variables.scss";
|
2018-04-04 20:19:44 +02:00
|
|
|
|
|
|
|
.box {
|
2019-03-28 21:15:47 +01:00
|
|
|
position: relative;
|
2018-04-04 20:19:44 +02:00
|
|
|
width: 100%;
|
|
|
|
margin: 10px 0;
|
|
|
|
|
2018-04-04 22:29:43 +02:00
|
|
|
&.first {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2018-04-04 20:19:44 +02:00
|
|
|
.box-header {
|
|
|
|
margin: 0 10px 5px 10px;
|
|
|
|
text-transform: uppercase;
|
2018-04-05 23:27:31 +02:00
|
|
|
display: flex;
|
2018-05-31 21:45:03 +02:00
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('headingColor');
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
}
|
|
|
|
|
2021-02-23 22:37:55 +01:00
|
|
|
.box-header-expandable {
|
|
|
|
margin: 0 10px 5px 10px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('headingColor');
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &:focus, &.active {
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed('boxBackgroundHoverColor');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: 5px;
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('headingColor');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-04 20:19:44 +02:00
|
|
|
.box-content {
|
2018-05-31 21:45:03 +02:00
|
|
|
border-top: 1px solid #000000;
|
|
|
|
border-bottom: 1px solid #000000;
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed('boxBackgroundColor');
|
2018-06-01 23:00:43 +02:00
|
|
|
border-color: themed('borderColor');
|
2018-05-31 21:45:03 +02:00
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
|
|
|
&.box-content-padded {
|
|
|
|
padding: 10px 15px;
|
|
|
|
}
|
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.condensed .box-content-row, .box-content-row.condensed {
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
2018-05-31 21:45:03 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.no-hover .box-content-row, .box-content-row.no-hover {
|
|
|
|
&:hover, &:focus {
|
|
|
|
background-color: initial !important;
|
2018-04-04 20:19:44 +02:00
|
|
|
}
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.box-footer {
|
|
|
|
margin: 5px 10px;
|
|
|
|
font-size: $font-size-small;
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('mutedColor');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.list {
|
|
|
|
.box-content {
|
|
|
|
.box-content-row {
|
|
|
|
padding: 3px 10px;
|
|
|
|
text-decoration: none;
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2018-05-31 21:45:03 +02:00
|
|
|
@include themify($themes) {
|
2019-03-28 21:15:47 +01:00
|
|
|
color: themed('textColor');
|
2018-05-31 21:45:03 +02:00
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.padded {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&:hover, &:focus, &.active {
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed('listItemBackgroundHoverColor');
|
|
|
|
}
|
|
|
|
}
|
2019-02-12 04:16:28 +01:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&:focus {
|
|
|
|
border-left: 5px solid #000000;
|
|
|
|
padding-left: 5px;
|
2018-05-31 21:45:03 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
border-left-color: themed('mutedColor');
|
|
|
|
}
|
2018-05-31 21:45:03 +02:00
|
|
|
}
|
2018-11-15 21:40:56 +01:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.action-buttons {
|
|
|
|
.row-btn {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
2018-11-15 21:40:56 +01:00
|
|
|
}
|
2018-05-31 21:45:03 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.text:not(.no-ellipsis), .detail {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-05-31 21:45:03 +02:00
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.row-main {
|
|
|
|
display: flex;
|
|
|
|
min-width: 0;
|
2018-05-31 21:45:03 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.row-main-content {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
2018-05-31 21:45:03 +02:00
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
}
|
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.single-line {
|
|
|
|
.box-content-row {
|
|
|
|
display: flex;
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
}
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.only-list {
|
|
|
|
margin-bottom: 0;
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.box-content {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.full-list {
|
|
|
|
margin: 0;
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.box-content {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.stacked-boxes {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2021-05-05 05:57:50 +02:00
|
|
|
.box-section-divider {
|
|
|
|
border-top: 1px solid #000000;
|
|
|
|
padding-top: 10px;
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
border-color: themed('borderColor');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.box-content-row {
|
|
|
|
display: block;
|
|
|
|
padding: 10px 15px;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
height: 1px;
|
|
|
|
width: calc(100% - 10px);
|
|
|
|
border-bottom: 1px solid #000000;
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
border-bottom-color: themed('boxBorderColor');
|
|
|
|
}
|
|
|
|
}
|
2018-04-06 22:00:37 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&:last-child {
|
|
|
|
&:before {
|
|
|
|
border: none;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-04-06 22:00:37 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&:hover, &:focus, &.active {
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed('boxBackgroundHoverColor');
|
|
|
|
}
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.pre {
|
|
|
|
white-space: pre;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:29:20 +01:00
|
|
|
&.pre-wrap {
|
|
|
|
white-space: pre-wrap;
|
2019-03-28 21:15:47 +01:00
|
|
|
overflow-x: auto;
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.row-label, label {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 5px;
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('mutedColor');
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.sub-label {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
2018-08-20 18:33:47 +02:00
|
|
|
|
2021-02-23 22:37:55 +01:00
|
|
|
.flex-label {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('mutedColor');
|
|
|
|
}
|
|
|
|
|
|
|
|
> a {
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.text, .detail {
|
|
|
|
display: block;
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('textColor');
|
|
|
|
}
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.detail {
|
|
|
|
font-size: $font-size-small;
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('mutedColor');
|
|
|
|
}
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.img-right {
|
|
|
|
float: right;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.row-main {
|
|
|
|
flex-grow: 1;
|
2019-04-01 19:19:00 +02:00
|
|
|
min-width: 0;
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.box-content-row-flex, .box-content-row-flex, &.box-content-row-checkbox,
|
|
|
|
&.box-content-row-input, &.box-content-row-slider, &.box-content-row-multi {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
word-break: break-all;
|
2021-07-23 20:22:53 +02:00
|
|
|
|
|
|
|
&.box-content-row-word-break {
|
|
|
|
word-break: normal;
|
|
|
|
}
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.box-content-row-multi {
|
|
|
|
width: 100%;
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
input:not([type="checkbox"]) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
input + label.sr-only + select {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
> a {
|
|
|
|
padding: 8px 8px 8px 4px;
|
|
|
|
margin: 0;
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('dangerColor');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.box-content-row-multi, &.box-content-row-newmulti {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.box-content-row-checkbox, &.box-content-row-input, &.box-content-row-slider {
|
|
|
|
label, .row-label {
|
|
|
|
font-size: $font-size-base;
|
|
|
|
display: block;
|
|
|
|
width: initial;
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('textColor');
|
2018-04-04 20:19:44 +02:00
|
|
|
}
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
> span {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('mutedColor');
|
2018-04-04 20:19:44 +02:00
|
|
|
}
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
> input {
|
|
|
|
margin: 0 0 0 auto;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
> * {
|
|
|
|
margin-right: 15px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
2018-04-04 20:19:44 +02:00
|
|
|
}
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2020-11-13 17:51:49 +01:00
|
|
|
&.box-content-row-checkbox-left {
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
> input {
|
|
|
|
margin: 0 15px 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.box-content-row-input {
|
|
|
|
label {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
&[type="number"] {
|
|
|
|
max-width: 50px;
|
2018-04-04 20:19:44 +02:00
|
|
|
}
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|
|
|
|
}
|
2018-04-05 23:27:31 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.box-content-row-slider {
|
|
|
|
input[type="range"] {
|
|
|
|
height: 10px;
|
|
|
|
}
|
2018-05-31 21:45:03 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
input[type="number"] {
|
|
|
|
width: 45px;
|
|
|
|
}
|
2018-04-05 23:27:31 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
label {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-23 22:37:55 +01:00
|
|
|
input:not([type="checkbox"]):not([type="radio"]), textarea {
|
2019-03-28 21:15:47 +01:00
|
|
|
border: none;
|
|
|
|
width: 100%;
|
2019-07-22 17:15:17 +02:00
|
|
|
background-color: transparent !important;
|
2019-03-28 21:15:47 +01:00
|
|
|
|
|
|
|
&::-webkit-input-placeholder {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('inputPlaceholderColor');
|
2018-04-05 23:27:31 +02:00
|
|
|
}
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|
2018-04-06 14:50:52 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
2018-04-06 14:50:52 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
select {
|
|
|
|
width: 100%;
|
|
|
|
border: 1px solid #000000;
|
|
|
|
border-radius: $border-radius;
|
2018-04-06 14:50:52 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
border-color: themed('inputBorderColor');
|
|
|
|
}
|
|
|
|
}
|
2018-04-06 14:50:52 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.action-buttons {
|
|
|
|
display: flex;
|
|
|
|
margin-left: 5px;
|
2018-04-06 14:50:52 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.row-btn {
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 10px 8px;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
2018-05-31 21:45:03 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('boxRowButtonColor');
|
|
|
|
}
|
2018-04-06 14:50:52 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&:hover, &:focus {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('boxRowButtonHoverColor');
|
2018-04-06 14:50:52 +02:00
|
|
|
}
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|
2018-04-06 14:50:52 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.disabled {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('disabledIconColor');
|
2021-01-25 19:03:51 +01:00
|
|
|
opacity: themed('disabledBoxOpacity');
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|
2018-04-06 14:50:52 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&:hover {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('disabledIconColor');
|
2021-01-25 19:03:51 +01:00
|
|
|
opacity: themed('disabledBoxOpacity');
|
2018-04-06 14:50:52 +02:00
|
|
|
}
|
|
|
|
}
|
2021-02-08 18:32:02 +01:00
|
|
|
cursor: default !important;
|
2018-04-06 14:50:52 +02:00
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
}
|
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.no-pad .row-btn {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
2018-04-04 20:19:44 +02:00
|
|
|
}
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
|
2019-03-28 21:28:04 +01:00
|
|
|
&:not(.box-draggable-row) {
|
|
|
|
.action-buttons .row-btn:last-child {
|
|
|
|
padding-right: 2px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.box-draggable-row {
|
|
|
|
&.box-content-row-checkbox {
|
|
|
|
input[type="checkbox"] + .drag-handle {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.drag-handle {
|
|
|
|
cursor: move;
|
|
|
|
padding: 10px 2px 10px 8px;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('mutedColor');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.cdk-drag-preview {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed('boxBackgroundColor');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
select.field-type {
|
|
|
|
margin: 5px 0 0 25px;
|
|
|
|
width: calc(100% - 25px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-sub-icon, .row-sub-label + i.fa {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('disabledIconColor');
|
2018-04-04 20:19:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.row-sub-label {
|
|
|
|
margin: 0 15px;
|
|
|
|
white-space: nowrap;
|
2018-05-31 21:45:03 +02:00
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('mutedColor');
|
|
|
|
}
|
2018-04-04 20:19:44 +02:00
|
|
|
}
|
2018-04-05 21:35:56 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.icon {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
min-width: 34px;
|
|
|
|
height: 100%;
|
|
|
|
margin-left: -5px;
|
2018-04-05 21:35:56 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('mutedColor');
|
|
|
|
}
|
2018-05-31 21:45:03 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
img {
|
|
|
|
border-radius: $border-radius;
|
|
|
|
max-height: 20px;
|
|
|
|
max-width: 20px;
|
|
|
|
}
|
|
|
|
}
|
2018-04-10 06:04:49 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.totp {
|
|
|
|
.totp-code {
|
|
|
|
font-family: $font-family-monospace;
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
2018-04-05 21:35:56 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.totp-countdown {
|
|
|
|
margin: 3px 3px 0 0;
|
|
|
|
display: block;
|
|
|
|
user-select: none;
|
2018-05-31 21:45:03 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.totp-sec {
|
|
|
|
font-size: 0.85em;
|
|
|
|
position: absolute;
|
|
|
|
line-height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-04-05 21:35:56 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
svg {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.totp-circle {
|
|
|
|
fill: none;
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
stroke: themed('totpStrokeColor');
|
2018-04-05 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.inner {
|
|
|
|
stroke-width: 3;
|
|
|
|
stroke-dasharray: 78.6;
|
|
|
|
stroke-dashoffset: 0;
|
2018-04-05 21:35:56 +02:00
|
|
|
}
|
2018-04-10 04:25:03 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.outer {
|
|
|
|
stroke-width: 2;
|
|
|
|
stroke-dasharray: 88;
|
|
|
|
stroke-dashoffset: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-04-10 04:25:03 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
&.low {
|
|
|
|
.totp-sec, .totp-code {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('dangerColor');
|
2018-04-10 04:25:03 +02:00
|
|
|
}
|
2018-04-05 23:27:31 +02:00
|
|
|
}
|
2018-04-05 21:35:56 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.totp-circle {
|
|
|
|
@include themify($themes) {
|
|
|
|
stroke: themed('dangerColor');
|
2018-04-05 21:35:56 +02:00
|
|
|
}
|
2018-04-05 23:27:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-04-05 21:35:56 +02:00
|
|
|
|
2019-03-28 21:15:47 +01:00
|
|
|
.progress {
|
|
|
|
display: flex;
|
|
|
|
height: 5px;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 5px -15px -10px;
|
|
|
|
|
|
|
|
.progress-bar {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
background-color: $brand-primary;
|
2018-04-05 21:35:56 +02:00
|
|
|
}
|
|
|
|
}
|
2021-02-23 22:37:55 +01:00
|
|
|
|
|
|
|
.radio-group {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
input {
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
margin: 0 0 0 5px;
|
|
|
|
flex-grow: 1;
|
|
|
|
font-size: $font-size-base;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('textColor');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-28 21:15:47 +01:00
|
|
|
}
|