demarches-normaliennes/app/assets/stylesheets/new_design/card.scss
Pierre de La Morinerie 7ba76c6658 dossier: add a notice when some attachments of the dossier were lost
On the 22/01/2020, a technical error on the demarches-simplifees.fr
instance made us delete some files attached to some dossiers.

This PR adds a warning when browsing a dossier containing attachments
that were deleted.
2020-02-12 11:49:33 +01:00

64 lines
1.1 KiB
SCSS

@import "colors";
@import "constants";
.card {
padding: ($default-spacer * 3) ($default-spacer * 2);
border: 1px solid $border-grey;
margin-bottom: $default-spacer * 2;
background: #FFFFFF;
.card-title {
font-weight: bold;
font-size: 20px;
margin-bottom: $default-spacer * 2;
}
&.featured {
border-top: 8px solid $blue;
.card-title {
color: $blue;
}
}
&.warning {
border-top: 8px solid $orange;
.card-title {
color: $orange;
}
}
&.feedback {
max-width: 600px;
margin: 30px auto;
padding: ($default-spacer * 2) ($default-spacer * 4);
font-size: small;
border: 1px dashed $border-grey;
background: $light-yellow;
.card-title {
margin-bottom: $default-spacer;
}
b {
font-weight: bold;
}
}
ul {
list-style-type: disc;
list-style-position: inside;
padding-left: $default-padding;
}
ol {
list-style-type: decimal;
list-style-position: inside;
padding-left: $default-padding;
}
p:not(:last-of-type) {
margin-bottom: $default-spacer;
}
}