2020-03-30 15:34:56 +02:00
|
|
|
@import "colors";
|
2019-10-22 10:58:04 +02:00
|
|
|
@import "constants";
|
2019-02-18 18:00:37 +01:00
|
|
|
|
2022-11-24 14:05:53 +01:00
|
|
|
.attachment-error,
|
|
|
|
.attachment-upload-error {
|
2022-11-09 12:33:20 +01:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
box-shadow: inset 2px 0 0 0 var(--border-plain-error);
|
2022-11-24 14:05:53 +01:00
|
|
|
height: 100%;
|
2022-11-09 12:33:20 +01:00
|
|
|
content: "";
|
|
|
|
left: -0.75rem;
|
|
|
|
position: absolute;
|
|
|
|
width: 2px;
|
2020-03-30 15:34:56 +02:00
|
|
|
}
|
|
|
|
|
2022-11-09 12:33:20 +01:00
|
|
|
.attachment-filename {
|
|
|
|
color: var(--text-default-error);
|
2020-03-30 15:34:56 +02:00
|
|
|
}
|
2022-11-24 14:05:53 +01:00
|
|
|
}
|
2020-03-30 15:34:56 +02:00
|
|
|
|
2022-11-24 14:05:53 +01:00
|
|
|
.attachment-error {
|
2022-11-09 12:33:20 +01:00
|
|
|
.fr-error-text {
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
2019-02-18 18:00:37 +01:00
|
|
|
}
|
2022-11-24 13:00:12 +01:00
|
|
|
|
2022-12-13 16:13:31 +01:00
|
|
|
.attachment-multiple:not(.fr-downloads-group),
|
|
|
|
.attachment-multiple.fr-downloads-group[data-controller=replace-attachment] {
|
2022-11-24 13:00:12 +01:00
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding-inline-start: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-12-06 11:38:24 +01:00
|
|
|
|
|
|
|
.attachment {
|
|
|
|
// Anti-virus badge for just uploaded attachment when seen as downloadable
|
|
|
|
.fr-download + .fr-badge {
|
|
|
|
position: relative;
|
|
|
|
top: -1rem;
|
|
|
|
}
|
2022-12-13 16:13:31 +01:00
|
|
|
|
|
|
|
.fr-btn {
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
2022-12-06 11:38:24 +01:00
|
|
|
}
|
2022-12-06 11:42:12 +01:00
|
|
|
|
|
|
|
.attachment-multiple.fr-downloads-group.destroyable {
|
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding-inline-start: 0;
|
|
|
|
}
|
|
|
|
}
|