main.scss 24 KB

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