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

68 lines
1.2 KiB
SCSS
Raw Normal View History

2017-07-06 15:49:29 +02:00
@import "colors";
@import "constants";
.card {
padding: ($default-spacer * 3) ($default-spacer * 2);
border: 1px solid $border-grey;
2023-07-06 17:36:28 +02:00
margin-bottom: $default-spacer * 4;
background: #FFFFFF;
2018-06-26 17:00:01 +02:00
.card-title {
color: $black;
2018-06-26 17:00:01 +02:00
font-weight: bold;
font-size: 20px;
line-height: 1.5rem;
2018-06-26 17:00:01 +02:00
margin-bottom: $default-spacer * 2;
a:not(:hover) {
background-image: none; // remove DSFR underline
}
2018-06-26 17:00:01 +02:00
}
2023-06-27 14:33:49 +02:00
.logo {
width: auto;
max-width: 50px;
height: 100%;
2023-06-27 14:33:49 +02:00
margin-right: $default-spacer * 2;
}
2018-06-26 17:00:01 +02:00
&.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;
}
2017-07-06 15:49:29 +02:00
}
2019-02-21 16:23:03 +01:00
2022-03-22 15:00:26 +01:00
&.no-list {
ul {
list-style: none !important;
}
}
:not(.fr-downloads-group) > 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;
}
2019-02-21 16:23:03 +01:00
p:not(:last-of-type) {
margin-bottom: $default-spacer;
}
2017-07-06 15:49:29 +02:00
}