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