2021-09-20 15:04:24 +02:00
|
|
|
@import "colors";
|
2022-02-01 17:17:59 +01:00
|
|
|
@import "constants";
|
|
|
|
|
2017-04-03 14:19:22 +02:00
|
|
|
$dark-grey: #333333;
|
2017-04-03 17:04:31 +02:00
|
|
|
$light-grey: #999999;
|
2017-04-03 14:19:22 +02:00
|
|
|
|
|
|
|
$default-space: 15px;
|
|
|
|
|
|
|
|
$new-h1-margin-bottom: 4 * $default-space;
|
2017-05-09 17:09:35 +02:00
|
|
|
$new-h2-margin-bottom: 3 * $default-space;
|
2017-04-11 17:06:30 +02:00
|
|
|
|
2017-05-09 17:09:35 +02:00
|
|
|
.new-h1,
|
|
|
|
.new-h2 {
|
2017-04-03 14:19:22 +02:00
|
|
|
color: $dark-grey;
|
|
|
|
text-align: center;
|
2017-05-22 16:56:09 +02:00
|
|
|
font-weight: bold;
|
2017-05-09 17:09:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.new-h1 {
|
2023-03-15 13:15:37 +01:00
|
|
|
margin-bottom: 3.75rem;
|
|
|
|
font-size: 2.5rem;
|
2017-04-03 14:19:22 +02:00
|
|
|
}
|
|
|
|
|
2017-05-09 17:09:35 +02:00
|
|
|
.new-h2 {
|
|
|
|
margin-bottom: $new-h2-margin-bottom;
|
|
|
|
font-size: 36px;
|
|
|
|
}
|
|
|
|
|
2017-04-03 14:19:22 +02:00
|
|
|
$statistiques-padding-top: $default-space * 2;
|
2017-04-11 17:06:30 +02:00
|
|
|
|
2017-04-03 14:19:22 +02:00
|
|
|
.statistiques {
|
|
|
|
width: 1040px;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding-top: $statistiques-padding-top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stat-cards {
|
|
|
|
.stat-card:nth-of-type(even) {
|
|
|
|
margin-right: 0px;
|
2017-03-07 18:09:09 +01:00
|
|
|
}
|
|
|
|
}
|
2017-04-03 14:19:22 +02:00
|
|
|
|
|
|
|
$stat-card-margin-bottom: 3 * $default-space;
|
2017-04-11 17:06:30 +02:00
|
|
|
|
2017-04-03 14:19:22 +02:00
|
|
|
.stat-card {
|
2017-05-22 16:56:09 +02:00
|
|
|
padding: 15px;
|
2017-04-03 14:19:22 +02:00
|
|
|
margin-bottom: $stat-card-margin-bottom;
|
|
|
|
border-radius: 5px;
|
|
|
|
box-shadow: none;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
$stat-card-half-horizontal-spacing: 4 * $default-space;
|
2017-04-11 17:06:30 +02:00
|
|
|
|
2017-04-03 14:19:22 +02:00
|
|
|
.stat-card-half {
|
|
|
|
width: calc((100% - #{$stat-card-half-horizontal-spacing}) / 2);
|
2019-07-30 14:37:00 +02:00
|
|
|
margin-right: $stat-card-half-horizontal-spacing;
|
2017-04-03 14:19:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.stat-card-title {
|
|
|
|
color: $dark-grey;
|
|
|
|
font-size: 26px;
|
2017-05-22 16:56:09 +02:00
|
|
|
font-weight: bold;
|
2017-03-28 15:42:48 +02:00
|
|
|
width: 200px;
|
2021-12-14 14:36:10 +01:00
|
|
|
text-transform: uppercase;
|
2017-03-28 15:42:48 +02:00
|
|
|
}
|
|
|
|
|
2018-12-18 10:35:23 +01:00
|
|
|
.stat-card-details {
|
|
|
|
font-size: 13px;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2017-03-28 15:42:48 +02:00
|
|
|
$segmented-control-margin-top: $default-space;
|
2017-04-11 17:06:30 +02:00
|
|
|
|
2017-03-28 15:42:48 +02:00
|
|
|
.segmented-control {
|
|
|
|
border-radius: 36px;
|
|
|
|
height: 36px;
|
|
|
|
line-height: 36px;
|
|
|
|
font-size: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: $segmented-control-margin-top;
|
|
|
|
}
|
|
|
|
|
|
|
|
$segmented-control-item-horizontal-padding: $default-space;
|
|
|
|
$segmented-control-item-border-radius: 2 * $default-space;
|
2017-04-11 17:06:30 +02:00
|
|
|
|
2017-03-28 15:42:48 +02:00
|
|
|
.segmented-control-item {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 15px;
|
2021-09-22 11:29:02 +02:00
|
|
|
border: 2px solid $blue-france-700;
|
2017-03-28 15:42:48 +02:00
|
|
|
margin-right: -2px;
|
2024-03-15 10:17:25 +01:00
|
|
|
padding-top: var(--li-bottom);
|
2017-03-28 15:42:48 +02:00
|
|
|
padding-left: $segmented-control-item-horizontal-padding;
|
|
|
|
padding-right: $segmented-control-item-horizontal-padding;
|
2021-09-22 11:29:02 +02:00
|
|
|
color: $blue-france-700;
|
2017-03-28 15:42:48 +02:00
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
border-radius: $segmented-control-item-border-radius 0px 0px $segmented-control-item-border-radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
border-radius: 0px $segmented-control-item-border-radius $segmented-control-item-border-radius 0px;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2021-09-22 11:29:02 +02:00
|
|
|
background-color: $blue-france-500;
|
2017-04-11 16:36:03 +02:00
|
|
|
color: #FFFFFF;
|
2017-03-28 15:42:48 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.segmented-control-item-active {
|
2021-09-22 11:29:02 +02:00
|
|
|
background-color: $blue-france-700;
|
2017-04-11 16:36:03 +02:00
|
|
|
color: #FFFFFF;
|
2017-04-03 14:19:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.chart-container {
|
|
|
|
margin-top: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chart {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-04-03 17:04:31 +02:00
|
|
|
|
|
|
|
$big-number-card-padding: 2 * $segmented-control-item-border-radius;
|
2017-04-11 17:06:30 +02:00
|
|
|
|
2017-04-03 17:04:31 +02:00
|
|
|
.big-number-card {
|
2021-02-04 11:58:33 +01:00
|
|
|
padding: $big-number-card-padding $segmented-control-item-horizontal-padding;
|
2017-04-03 17:04:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.big-number-card-title {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0 auto;
|
2018-08-29 14:54:22 +02:00
|
|
|
margin-bottom: 20px;
|
2017-04-03 17:04:31 +02:00
|
|
|
color: $light-grey;
|
2021-12-14 14:36:10 +01:00
|
|
|
text-transform: uppercase;
|
2018-09-05 14:31:19 +02:00
|
|
|
|
|
|
|
&.long-title {
|
|
|
|
margin-left: -30px;
|
|
|
|
margin-right: -30px;
|
|
|
|
}
|
2017-04-03 17:04:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.big-number-card-number {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
2023-11-08 10:39:03 +01:00
|
|
|
font-size: 80px;
|
|
|
|
line-height: 1em;
|
2017-04-03 17:04:31 +02:00
|
|
|
font-weight: bold;
|
2021-09-20 15:04:24 +02:00
|
|
|
color: $blue-france-500;
|
2023-11-08 10:39:03 +01:00
|
|
|
white-space: nowrap;
|
2017-04-03 17:04:31 +02:00
|
|
|
}
|
2018-08-29 14:54:06 +02:00
|
|
|
|
|
|
|
.big-number-card-detail {
|
|
|
|
display: block;
|
2022-02-01 17:17:59 +01:00
|
|
|
margin-top: $default-padding;
|
2018-08-29 14:54:06 +02:00
|
|
|
text-align: center;
|
2021-09-20 15:04:24 +02:00
|
|
|
color: $blue-france-500;
|
2018-08-29 14:54:06 +02:00
|
|
|
}
|