main.scss 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224
  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. >section{
  404. padding-bottom: 0.5em;
  405. }
  406. // div.date{
  407. // display: block;
  408. // font-weight: 100;
  409. // font-size: 0.882em;
  410. // padding: 0 0 0.5em 0;
  411. // }
  412. >section.description{
  413. >div{
  414. // @include font_reponses();
  415. font-size: inherit;
  416. // padding-bottom: 1em;
  417. }
  418. }
  419. section.audio{
  420. padding:1em 0;
  421. label{
  422. padding: 0;
  423. }
  424. div.plyr__controls{
  425. padding:0;
  426. }
  427. }
  428. section.liens{
  429. padding:1em 0;
  430. a{
  431. text-decoration: underline;
  432. @include font_reponses();
  433. }
  434. }
  435. section.documents{
  436. padding:1em 0;
  437. a{
  438. text-decoration: underline;
  439. @include font_reponses();
  440. }
  441. }
  442. }
  443. &.add{
  444. div.add-source-btn{
  445. border: #eee 2px solid;
  446. background-color: #eee;
  447. border-radius: 5px;
  448. margin: 1em 0 0;
  449. font-size: 1em;
  450. width: 100%;
  451. height: 100px;
  452. line-height:100px;
  453. text-align: center;
  454. transition: all 0.2s ease-in-out;
  455. position: relative;
  456. >svg{
  457. display: inline-block;
  458. vertical-align: middle;
  459. width:50px; height:50px;
  460. color: #333;
  461. }
  462. cursor: pointer;
  463. box-sizing: border-box;
  464. &:hover{
  465. border: #01ffe2 2px solid;
  466. }
  467. }
  468. }
  469. }
  470. }
  471. // PUISSANCE D'AGIR
  472. ul.besoins{
  473. li.besoin{
  474. position: relative;
  475. label.mdi:before{
  476. font-size: 0.8em;
  477. padding-right: 0.2em;
  478. }
  479. svg.open-btn{
  480. position: absolute;
  481. right:0; top:0;
  482. cursor: pointer;
  483. }
  484. >header{
  485. padding: 0 0 0 0;
  486. cursor: pointer;
  487. >label{
  488. padding:0.3em 0 0.5em 0;
  489. svg{
  490. width:0.7em; height:0.7em;
  491. }
  492. &.hover{
  493. svg{
  494. color:#01ffe2;
  495. }
  496. }
  497. }
  498. h4.besoin-description{
  499. font-weight: 400;
  500. font-size: 1.2em;
  501. // padding: 0.5em 0;
  502. }
  503. }
  504. ul.reponses{
  505. overflow: hidden;
  506. max-height: 1px;
  507. transition: all 0.7s ease-in-out;
  508. li.reponse{
  509. padding:0.5em 0 0;
  510. &:last-of-type{
  511. padding: 0.5em 0 1em;
  512. }
  513. >label{
  514. padding:0 0 0.5em 0;
  515. svg{
  516. width:0.7em;height:0.7em;
  517. }
  518. &.hover{
  519. svg{
  520. color:#01ffe2;
  521. }
  522. }
  523. }
  524. section{
  525. &:not(:last-of-type){
  526. padding: 0 0 0.5em 0;
  527. }
  528. label{ padding:0; }
  529. p{margin:0;}
  530. }
  531. }
  532. }
  533. a.contribute-link{
  534. display: flex;
  535. flex-direction: row;
  536. justify-content: flex-end;
  537. align-items:flex-end;
  538. font-weight: 100;
  539. font-size: 0.882em;
  540. svg{
  541. width:1em; height:1em; margin-right: 0.5em;
  542. }
  543. }
  544. &.opened{
  545. ul.reponses{
  546. max-height: 1000px;
  547. }
  548. }
  549. padding-bottom: 0.5em;
  550. border-bottom: #aaa 1px solid;
  551. margin-bottom: 1em;
  552. }
  553. }
  554. // CERCLE POLITIQUE
  555. section.content-doleances{
  556. >main{
  557. padding: 1em 0;
  558. h5{
  559. margin: 0 0 0.5em 0;
  560. }
  561. }
  562. label{
  563. margin:0;
  564. padding:0 0 0.5em 0;
  565. }
  566. p{
  567. margin:0;
  568. padding:0 0 0.5em 0;
  569. }
  570. ul{
  571. // padding:0 0 0 1em;
  572. }
  573. // .v-select{
  574. // input.vs__search{
  575. // display: none;
  576. // }
  577. // div.vs__dropdown-toggle{
  578. // border-radius: 0;
  579. // border: none;
  580. // }
  581. // div.vs__selected-options{
  582. // padding: 0;
  583. // span.vs__selected{
  584. // padding: 0;
  585. // margin: 0;
  586. // font-weight: 400;
  587. // font-size: 1.323em;
  588. // color:inherit;
  589. // line-height: 1.15;
  590. // }
  591. // }
  592. // ul.vs__dropdown-menu{
  593. // border-radius: 0;
  594. // border: none;
  595. // li.vs__dropdown-option{
  596. // white-space:normal;
  597. // padding:1em 1em 0 1em;
  598. // &:last-of-type{
  599. // padding:1em;
  600. // }
  601. // color: #aaa;
  602. // transition: color 0.2s ease-in-out;
  603. // &.vs__dropdown-option--highlight{
  604. // color:#000;
  605. // background-color: #fff;
  606. // }
  607. // }
  608. // }
  609. // }
  610. }
  611. }
  612. >footer{
  613. section.infos{
  614. position: relative;
  615. svg.open-btn{
  616. position: absolute;
  617. right:0;
  618. top: 0;
  619. cursor: pointer;
  620. }
  621. div.wrapper{
  622. overflow-y: hidden;
  623. max-height: 0.1px;
  624. transition: all 0.5s ease-in-out;
  625. &.opened{
  626. max-height: 200px;
  627. }
  628. }
  629. div.info{
  630. font-size: 0.882em;
  631. font-weight: 100;
  632. // white-space:nowrap;
  633. &.author{
  634. cursor: pointer;
  635. }
  636. >span.label{
  637. font-weight: 100;
  638. }
  639. p{
  640. // display: inline-block;
  641. font-size: inherit;
  642. font-weight: inherit;
  643. }
  644. }
  645. }
  646. section.sliders{
  647. padding: 1em 0 0.5em;
  648. section.historique,
  649. section.details{
  650. >label{
  651. padding:0;
  652. }
  653. }
  654. .vue-slider-process{
  655. background-color: #01ffe2;
  656. height: 2px!important;
  657. top:calc(50% - 1px)!important;
  658. }
  659. }
  660. }
  661. h3{
  662. font-weight: 400;
  663. font-size: 1.2em;
  664. }
  665. h4{
  666. font-weight: 400;
  667. font-size: 1.2em;
  668. }
  669. h5{
  670. font-weight: 400;
  671. font-size: 1.1em;
  672. }
  673. section>div, p{
  674. // font-size: 1em;
  675. // font-weight: 300;
  676. // line-height: 1.40;
  677. @include font_reponses();
  678. }
  679. label,
  680. span.date{
  681. @include font_questions();
  682. display: block;
  683. padding: 0 0 1em 0;
  684. }
  685. ul, li{
  686. padding:0; margin:0;
  687. list-style: none;
  688. }
  689. p{
  690. white-space: pre-line;
  691. }
  692. }
  693. section.search{
  694. @include main-cartouche();
  695. header{
  696. flex: 0 0 auto;
  697. padding: 1em 0;
  698. h2{
  699. font-weight: 400;
  700. font-size: 1.323em;
  701. padding: 0 0 0.5em;
  702. }
  703. form{
  704. display: flex;
  705. flex-direction: column;
  706. justify-content: flex-start;
  707. align-items: flex-start;
  708. &>*{
  709. flex: 0 1 auto;
  710. }
  711. .content-type-checkboxes{
  712. padding:1em 0;
  713. display: flex;
  714. flex-direction: row;
  715. label{
  716. padding: 0 1em 0 0.2em;
  717. }
  718. }
  719. }
  720. }
  721. main{
  722. flex: 1 1 auto;
  723. overflow-y: auto;
  724. section.results{
  725. ul{
  726. margin:0;
  727. padding:0;
  728. li{
  729. margin:0;
  730. padding:0 0 1em 0;
  731. list-style: none;
  732. h1{
  733. // font-weight: 400;
  734. // font-size: 1.323em;
  735. font-size: 1em;
  736. font-weight: 300;
  737. // line-height: 1.4;
  738. //
  739. margin: 0;
  740. cursor: pointer;
  741. }
  742. h2 {
  743. font-size: 0.882em;
  744. font-weight: 100;
  745. margin: 0;
  746. padding: 0;
  747. cursor: pointer;
  748. }
  749. }
  750. }
  751. }
  752. }
  753. footer{
  754. flex: 0 0 auto;
  755. }
  756. }
  757. &.recit-opened {
  758. padding-bottom: 3rem;
  759. }
  760. p{
  761. a{
  762. text-decoration: underline;
  763. }
  764. }
  765. nav.doleance-switch{
  766. position: fixed;
  767. pointer-events: none;
  768. overflow: hidden;
  769. top: 0; left: 0;
  770. width: calc(100vw - $cartouch_width_full - 0.5rem);
  771. height: 100vh;
  772. div{
  773. pointer-events: all;
  774. $height:60vh;
  775. position: absolute;
  776. top: calc((100vh - $height) * 0.51);
  777. cursor: pointer;
  778. width:605px;
  779. height: $height;
  780. background-image: url(../assets/cercle_politique.png);
  781. background-size: cover;
  782. visibility: hidden;
  783. &.visible{
  784. visibility: visible;
  785. }
  786. &:hover:not(.animeleft):not(.animeright){
  787. background-image: url(../assets/cercle_politique-hover.png);
  788. }
  789. &.prev{
  790. left: calc(-605px + 150px);
  791. background-position: right;
  792. }
  793. &.next{
  794. right:calc(-605px + 150px);
  795. }
  796. transition: opacity 1s ease-in-out;
  797. transform: translateX(0);
  798. &.animeleft,
  799. &.animeright{
  800. // animation-duration: 1.5s;
  801. $duration: 0.9s;
  802. $delay: 0.4s;
  803. transition: opacity $duration ease-in-out $delay,transform $duration ease-in-out $delay;
  804. opacity: 0;
  805. }
  806. &.animeleft{
  807. // animation-name: animeleft;
  808. transform: translateX(calc(-100vw / 2));
  809. }
  810. &.animeright{
  811. // animation-name: animeright;
  812. transform: translateX(calc(100vw / 2));
  813. }
  814. // @keyframes animeleft {
  815. // from {
  816. // transform: translateX(0);
  817. // opacity: 1;
  818. // }
  819. // to {
  820. // transform: translateX(calc(-100vw / 2));
  821. // opacity: 0;
  822. // }
  823. // }
  824. // @keyframes animeright {
  825. // from {
  826. // transform: translateX(0);
  827. // opacity: 1;
  828. // }
  829. // to {
  830. // transform: translateX(calc(100vw / 2));
  831. // opacity: 0;
  832. // }
  833. // }
  834. }
  835. }
  836. }
  837. #recit-player{
  838. --plyr-color-main: #01ffe2;
  839. --plyr-control-icon-size: 14px;
  840. --plyr-audio-controls-background: rgba(255,255,255,0.4);
  841. --plyr-control-spacing: 4px;
  842. --plyr-range-track-height: 2px;
  843. // --plyr-control-radius: 10px;
  844. >div.plyr{
  845. width:450px;
  846. >div.plyr__controls{
  847. border-radius: 3px;
  848. // border: #fff 1px solid;
  849. }
  850. @media screen and (max-width: 1500px) {
  851. width: $cartouch_width_medium
  852. }
  853. @media screen and (max-width: 880px) {
  854. width: $cartouch_width_small;
  855. }
  856. }
  857. &:not(.visible){
  858. display: none;
  859. }
  860. }
  861. #map-popup{
  862. position: absolute;
  863. z-index: 10;
  864. pointer-events: none;
  865. // outline: 1px solid red;
  866. // top:0;
  867. // left: 0;
  868. .popup-content-wrapper{
  869. // display: flex;
  870. // flex-direction: row;
  871. // align-items:center;
  872. position: relative;
  873. .concernement-map-popup{
  874. background-color: white;
  875. padding: 0.5em;
  876. border-radius: 3px;
  877. max-width: 30em;
  878. div.info.author{
  879. font-size: 0.882em;
  880. font-weight: 100;
  881. // white-space:nowrap;
  882. }
  883. ul.icons{
  884. display: flex;
  885. flex-direction: row;
  886. padding: 0.5em 0 0;
  887. margin: 0;
  888. li{
  889. list-style:none;
  890. padding:0;
  891. margin:0 1em 0 0;
  892. }
  893. }
  894. }
  895. .concernement-map-popup-recit{
  896. padding-left: 0.8em;
  897. position: absolute;
  898. top:3px;
  899. left:100%;
  900. >svg{
  901. display: inline-block;
  902. $d: 55px;
  903. width:$d; height:$d;
  904. border-radius: $d * 0.5;
  905. background-color: #fff;
  906. padding: 10px;
  907. box-sizing: border-box;
  908. color: #333;
  909. // font-size: 2em;
  910. }
  911. }
  912. .entite-map-popup,
  913. .entite-proximite-reference-map-popup,
  914. .besoin-map-popup,
  915. .reponse-map-popup{
  916. background-color: white;
  917. padding: 0.5em;
  918. border-radius: 3px;
  919. max-width: 30em;
  920. >div{
  921. margin-bottom: 0.5em;
  922. label{
  923. display: block;
  924. font-weight: 100;
  925. font-size: 0.882em;
  926. }
  927. }
  928. }
  929. .entite-map-popup{
  930. span.point{
  931. font-weight: 900;
  932. color: #01ffe2;
  933. }
  934. }
  935. .entite-proximite-reference-map-popup{
  936. span.point{
  937. font-weight: 900;
  938. }
  939. h1.ref-entite span.point{
  940. color: #01ffe2;
  941. }
  942. div.conjunction,h2{
  943. font-size: 0.756em;
  944. font-weight: 400;
  945. margin: 0.5em
  946. }
  947. }
  948. h1, h2, span, div{
  949. font-size: 1em;
  950. font-weight: 400;
  951. }
  952. // h1{
  953. // padding-bottom: 0.5em;
  954. // }
  955. }
  956. &:before{
  957. content: "";
  958. display: block;
  959. height: 0;
  960. width: 2.9em;
  961. border-top: 1px solid #01ffe2;
  962. position: absolute;
  963. }
  964. &[pos="top-right"]{
  965. padding: 0 0 2em 2em;
  966. &:before{
  967. bottom: 0;
  968. left: 0;
  969. transform-origin: 0 0;
  970. transform: rotate(-45deg);
  971. }
  972. }
  973. &[pos="bottom-right"]{
  974. padding: 2em 0 0 2em;
  975. &:before{
  976. top: 0;
  977. left: 0;
  978. transform-origin: 0 0;
  979. transform: rotate(45deg);
  980. }
  981. }
  982. &[pos="top-left"]{
  983. padding: 0 2em 2em 0;
  984. &:before{
  985. bottom: 0;
  986. right: 0;
  987. transform-origin: right bottom;
  988. transform: rotate(45deg);
  989. }
  990. .popup-content-wrapper{
  991. flex-direction:row-reverse;
  992. .concernement-map-popup-recit{
  993. padding-right: 0.8em;
  994. }
  995. }
  996. }
  997. &[pos="bottom-left"]{
  998. padding: 2em 2em 0 0;
  999. &:before{
  1000. top: 0;
  1001. right: 0;
  1002. transform-origin: right top;
  1003. transform: rotate(-45deg);
  1004. }
  1005. .popup-content-wrapper{
  1006. flex-direction:row-reverse;
  1007. .concernement-map-popup-recit{
  1008. padding-right: 0.8em;
  1009. }
  1010. }
  1011. }
  1012. }
  1013. }
  1014. *[contenteditable="true"] {
  1015. background: #eee;
  1016. border: #eee 2px solid;
  1017. border-radius: 5px;
  1018. $p:0.3em;
  1019. padding:$p;
  1020. margin:0 0 0 -$p;
  1021. box-sizing: border-box;
  1022. transition: all 0.2s ease-in-out;
  1023. &:focus{
  1024. outline: none;
  1025. border: #01ffe2 2px solid;
  1026. }
  1027. }
  1028. .editable{
  1029. background: #eee;
  1030. border: #eee 2px solid;
  1031. border-radius: 5px;
  1032. padding: 0.3em!important;
  1033. margin: 1em 0 0;
  1034. font-size: 0.756em;
  1035. &>*{
  1036. display: inline-block!important;
  1037. padding: 0!important;
  1038. cursor: pointer;
  1039. }
  1040. }
  1041. div.editable-image,
  1042. div.editable-video,
  1043. div.editable-audios,
  1044. ul.editable-files{
  1045. &.can_update{
  1046. background: #eee;
  1047. }
  1048. max-width: 100%;
  1049. div.file-btn{
  1050. border: #eee 2px solid;
  1051. background-color: #eee;
  1052. border-radius: 5px;
  1053. margin: 1em 0 0;
  1054. font-size: 1em;
  1055. width: 100%;
  1056. height: 100px;
  1057. line-height:100px;
  1058. text-align: center;
  1059. transition: all 0.2s ease-in-out;
  1060. position: relative;
  1061. >svg{
  1062. display: inline-block;
  1063. vertical-align: middle;
  1064. width:50px; height:50px;
  1065. color: #333;
  1066. }
  1067. cursor: pointer;
  1068. box-sizing: border-box;
  1069. &:hover{
  1070. border: #01ffe2 2px solid;
  1071. }
  1072. }
  1073. div.video-btn{
  1074. cursor: pointer;
  1075. }
  1076. div.editable-wrapper{
  1077. padding:0.3em 0.5em;
  1078. margin:0.5em 0;
  1079. }
  1080. div.delete-btn{
  1081. cursor: pointer;
  1082. }
  1083. input[type="file"]{
  1084. display: none;
  1085. }
  1086. &.can-update{
  1087. .plyr--audio{
  1088. .plyr__controls{
  1089. background-color: transparent;
  1090. }
  1091. }
  1092. }
  1093. }
  1094. li.link-editable{
  1095. // background-color: #eee;
  1096. // border: #eee 2px solid;
  1097. display: flex;
  1098. flex-direction: row;
  1099. vertical-align: middle;
  1100. margin: 0.5em 0!important;
  1101. gap: 0.5em;
  1102. >input{
  1103. background-color: #eee;
  1104. border: #eee 2px solid;
  1105. overflow: hidden;
  1106. text-wrap:nowrap;
  1107. width: 40%;
  1108. &:focus{
  1109. outline: none;
  1110. border: #01ffe2 2px solid;
  1111. }
  1112. &.title{
  1113. flex: 0 0 auto;
  1114. }
  1115. &.url{
  1116. flex: 1 0 auto;
  1117. }
  1118. }
  1119. div.delete-btn{
  1120. flex: 0 0 auto;
  1121. }
  1122. }
  1123. ul.editable-files{
  1124. background-color: transparent;
  1125. li.file-editable{
  1126. // background-color: #eee;
  1127. // border: #eee 2px solid;
  1128. display: flex;
  1129. flex-direction: row;
  1130. vertical-align: middle;
  1131. margin: 0.5em 0!important;
  1132. gap: 0.5em;
  1133. >input{
  1134. background-color: #eee;
  1135. border: #eee 2px solid;
  1136. overflow: hidden;
  1137. text-wrap:nowrap;
  1138. width: 40%;
  1139. flex: 0 1 auto;
  1140. font-size: 0.756em;
  1141. &:focus{
  1142. outline: none;
  1143. border: #01ffe2 2px solid;
  1144. }
  1145. }
  1146. >div.filename{
  1147. width:40%;
  1148. flex: 1 0 auto;
  1149. font-size: 0.756em;
  1150. }
  1151. >div.delete-btn{
  1152. flex: 0 0 auto;
  1153. }
  1154. }
  1155. }