main.scss 25 KB

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