main.scss 28 KB

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