* { box-sizing: border-box; margin: 0; padding: 0; transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out; } .loader { border: 2px solid #f3f3f3; /* Light grey */ border-top: 2px solid #2b4550; /* Blue */ border-radius: 50%; width: 20px; height: 20px; animation: spin 2s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } body { background-color: $brand100; } html>body:not(.mainrubrik-veuillez-vous-connecter):not([class$="mainrubrik-"]), html>body.mainrubrik- #content>.formEntete, html>body.mainrubrik-:not(.htmlonly_nodoctype), html>body.nodoctype.mainrubrik- { display: grid; min-height: 100vh; min-height: 100svh; grid-template-columns: auto 1fr; grid-template-rows: 60px 1fr 30px; // // Header div // #header { grid-column: 1/3; grid-row: 1/2; height: 100%; padding-right: .5em; z-indeX: 100; .header-left-container { display: flex; align-items: center; height:100% } input { display: none; } #menu-toggle-label { cursor: pointer; //margin: 0.5em; padding: .25em ; border-right: 1px solid $brand300; height: 100%; display: flex; align-items: center; i { padding: .25em ; } &:hover i { color: $brand300; } &:active i { color: $brand500; transform: translateY(2px); } } } // // Menu div // #menu { position: relative; overflow: hidden; grid-column: 1/1; grid-column: 1/2; grid-row: 2/4; position: unset; margin: 0; margin-right: 10px; padding-top: 2em; padding-bottom: 2em; top: 0; left: 0; height: 100%; border-right: 1px solid $brand200; white-space: nowrap; z-index: 99; &.menu-closed { padding-top: 80px; height: 100svh; width: 0.1px; position: fixed; box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2); transition: width 0.3s ease-in-out; transition-delay: 0.2s; } &.apercu-menu { padding-top: 80px; position: fixed; top: 0px; left: 0; width: 250px; height: 100%; } &.menu-opened { opacity: 1; padding-top: 20px; margin-top: 0; position: unset; width: 250px; height: 100%; } } // // Content div // #content { grid-column: 2/3; grid-row: 2/3; margin: 1em; background: transparent; &.ui-widget-content { border: none; } div.message p, #message p { display: flex; align-items: center; .text { padding-left: 10px; } } #title h2 { text-transform: capitalize; } } .xdebug-var-dump { grid-column: 1/-1; } // Page DEscription .pageDescription { margin-bottom: 2em; } #form-content { margin-bottom: 1em; } @media screen and (max-width: 800px) { #content { margin: 0.5em 0; } } } @media screen and (max-width: 800px) { html>body#jqueryui.mainrubrik-tableau-de-bord div#content { margin: 0.5em; } } // // Footer div // #footer { grid-column: 2/3; grid-row: 3/4; margin: 0; font-size: 12px; * { border: none; background: none; } a, a:active, a:visited { color: $brand700; } } .info-16 { cursor: help; } #frame_pdf { width: 100% !important; } @media screen and (max-width: 1100px) { html>body:not(.mainrubrik-veuillez-vous-connecter):not([class$="mainrubrik-"]), html>body.mainrubrik- #content>.formEntete, html>body.mainrubrik-:not(.htmlonly_nodoctype), html>body.nodoctype.mainrubrik- { #menu { box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2); &.menu-opened { position: fixed; width: 250px; height: 100%; border-top: 60px solid $brand500; >ul { position: sticky; } } } #header { position: absolute; top: 0; left: 0; width: 100%; height: 60px; } } }