123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537 |
- // @import './node_modules/@mdi/font/scss/materialdesignicons.scss';
- @import "./base.scss";
- @import "./colors.scss";
- @import "./common.scss";
- @import "./layout.scss";
- @import "./fonts/snap_it/snap_it.css";
- @import "./fonts/avara/avara.css";
- @import "./fonts/public-sans/public-sans.css";
- body{
- background-color: $back;
- font-family: 'public_sans';
- font-weight: 300;
- font-size: 16px;
- }
- #app{
- }
- #app>header#header{
- // background-color: $front;
- pointer-events: none;
- .row{
- display: flex;
- flex-direction: row;
- pointer-events: none;
- >*{
- margin-right: 1em;
- pointer-events: all;
- }
- // &.top{
- // }
- }
- h1.row{
- font-family: "avara";
- span.title{
- font-size: 2em;
- }
- }
- }
- #main-content{
- #map-backgrounds{
- .map-bg-canvas{
- mix-blend-mode: multiply;
- // filter: contrast(170%);
- &.gradient{
- // filter: blur(10px);
- }
- &.trame{
- // display:none;
- }
- }
-
- }
- #map-concernements{
- }
- #map-nav{
- pointer-events: none;
- ul{
- display: flex;
- flex-flow: row;
- gap: 1em;
- pointer-events: none;
- li{
- list-style: none;
- pointer-events: all;
- margin-right: 1em;
- a{
- @include btn();
- display: block;
- line-height: 2.1;
- &.disabled{
- pointer-events: none;
- opacity: 0.4;
- cursor: default;
- }
- }
- }
- }
- }
- #content{
- @mixin main-cartouche{
- background-color: rgba(255, 255, 255, 0.9);
- box-sizing: border-box;
- width:450px;
- height: 100%;
- padding: 1rem 1rem 1rem;
- overflow-y: auto;
- overflow-x: hidden;
- //
- display: flex;
- flex-direction: column;
- }
- section.static{
- @include main-cartouche();
- h2{
- font-weight: 400;
- font-size: 1.323em;
- padding: 1em 0;
- }
- p:not(:last-of-type){
- margin-bottom: 1em;
- }
- img{
- width: 100%;
- }
- iframe{
- width: 100%;
- aspect-ratio: 4 / 3;
- }
- }
- section.concernement{
- @include main-cartouche();
- justify-content: flex-end;
- // layout
- >header{
- flex: 0 0 auto;
- padding: 0 0 1em 0;
- }
- >main{
- flex: 1 1 auto;
- }
- >footer{
- flex: 0 0 auto;
- padding: 1em 0 0;
- }
-
- >header{
- flex: 0 0 auto;
- }
- // contents
- >header{
- display: flex;
- // height: 8rem;
- flex-direction: column;
- justify-content: flex-end;
- div.pre-header{
- min-height: 10em;
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- label, h3{
- // height: 70px;
- box-sizing: border-box;
- // padding: 0 0 1em 0;
- // flex-grow: auto;
- }
- h3{
- font-weight: 400;
- font-size: 1.323em;
- }
- span.menacemaintient{
- display: block;
- font-weight: 100;
- font-size: 0.882em;
- padding: 1em 0 1em 0;
- }
- }
- div.concernement-cartouche-icons{
- h2{
- font-weight: 400;
- font-size: 1.323em;
- // &.faded{
- // font-weight: 100;
- // }
- }
- nav.icons{
- ul{
- display: flex;
- flex-direction: row;
- li{
- margin: 0.4em 0.6em 0 0;
- >svg{
- display: inline-block;
- $d: 35px;
- width:$d; height:$d;
- border-radius: $d * 0.5;
- background-color: #fff;
- padding: 2px;
- box-sizing: border-box;
- color: #333;
- // font-size: 2em;
- }
- }
- }
- }
- }
-
- }
-
- >main{
- overflow-y: auto;
-
- >section:not(:last-of-type),
- .multiple >section:not(:last-of-type){
- padding-bottom: 1em;
- }
- figure{
- margin:0.5em 0;
- img{
- max-width: 100%;
- }
- }
- // PUISSANCE D'AGIR
- ul.besoins{
- li.besoin{
- position: relative;
- label.mdi:before{
- font-size: 0.8em;
- padding-right: 0.2em;
- }
- svg.open-btn{
- position: absolute;
- right:0; top:0;
- cursor: pointer;
- }
- >header{
- padding: 0 0 0 0;
- cursor: pointer;
- >label{
- padding:0.3em 0 0.5em 0;
- svg{
- width:0.7em; height:0.7em;
- }
- &.hover{
- svg{
- color:#01ffe2;
- }
- }
- }
- h4.besoin-description{
- font-weight: 400;
- font-size: 1.2em;
- // padding: 0.5em 0;
- }
- }
- ul.reponses{
- overflow: hidden;
- max-height: 1px;
- transition: all 0.7s ease-in-out;
- li.reponse{
- padding:0.5em 0 0;
- &:last-of-type{
- padding: 0.5em 0 1em;
- }
- >label{
- padding:0 0 0.5em 0;
- svg{
- width:0.7em;height:0.7em;
- }
- &.hover{
- svg{
- color:#01ffe2;
- }
- }
- }
- section{
- &:not(:last-of-type){
- padding: 0 0 0.5em 0;
- }
- label{ padding:0; }
- p{margin:0;}
- }
- }
- }
- a.contribute-link{
- display: flex;
- flex-direction: row;
- justify-content: flex-end;
- align-items:flex-end;
- font-weight: 100;
- font-size: 0.882em;
- svg{
- width:1em; height:1em; margin-right: 0.5em;
- }
- }
- &.opened{
- ul.reponses{
- max-height: 1000px;
- }
- }
- padding-bottom: 0.5em;
- border-bottom: #aaa 1px solid;
- margin-bottom: 1em;
- }
- }
- // CERCLE POLITIQUE
- section.content-doleances{
- >main{
- padding: 1em 0;
- h5{
- margin: 0 0 1em 0;
- }
- }
- label{
- margin:0;
- padding:0 0 0.5em 0;
- }
- p{
- margin:0;
- padding:0 0 0.5em 0;
- }
- ul{
- // padding:0 0 0 1em;
- }
-
- .v-select{
- input.vs__search{
- display: none;
- }
- div.vs__dropdown-toggle{
- border-radius: 0;
- border: none;
- }
- div.vs__selected-options{
- padding: 0;
- span.vs__selected{
- padding: 0;
- margin: 0;
- font-weight: 400;
- font-size: 1.323em;
- color:inherit;
- line-height: 1.15;
- }
- }
- ul.vs__dropdown-menu{
- border-radius: 0;
- border: none;
- li.vs__dropdown-option{
- white-space:normal;
- padding:1em 1em 0 1em;
- &:last-of-type{
- padding:1em;
- }
- color: #aaa;
- transition: color 0.2s ease-in-out;
- &.vs__dropdown-option--highlight{
- color:#000;
- background-color: #fff;
- }
- }
- }
- }
- }
- }
- >footer{
- section.infos{
- >div{
- font-size: 0.882em;
- font-weight: 100;
- // white-space:nowrap;
- >span.label{
- font-weight: 100;
- }
- p{
- // display: inline-block;
- font-size: inherit;
- font-weight: inherit;
- }
- }
- }
- }
-
- h3{
- font-weight: 400;
- font-size: 1.2em;
- }
- h4{
- font-weight: 400;
- font-size: 1.2em;
- }
- h5{
- font-weight: 400;
- font-size: 1.1em;
- }
- section>div, p{
- font-size: 1em;
- font-weight: 300;
- }
- label{
- display: block;
- font-weight: 100;
- font-size: 0.882em;
- padding: 0 0 1em 0;
- }
- ul, li{
- padding:0; margin:0;
- list-style: none;
- }
-
-
- }
- }
- #map-popup{
- position: absolute;
- z-index: 10;
- pointer-events: none;
- // outline: 1px solid red;
- // top:0;
- // left: 0;
- .popup-content-wrapper{
- display: flex;
- flex-direction: row;
- align-items:center;
- .concernement-map-popup{
- background-color: white;
- padding: 1em;
- border-radius: 3px;
- max-width: 30em;
- ul.icons{
- display: flex;
- flex-direction: row;
- padding: 0;
- margin: 0;
- li{
- list-style:none;
- padding:0;
- margin:0 1em 0 0;
- }
- }
- }
- .concernement-map-popup-recit{
- padding-left: 0.8em;
- >svg{
- display: inline-block;
- $d: 55px;
- width:$d; height:$d;
- border-radius: $d * 0.5;
- background-color: #fff;
- padding: 10px;
- box-sizing: border-box;
- color: #333;
- // font-size: 2em;
- }
- }
- .entite-map-popup,
- .besoin-map-popup,
- .reponse-map-popup{
- background-color: white;
- padding: 1em;
- border-radius: 3px;
- max-width: 30em;
- >div{
- margin-bottom: 0.5em;
- label{
- display: block;
- font-weight: 100;
- font-size: 0.882em;
- }
- }
- }
- h1, div{
- font-size: 1em;
- font-weight: 400;
- }
- h1{
- padding-bottom: 0.5em;
- }
- }
- &:before{
- content: "";
- display: block;
- height: 0;
- width: 2.9em;
- border-top: 1px solid #01ffe2;
- position: absolute;
- }
- &[pos="top-right"]{
- padding: 0 0 2em 2em;
- &:before{
- bottom: 0;
- left: 0;
- transform-origin: 0 0;
- transform: rotate(-45deg);
- }
- }
- &[pos="bottom-right"]{
- padding: 2em 0 0 2em;
- &:before{
- top: 0;
- left: 0;
- transform-origin: 0 0;
- transform: rotate(45deg);
- }
- }
- &[pos="top-left"]{
- padding: 0 2em 2em 0;
- &:before{
- bottom: 0;
- right: 0;
- transform-origin: right bottom;
- transform: rotate(45deg);
- }
- .popup-content-wrapper{
- flex-direction:row-reverse;
- .concernement-map-popup-recit{
- padding-right: 0.8em;
- }
- }
- }
- &[pos="bottom-left"]{
- padding: 2em 2em 0 0;
- &:before{
- top: 0;
- right: 0;
- transform-origin: right top;
- transform: rotate(-45deg);
- }
- .popup-content-wrapper{
- flex-direction:row-reverse;
- .concernement-map-popup-recit{
- padding-right: 0.8em;
- }
- }
- }
- }
- }
|