report + harmonize panel-left
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
This commit is contained in:
parent
bee25e5922
commit
bd97c1c33e
19 changed files with 1107 additions and 770 deletions
|
|
@ -9,9 +9,11 @@
|
|||
--fs-big: 30px;
|
||||
--fs-xbig: 38px;
|
||||
--fs-button-bold: 22px;
|
||||
--max-w-content: 700px;
|
||||
--max-w-content: 640px;
|
||||
--max-w-cards: 1000px;
|
||||
--max-w-container: 1280px;
|
||||
--z-header: 2000;
|
||||
--panel-w: 310px;
|
||||
--leading-tight: 1.05;
|
||||
--leading-normal: 1.3;
|
||||
--fw-normal: 400;
|
||||
|
|
@ -73,7 +75,7 @@
|
|||
--grey-600: #9a9a9a;
|
||||
--grey-800: #cfcfcf;
|
||||
--color-bg: #efefef;
|
||||
--color-txt: #000000;
|
||||
--color-txt: #161616;
|
||||
--color-txt-light: var(--grey-400);
|
||||
--color-accent: #ff00ff;
|
||||
--color-accent-50: #ffe9ff;
|
||||
|
|
@ -136,7 +138,7 @@ body, #site-header, #site-footer {
|
|||
}
|
||||
|
||||
#site-header {
|
||||
z-index: 9000;
|
||||
z-index: var(--z-header);
|
||||
--gap: 3ch;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
|
@ -145,6 +147,7 @@ body, #site-header, #site-footer {
|
|||
height: var(--header-h);
|
||||
background-color: var(--color-bg);
|
||||
padding: 0 var(--padding-body);
|
||||
box-shadow: -1px 4px 10px 0px var(--color-bg);
|
||||
}
|
||||
#site-header .site-header__inner {
|
||||
width: 100%;
|
||||
|
|
@ -223,10 +226,6 @@ body, #site-header, #site-footer {
|
|||
fill: var(--grey-200) !important;
|
||||
}
|
||||
|
||||
#site-header.is-visible .site-header__inner {
|
||||
border-color: var(--grey-800);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1080px) {
|
||||
#nav-highlight {
|
||||
display: none;
|
||||
|
|
@ -906,9 +905,8 @@ button.sort[data-sort-type=up] .arrow {
|
|||
font-size: var(--fs-small);
|
||||
padding-top: 2px;
|
||||
white-space: nowrap;
|
||||
min-width: 0px !important;
|
||||
max-width: 30ch !important;
|
||||
width: 7.25ch;
|
||||
text-align: center;
|
||||
width: 8ch !important;
|
||||
}
|
||||
.modal--share .copy-link .copy-link__btn::after {
|
||||
content: " ";
|
||||
|
|
@ -996,29 +994,63 @@ button.sort[data-sort-type=up] .arrow {
|
|||
left: auto;
|
||||
right: 16px;
|
||||
}
|
||||
.dropdown--position-right .dropdown__content {
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
left: calc(100% + var(--padding-inner));
|
||||
margin-top: 0;
|
||||
margin-left: 4px;
|
||||
}
|
||||
.dropdown--position-right .dropdown__content::before {
|
||||
content: "◀";
|
||||
transform: rotate(0deg);
|
||||
font-size: 14px;
|
||||
position: absolute;
|
||||
top: auto;
|
||||
bottom: 4px;
|
||||
left: -12px;
|
||||
}
|
||||
.dropdown.is-open .dropdown__content {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translateY(0);
|
||||
}
|
||||
.dropdown--position-right.is-open .dropdown__content {
|
||||
transform: translateX(0);
|
||||
@media screen and (max-width: 768px) {
|
||||
.dropdown--position-panel .dropdown__content {
|
||||
top: auto;
|
||||
bottom: calc(var(--h-block) + var(--padding-inner));
|
||||
left: auto;
|
||||
right: 0;
|
||||
margin-top: 0;
|
||||
margin-left: 4px;
|
||||
}
|
||||
.dropdown--position-panel .dropdown__content::before {
|
||||
font-family: Arial;
|
||||
content: "◀";
|
||||
transform: rotate(-90deg);
|
||||
font-size: 14px;
|
||||
position: absolute;
|
||||
top: auto;
|
||||
bottom: -13px;
|
||||
left: 50%;
|
||||
}
|
||||
.dropdown--position-panel.is-open .dropdown__content {
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 768px) {
|
||||
.dropdown--position-panel .dropdown__content {
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
left: calc(100% + var(--padding-inner));
|
||||
margin-top: 0;
|
||||
margin-left: 4px;
|
||||
}
|
||||
.dropdown--position-panel .dropdown__content::before {
|
||||
font-family: Arial;
|
||||
content: "◀";
|
||||
transform: rotate(0deg);
|
||||
font-size: 14px;
|
||||
position: absolute;
|
||||
top: auto;
|
||||
bottom: 4px;
|
||||
left: -11px;
|
||||
}
|
||||
.dropdown--position-panel.is-open .dropdown__content {
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 560px) {
|
||||
.dropdown .dropdown__content {
|
||||
width: calc(100vw - var(--padding-body) * 2);
|
||||
}
|
||||
.dropdown .dropdown__content .modal--share {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.page__header {
|
||||
|
|
@ -1383,7 +1415,7 @@ button.sort[data-sort-type=up] .arrow {
|
|||
}
|
||||
|
||||
#site-header {
|
||||
z-index: 9000;
|
||||
z-index: var(--z-header);
|
||||
--gap: 3ch;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
|
@ -1392,6 +1424,7 @@ button.sort[data-sort-type=up] .arrow {
|
|||
height: var(--header-h);
|
||||
background-color: var(--color-bg);
|
||||
padding: 0 var(--padding-body);
|
||||
box-shadow: -1px 4px 10px 0px var(--color-bg);
|
||||
}
|
||||
#site-header .site-header__inner {
|
||||
width: 100%;
|
||||
|
|
@ -1470,10 +1503,6 @@ button.sort[data-sort-type=up] .arrow {
|
|||
fill: var(--grey-200) !important;
|
||||
}
|
||||
|
||||
#site-header.is-visible .site-header__inner {
|
||||
border-color: var(--grey-800);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1080px) {
|
||||
#nav-highlight {
|
||||
display: none;
|
||||
|
|
@ -1663,10 +1692,12 @@ body main {
|
|||
width: 11px;
|
||||
}
|
||||
|
||||
[data-template=investigations] main {
|
||||
max-width: var(--max-w-cards);
|
||||
margin-inline: auto;
|
||||
}
|
||||
@media screen and (min-width: 560px) {
|
||||
[data-template=investigations] main #container-cards {
|
||||
max-width: var(--max-w-cards);
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
||||
grid-auto-rows: minmax(100px, auto);
|
||||
|
|
@ -1692,11 +1723,9 @@ body main {
|
|||
}
|
||||
|
||||
.page__sort {
|
||||
max-width: var(--max-w-cards);
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
grid-gap: var(--padding-inner);
|
||||
margin: 0 auto;
|
||||
margin-bottom: calc(var(--spacing) * 1);
|
||||
}
|
||||
|
||||
|
|
@ -1705,8 +1734,27 @@ body main {
|
|||
max-width: var(--max-w-cards);
|
||||
margin-inline: auto;
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page {
|
||||
display: none;
|
||||
[data-template=investigation-summary] main .panel-left {
|
||||
width: calc((100vw - var(--max-w-cards) - var(--padding-body) * 2) * 0.5);
|
||||
}
|
||||
@media screen and (max-width: 1380px) {
|
||||
[data-template=investigation-summary] main {
|
||||
margin-left: auto;
|
||||
margin-right: var(--padding-body);
|
||||
}
|
||||
[data-template=investigation-summary] main .panel-left {
|
||||
width: calc(100vw - var(--max-w-cards) - var(--padding-body) * 2);
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1220px) {
|
||||
[data-template=investigation-summary] main {
|
||||
margin-left: auto;
|
||||
margin-right: 0px;
|
||||
width: calc(100% - var(--panel-w) * 0.5 - var(--padding-body));
|
||||
}
|
||||
[data-template=investigation-summary] main .panel-left {
|
||||
width: calc(var(--panel-w) * 0.5);
|
||||
}
|
||||
}
|
||||
[data-template=investigation-summary] main header {
|
||||
margin-top: calc(var(--spacing) * 1);
|
||||
|
|
@ -1739,18 +1787,6 @@ body main {
|
|||
padding-right: 2ch;
|
||||
text-wrap: balance;
|
||||
}
|
||||
[data-template=investigation-summary] main #nav--page ul {
|
||||
list-style: none;
|
||||
}
|
||||
[data-template=investigation-summary] main #nav--page ul li {
|
||||
text-align: center;
|
||||
color: var(--color-txt-light);
|
||||
}
|
||||
[data-template=investigation-summary] main #nav--page ul li a {
|
||||
display: block;
|
||||
padding: 0.3em 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
[data-template=investigation-summary] main #section__dl {
|
||||
margin-top: calc(var(--spacing) * 1.5);
|
||||
border-bottom: var(--border-light);
|
||||
|
|
@ -1788,8 +1824,51 @@ body main {
|
|||
text-decoration: 1px underline var(--color-txt-light);
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
[data-template=investigation-summary] main .panel-left {
|
||||
height: calc(100vh - var(--header-h));
|
||||
position: fixed;
|
||||
left: var(--padding-body);
|
||||
padding-bottom: calc(var(--padding-body) * 1);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
z-index: calc(var(--z-header) - 1);
|
||||
}
|
||||
[data-template=investigation-summary] main .panel-left #nav--page {
|
||||
padding-bottom: var(--spacing);
|
||||
width: calc(var(--panel-w) * 0.5);
|
||||
}
|
||||
[data-template=investigation-summary] main .panel-left #nav--page ul {
|
||||
list-style: none;
|
||||
}
|
||||
[data-template=investigation-summary] main .panel-left #nav--page ul li {
|
||||
text-align: center;
|
||||
color: var(--color-txt-light);
|
||||
margin-bottom: 4px;
|
||||
font-weight: bold;
|
||||
font-size: var(--fs-small);
|
||||
}
|
||||
[data-template=investigation-summary] main .panel-left #nav--page ul li a {
|
||||
display: block;
|
||||
padding: 5px 1ch;
|
||||
text-decoration: none;
|
||||
}
|
||||
[data-template=investigation-summary] main .panel-left .btn--group {
|
||||
width: calc(var(--panel-w) * 0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: calc(var(--spacing) * 0.25);
|
||||
}
|
||||
[data-template=investigation-summary] main .panel-left .btn--group button, [data-template=investigation-summary] main .panel-left .btn--group .dropdown {
|
||||
flex-grow: 1;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
[data-template=investigation-summary] main {
|
||||
width: 100%;
|
||||
}
|
||||
[data-template=investigation-summary] main header {
|
||||
margin-bottom: calc(var(--spacing) * 1);
|
||||
}
|
||||
|
|
@ -1800,37 +1879,38 @@ body main {
|
|||
[data-template=investigation-summary] main #hero figcaption {
|
||||
margin: 0 var(--padding-body);
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page {
|
||||
[data-template=investigation-summary] main .panel-left {
|
||||
padding: calc(var(--spacing) * 0.5) 0;
|
||||
background-color: yellow;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: calc(var(--h-block) * 3);
|
||||
padding: calc(var(--spacing) * 0.75) var(--padding-body);
|
||||
padding-top: var(--spacing);
|
||||
background-color: var(--color-bg);
|
||||
background: linear-gradient(0deg, var(--color-bg) 0%, var(--color-bg) 64%, transparent 100%);
|
||||
z-index: 800;
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page #nav--page {
|
||||
[data-template=investigation-summary] main .panel-left #nav--page {
|
||||
display: none;
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page .btn--group {
|
||||
[data-template=investigation-summary] main .panel-left .btn--group {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
gap: calc(var(--spacing) * 0.25);
|
||||
flex-direction: row;
|
||||
gap: var(--padding-inner);
|
||||
position: relative;
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page .btn--group > button,
|
||||
[data-template=investigation-summary] main #banner--page .btn--group > label {
|
||||
width: 50%;
|
||||
cursor: pointer;
|
||||
[data-template=investigation-summary] main .panel-left .btn--group button {
|
||||
width: 100%;
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page {
|
||||
[data-template=investigation-summary] main .panel-left {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.2s ease-in;
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page.is-visible {
|
||||
[data-template=investigation-summary] main .panel-left.is-visible {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
|
@ -1843,23 +1923,58 @@ body main {
|
|||
padding: calc(var(--spacing) * 0.25) 0;
|
||||
}
|
||||
}
|
||||
:root {
|
||||
--rapport-w: 290px;
|
||||
}
|
||||
|
||||
#rapport {
|
||||
margin-bottom: 20vh;
|
||||
padding-left: calc(var(--rapport-w) + var(--padding-body) * 1);
|
||||
padding-bottom: 10vh;
|
||||
margin: 0 auto;
|
||||
max-width: calc(var(--max-w-content) + var(--rapport-w) + var(--padding-body));
|
||||
margin-top: calc(var(--spacing) * -1);
|
||||
}
|
||||
|
||||
#rapport .rapport__header {
|
||||
margin-top: calc(var(--spacing) * 2);
|
||||
max-width: var(--max-w-content);
|
||||
[data-template=report] .report__header {
|
||||
margin-inline: auto;
|
||||
margin-top: calc(var(--spacing) * 1);
|
||||
max-width: var(--max-w-cards);
|
||||
margin-bottom: calc(var(--spacing) * 2.5);
|
||||
}
|
||||
[data-template=report] .report__content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: var(--padding-body);
|
||||
}
|
||||
[data-template=report] .report__content .report__txt {
|
||||
max-width: var(--max-w-content);
|
||||
}
|
||||
[data-template=report] .report__content .report__medias {
|
||||
background-color: yellow;
|
||||
}
|
||||
[data-template=report] #toggle-panel {
|
||||
position: fixed;
|
||||
top: var(--header-h);
|
||||
left: var(--padding-body);
|
||||
z-index: calc(var(--z-header) + 100);
|
||||
}
|
||||
[data-template=report] #report__aside {
|
||||
position: fixed;
|
||||
top: var(--header-h);
|
||||
left: var(--padding-body);
|
||||
width: var(--panel-w);
|
||||
height: calc(100vh - var(--header-h));
|
||||
z-index: calc(var(--z-header) + 200);
|
||||
background-color: var(--color-bg);
|
||||
box-shadow: 4px 0px 4px 1px var(--color-bg);
|
||||
}
|
||||
[data-template=report] #report__aside .panel__content {
|
||||
height: calc(100% - var(--h-block) * 4);
|
||||
}
|
||||
[data-template=report] #report__aside {
|
||||
left: calc(var(--panel-w) * -1);
|
||||
transition: left ease-in-out 0.5s;
|
||||
}
|
||||
[data-template=report] #report {
|
||||
padding-left: calc(var(--padding-body) * 2);
|
||||
transition: padding-left ease-in-out 0.5s;
|
||||
}
|
||||
[data-template=report] .panel-open #report__aside {
|
||||
left: var(--padding-body);
|
||||
}
|
||||
[data-template=report] .panel-open #report {
|
||||
padding-left: calc(var(--panel-w) + var(--padding-body) * 1);
|
||||
}
|
||||
|
||||
.report__header {
|
||||
display: grid;
|
||||
-moz-column-gap: var(--padding-inner);
|
||||
column-gap: var(--padding-inner);
|
||||
|
|
@ -1868,11 +1983,11 @@ body main {
|
|||
grid-template-rows: auto auto 1fr;
|
||||
position: relative;
|
||||
}
|
||||
#rapport .rapport__header .rapport__title-group {
|
||||
.report__header .report__title-group {
|
||||
grid-row: 1;
|
||||
grid-column: span 2;
|
||||
}
|
||||
#rapport .rapport__header .rapport__title-group .title {
|
||||
.report__header .report__title-group .title {
|
||||
text-transform: uppercase;
|
||||
font-weight: normal;
|
||||
font-size: var(--fs-big);
|
||||
|
|
@ -1881,29 +1996,29 @@ body main {
|
|||
margin-top: calc(var(--spacing) * 1);
|
||||
text-wrap: balance;
|
||||
}
|
||||
#rapport .rapport__header .rapport__title-group .subtitle {
|
||||
.report__header .report__title-group .subtitle {
|
||||
font-size: var(--fs-big);
|
||||
line-height: var(--leading-tight);
|
||||
font-weight: normal;
|
||||
text-wrap: balance;
|
||||
}
|
||||
#rapport .rapport__header figure {
|
||||
.report__header figure {
|
||||
aspect-ratio: 16/9;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
}
|
||||
#rapport .rapport__header figure img {
|
||||
.report__header figure img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
transition: cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s;
|
||||
}
|
||||
#rapport .rapport__header figure {
|
||||
.report__header figure {
|
||||
grid-row: 2;
|
||||
grid-column: 2;
|
||||
}
|
||||
#rapport .rapport__header .rapport__dl {
|
||||
.report__header .report__dl {
|
||||
grid-row: 2;
|
||||
grid-column: 1;
|
||||
align-self: end;
|
||||
|
|
@ -1911,7 +2026,7 @@ body main {
|
|||
border-bottom: var(--border-light);
|
||||
align-items: flex-start;
|
||||
}
|
||||
#rapport .rapport__header .rapport__dl .dl__group {
|
||||
.report__header .report__dl .dl__group {
|
||||
display: grid;
|
||||
grid-gap: var(--padding-inner);
|
||||
grid-template-columns: 2fr 3fr;
|
||||
|
|
@ -1919,11 +2034,11 @@ body main {
|
|||
border-top: var(--border-light);
|
||||
padding: calc(var(--spacing) * 0.5) 0;
|
||||
}
|
||||
#rapport .rapport__header .rapport__dl dt {
|
||||
.report__header .report__dl dt {
|
||||
color: var(--color-txt-light);
|
||||
padding-right: 1ch;
|
||||
}
|
||||
#rapport .rapport__header .btn--group {
|
||||
.report__header .btn--group {
|
||||
position: relative;
|
||||
grid-row: 3;
|
||||
grid-column: 1/3;
|
||||
|
|
@ -1934,146 +2049,140 @@ body main {
|
|||
gap: calc(var(--spacing) * 0.25);
|
||||
}
|
||||
|
||||
#rapport .rapport__content {
|
||||
max-width: var(--max-w-content);
|
||||
}
|
||||
#rapport .rapport__content .section-content {
|
||||
.report__content .section-content {
|
||||
margin-bottom: calc(var(--spacing) * 3);
|
||||
}
|
||||
#rapport .rapport__content .section-title {
|
||||
.report__content .section-title {
|
||||
font-size: var(--fs-medium);
|
||||
margin-bottom: var(--spacing);
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
#rapport .rapport__content p {
|
||||
.report__content p {
|
||||
margin: calc(var(--spacing) * 0.5) 0;
|
||||
}
|
||||
#rapport .rapport__content ul {
|
||||
.report__content ul {
|
||||
padding-left: 3ch;
|
||||
}
|
||||
#rapport .rapport__content:target {
|
||||
|
||||
.report__content:target {
|
||||
padding-top: calc(var(--header-h) * 2 + var(--spacing)) !important;
|
||||
}
|
||||
|
||||
#rapport__aside {
|
||||
width: var(--rapport-w);
|
||||
position: fixed;
|
||||
top: calc(var(--header-h) + var(--padding-body));
|
||||
left: var(--padding-body);
|
||||
--border-aside: var(--border-light);
|
||||
height: calc(100vh - var(--header-h) - var(--padding-body) * 4);
|
||||
#toggle-panel {
|
||||
width: calc(var(--h-block) * 1);
|
||||
padding: 0;
|
||||
}
|
||||
#rapport__aside .tabs {
|
||||
#toggle-panel svg {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
fill: var(--color-txt);
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
#report__aside {
|
||||
--border-aside: var(--border-light);
|
||||
}
|
||||
#report__aside .panel__header {
|
||||
display: flex;
|
||||
border: var(--border-aside);
|
||||
height: calc(var(--h-block) * 1.25);
|
||||
}
|
||||
#rapport__aside .tabs .tab {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: var(--fs-small);
|
||||
font-weight: bold;
|
||||
padding-left: 2ch;
|
||||
padding-top: 3px;
|
||||
justify-content: flex-start;
|
||||
gap: 0.5ch;
|
||||
cursor: pointer;
|
||||
}
|
||||
#rapport__aside .tabs .tab[for=tab-print] {
|
||||
#report__aside .panel__header .icon {
|
||||
width: calc(var(--h-block) * 1.5);
|
||||
border-right: var(--border-aside);
|
||||
padding-left: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
#rapport__aside .tabs .tab[for=tab-print] .icon svg {
|
||||
width: 18px;
|
||||
#report__aside .panel__header svg {
|
||||
width: 16px;
|
||||
fill: var(--color-txt);
|
||||
}
|
||||
#rapport__aside .content-aside {
|
||||
#report__aside .panel__header .text {
|
||||
padding-top: 5px;
|
||||
}
|
||||
#report__aside .panel__header .close {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
#report__aside .panel__header .close svg {
|
||||
width: 10px;
|
||||
fill: var(--grey-600);
|
||||
}
|
||||
#report__aside .panel__header:hover .close svg {
|
||||
fill: var(--color-txt);
|
||||
}
|
||||
#report__aside .panel__content {
|
||||
padding: var(--padding-body);
|
||||
height: calc(100% - var(--h-block) * 1.25);
|
||||
overflow: scroll;
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
border: var(--border-aside);
|
||||
border-top: none;
|
||||
}
|
||||
#rapport__aside #toc ul {
|
||||
#report__aside .panel__content::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
#report__aside #toc ul {
|
||||
list-style: none;
|
||||
}
|
||||
#rapport__aside #toc li {
|
||||
#report__aside #toc li {
|
||||
font-size: var(--fs-small);
|
||||
color: var(--color-txt-light);
|
||||
}
|
||||
#rapport__aside #toc li a {
|
||||
#report__aside #toc li a {
|
||||
display: block;
|
||||
padding: 5px 1ch;
|
||||
padding-top: 7px;
|
||||
}
|
||||
#rapport__aside #toc li.selected {
|
||||
#report__aside #toc li.selected {
|
||||
background-color: var(--grey-800);
|
||||
color: var(--color-txt);
|
||||
}
|
||||
#rapport__aside #toc li:hover {
|
||||
#report__aside #toc li:hover {
|
||||
background-color: var(--grey-800);
|
||||
}
|
||||
#rapport__aside #toc .toc-level-1 {
|
||||
#report__aside #toc .toc-level-1 {
|
||||
margin-bottom: calc(var(--spacing) * 0.5);
|
||||
font-weight: bold;
|
||||
}
|
||||
#rapport__aside #toc .toc-level-2 {
|
||||
#report__aside #toc .toc-level-2 {
|
||||
margin-bottom: calc(var(--spacing) * 0.25);
|
||||
padding-left: 4ch;
|
||||
}
|
||||
#rapport__aside #toc a {
|
||||
#report__aside #toc a {
|
||||
text-decoration: none;
|
||||
}
|
||||
#rapport__aside .btn--group {
|
||||
#report__aside .btn--group {
|
||||
margin-top: calc(var(--spacing) * 0.5);
|
||||
display: flex;
|
||||
gap: var(--padding-inner);
|
||||
}
|
||||
#rapport__aside .btn--group [for=share-banner__aside] {
|
||||
cursor: pointer;
|
||||
}
|
||||
#rapport__aside .btn--group #download-pdf a {
|
||||
padding-left: 1ch;
|
||||
padding-right: 1ch;
|
||||
#report__aside .btn--group button {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
#tab-print, #tab-toc {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#tab-print:checked ~ .content-aside #toc {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#tab-print:checked ~ .content-aside #print-features {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#tab-toc:checked ~ .content-aside #toc {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#tab-toc:checked ~ .content-aside #print-features {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#rapport {
|
||||
#report {
|
||||
--fig-outside: calc(var(--spacing)*2);
|
||||
}
|
||||
#rapport .container-figure {
|
||||
width: calc(100% + var(--fig-outside) * 2);
|
||||
position: relative;
|
||||
left: calc(var(--fig-outside) * -1);
|
||||
#report .container-figure {
|
||||
width: 100%;
|
||||
display: none;
|
||||
}
|
||||
#rapport .fig-simple {
|
||||
#report .fig-simple {
|
||||
height: calc(100vh - var(--header-h) - var(--spacing) * 2);
|
||||
}
|
||||
#rapport .fig-simple figure {
|
||||
#report .fig-simple figure {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
#rapport .fig-simple figure img {
|
||||
#report .fig-simple figure img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-o-object-fit: contain;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue