investigation-summary → investigation
This commit is contained in:
parent
b5f9da678f
commit
0726c50993
8 changed files with 52 additions and 52 deletions
|
|
@ -93,7 +93,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-template="investigation-summary"] .card--package {
|
[data-template="investigation"] .card--package {
|
||||||
border: none;
|
border: none;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
|
|
|
||||||
|
|
@ -1868,25 +1868,25 @@ button.sort[data-sort-type=up] .arrow {
|
||||||
border-color: var(--color-txt);
|
border-color: var(--color-txt);
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-template=investigation-summary] .card--package {
|
[data-template=investigation] .card--package {
|
||||||
border: none;
|
border: none;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
border-bottom: var(--border-light);
|
border-bottom: var(--border-light);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] .card--package:first-of-type {
|
[data-template=investigation] .card--package:first-of-type {
|
||||||
border-top: var(--border-light);
|
border-top: var(--border-light);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] .card--package.has-link {
|
[data-template=investigation] .card--package.has-link {
|
||||||
border-bottom: var(--border-light);
|
border-bottom: var(--border-light);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] .card--package.has-link:first-of-type {
|
[data-template=investigation] .card--package.has-link:first-of-type {
|
||||||
border-top: var(--border-light);
|
border-top: var(--border-light);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] .card--package.has-link {
|
[data-template=investigation] .card--package.has-link {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] .card--package.has-link::before {
|
[data-template=investigation] .card--package.has-link::before {
|
||||||
content: "";
|
content: "";
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-top: 1px solid transparent;
|
border-top: 1px solid transparent;
|
||||||
|
|
@ -1894,19 +1894,19 @@ button.sort[data-sort-type=up] .arrow {
|
||||||
top: -1px;
|
top: -1px;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] .card--package.has-link:hover {
|
[data-template=investigation] .card--package.has-link:hover {
|
||||||
background-color: var(--grey-950);
|
background-color: var(--grey-950);
|
||||||
border-color: var(--color-txt);
|
border-color: var(--color-txt);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] .card--package.has-link:hover::before {
|
[data-template=investigation] .card--package.has-link:hover::before {
|
||||||
border-color: var(--color-txt);
|
border-color: var(--color-txt);
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 560px) {
|
@media screen and (max-width: 560px) {
|
||||||
[data-template=investigation-summary] .card--package figure {
|
[data-template=investigation] .card--package figure {
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] .card--package .title {
|
[data-template=investigation] .card--package .title {
|
||||||
font-size: var(--fs-small);
|
font-size: var(--fs-small);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2590,67 +2590,67 @@ main .page__header .description-medium {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-template=investigation-summary] main {
|
[data-template=investigation] main {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .page__header {
|
[data-template=investigation] main .page__header {
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
max-width: var(--max-w-content);
|
max-width: var(--max-w-content);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .panel-left {
|
[data-template=investigation] main .panel-left {
|
||||||
width: calc((100vw - var(--max-w-cards) - var(--padding-body) * 4) * 0.5);
|
width: calc((100vw - var(--max-w-cards) - var(--padding-body) * 4) * 0.5);
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 1340px) {
|
@media screen and (max-width: 1340px) {
|
||||||
[data-template=investigation-summary] main {
|
[data-template=investigation] main {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: calc(var(--padding-body) * 3);
|
margin-right: calc(var(--padding-body) * 3);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .panel-left {
|
[data-template=investigation] main .panel-left {
|
||||||
width: calc(100vw - var(--max-w-cards) - var(--padding-body) * 6);
|
width: calc(100vw - var(--max-w-cards) - var(--padding-body) * 6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 1220px) {
|
@media screen and (max-width: 1220px) {
|
||||||
[data-template=investigation-summary] main {
|
[data-template=investigation] main {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
width: calc(100% - var(--panel-w) * 0.5 - var(--padding-body));
|
width: calc(100% - var(--panel-w) * 0.5 - var(--padding-body));
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .panel-left {
|
[data-template=investigation] main .panel-left {
|
||||||
width: calc(var(--panel-w) * 0.5);
|
width: calc(var(--panel-w) * 0.5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .section__article {
|
[data-template=investigation] main .section__article {
|
||||||
margin-top: calc(var(--spacing) * 3);
|
margin-top: calc(var(--spacing) * 3);
|
||||||
margin-bottom: calc(var(--spacing) * 3);
|
margin-bottom: calc(var(--spacing) * 3);
|
||||||
max-width: var(--max-w-content);
|
max-width: var(--max-w-content);
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .section__article:target {
|
[data-template=investigation] main .section__article:target {
|
||||||
padding-top: calc(var(--header-h) + var(--spacing) * 1);
|
padding-top: calc(var(--header-h) + var(--spacing) * 1);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .section__article a:hover {
|
[data-template=investigation] main .section__article a:hover {
|
||||||
color: var(--grey-200);
|
color: var(--grey-200);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .section__article .section__title {
|
[data-template=investigation] main .section__article .section__title {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
margin-bottom: calc(var(--spacing) * 1);
|
margin-bottom: calc(var(--spacing) * 1);
|
||||||
padding-right: 2ch;
|
padding-right: 2ch;
|
||||||
text-wrap: balance;
|
text-wrap: balance;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main #section__dl,
|
[data-template=investigation] main #section__dl,
|
||||||
[data-template=investigation-summary] main #section__impacts,
|
[data-template=investigation] main #section__impacts,
|
||||||
[data-template=investigation-summary] main #section__package,
|
[data-template=investigation] main #section__package,
|
||||||
[data-template=investigation-summary] main #section__related-articles {
|
[data-template=investigation] main #section__related-articles {
|
||||||
font-size: var(--fs-small);
|
font-size: var(--fs-small);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main #section__dl {
|
[data-template=investigation] main #section__dl {
|
||||||
margin-top: calc(var(--spacing) * 1.5);
|
margin-top: calc(var(--spacing) * 1.5);
|
||||||
border-bottom: var(--border-light);
|
border-bottom: var(--border-light);
|
||||||
max-width: var(--max-w-content);
|
max-width: var(--max-w-content);
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main #section__dl .dl__group {
|
[data-template=investigation] main #section__dl .dl__group {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-gap: var(--padding-inner);
|
grid-gap: var(--padding-inner);
|
||||||
grid-template-columns: 2fr 3fr;
|
grid-template-columns: 2fr 3fr;
|
||||||
|
|
@ -2660,24 +2660,24 @@ main .page__header .description-medium {
|
||||||
border-top: var(--border-light);
|
border-top: var(--border-light);
|
||||||
padding: calc(var(--spacing) * 0.5) 0;
|
padding: calc(var(--spacing) * 0.5) 0;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main #section__dl dt {
|
[data-template=investigation] main #section__dl dt {
|
||||||
color: var(--color-txt-light);
|
color: var(--color-txt-light);
|
||||||
padding-right: 1ch;
|
padding-right: 1ch;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main #section__dl ul:not(.keywords) {
|
[data-template=investigation] main #section__dl ul:not(.keywords) {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main #section__dl ul:not(.keywords) li {
|
[data-template=investigation] main #section__dl ul:not(.keywords) li {
|
||||||
padding-bottom: 0.2em;
|
padding-bottom: 0.2em;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main #section__synthese {
|
[data-template=investigation] main #section__synthese {
|
||||||
max-width: var(--max-w-content);
|
max-width: var(--max-w-content);
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main #section__synthese p + p {
|
[data-template=investigation] main #section__synthese p + p {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main #section__synthese h4 {
|
[data-template=investigation] main #section__synthese h4 {
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
font-size: var(--fs-normal);
|
font-size: var(--fs-normal);
|
||||||
|
|
@ -2686,7 +2686,7 @@ main .page__header .description-medium {
|
||||||
text-decoration: 1px underline var(--color-txt-light);
|
text-decoration: 1px underline var(--color-txt-light);
|
||||||
text-underline-offset: 3px;
|
text-underline-offset: 3px;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .panel-left {
|
[data-template=investigation] main .panel-left {
|
||||||
height: calc(100vh - var(--header-h));
|
height: calc(100vh - var(--header-h));
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: var(--padding-body);
|
left: var(--padding-body);
|
||||||
|
|
@ -2697,49 +2697,49 @@ main .page__header .description-medium {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
z-index: calc(var(--z-header) - 1);
|
z-index: calc(var(--z-header) - 1);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .panel-left #nav--page {
|
[data-template=investigation] main .panel-left #nav--page {
|
||||||
padding-bottom: var(--spacing);
|
padding-bottom: var(--spacing);
|
||||||
width: calc(var(--panel-w) * 0.5);
|
width: calc(var(--panel-w) * 0.5);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .panel-left #nav--page ul {
|
[data-template=investigation] main .panel-left #nav--page ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .panel-left #nav--page ul li {
|
[data-template=investigation] main .panel-left #nav--page ul li {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: var(--color-txt-light);
|
color: var(--color-txt-light);
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: var(--fs-small);
|
font-size: var(--fs-small);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .panel-left #nav--page ul li a {
|
[data-template=investigation] main .panel-left #nav--page ul li a {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 5px 1ch;
|
padding: 5px 1ch;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .panel-left .btn--group {
|
[data-template=investigation] main .panel-left .btn--group {
|
||||||
width: calc(var(--panel-w) * 0.5);
|
width: calc(var(--panel-w) * 0.5);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: calc(var(--spacing) * 0.25);
|
gap: calc(var(--spacing) * 0.25);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .panel-left .btn--group button,
|
[data-template=investigation] main .panel-left .btn--group button,
|
||||||
[data-template=investigation-summary] main .panel-left .btn--group .dropdown {
|
[data-template=investigation] main .panel-left .btn--group .dropdown {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 768px) {
|
@media screen and (max-width: 768px) {
|
||||||
[data-template=investigation-summary] main {
|
[data-template=investigation] main {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main header {
|
[data-template=investigation] main header {
|
||||||
margin-bottom: calc(var(--spacing) * 1);
|
margin-bottom: calc(var(--spacing) * 1);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .section__article {
|
[data-template=investigation] main .section__article {
|
||||||
margin-top: calc(var(--spacing) * 2);
|
margin-top: calc(var(--spacing) * 2);
|
||||||
margin-bottom: calc(var(--spacing) * 2);
|
margin-bottom: calc(var(--spacing) * 2);
|
||||||
}
|
}
|
||||||
[data-template=investigation-summary] main .panel-left {
|
[data-template=investigation] main .panel-left {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -39,7 +39,7 @@
|
||||||
@import "partials/container-cards";
|
@import "partials/container-cards";
|
||||||
|
|
||||||
@import "template/home";
|
@import "template/home";
|
||||||
@import "template/investigation-summary";
|
@import "template/investigation";
|
||||||
@import "template/investigation_content";
|
@import "template/investigation_content";
|
||||||
@import "template/package";
|
@import "template/package";
|
||||||
@import "template/impacts";
|
@import "template/impacts";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
[data-template="investigation-summary"] main {
|
[data-template="investigation"] main {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.page__header {
|
.page__header {
|
||||||
|
|
@ -156,7 +156,7 @@
|
||||||
// ----------------------------------------------------------------
|
// ----------------------------------------------------------------
|
||||||
|
|
||||||
@media #{$small} {
|
@media #{$small} {
|
||||||
[data-template="investigation-summary"] main {
|
[data-template="investigation"] main {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
header {
|
header {
|
||||||
|
|
@ -4,7 +4,7 @@ tabs:
|
||||||
contentTab:
|
contentTab:
|
||||||
linkedInvestigations:
|
linkedInvestigations:
|
||||||
type: pages
|
type: pages
|
||||||
template: investigation-summary
|
template: investigation
|
||||||
linkedMedias:
|
linkedMedias:
|
||||||
type: url
|
type: url
|
||||||
seo: seo/page
|
seo: seo/page
|
||||||
|
|
|
||||||
|
|
@ -337,7 +337,7 @@
|
||||||
$relatedInvestigations = $page->relatedInvestigations()->toPages();
|
$relatedInvestigations = $page->relatedInvestigations()->toPages();
|
||||||
if ($relatedInvestigations->isEmpty()) {
|
if ($relatedInvestigations->isEmpty()) {
|
||||||
// Si pas d'enquêtes liées définies, prendre les 3 dernières enquêtes (sauf la page actuelle)
|
// Si pas d'enquêtes liées définies, prendre les 3 dernières enquêtes (sauf la page actuelle)
|
||||||
$relatedInvestigations = $page->parent()->children()->filterBy('intendedTemplate', 'investigation-summary')->not($page)->listed()->limit(3);
|
$relatedInvestigations = $page->parent()->children()->filterBy('intendedTemplate', 'investigation')->not($page)->listed()->limit(3);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue