demarches-normaliennes/app/assets/stylesheets/attachment.scss

37 lines
574 B
SCSS

@import "colors";
@import "constants";
.attachment-error,
.attachment-upload-error {
position: relative;
&::before {
box-shadow: inset 2px 0 0 0 var(--border-plain-error);
height: 100%;
content: "";
left: -0.75rem;
position: absolute;
width: 2px;
}
.attachment-filename {
color: var(--text-default-error);
}
}
.attachment-error {
.fr-error-text {
margin-top: 0.5rem;
}
}
.attachment-multiple:not(.fr-downloads-group) {
ul {
list-style-type: none;
padding-inline-start: 0;
}
li {
padding-bottom: 0;
}
}