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

53 lines
910 B
SCSS

@import "colors";
@import "constants";
.attachment-actions {
display: flex;
margin-bottom: $default-spacer;
}
.attachment-action {
margin-right: $default-spacer;
.button {
text-transform: lowercase;
background-image: none; // remove DSFR underline, TODO: switch to DSFR download links https://github.com/betagouv/demarches-simplifiees.fr/issues/7883
}
}
.attachment-error {
display: flex;
width: max-content;
max-width: 100%;
align-items: center;
margin-bottom: $default-padding;
padding: $default-padding;
background: $background-red;
&.hidden {
display: none;
}
}
.attachment-error-message {
display: inline-block;
margin-right: $default-padding;
color: $medium-red;
}
.attachment-error-title {
font-weight: bold;
}
.attachment-error-retry {
white-space: nowrap;
&.hidden {
display: none;
}
}
.attachment-input.hidden {
display: none;
}