@import "base.less"; body { background: #000; color: #fff; margin: 0; padding: 0; p { font-weight: 400; font-size: 20px; line-height: 138%; @media @mo { font-size: 18px; } } &.no-scroll { touch-action: none; } } .hidden-on-load { visibility: hidden; transition: visibility 0.2s; } .map-overlay { z-index: 111111; position: absolute; top: 0; right: 0; left:0; bottom:0; background: rgba(0,0,0,0.2); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease-in-out; &.hidden { opacity: 0; pointer-events: none; } } .indicator { position: relative; min-width: 240px; border-radius: 18px; overflow: hidden; min-height: 35px; cursor: pointer; @media @mo { min-width: 440px; } &:after { content: "Appuyez ici pour explorer la carte avant de poursuivre votre lecture"; position: absolute; right: 50px; bottom: 2px; max-width: calc( 100% - 40px ); font-family: @barlow; font-style: normal; font-weight: normal; font-size: 13px; line-height: 17px; text-align: right; color: @jaunepale; display: block; } &:before { position: absolute; font-style: normal; font-weight: 300; font-family: 'Material Symbols Outlined'; content: 'touch_app'; -webkit-font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; color: #fff; font-size: 30px; right: 10px; bottom: 0; } @media (min-width:701px) { &:after{ content: 'Cliquez ici pour explorer la carte avant de poursuivre votre lecture'; bottom: 10px; } &:before { content: 'ads_click'; } } &.reprendre-lecture { min-width: 185px; position: absolute; left: 50%; transform: translateX(-50%); border: 1px solid rgba(255,255,255,0.4); margin-bottom: 10px; z-index: 111111; @media (max-height: 667px) { transform: translate(-50%,-80%); } @media @mo { min-width: 415px; min-height: 45px; border-radius: 27px; &:after { font-size: 19px; right: 110px !important; bottom: 15px !important; } } &:after { content: "Poursuivez votre lecture"; right: 23px; bottom: 10px; } &:before { display: none; } } &.hidden { display: none; } } .map-sticky-wrapper { color: #FFF; background: #000; .sticky-img { overflow: visible !important; } &.stick-img-with-text-overlay .overlay { margin: 0 auto 0; .overlay-content { @media (max-width: 375px) and (max-height: 667px) { // iphone 6/7/8 .spacer { min-height: 15vh; &.small { min-height: 5vh; } &.big { min-height: 35vh; } &.huge { min-height: 40vh; } } } } .boite-noire { //background: rgba(22,22, 22, 0.75); background: rgba(44, 41, 38, 0.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 15px 25px; @media @mo { padding: 30px 40px; } a { color: @bleu; } .focus-on-project { display: none; } h3.exergue { padding: 6px 8px; font-weight: 800; font-size: 12px; line-height: 229%; text-transform: uppercase; color: #2C2926; display: inline-block; margin: 0; @media @ns { padding: 8px 10px; font-size: 16px; } &.rouge { background-color: @rouge; } &.orange { background-color: @orange; } &.jaune { background-color: @jaune; } &.bleu { background-color: @bleu; } } h1.titre-projet { font-weight: 400; font-size: 32px; line-height: 105%; color: @bleu; @media @mo { font-size: 42px; } } div.projet-bob { p:first-of-type { font-weight: 700; font-size: 18px; line-height: 138%; position: relative; z-index: 2; @media @mo { font-size: 20px; } } img { position: relative; z-index: 1; margin: 0px -25px; width: calc(100% + 50px); @media @mo { margin: 0 -40px; width: calc( 100% + 80px ); } } } p, ul li { font-weight: 400; font-size: 18px; line-height: 138%; color: @jauneparagraphecarte; @media @ns { font-size: 20px; } } .bdv { opacity: 0.5; } } } } #mapheader { border-top: 10px solid @bleu; background-color: #000; color: #FFF; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.5rem 0.5rem 0; text-align: center; @media @mo { //padding: 1rem; } @media @ns { //margin: 0 0 1rem 0; } @media @l { //margin: 0 0 1rem 0; } .header-h1 { overflow: visible; position: relative; &:before { background: #2C2926; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); z-index: 0; width: calc( 100% - 50px ); height: 15px; position: absolute; bottom: 33px; left: 25px; content: ''; display: none; @media @mo { width: calc( 100% + 50px ); height: 35px; position: absolute; bottom: 12px; left: -25px; display: block; } } } h1 { font-family: @barlow; font-style: normal; font-weight: 400; font-size: 23px; line-height: 109%; text-align: center; color: #94CBCE; position: relative; z-index: 2; @media @mo { } @media @ns { font-size: 42px; } @media @l { } } p { font-family: @barlow; font-size: 0.8rem; font-weight: 600; line-height: 1.3; margin: 0 1rem; @media @mo { line-height: 1.4; max-width: 60%; } @media @ns { font-size: 1.2rem; max-width: 60%; } @media @l { font-size: 1.4rem; max-width: 50%; } } } .map-legend { box-sizing: border-box; text-align: center; width: 100%; @media @mo { } @media @ns { } @media @l { } .flex-row { align-items: center; justify-content: center; } .legend-inner { color: #fff; background-color: #000; padding: 0.5rem; text-align: center; @media @mo { } @media @ns { //border: 2px solid #3d3d3d; } @media @l { //border: 2px solid #3d3d3d; } h2 { border: none; font-family: @barlow; font-size: 1.1rem; font-weight: 400; line-height: 1; margin: 0 0 0.125rem; padding: 0; text-transform: uppercase; @media @ns { font-size: 1.4rem; margin: 0 0 0.25rem; } @media @l { font-size: 1.4rem; margin: 0 0 0.25rem; } } ul { list-style-type: none; padding: 0; @media @ns { font-size: 1.2rem; } @media @l { font-size: 1.2rem; } li { font-family: @barlow; font-size: 13px; font-weight: 300; line-height: 1.1; list-style-type: none; margin: 0 5px 5px; padding: 0; pointer-events: none; @media @ns { //font-size: 1.2rem; margin: 0 5px; font-size: 16px; } @media @l { //font-size: 1.5rem; } } } .disc { border-radius: 100%; box-sizing: border-box; display: inline-block; margin-right: 5px; width: 10px; height: 10px; @media @ns { //width: 15px; //height: 15px; } @media @l { //width: 15px; //height: 15px; } } } } .viz { //overflow: hidden; // can't with the sticky map text-align: left; background-color: #000; &.sticky-img { top: 10vh !important; @media @ns { top: 20vh !important; } } #main { background-color: #000; z-index: 1; &::before, &::after { content: ''; display: flex; height: 50px; background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%); z-index: 2; } &::before { top: -1px; width: 100%; position: absolute; } &::after { transform: rotate(180deg); position: absolute; bottom: 0; width: 100%; } position: relative; @media @ns { //padding: 1rem; } @media @l { } } .map-container { margin: 0rem 0 2rem 0; position: relative; #map { height: 100%; min-height: 80vh; overflow: hidden; width: 100%; background-color: #000; @media @ns { min-height: 60vh; } @media @l { min-height: 60vh; } } .mapboxgl-ctrl-group:not(:empty) { border: none; // border-radius: 0; // box-shadow: 0 0 2px 2px rgba(0,0,0,0.1); } .mapboxgl-ctrl-group button+button { // border-top: 2px solid #111; } .mapboxgl-ctrl-logo { display: none; } #info { box-sizing: border-box; overflow: auto; position: fixed; top: 0; right: 50%; transform: translateX(50%); bottom: unset; left: auto; border-radius: 4px; border-style: solid; border-width: 2px; transition: opacity 0.5s; width: 100%; max-width: 300px; z-index: 11111111; background-color: rgba(44, 41, 38, 0.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4); @media (max-height: 700px) { max-height: 420px; } &.hidden { opacity: 0; pointer-events: none; } @media @ns { height: auto; max-height: ~"min(100%, 750px)"; padding: 5px; position: absolute; top: unset; left: unset; right: 10px; bottom: 10px; width: 50%; max-width: 300px; transform: translateX(0); &.hidden { } } * { line-height: 1.0; margin: 0; } // Content > div { color: #fff; display: flex; flex-direction: column; height: 100%; > div { padding: 10px; } // Top bar w. close button > div.infobox-closebutton { //background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.5)); padding: 5px 10px; text-align: right; position: absolute; right: 0; top: 5px; #close--btn { color: #fff; cursor: pointer; font-size: 1.5rem; margin: 0; z-index: 1; @media (hover:hover) { &:hover { color: rgba(255,255,255,0.8); } } } } // Header > div.infobox-header { //background-color: rgba(255,255,255,0.2); // border-bottom: 2px solid white; display: flex; align-items: flex-start; flex-direction: column; justify-content: space-between; > div:first-child { margin-right: 25px; } div.logement-image-wrapper { position: relative; overflow: hidden; height: 140px; width: 100%; display: flex; align-items: center; justify-content: center; img { position: absolute; width: 100%; object-fit: cover; } } h1 { color: #FFF; font-family: @barlow; font-size: 22px; //@media @ns { // font-size: 16px; //} } h2 { border: none; color: #FFF; font-family: @barlow; font-size: 1.5rem; letter-spacing: 0.9pt; margin-bottom: 0.125rem; text-transform: uppercase; } span { border: none; color: #FFF; font-family: @barlow; font-size: 16px; line-height: 20px; margin: 0.2rem 0 0.5rem; text-transform: none; display: block; } } // Values > div.infobox-values { height: 100%; overflow: auto; padding-top: 0; p { font-family: @barlow; font-size: 16px; line-height: 1.2; margin-bottom: 0.75rem; padding: 0; &:last-child { margin-bottom: 0; } } p.label { color: #FFF; display: inline-block; font-family: @barlow; font-size: 1.0rem; font-weight: 500; line-height: 1.0; margin-bottom: 0.125rem; padding: 5px; text-transform: uppercase; } } div.split-bilan { display:flex; flex-direction: row; justify-content: space-between; text-align: center; //margin-bottom: 5px; padding: 0 0 8px; div.vs { flex-grow: 1; font-family: @barlow; font-style: normal; font-weight: 900; font-size: 14px; text-align: center; text-transform: uppercase; align-self: flex-end; margin-bottom: 15px; } div.bilan-promis,.bilan-reel { flex-basis: 48%; .label { text-transform: uppercase; font-weight: 900; color: #6F6F6E; } .takes-color { font-weight: 800; font-size:36px; line-height: 1; font-family: @courierPrime; } } } div.penalite { text-align: center; border-top:1px solid #5C5C5C; //border-bottom:1px solid #5C5C5C; color: #5c5c5c; display: flex; flex-direction: row; justify-content: space-between; align-items: center; //margin-bottom: 15px; padding: 8px 0; .peno-label { font-family: @barlow; font-weight: 900; color: #6F6F6E; text-transform: uppercase; flex-basis: 52%; margin: 0; text-align: left; } .peno-montant { font-family: @courierPrime; font-weight: 700; font-size: 30px; text-align: right; margin: 0; letter-spacing: -0.06em; } } } } } #lexique { > div { display: flex; &.bordered { border-bottom: 1px solid #000; padding-bottom: 2rem; } > div { width: 50%; &:first-child { margin-right: 1rem; @media @ns { margin-right: 2rem; } } } } h2 { background-color: #B42B00; color: #FFF; display: flex; align-items: center; justify-content: space-between; font-family: @barlow; font-size: 2rem; margin-bottom: 1rem; padding: 0.5rem 1rem; @media @ns { font-size: 2.5rem; margin-bottom: 2rem; } @media @l { font-size: 2.75rem; padding: 0.25rem 1rem; } } h3 { font-family: @barlow; font-size: 1.75rem; margin-bottom: 1rem; @media @ns { font-size: 2.2rem; margin-bottom: 2rem; } @media @l { font-size: 2.5rem; } } p { font-family: @barlow; margin: 0 0 2rem 0; @media @ns { font-size: 1.2rem; } @media @l { font-size: 1.4rem; } } p.term { font-weight: 600; margin: 0 0 0.125rem 0; } } } .bg--lexique { background-color: #B42B00; } .bg--rouge { background-color: #B42B00; } .bg--jaune { background-color: #FFDB59; } .bg--orange { background-color: #CF6800; } .bg--vert { background-color: #46D4DC; } .bg--noir { background-color: #adadad; } .bo--rouge { border-color: #B42B00; } .bo--jaune { border-color: #FFDB59; } .bo--orange { border-color: #CF6800; } .bo--vert { border-color: #46D4DC; } .bo--noir { border-color: #adadad; } .col--rouge, .col--rouge .takes-color { color: #B42B00; } .col--jaune, .col--jaune .takes-color { color: #FFDB59; } .col--orange, .col--orange .takes-color { color: #CF6800; } .col--vert, .col--vert .takes-color { color: #46D4DC; } .col--noir { color: #adadad; } .spacer { min-height: 20vh; &.small { min-height: 10vh; } &.big { min-height: 45vh; } &.huge { min-height: 100vh; } &.spacer-tuto { min-height: 30vh; @media @mo { min-height: 25vh; } } &.spacer-tuto-after-tuto { // big + huge + big + big min-height: 223vh; @media (max-width: 767px) and (min-height: 600px) { min-height: 147vh; // long big mobiles } @media @mo { // big + huge + big min-height: 192vh; } } } .scroll-indicator { position: fixed; bottom: 5vh; left: 50%; color: white; transform: translate(-50%,0); transition: opacity 0.9s ease-in-out; z-index: 3; @media (max-width: 767px) { bottom: 10vh; } @media (max-height: 667px) { bottom: 18vh; } &.hidden { opacity: 0; pointer-events: none; } } #intro { font-family: @barlow; .intro-contenu { max-width: 700px; text-align: center; margin: auto; .black-blurry-box { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: inline-block; padding: 7px 13px; @media @ns { padding: 13px; } } .intro-date { padding: 13px; font-style: normal; font-weight: 700; font-size: 18px; line-height: 109%; text-transform: uppercase; color: @jaune; max-width: 310px; margin: auto; @media @ns { font-size: 30px; } } .intro-citation { font-weight: 700; font-size: 24px; line-height: 118%; text-align: center; color: @bleu; @media @mo { font-size: 44px; } } .intro-citation-credits { margin-top: 50px; text-align: right; font-style: normal; font-weight: 300; font-size: 18px; line-height: 109%; color: @jaune; margin-right: 10px; @media @mo { margin-right: 0; font-size: 25.5px; } strong { text-transform: uppercase; @media @mo { font-size: 30px; } } .credit-photo { font-size: 15px; color: rgba(255,255,255,0.5); background: rgba(0,0,0,0.5); display: inline-block; padding: 2px 5px; margin-top: 10px; } } .intro-explication { font-weight: 300; font-size: 20px; line-height: 116%; text-align: center; color: @bleu; background-color: rgba(0,0,0,0.4); backdrop-filter: blur(6px); -wekbit-backdrop-filter: blur(6px); padding: 25px 20px; margin: 0 16px; @media @mo { font-size: 30px; margin: 0; } } h1 { font-weight: 500; font-size: 36px; line-height: 105%; text-align: center; color: @bleu; position: relative;z-index: 1; @media @ns { font-size: 75px; } span { color: @jaune; position: relative; span { z-index: 1; position: relative; } &.box-underneath::before { position: absolute; z-index: 0; content: ''; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); width: 105%; height: 20px; bottom: -5px; right: -9px; @media @ns { height: 70px; bottom: -25px; right: -15px; } } } } } .lottieIntro { min-width: 460px; margin-left: -40px; @media @ns { min-width: initial; margin-left: 0; } } } .blurry-overlay { position: relative; z-index: 0; &::before { background: rgba(44, 41, 38, 0.06); backdrop-filter: blur(125px); -webkit-backdrop-filter: blur(125px); position: absolute; width: 100%; height: 100%; content: ''; display: block; z-index: 1; transition: all 0.6s ease-in; } &.browned:before { background: rgba(44, 41, 38, 0.91); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: 1; } &.cleared:before { opacity: 0; } } .blur-me-please { transition: filter 0.9s ease-in-out; &.blurry { -webkit-filter: blur(10px); /* Safari 6.0 - 9.0 */ filter: blur(10px); } } .stick-img-with-text-overlay { position: relative; width: 100%; margin: 0 -50%; left: 50%; right: 50%; .sticky-img { position: -webkit-sticky; position: sticky; top: 0; left: 0; width: 100%; height: 100vh; margin: 0; overflow: hidden; -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); //background-color: #000; picture { transition: opacity ease-in-out 0.5s; } .hidden { opacity: 0; } img { object-fit: cover; max-width: 100vh; max-height: none; display: block; min-width: 100%; min-height: 100%; width: auto; height: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; @media (max-width: 700px) { max-width: 100vh; } } } .overlay { position: relative; padding: 0; width: 100%; margin: -100vh auto 0; overflow: hidden; .overlay-content { margin: 0 auto; background-color: transparent; position: relative; display: inline-block; width: 100%; } } } /**** By line et social share ***/ .by-line-wrapper { padding-bottom: 0 !important; } .by-line { font-family: @barlow; border-top: 1px solid @brun; padding-top: 15px; padding-bottom: 10px; margin: 50px auto 0; color: @brun; font-weight: normal; font-size: 1em; position: relative; .publication-date { margin-top: 5px; opacity: 0.3; } @media screen and (max-width: 767px) { margin: 50px 0 0; font-size: 0.9em; line-height: 1.1; } .author-name { color: @brun; font-weight: bold; font-size: 1em; text-decoration: none; } .by-line-image { width: 60px; border-radius:50%; margin-right: 15px; } @media screen and (max-width: 650px) { padding-right: 150px; } .jdeq,.jdem { position: absolute; top: 20px; right: 0; img { max-width: 110px; } } } .social-sharing-bar { min-width: 230px; margin-bottom: 40px; @media screen and (max-width: 767px) { margin: 0 0 40px; } .sharebar__label { display: block; float: left; line-height: 32px; padding-right: 10px; font-style: normal; font-weight: normal; font-size: 12px; color: @beige; } ul { list-style: none; li { display: inline-block; vertical-align: top; position: relative; a { fill: @beige; display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; text-align: center; text-decoration: none; border-radius: 50%; transition: background 0.2s; cursor: pointer; svg { max-width: 18px; height: auto; overflow: hidden; cursor: pointer; } } } } } .social-sharing-bar, .by-line { max-width: 750px; } .social-sharing-bar ul{ margin: 0; padding: 0; li a { //background:rgba(159, 159, 159, 0.3) !important; background: rgba(0, 0, 0, 0.3); } } .bob { font-weight: 400; font-size: 24px; line-height: 115%; @media all and (max-width: 700px){ font-size: 20px; } } .bob-bold { font-weight: 700; } .chapitre { background: @beige; color: @brun; font-family: @barlow; position: relative; //overflow: hidden; // can't with the sticky map h2 { font-weight: 700; font-size: 20px; line-height: 138%; @media @ns { font-size: 24px; } } &:not(.chapitre-sans-bord) { border-top: 8px solid @jaune; } &.chapitre-sans-visuel { .max700:first-of-type { margin:0 auto; padding-top: 25px; } } &.chapitre-final { .max700 { padding-top: 25px; margin-top: 0; } } h3.chapitre-exergue { background: @jaune; padding: 8px 12px; margin: 60px 0 0; display: inline-block; font-weight: 900; font-size: 16px; text-transform: uppercase; @media @ns { font-size: 22px; } } h1.chapitre-titre { font-weight: 500; font-size: 28px; //font-size: 35px; line-height: 105%; text-transform: uppercase; color: #2C2926; margin: 25px 0 40px; @media @mo { font-size: 48px; } } .chapitre-header-img-wrapper { display: flex; align-items: center; justify-content: center; height: 0; padding-top: 100%; position: relative; overflow: hidden; @media @ns { padding-top: 56.25% } } img.chapitre-header { width: 100%; margin: 0; position: absolute; object-fit: cover; height: 100%; top: 0; @media @ns { } } } .highlight-wrapper { position: relative; display: inline-block; .highlight-text { position: relative; z-index: 2; } .highlight-boite { position: absolute; z-index: 0; width: 105%; height: 20px; bottom: -10px; left: -2.5%; background: @bleu; @media @ns { height: 35px; bottom: -15px; } } } .overflow-h { overflow: hidden; } .main-graph { margin: 50px 0; position: relative; z-index: 1; @media (max-height: 745px) { margin-top: 0; } &.graph-chapitre { border-top: 1px solid rgba(117, 105, 93, 0.3); padding: 15px 0; border-bottom: 1px solid rgba(117, 105, 93, 0.3); } .max700 { overflow: hidden; margin: 25px auto; -webkit-font-smoothing: antialiased; @media all and (max-width: 700px){ margin: 20px 15px; } } .main-graph-titre { font-weight: 400; font-size: 30px; position: relative; max-width: 400px; //margin-top: 15vh; @media @mo { font-size: 42px; } .main-graph-titre-contenu { position: relative; z-index: 1; } .main-graph-titre-boite { position: absolute; z-index: 0; background-color: @jaune; width: 105%; height: 20px; bottom: -8px; @media @ns { height: 35px; bottom: -10px; } } } .main-graph-source { font-weight: 800; font-size: 15px; line-height: 138%; display: flex; align-items: center; margin-bottom: 20px; @media @mo { font-size: 20px; } } .main-graph-ligne { display: flex; flex-direction: row; margin: 0 0 15px; align-items: center; transition: opacity 0.3s ease-in-out; .col1 { text-align: right; padding-right: 15px; font-weight: 700; font-size: 15px; line-height: 101%; flex-basis: 90px; box-sizing: border-box; @media @mo { font-size: 19px; flex-basis: 150px; } } .col2 { background-color: @bleu; height: 42px; @media @mo { height: 52px; } } &.ligne1 .col2 { width: 60px; @media @mo { width: 130px; } } &.ligne1 .col2a { width: calc( 60px - 23px ); background-color: @jaune; opacity: 0.8; @media @mo { width: calc( 130px - 50px ); } } &.ligne1 .col2b { width: 23px; background-color: #ECB436; @media @mo { width: 50px; } } &.ligne2 .col2 { width: 210px; @media @mo { width: 445px; } } &.ligne2 .col2a { width: calc( 210px - 165px ); background-color: @jaune; opacity: 0.8; @media @mo { width: calc( 445px - 356px ); } } &.ligne2 .col2b { width: 165px; background-color: #ECB436; @media @mo { width: 356px; } } &.ligne3 .col2 { width: 43px; @media @mo { width: 91px; } } &.ligne4 .col2 { width: 28px; @media @mo { width: 58px; } } &.ligne4 .col2a { width: calc( 28px - 5px ); background-color: @jaune; opacity: 0.8; @media @mo { width: calc( 58px - 7px ); } } &.ligne4 .col2b { width: 5px; background-color: #ECB436; @media @mo { width: 7px; } } &.ligne5 .col2 { width: 172px; @media @mo { width: 363px; } } &.ligne5 .col2a { width: calc( 171px - 75px ); background-color: @jaune; opacity: 0.8; @media @mo { width: calc( 363px - 127px ); } } &.ligne5 .col2b { width: 75px; background-color: #ECB436; @media @mo { width: 127px; } } .col3 { padding-left: 15px; font-family: @courierPrime; font-style: normal; font-weight: 400; font-size: 24px; line-height: 109%; letter-spacing: -0.06em; @media @mo { font-size: 36px; } } .add-on { position: relative; padding-left: 20px; font-weight: 700; text-align: right; z-index: 8; @media @ns { text-align: initial; } .add-on-chiffre { font-family: @courierPrime; font-weight: 700; font-size: 24px; line-height: 109%; text-align: right; letter-spacing: -0.06em; color: @brun; @media @ns { font-size: 36px; } } .add-on-fleche { position: absolute; left: -80%; top: 60%; @media @ns { left: -100%; top: 60%; } } } } &#graphChapitre1 { &.hide-lignes-bleues .main-graph-ligne:not(.ligne1) { opacity: 0.3; } } &#graphChapitre3,&#graphChapitre3b { &.hide-lignes-bleues .main-graph-ligne:not(.ligne2) { opacity: 0.3; } .main-graph-ligne.ligne2 { position: relative; } .add-on { position: absolute; right: 0; bottom: -65px; max-width: 200px; .add-on-fleche { left: 30%; top: -100%; @media @mo { left: -15px; top: -50%; } } } } &#graphChapitre3b { .ligne2 .col2a { width: calc(165px - 33px); @media @mo { width: calc(445px - 72px); } } .ligne2 .col2b { width: 33px; @media @mo { width: 72px; } } .add-on { right: unset; left: 80px; @media @mo { right: 180px; left: unset; } .add-on-fleche { left: auto; right: -25px; } } } &#graphChapitre3c { &.hide-lignes-bleues .main-graph-ligne:not(.ligne3) { opacity: 0.3; } .main-graph-ligne.ligne3 .col2{ background: @jaune; } } &#graphChapitre4 { &.hide-lignes-bleues .main-graph-ligne:not(.ligne4) { opacity: 0.3; } .add-on { display: flex; .add-on-chiffre { padding-left: 5px; padding-top: 5px; } .add-on-fleche { left: -59px; top: 95%; transform: rotate(6deg); @media @mo { left: -79px; top: 90%; transform: rotate(0deg); } } } } &#graphChapitre5 { &.hide-lignes-bleues .main-graph-ligne:not(.ligne5) { opacity: 0.3; } .main-graph-ligne.ligne5 .col2{ background: @jaune; } } &#graphChapitre5b,&#graphChapitre5c { .max700 { overflow: visible; margin-bottom: 50px; } .main-graph-ligne { position: relative; } .add-on { position: absolute; display: flex; align-items: center; justify-content: center; right: 120px; bottom: -45px; @media @mo { right: 250px; } .add-on-chiffre { padding-left: 10px; } .add-on-fleche { left: auto; right: -25px; bottom: auto; top: -25px; } } } &#graphChapitre5c { .main-graph-ligne.ligne5 { .col2a { width: calc( 367px - 100px ); } .col2b { width: 100px; } } } .grand-total { border-top: 1px solid rgba(117, 105, 93, 0.3); padding-top: 20px; .total-col-titre { font-weight: 700; font-size: 18px; line-height: 101%; display: inline-block; width: 90px; box-sizing: border-box; padding-right: 15px; text-align: right; @media @mo { font-size: 28px; width: 150px; } } .total { font-family: @courierPrime; font-weight: 700; font-size: 32px; line-height: 109%; text-align: right; letter-spacing: -0.06em; @media @mo { font-size: 40px; } } } } .main-graph-tuto { padding: 90px 0 0; display: flex; flex-direction: row; @media @mo { padding: 80px 0 0; } @media (max-height: 745px) { padding-top: 70px; } .main-graph-colonne-explication { position: relative; flex-grow: 1; @media (max-height: 745px) { margin-top: -25%; } .explication-ligne { position: absolute; font-family: @barlow; top: 25px; left: 25px; color: #FFF7DA; .fleche-tuto { position: absolute; top: -40px; left: -50px; @media (max-height: 745px) { display:none; } } h3 { color: @bleu; text-transform: uppercase; } ul { margin-top: 0; padding-left: 20px; } p { margin-bottom: 5px; } p, ul li { font-family:@barlowSemiCondensed; font-weight: 500; font-size: 15.5px; line-height: 125%; @media @mo { font-family:@barlow; } } } .ligne-overlay1 { margin-top: -20px; @media (max-height: 745px) { margin-top: 20px; } } .ligne-overlay2 { margin-top: -55px; @media (max-height: 745px) { margin-top: 0; } @media (max-width: 768px) { .fleche-tuto { top: 10px; left: -110px; transform: rotate(-45deg); } } @media @ns { margin-top: 45px; } } .ligne-overlay3 { margin-top: 85px; @media (max-height: 745px) { margin-top: 50px; } @media @ns { margin-top: 115px; } } .ligne-overlay4 { margin-top: 130px; @media (max-height: 745px) { margin-top: 70px; } @media @ns { margin-top: 180px; } } .ligne-overlay5 { margin-top: 175px; @media (max-height: 745px) { margin-top: 100px; } @media (max-width:768px) { .fleche-tuto { transform: rotate(-18deg); top: -20px; left: -100px; } } @media @ns { margin-top: 245px; } } } .main-graph-colonne-overlay { flex-basis: 90px; min-width: 90px; margin-top: 25px; margin-left: -10px; @media @mo { min-width: 150px; flex-basis: 150px; } .main-graph-ligne { text-align: right; margin: 0 0 16px 0; height: 42px; width: 100%; display: flex; align-items: center; font-weight: 700; font-size: 13.5px; line-height: 101%; box-sizing: border-box; justify-content: flex-end; padding-right: 10px; background: rgba(255, 234, 159, 0.4); color: @jaune; @media @mo { height: 55px; font-size: 19px; margin: 0 0 12px 0; } } } .main-graph-ligne, .explication-ligne { //transition: all 0.3s ease-in; opacity: 0; &.revealed { opacity: 1; } } } .graph-overlay { position: fixed; z-index: 2; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(21, 20, 19, 0.85); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: all 0.6s ease-in; opacity: 0; padding-top: 7vh; pointer-events: none; @media @mo { padding-top: 20vh; } &.revealed { opacity: 1; } } #pinMainGraph { position: relative; } .decompte { background: #2C2926; border-top: 8px solid @bleu; border-bottom: 8px solid @bleu; display: flex; align-items: center; justify-content: center; flex-direction: column; //min-height: 50vh; padding: 65px 0; position: relative; overflow: hidden; @media @ns { padding: 145px 0; } .decompte-titre { position: relative; .decompte-titre-texte { font-family: @barlow; font-weight: 400; font-size: 30px; line-height: 109%; text-align: center; color: @bleu; position: relative; z-index: 2; @media @mo { font-size: 42px; } } .decompte-titre-boite { background: #000000; position: absolute; z-index: 0; height: 35px; bottom: -15px; width: 105%; left: -2.5%; @media @mo { width: 105%; } } } .decompte-ajustement { font-family: @courierPrime; text-align: center; color: @bleu; margin-top: 40px; margin-bottom: 0; &.no-mar-top { margin-top: 0; } .ajustement-chiffre { font-weight: 400; font-size: 30px; @media @ns { font-size: 46px; } } p.logements { font-size: 20px; margin-top: -5px; @media @ns { font-size: 46px; } } p { font-family: @courierPrime; font-weight: 400; font-size: 15px; margin-top: 0; @media @ns { font-size: 20px; } } } p { font-family: @barlow; color: @bleu; } .compteur-wrapper { min-height: 120px; min-width: 100%; overflow: visible; position: relative; &.mar-top-30 { margin-top: 30px; } @media @mo { min-height: 188px; } .lottiePaille { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -45%); z-index: 2; min-width: 600px; min-height: 500px; opacity: 0.3; @media @ns { min-height: 800px; min-width: 600px; } } .ancien-chiffre { transition: all 0.3s ease-in; &.toggled { opacity: 0; } } .nouveau-chiffre { transition: all 0.3s 0.3s ease-out; &:not(.toggled) { opacity: 0; } } .compteur { font-family: @courierPrime; font-weight: 700; font-size: 92px; line-height: 109%; color: #FFEA9F; position: absolute; z-index: 0; top: 50%; left: 50%; transform: translate(-50%, -50%); @media @mo { font-size: 188px; } } } } /**** PHOTOS ****/ .photo-wrapper .photo-container, .photo-plein-ecran-wrapper .photo-container { display: flex; align-items: center; justify-content: center; overflow: hidden; } @media (max-width: 767px) { .photo-wrapper .photo-container img, .photo-plein-ecran-wrapper .photo-container img { height: 100%; width: auto; } } .photo-wrapper .photo-container img, .photo-plein-ecran-wrapper .photo-container img { object-fit: cover; width: 100%; } .photo-wrapper { max-width: 750px; margin: 30px auto; &.full-screen { max-width: 100%; .bdv { max-width: 700px; margin: auto; } } @media all and (max-width: 750px){ margin: 20px 0; .bdv { margin-left: 0; } } &.photosAB { @media all and (min-width: 750px) { display: flex; flex-direction: row; .photoA, .photoB { flex-basis: 50%; img { width: 100%; } } .photoA { margin-right: 5px; } .photoB { margin-left: 5px; } } @media all and (max-width:767px){ &.vertical { display: flex; flex-direction: row; .photoA, .photoB { flex-basis: 50%; img { width: 100%; } } .photoA { margin-right: 5px; } .photoB { margin-left: 5px; } } &:not(.vertical) { .photoA { margin-bottom: 10px; img { width: 100%; } .bdv { //display: none; } } } } } &.mortaise-droite, &.mortaise-gauche { div.mortaise { @media all and (min-width: 750px) { max-width: 50%; margin-bottom: 25px; .bdv { .credit-photo { display: block; } } } img { width: 100%; &.book-cover { @media all and (min-width: 768px) { max-width: 200px; } } } } } &.mortaise-droite { div.mortaise { @media all and (min-width: 750px) { float: right; margin-left: 45px; } } } &.mortaise-gauche { div.mortaise { @media all and (min-width: 750px) { float: left; margin-right: 45px; } } } } .joined-credits { margin: -25px auto 25px; max-width: 700px; @media screen and (max-width: 767px){ margin: -25px 15px 25px; .bdv { margin-left: 0; } } } .bdv { font-family: @barlow; font-style: normal; font-weight: 700; font-size: 15px; line-height: 120%; //opacity: 0.5; padding-top: 7px; .credit-photo,.credits-photo { font-weight: 400; //display: block; } &.chapitre-en-tete { padding-top: 0; margin-top: -10px; } &.bdv-header { text-align: right; padding-right: 15px; } @media (max-width:767px) { font-size: 13px; line-height: 15px; margin-left: 15px; margin-right: 15px; } } .apparte { margin: 60px 0 60px; position: relative; overflow: hidden; background-color: @jaunefondapparte; .max700 { padding: 0 0 30px; } .sous-chapitre-titre { font-weight: 400; font-size: 24px; line-height: 118%; @media @ns {font-size: 34px;} .highlight-boite { background: rgba(255, 255, 255, 0.4); } } p, ul li { font-weight: 400; font-size: 18px; line-height: 138%; @media @ns {font-size: 20px;} } &.apparte-methodo { margin-bottom: 0; ul li { margin-bottom: 15px; } } } /*** credits ****/ #credits { font-family: @barlow; background: #2C2926; border-top: 8px solid @bleu; background-size: 100% 100%; padding-bottom: 5vh; padding-top: 5vh; text-align: center; color: @bleu; position: relative; .credits-titre { position: relative; display:inline-block; margin-bottom: 40px; } .titre-texte { font-family: @barlow; font-weight: 400; font-size: 42px; line-height: 109%; text-align: center; color: @bleu; position: relative; z-index: 2; } .titre-boite { background: #000000; position: absolute; z-index: 0; height: 35px; bottom: -15px; width: 105%; left: -2.5%; @media @mo { width: 105%; } } p { font-weight: 300; font-size: 20px; line-height: 28px; text-align: center; color: #FFF9E3; margin-bottom: 15px; } @media all and (max-width: 700px){ // mobile strong { display: block; } } } /*** Sommaire ***/ .sommaire-button { position: fixed; bottom: 15px; right: 15px; transition: all ease 0.4s; font-family: @barlow; text-align: left; font-style: normal; font-weight: normal !important; font-size: 13px; line-height: 24px; text-decoration: none; color: #2C2926 !important; height: 40px; padding: 0 15px; background: @bleu; box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); border: 1px solid #2C2926; border-radius: 20px; display: flex; align-items: center; z-index: 4; @media (max-height: 667px) { bottom: 55px; } &.shrunk { font-size: 0; width: 40px; padding: 0; justify-content: center; } &.active { font-size: 13px; width: auto; padding: 0 15px; border: 1px solid #2C2926; } &.hidden { display: none; } .hamburgere { width: 20px; height: 14px; position: relative; margin: 0; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); -webkit-transition: .5s ease-in-out; -moz-transition: .5s ease-in-out; -o-transition: .5s ease-in-out; transition: .5s ease-in-out; cursor: pointer; span { display: block; position: absolute; height: 2px; width: 100%; background: #2C2926; border-radius: 2px; opacity: 1; left: 0; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); -webkit-transition: .25s ease-in-out; -moz-transition: .25s ease-in-out; -o-transition: .25s ease-in-out; transition: .25s ease-in-out; &:nth-child(1) { top: 0; -webkit-transform-origin: left center; -moz-transform-origin: left center; -o-transform-origin: left center; transform-origin: left center; } &:nth-child(2) { top: 6px; -webkit-transform-origin: left center; -moz-transform-origin: left center; -o-transform-origin: left center; transform-origin: left center; } &:nth-child(3) { top: 12px; -webkit-transform-origin: left center; -moz-transform-origin: left center; -o-transform-origin: left center; transform-origin: left center; } } } &.active .hamburgere { span:nth-child(1) { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); top: -1px; left: 4px; } span:nth-child(2) { width: 0%; opacity: 0; } span:nth-child(3) { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); top: 13px; left: 4px; } } } .sommaire { display: flex; flex-direction: column; background: #2C2926; box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); position: fixed; bottom: 80px; right: 15px; z-index: 9; width: 270px; padding: 15px 25px 0; transition: all ease-in-out 0.6s; border-radius:8px; @media (max-width:700px) { //width: 100%; //right: 0; } @media (max-height: 667px) { bottom: 120px; padding: 15px 15px 0; } &.inactive { bottom: -800px; .sommaire-item {opacity: 0} } &.hidden { display: none; } .sommaire-item { font-family: @barlow; text-align: left; font-style: normal; font-weight: bold; font-size: 16px; line-height: 17px; display: flex; flex-direction: column; padding: 14px 0; align-items: flex-start; justify-content: flex-start; color: #fff; text-decoration: none; transition: all ease-in-out 0.6s; border-bottom: 1px solid rgba(148, 203, 206, 0.3); position: relative; z-index: 2; -webkit-font-smoothing: antialiased; @media (max-height: 745px) { padding: 6px 0; font-size: 14px; } &:last-of-type { border-bottom: 0; } &:hover { text-decoration: underline; } &.active { color: @bleu !important; font-weight: 900; } span.chapter-indicator { display: block; font-family: @barlow; font-style: normal; font-weight: 500; font-size: 13px; line-height: 24px; @media screen and (max-width: 767px) { font-size: 12px; line-height: 18px; } } } &::after { content: ''; display: block; height: 40px; width: 40px; background: #2C2926; margin: -22px auto 0; transform: rotate(45deg); box-shadow: 3px 3px rgb(0 0 0 / 25%); border-radius: 0 0 4px 0; position: relative; bottom: -16px; right: -100px; } } /*** bascule mobile/desktop ***/ .small-mobile-only { @media screen and (min-height: 668px){ display: none; } } .mobile-only { @media screen and (min-width: 768px){ display: none; } } .desktop-only { @media screen and (max-width: 767px){ display: none; } } // Notifications Handler #notif-container { position: fixed; top: 45px; //jdx specific right: 0; width: auto; z-index: 999999; } .notif-toast { position: relative; padding: 8px 12px; margin: 16px; border-radius: 20px; background: #4a4a4a; cursor: pointer; box-shadow: 0 1px 6px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.19); border: 1px solid black; animation-duration: .3s; animation-name: notif; animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); } .notif-fadeOut { animation-name: notifFadeOut; animation-duration: .3s; animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); animation-fill-mode: forwards; } #notif-container p, #notif-container h4 { margin: 3px 0!important; } .notif-title { font-weight: 700; font-size: 15px; margin-bottom: 10px; } .notif-text { font-size: 14px; color: #000; font-family: @barlow; } .notif-icon { position: absolute; top: 5px; left: -40px; width: 50px; height: 50px; border-radius: 100%; background: #FFF; } .notif-toast a, .notif-toast a:hover { color: #549EDB !important; text-decoration: none !important; } /** toast types */ .notif-success { border-bottom: 2px solid #51C625; } .notif-warning { border-bottom: 2px solid #DB9215; } .notif-error { border-bottom: 2px solid #DB2B1D; } .notif-info { border-bottom: 2px solid #27ABDB; } @keyframes notif { from { transform: translate3d(400px, 0, 0);; opacity: 0; } to { transform: translate3d(0, 0, 0); opacity: 1; } } @keyframes notifFadeOut { from { transform: translate3d(0, 0, 0); opacity: 1; } to { transform: translate3d(400px, 0, 0); opacity: 0; } } progress { width: 100%; position: fixed; height: 10px; appearance: none; background-color: rgba(29, 27, 25, 0.6); border: none; color: @bleu; z-index: 11111111; @media (max-height:700px) { height: 6px; } } progress::-webkit-progress-bar { background-color: rgba(29, 27, 25, 0.6); } progress::-webkit-progress-value { background-color: @bleu; } progress::-moz-progress-bar { background-color: @bleu; }