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

74 lines
1.3 KiB
SCSS
Raw Normal View History

2017-07-06 15:49:29 +02:00
@import "colors";
@import "constants";
2023-11-14 11:24:15 +01:00
[data-fr-theme="dark"] .card {
background: none;
border: 1px solid var(--background-action-low-blue-france);
}
2017-07-06 15:49:29 +02:00
.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 {
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;
2024-07-15 23:29:18 +02:00
padding-left: 0;
2022-03-22 15:00:26 +01:00
}
}
:not(.fr-downloads-group):not(.fr-pagination) > 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
}