main.scss 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975
  1. // @import './node_modules/@mdi/font/scss/materialdesignicons.scss';
  2. @import "./base.scss";
  3. @import "./colors.scss";
  4. @import "./common.scss";
  5. @import "./layout.scss";
  6. @import "./fonts/snap_it/snap_it.css";
  7. @import "./fonts/avara/avara.css";
  8. @import "./fonts/public-sans/public-sans.css";
  9. body{
  10. background-color: $back;
  11. font-family: 'public_sans';
  12. font-weight: 300;
  13. font-size: 16px;
  14. }
  15. #app{
  16. }
  17. #app>header#header{
  18. // background-color: $front;
  19. pointer-events: none;
  20. display: flex;
  21. flex-direction: row;
  22. align-items: baseline;
  23. .row{
  24. display: flex;
  25. flex-direction: row;
  26. pointer-events: none;
  27. margin: 0;
  28. padding: 0;
  29. >*{
  30. margin-right: 1em;
  31. pointer-events: all;
  32. }
  33. // &.top{
  34. // }
  35. }
  36. div.row.title{
  37. padding: 0 0 0 1em;
  38. h1{
  39. font-family: "avara";
  40. margin: 0 1em 0 0;
  41. a{
  42. margin: 0;
  43. span.title{
  44. font-size: 2em;
  45. }
  46. }
  47. }
  48. }
  49. .row.top{
  50. >*{
  51. label,a{
  52. padding: 0;
  53. span{
  54. display:none;
  55. }
  56. }
  57. }
  58. }
  59. }
  60. #main-content{
  61. #map-backgrounds{
  62. .map-bg-canvas{
  63. mix-blend-mode: multiply;
  64. // filter: contrast(170%);
  65. &.gradient{
  66. // filter: blur(10px);
  67. }
  68. &.trame{
  69. // display:none;
  70. }
  71. }
  72. }
  73. #map-concernements{
  74. div.loading{
  75. position: absolute;
  76. top:50%;
  77. left:50%;
  78. z-index: 200;
  79. transform: translateX(-50%) translateY(-50%);
  80. width: 150px;
  81. display: block;
  82. text-align: center;
  83. // font-weight: 600;
  84. font-size: 1.134em;
  85. &::after{
  86. background: url(../assets/Ellipsis-5s-100px.svg);
  87. background-clip: content-box;
  88. background-size: contain;
  89. background-position: center;
  90. background-repeat: no-repeat;
  91. display: inline-block;
  92. width: 150px; height: 30px;
  93. border: #01ffe2;
  94. content: " ";
  95. }
  96. }
  97. }
  98. #map-nav{
  99. pointer-events: none;
  100. ul{
  101. display: flex;
  102. flex-flow: row;
  103. gap: 1em;
  104. pointer-events: none;
  105. li{
  106. list-style: none;
  107. pointer-events: all;
  108. margin-right: 1em;
  109. a{
  110. @include btn();
  111. display: block;
  112. // line-height: 2.1;
  113. line-height: 1.7;
  114. &.active{
  115. // color: red;
  116. span.icon{
  117. background-color: rgba(255, 255, 255, 0.6);
  118. }
  119. }
  120. &.disabled{
  121. pointer-events: none;
  122. opacity: 0.4;
  123. cursor: default;
  124. }
  125. @media screen and (max-width: 1500px) {
  126. display: flex;
  127. flex-direction: column;
  128. align-items: center;
  129. }
  130. }
  131. }
  132. }
  133. @media screen and (max-width: 1300px) {
  134. ul{
  135. gap: 0.5em;
  136. li{
  137. margin:0;
  138. a{
  139. span.label{
  140. display: none;
  141. }
  142. span.icon {
  143. width:2em;
  144. height:2em;
  145. border-radius: 1em;
  146. }
  147. }
  148. }
  149. }
  150. }
  151. @media screen and (max-width: 880px) {
  152. ul{
  153. flex-flow: column;
  154. width:fit-content;
  155. margin: 0;
  156. li{
  157. a{
  158. span.icon{}
  159. }
  160. }
  161. }
  162. }
  163. }
  164. $cartouch_width : 450px;
  165. @mixin font_questions{
  166. font-size: 1em;
  167. font-weight: 500;
  168. line-height: 1.4;
  169. }
  170. @mixin font_reponses{
  171. font-weight: 100;
  172. font-size: 0.882em;
  173. line-height: 1.4;
  174. }
  175. #content{
  176. display: flex;
  177. gap: 0.5rem;
  178. @mixin main-cartouche{
  179. background-color: rgba(255, 255, 255, 1);
  180. box-sizing: border-box;
  181. width:$cartouch_width;
  182. height: 100%;
  183. padding: 2rem 2rem 1rem;
  184. overflow-y: auto;
  185. overflow-x: hidden;
  186. //
  187. display: flex;
  188. flex-direction: column;
  189. }
  190. section.static{
  191. @include main-cartouche();
  192. h2{
  193. font-weight: 400;
  194. font-size: 1.323em;
  195. padding: 1em 0;
  196. }
  197. p:not(:last-of-type){
  198. margin-bottom: 1em;
  199. }
  200. img{
  201. width: 100%;
  202. }
  203. iframe{
  204. width: 100%;
  205. aspect-ratio: 4 / 3;
  206. }
  207. }
  208. section.concernement{
  209. @include main-cartouche();
  210. justify-content: flex-end;
  211. // layout
  212. >header{
  213. flex: 0 0 auto;
  214. padding: 0 0 1em 0;
  215. }
  216. >main{
  217. flex: 1 1 auto;
  218. }
  219. >footer{
  220. flex: 0 0 auto;
  221. padding: 0.5em 0 0;
  222. margin: 1.5em 0 0;
  223. border-top: #01ffe2 solid 0.5px;
  224. }
  225. >header{
  226. flex: 0 0 auto;
  227. }
  228. // contents
  229. $gradpad: 20px;
  230. >header{
  231. display: flex;
  232. // height: 8rem;
  233. flex-direction: column;
  234. justify-content: flex-end;
  235. // gradiaent over scroll
  236. position: relative;
  237. &:before{
  238. content: ' ';
  239. display: block;
  240. position:absolute;
  241. width: 100%; height:$gradpad;
  242. z-index: 500;
  243. bottom: 0; left: 0; margin-bottom: - $gradpad;
  244. // background-color: #01ffe2;
  245. background: linear-gradient(rgba(255,255,255,1), rgba(255,255,255,0));
  246. }
  247. div.entite{
  248. // min-height: 10em;
  249. // display: flex;
  250. // flex-direction: column;
  251. // justify-content: flex-end;
  252. padding-bottom: 0.5em;
  253. label, h3{
  254. // height: 70px;
  255. box-sizing: border-box;
  256. // padding: 0 0 1em 0;
  257. // flex-grow: auto;
  258. }
  259. h3{
  260. font-weight: 400;
  261. font-size: 1.323em;
  262. position: relative;
  263. overflow: visible;
  264. &::before{
  265. content:"\2022";
  266. color: #01ffe2;
  267. position:absolute;
  268. left:-0.45em;
  269. font-weight: bold;
  270. }
  271. }
  272. // span.menacemaintient{
  273. // display: block;
  274. // font-weight: 100;
  275. // font-size: 0.882em;
  276. // padding: 1em 0;
  277. // }
  278. }
  279. div.concernement-cartouche-icons{
  280. h2{
  281. font-weight: 400;
  282. font-size: 1.512em;
  283. // &.faded{
  284. // font-weight: 100;
  285. // }
  286. padding-bottom: 0.5em;
  287. overflow: hidden;
  288. display: -webkit-box;
  289. -webkit-box-orient: vertical;
  290. -webkit-line-clamp: 20;
  291. max-height: 20em;
  292. transition: -webkit-line-clamp 0.5s ease-in-out, max-height 0.5s ease-in-out;
  293. &.ellipsed{
  294. max-height: 2em;
  295. -webkit-line-clamp: 2;
  296. }
  297. }
  298. // nav.icons{
  299. // ul{
  300. // display: flex;
  301. // flex-direction: row;
  302. // li{
  303. // margin: 0.4em 0.6em 0 0;
  304. // >svg{
  305. // display: inline-block;
  306. // $d: 35px;
  307. // width:$d; height:$d;
  308. // border-radius: $d * 0.5;
  309. // background-color: #fff;
  310. // padding: 2px;
  311. // box-sizing: border-box;
  312. // color: #333;
  313. // // font-size: 2em;
  314. // }
  315. // }
  316. // }
  317. // }
  318. }
  319. label{
  320. display: block;
  321. height:auto;
  322. transition: max-height 0.5s ease-in-out,padding 0.5s ease-in-out;
  323. max-height: 100px;
  324. overflow: hidden;
  325. &.hidden{
  326. max-height: 0;
  327. padding-bottom: 0;
  328. }
  329. }
  330. }
  331. >main{
  332. overflow-y: auto;
  333. padding-top: $gradpad;
  334. >section:not(:last-of-type),
  335. .multiple >section:not(:last-of-type){
  336. padding-bottom: 2em;
  337. }
  338. figure{
  339. margin:0.5em 0;
  340. img{
  341. max-width: 100%;
  342. }
  343. }
  344. section.entite{
  345. >section{
  346. padding-bottom: 2em;
  347. }
  348. >section.image{
  349. img{
  350. max-width: 100%;
  351. }
  352. }
  353. .sources{
  354. // padding-top: 1em;
  355. .source{
  356. padding-top: 0.5em;
  357. // div.date{
  358. // display: block;
  359. // font-weight: 100;
  360. // font-size: 0.882em;
  361. // padding: 0 0 0.5em 0;
  362. // }
  363. >section.description{
  364. >div{
  365. // @include font_reponses();
  366. font-size: inherit;
  367. padding-bottom: 1em;
  368. }
  369. }
  370. .liens{
  371. a{
  372. text-decoration: underline;
  373. @include font_reponses();
  374. }
  375. }
  376. }
  377. }
  378. }
  379. // PUISSANCE D'AGIR
  380. ul.besoins{
  381. li.besoin{
  382. position: relative;
  383. label.mdi:before{
  384. font-size: 0.8em;
  385. padding-right: 0.2em;
  386. }
  387. svg.open-btn{
  388. position: absolute;
  389. right:0; top:0;
  390. cursor: pointer;
  391. }
  392. >header{
  393. padding: 0 0 0 0;
  394. cursor: pointer;
  395. >label{
  396. padding:0.3em 0 0.5em 0;
  397. svg{
  398. width:0.7em; height:0.7em;
  399. }
  400. &.hover{
  401. svg{
  402. color:#01ffe2;
  403. }
  404. }
  405. }
  406. h4.besoin-description{
  407. font-weight: 400;
  408. font-size: 1.2em;
  409. // padding: 0.5em 0;
  410. }
  411. }
  412. ul.reponses{
  413. overflow: hidden;
  414. max-height: 1px;
  415. transition: all 0.7s ease-in-out;
  416. li.reponse{
  417. padding:0.5em 0 0;
  418. &:last-of-type{
  419. padding: 0.5em 0 1em;
  420. }
  421. >label{
  422. padding:0 0 0.5em 0;
  423. svg{
  424. width:0.7em;height:0.7em;
  425. }
  426. &.hover{
  427. svg{
  428. color:#01ffe2;
  429. }
  430. }
  431. }
  432. section{
  433. &:not(:last-of-type){
  434. padding: 0 0 0.5em 0;
  435. }
  436. label{ padding:0; }
  437. p{margin:0;}
  438. }
  439. }
  440. }
  441. a.contribute-link{
  442. display: flex;
  443. flex-direction: row;
  444. justify-content: flex-end;
  445. align-items:flex-end;
  446. font-weight: 100;
  447. font-size: 0.882em;
  448. svg{
  449. width:1em; height:1em; margin-right: 0.5em;
  450. }
  451. }
  452. &.opened{
  453. ul.reponses{
  454. max-height: 1000px;
  455. }
  456. }
  457. padding-bottom: 0.5em;
  458. border-bottom: #aaa 1px solid;
  459. margin-bottom: 1em;
  460. }
  461. }
  462. // CERCLE POLITIQUE
  463. section.content-doleances{
  464. >main{
  465. padding: 1em 0;
  466. h5{
  467. margin: 0 0 0.5em 0;
  468. }
  469. }
  470. label{
  471. margin:0;
  472. padding:0 0 0.5em 0;
  473. }
  474. p{
  475. margin:0;
  476. padding:0 0 0.5em 0;
  477. }
  478. ul{
  479. // padding:0 0 0 1em;
  480. }
  481. // .v-select{
  482. // input.vs__search{
  483. // display: none;
  484. // }
  485. // div.vs__dropdown-toggle{
  486. // border-radius: 0;
  487. // border: none;
  488. // }
  489. // div.vs__selected-options{
  490. // padding: 0;
  491. // span.vs__selected{
  492. // padding: 0;
  493. // margin: 0;
  494. // font-weight: 400;
  495. // font-size: 1.323em;
  496. // color:inherit;
  497. // line-height: 1.15;
  498. // }
  499. // }
  500. // ul.vs__dropdown-menu{
  501. // border-radius: 0;
  502. // border: none;
  503. // li.vs__dropdown-option{
  504. // white-space:normal;
  505. // padding:1em 1em 0 1em;
  506. // &:last-of-type{
  507. // padding:1em;
  508. // }
  509. // color: #aaa;
  510. // transition: color 0.2s ease-in-out;
  511. // &.vs__dropdown-option--highlight{
  512. // color:#000;
  513. // background-color: #fff;
  514. // }
  515. // }
  516. // }
  517. // }
  518. }
  519. }
  520. >footer{
  521. section.infos{
  522. position: relative;
  523. svg.open-btn{
  524. position: absolute;
  525. right:0;
  526. top: 0;
  527. cursor: pointer;
  528. }
  529. div.wrapper{
  530. overflow-y: hidden;
  531. max-height: 0.1px;
  532. transition: all 0.5s ease-in-out;
  533. &.opened{
  534. max-height: 200px;
  535. }
  536. }
  537. div.info{
  538. font-size: 0.882em;
  539. font-weight: 100;
  540. // white-space:nowrap;
  541. &.author{
  542. cursor: pointer;
  543. }
  544. >span.label{
  545. font-weight: 100;
  546. }
  547. p{
  548. // display: inline-block;
  549. font-size: inherit;
  550. font-weight: inherit;
  551. }
  552. }
  553. }
  554. section.sliders{
  555. padding: 1em 0 0.5em;
  556. section.historique{
  557. >label{
  558. padding:0;
  559. }
  560. }
  561. .vue-slider-process{
  562. background-color: #01ffe2;
  563. height: 2px!important;
  564. top:calc(50% - 1px)!important;
  565. }
  566. }
  567. }
  568. h3{
  569. font-weight: 400;
  570. font-size: 1.2em;
  571. }
  572. h4{
  573. font-weight: 400;
  574. font-size: 1.2em;
  575. }
  576. h5{
  577. font-weight: 400;
  578. font-size: 1.1em;
  579. }
  580. section>div, p{
  581. // font-size: 1em;
  582. // font-weight: 300;
  583. // line-height: 1.40;
  584. @include font_reponses();
  585. }
  586. label,
  587. span.date{
  588. @include font_questions();
  589. display: block;
  590. padding: 0 0 1em 0;
  591. }
  592. ul, li{
  593. padding:0; margin:0;
  594. list-style: none;
  595. }
  596. p{
  597. white-space: pre-line;
  598. }
  599. }
  600. section.search{
  601. @include main-cartouche();
  602. header{
  603. flex: 0 0 auto;
  604. padding: 1em 0;
  605. h2{
  606. font-weight: 400;
  607. font-size: 1.323em;
  608. padding: 0 0 0.5em;
  609. }
  610. form{
  611. display: flex;
  612. flex-direction: column;
  613. justify-content: flex-start;
  614. align-items: flex-start;
  615. &>*{
  616. flex: 0 1 auto;
  617. }
  618. .content-type-checkboxes{
  619. padding:1em 0;
  620. display: flex;
  621. flex-direction: row;
  622. label{
  623. padding: 0 1em 0 0.2em;
  624. }
  625. }
  626. }
  627. }
  628. main{
  629. flex: 1 1 auto;
  630. overflow-y: auto;
  631. section.results{
  632. ul{
  633. margin:0;
  634. padding:0;
  635. li{
  636. margin:0;
  637. padding:0 0 1em 0;
  638. list-style: none;
  639. h1{
  640. // font-weight: 400;
  641. // font-size: 1.323em;
  642. font-size: 1em;
  643. font-weight: 300;
  644. // line-height: 1.4;
  645. //
  646. margin: 0;
  647. cursor: pointer;
  648. }
  649. h2 {
  650. font-size: 0.882em;
  651. font-weight: 100;
  652. margin: 0;
  653. padding: 0;
  654. cursor: pointer;
  655. }
  656. }
  657. }
  658. }
  659. }
  660. footer{
  661. flex: 0 0 auto;
  662. }
  663. }
  664. &.recit-opened {
  665. padding-bottom: 3rem;
  666. }
  667. p{
  668. a{
  669. text-decoration: underline;
  670. }
  671. }
  672. nav.doleance-switch{
  673. position: fixed;
  674. pointer-events: none;
  675. overflow: hidden;
  676. top: 0; left: 0;
  677. width: calc(100vw - $cartouch_width - 0.5rem);
  678. height: 100vh;
  679. div{
  680. pointer-events: all;
  681. $height:60vh;
  682. position: absolute;
  683. top: calc((100vh - $height) * 0.51);
  684. cursor: pointer;
  685. width:605px;
  686. height: $height;
  687. background-image: url(../assets/cercle_politique.png);
  688. background-size: cover;
  689. visibility: hidden;
  690. &.visible{
  691. visibility: visible;
  692. }
  693. &:hover:not(.animeleft):not(.animeright){
  694. background-image: url(../assets/cercle_politique-hover.png);
  695. }
  696. &.prev{
  697. left: calc(-605px + 150px);
  698. background-position: right;
  699. }
  700. &.next{
  701. right:calc(-605px + 150px);
  702. }
  703. transition: opacity 1s ease-in-out;
  704. transform: translateX(0);
  705. &.animeleft,
  706. &.animeright{
  707. // animation-duration: 1.5s;
  708. $duration: 0.9s;
  709. $delay: 0.4s;
  710. transition: opacity $duration ease-in-out $delay,transform $duration ease-in-out $delay;
  711. opacity: 0;
  712. }
  713. &.animeleft{
  714. // animation-name: animeleft;
  715. transform: translateX(calc(-100vw / 2));
  716. }
  717. &.animeright{
  718. // animation-name: animeright;
  719. transform: translateX(calc(100vw / 2));
  720. }
  721. // @keyframes animeleft {
  722. // from {
  723. // transform: translateX(0);
  724. // opacity: 1;
  725. // }
  726. // to {
  727. // transform: translateX(calc(-100vw / 2));
  728. // opacity: 0;
  729. // }
  730. // }
  731. // @keyframes animeright {
  732. // from {
  733. // transform: translateX(0);
  734. // opacity: 1;
  735. // }
  736. // to {
  737. // transform: translateX(calc(100vw / 2));
  738. // opacity: 0;
  739. // }
  740. // }
  741. }
  742. }
  743. }
  744. #recit-player{
  745. --plyr-color-main: #01ffe2;
  746. --plyr-control-icon-size: 14px;
  747. --plyr-audio-controls-background: rgba(255,255,255,0.4);
  748. --plyr-control-spacing: 4px;
  749. --plyr-range-track-height: 2px;
  750. // --plyr-control-radius: 10px;
  751. >div.plyr{
  752. width:450px;
  753. >div.plyr__controls{
  754. border-radius: 3px;
  755. // border: #fff 1px solid;
  756. }
  757. }
  758. &:not(.visible){
  759. display: none;
  760. }
  761. }
  762. #map-popup{
  763. position: absolute;
  764. z-index: 10;
  765. pointer-events: none;
  766. // outline: 1px solid red;
  767. // top:0;
  768. // left: 0;
  769. .popup-content-wrapper{
  770. // display: flex;
  771. // flex-direction: row;
  772. // align-items:center;
  773. position: relative;
  774. .concernement-map-popup{
  775. background-color: white;
  776. padding: 0.5em;
  777. border-radius: 3px;
  778. max-width: 30em;
  779. div.info.author{
  780. font-size: 0.882em;
  781. font-weight: 100;
  782. // white-space:nowrap;
  783. }
  784. ul.icons{
  785. display: flex;
  786. flex-direction: row;
  787. padding: 0.5em 0 0;
  788. margin: 0;
  789. li{
  790. list-style:none;
  791. padding:0;
  792. margin:0 1em 0 0;
  793. }
  794. }
  795. }
  796. .concernement-map-popup-recit{
  797. padding-left: 0.8em;
  798. position: absolute;
  799. top:3px;
  800. left:100%;
  801. >svg{
  802. display: inline-block;
  803. $d: 55px;
  804. width:$d; height:$d;
  805. border-radius: $d * 0.5;
  806. background-color: #fff;
  807. padding: 10px;
  808. box-sizing: border-box;
  809. color: #333;
  810. // font-size: 2em;
  811. }
  812. }
  813. .entite-map-popup,
  814. .entite-proximite-reference-map-popup,
  815. .besoin-map-popup,
  816. .reponse-map-popup{
  817. background-color: white;
  818. padding: 0.5em;
  819. border-radius: 3px;
  820. max-width: 30em;
  821. >div{
  822. margin-bottom: 0.5em;
  823. label{
  824. display: block;
  825. font-weight: 100;
  826. font-size: 0.882em;
  827. }
  828. }
  829. }
  830. .entite-map-popup{
  831. span.point{
  832. font-weight: 900;
  833. color: #01ffe2;
  834. }
  835. }
  836. .entite-proximite-reference-map-popup{
  837. span.point{
  838. font-weight: 900;
  839. }
  840. h1.ref-entite span.point{
  841. color: #01ffe2;
  842. }
  843. div.conjunction,h2{
  844. font-size: 0.756em;
  845. font-weight: 400;
  846. margin: 0.5em
  847. }
  848. }
  849. h1, h2, span, div{
  850. font-size: 1em;
  851. font-weight: 400;
  852. }
  853. // h1{
  854. // padding-bottom: 0.5em;
  855. // }
  856. }
  857. &:before{
  858. content: "";
  859. display: block;
  860. height: 0;
  861. width: 2.9em;
  862. border-top: 1px solid #01ffe2;
  863. position: absolute;
  864. }
  865. &[pos="top-right"]{
  866. padding: 0 0 2em 2em;
  867. &:before{
  868. bottom: 0;
  869. left: 0;
  870. transform-origin: 0 0;
  871. transform: rotate(-45deg);
  872. }
  873. }
  874. &[pos="bottom-right"]{
  875. padding: 2em 0 0 2em;
  876. &:before{
  877. top: 0;
  878. left: 0;
  879. transform-origin: 0 0;
  880. transform: rotate(45deg);
  881. }
  882. }
  883. &[pos="top-left"]{
  884. padding: 0 2em 2em 0;
  885. &:before{
  886. bottom: 0;
  887. right: 0;
  888. transform-origin: right bottom;
  889. transform: rotate(45deg);
  890. }
  891. .popup-content-wrapper{
  892. flex-direction:row-reverse;
  893. .concernement-map-popup-recit{
  894. padding-right: 0.8em;
  895. }
  896. }
  897. }
  898. &[pos="bottom-left"]{
  899. padding: 2em 2em 0 0;
  900. &:before{
  901. top: 0;
  902. right: 0;
  903. transform-origin: right top;
  904. transform: rotate(-45deg);
  905. }
  906. .popup-content-wrapper{
  907. flex-direction:row-reverse;
  908. .concernement-map-popup-recit{
  909. padding-right: 0.8em;
  910. }
  911. }
  912. }
  913. }
  914. }