2019-04-16 17:52:31 +02:00
|
|
|
/*
|
2024-09-09 15:57:16 +02:00
|
|
|
Copyright 2019-2024 New Vector Ltd.
|
2019-04-16 17:52:31 +02:00
|
|
|
|
2024-09-09 15:57:16 +02:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2019-04-16 17:52:31 +02:00
|
|
|
*/
|
|
|
|
|
2019-04-24 10:42:52 +02:00
|
|
|
.mx_Validation {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2019-04-16 17:52:31 +02:00
|
|
|
.mx_Validation_details {
|
2019-04-16 19:49:03 +02:00
|
|
|
padding-left: 20px;
|
|
|
|
margin: 0;
|
2019-04-16 17:52:31 +02:00
|
|
|
}
|
|
|
|
|
2019-04-18 22:22:37 +02:00
|
|
|
.mx_Validation_description + .mx_Validation_details {
|
|
|
|
margin: 1em 0 0;
|
|
|
|
}
|
|
|
|
|
2019-04-16 17:52:31 +02:00
|
|
|
.mx_Validation_detail {
|
2019-04-16 19:49:03 +02:00
|
|
|
position: relative;
|
2019-04-16 17:52:31 +02:00
|
|
|
font-weight: normal;
|
2019-04-16 19:49:03 +02:00
|
|
|
list-style: none;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
|
2019-04-18 22:22:37 +02:00
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2019-04-16 19:49:03 +02:00
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
top: 0;
|
|
|
|
left: -18px;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
}
|
2019-04-16 17:52:31 +02:00
|
|
|
|
|
|
|
&.mx_Validation_valid {
|
2021-11-11 14:37:29 +01:00
|
|
|
color: $accent;
|
2019-04-16 19:49:03 +02:00
|
|
|
|
|
|
|
&::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/feather-customised/check.svg");
|
2021-11-11 14:37:29 +01:00
|
|
|
background-color: $accent;
|
2019-04-16 19:49:03 +02:00
|
|
|
}
|
2019-04-16 17:52:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_Validation_invalid {
|
2021-11-11 14:37:29 +01:00
|
|
|
color: $alert;
|
2019-04-16 19:49:03 +02:00
|
|
|
|
|
|
|
&::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/feather-customised/x.svg");
|
2021-11-11 14:37:29 +01:00
|
|
|
background-color: $alert;
|
2019-04-16 19:49:03 +02:00
|
|
|
}
|
2019-04-16 17:52:31 +02:00
|
|
|
}
|
|
|
|
}
|