app.scss 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042
  1. @import './base/reset';
  2. @import './base/variables';
  3. @import './base/colors';
  4. @import './base/grid-flex';
  5. @import './base/transitions';
  6. @import './base/layout';
  7. @import './base/fonts';
  8. // your-app.scss
  9. // @import '~@sweetalert2/themes/dark/dark.scss';
  10. /* The emerging W3C standard
  11. that is currently Firefox-only */
  12. * {
  13. scrollbar-width: thin;
  14. scrollbar-color: $grisclair rgba(255,255,255,0);
  15. }
  16. /* Works on Chrome/Edge/Safari */
  17. *::-webkit-scrollbar {
  18. width: 12px;
  19. }
  20. *::-webkit-scrollbar-track {
  21. background: rgba(255,255,255,0);
  22. }
  23. *::-webkit-scrollbar-thumb {
  24. background-color: $grisclair;
  25. border-radius: 20px;
  26. border: none;
  27. }
  28. body{
  29. color: #1a1a1a;
  30. // background-image: url('/static/img/grille-ligne-de-base.png');
  31. // background-repeat: repeat;
  32. }
  33. #root{
  34. }
  35. .red{
  36. background-color: red;
  37. color:white;
  38. }
  39. header[role="banner"]{
  40. div.wrapper{
  41. display: grid;
  42. grid-template-columns: 1fr 1fr;
  43. }
  44. h1.site-title{
  45. grid-column: 1;
  46. margin:0;
  47. font-size: 1em;
  48. }
  49. nav#header-menu{
  50. grid-column: 2;
  51. text-align: right;
  52. >ul>li{
  53. display: inline-block;
  54. margin-right: 1em;
  55. position: relative;
  56. >ul{
  57. position: absolute;
  58. top:1em; right:-1em;
  59. overflow: hidden;
  60. padding-bottom: 0.5em;
  61. background-color: white;
  62. >li{
  63. padding:0 1em;
  64. // margin-right: -1em;
  65. transition: height 0.3s ease-in-out;
  66. height:0;
  67. overflow: hidden;
  68. }
  69. }
  70. //
  71. // &:focus-within
  72. // &:hover,
  73. &.opened{
  74. >ul>li{
  75. height:1em;
  76. }
  77. }
  78. &.has-submenu{
  79. cursor: pointer;
  80. }
  81. }
  82. li>span,li>a{
  83. font-size: 0.9em;
  84. color: $bleuroi;
  85. text-transform: uppercase;
  86. }
  87. }
  88. }
  89. section[role="main-content"]{
  90. #home{
  91. header{
  92. margin:15vh 0 0;
  93. text-align: center;
  94. padding: 1em 0;
  95. h1{
  96. color: $bleuroi;
  97. font-size: 8em;
  98. font-weight: 300;
  99. margin: 0;
  100. }
  101. h2{
  102. color: $or;
  103. font-size: 2em;
  104. font-weight: 300;
  105. margin:1em 0 0;
  106. text-transform: uppercase;
  107. letter-spacing: 0.2em;
  108. sup{
  109. // line-height: 5em;
  110. vertical-align:text-top;
  111. font-size: 0.7em
  112. }
  113. }
  114. }
  115. // $filet_space:8em;
  116. // $decallage: 0.5em;
  117. section{
  118. padding-top: 8em;
  119. }
  120. @mixin teasersfilet($filet_space, $decallage){
  121. z-index: 1;
  122. &:before, &:after{
  123. z-index: 0;
  124. content: "";
  125. position: absolute;
  126. opacity: 0.4;
  127. pointer-events: none;
  128. }
  129. &:before{
  130. border:1px solid $or;
  131. width:calc(100% + #{$filet_space*2 + $decallage*2});
  132. left:- $filet_space - $default_gap/2 -$decallage;
  133. height:calc(100% + #{$filet_space});
  134. top:- $filet_space / 2;
  135. }
  136. &:after{
  137. border:1px solid $rouge;
  138. width:calc(100% + #{$filet_space*2});
  139. left:- $filet_space - $default_gap/2;
  140. height:calc(100% + #{$filet_space + $decallage*2});
  141. top:- $filet_space / 2 - $decallage;
  142. }
  143. }
  144. div.teasers>.wrapper{
  145. display: flex;
  146. flex-direction: row;
  147. flex-wrap: nowrap;
  148. position: relative;
  149. padding-right: 0;
  150. article{
  151. box-sizing: border-box;
  152. flex-basis: percentage(2 / ( $default_sum - 6) );
  153. padding-right: $default_gap;
  154. @include fontsans;
  155. h1{
  156. color: $bleuroi;
  157. }
  158. p{
  159. font-size: 0.882em;
  160. line-height: 1.2;
  161. }
  162. a.readmore span{
  163. color:$rouge;
  164. font-size:0.693em;
  165. }
  166. }
  167. // filets decoratif
  168. @include teasersfilet(8em, 0.5em);
  169. }
  170. // responsive
  171. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  172. header{
  173. h1{
  174. font-size: 5em;
  175. margin:7vh 0 0;
  176. }
  177. h2{
  178. font-size: 1em;
  179. }
  180. }
  181. section{
  182. padding-top: 4em;
  183. }
  184. div.teasers{
  185. flex-direction: column;
  186. // filets decoratif
  187. @include teasersfilet(4em, 0.5em);
  188. }
  189. }
  190. }
  191. #list-corpus, .index{
  192. >header{
  193. &>h1{
  194. @include titleSansRed;
  195. margin: 0;
  196. }
  197. }
  198. &#list-corpus{
  199. >section>.wrapper>ul{
  200. >li{
  201. margin-bottom: $base-line*2;
  202. >header{
  203. margin-bottom: 0;
  204. h2,h3,h4{
  205. display: inline-block;
  206. margin: 0;
  207. margin-bottom: $base-line/2;
  208. }
  209. }
  210. section.notice{
  211. p{
  212. margin-top:0;
  213. font-size: 1.134em;
  214. line-height: $base-line * 0.7;
  215. // margin-bottom: $base-line * 0.7;
  216. }
  217. margin-bottom: $base-line/2;
  218. }
  219. section.editions{
  220. h4{
  221. font-size: 1em;
  222. line-height: $base-line * 0.8;
  223. // margin-bottom: $base-line / 2;
  224. }
  225. }
  226. section.texts {
  227. >h4{
  228. font-size: 1em;
  229. line-height: $base-line * 0.5;
  230. margin-bottom: $base-line / 2;
  231. }
  232. ul.texts-list{
  233. padding-left: 1em;
  234. >li{
  235. list-style: circle;
  236. h3{
  237. @include title1blue;
  238. font-size: 1.512em;
  239. line-height: $base-line * 0.5;
  240. margin-bottom: $base-line * 0.5;
  241. }
  242. p{
  243. font-size: 1em;
  244. @include fontserif;
  245. font-weight: 300;
  246. margin-top:0;
  247. font-size: 1em;
  248. line-height: $base-line * 0.5;
  249. margin-bottom: $base-line / 2;
  250. }
  251. margin-bottom: $base-line;
  252. }
  253. }
  254. }
  255. }
  256. }
  257. }
  258. article.item{
  259. // margin: 2em 0 0;
  260. header{
  261. margin:0;
  262. h1{
  263. margin:0;
  264. span.title{
  265. @include title1black;
  266. color: $bleuroi;
  267. }
  268. span.quantity{
  269. @include title4black;
  270. }
  271. }
  272. }
  273. }
  274. &:not(#list-corpus){
  275. ul.item-list{
  276. li{
  277. margin-bottom: $base-line;
  278. max-height: $base-line * 3;
  279. opacity: 1;
  280. transition: all 0.3s ease-in-out;
  281. &.hidden {
  282. // display: none;
  283. max-height: 0.001px;
  284. opacity: 0;
  285. margin-bottom: 0.001px;
  286. overflow: hidden;
  287. }
  288. }
  289. }
  290. }
  291. ul.item-list{
  292. li{
  293. // margin: 0 0 2em 0;
  294. margin-bottom: $base-line;
  295. header{
  296. h2{
  297. @include title1blue;
  298. // margin:0.4em 0 0.2em;
  299. margin-bottom: $base-line / 2;
  300. }
  301. h3{
  302. margin:0;
  303. @include fontsans;
  304. font-size: 0.756em;
  305. font-weight: 500;
  306. line-height: $base-line / 2;
  307. }
  308. section.notice{
  309. @include fontsans;
  310. font-size: 0.756em;
  311. font-weight: 300;
  312. line-height: $base-line / 2;
  313. }
  314. margin-bottom: $base-line / 2;
  315. }
  316. h4{
  317. margin:0;
  318. font-weight: 300;
  319. @include fontsans;
  320. font-size: 0.756em;
  321. line-height: $base-line / 2;
  322. &.texts-quantity{
  323. color: $rouge;
  324. margin-bottom: $base-line / 4;
  325. }
  326. }
  327. section.editions{
  328. div.editions{
  329. ol{
  330. padding:0;
  331. li{
  332. margin:0.7em 1em;
  333. }
  334. }
  335. }
  336. }
  337. section.texts{
  338. ul.texts-list{
  339. // padding: 0 0 0 1em;
  340. li{
  341. margin-bottom: $base-line / 2;
  342. }
  343. h3{
  344. @include title2black;
  345. // margin: 0.7em 0 0.3em;
  346. line-height: $base-line / 2;
  347. }
  348. p{
  349. font-weight: 300;
  350. @include fontsans;
  351. font-size: 0.756em;
  352. margin: 0;
  353. line-height: $base-line / 2;
  354. }
  355. }
  356. }
  357. ul {
  358. li{
  359. // margin:0 0 0 1em;
  360. h3{
  361. margin: 0.5em 0;
  362. font-weight: 400;
  363. font-size: 1em;
  364. }
  365. }
  366. }
  367. }
  368. }
  369. .abc{
  370. ul{
  371. li{
  372. opacity: 1;
  373. transition: opacity 0.3s ease-in-out;
  374. padding: 3px;
  375. &.inactive{
  376. opacity: 0.4;
  377. }
  378. span.tout, span.letter{
  379. @include fontcaption;
  380. font-variant: small-caps;
  381. font-size: 1em;
  382. cursor: pointer;
  383. // line-height: $base-line / 2;
  384. border: 1px solid $grisclair;
  385. border-radius: 3px;
  386. padding: 0.3em;
  387. display: inline-block;
  388. text-align: center;
  389. }
  390. &:not(:first-of-type) span.letter{
  391. width: 1.1em; height: 1.1em;
  392. }
  393. span.quantity{
  394. font-size: 0.765em;
  395. }
  396. }
  397. }
  398. }
  399. }
  400. .index-item{
  401. header{
  402. h1{
  403. @include title1blue;
  404. line-height: $base-line * 1.2;
  405. // margin:0 0 0.3em;
  406. }
  407. h2{
  408. @include title1black;
  409. margin:0 0 0.3em;
  410. }
  411. section{
  412. margin-bottom: 1em;
  413. h3{
  414. @include title2black;
  415. margin:0 0 0.3em;
  416. font-weight: 600;
  417. }
  418. }
  419. p{
  420. margin: 0 0 0.5em 0;
  421. span.label{ font-weight: 600; }
  422. }
  423. .authors{
  424. a{
  425. @include title2black;
  426. color: $bleuroi;
  427. }
  428. margin:0 0 0.3em;
  429. }
  430. .mdi{
  431. color: $bleuroilight;
  432. font-size: 0.7em;
  433. }
  434. .attested-forms{
  435. ul{
  436. // >li{
  437. // margin: 0 0 1em 0;
  438. // li{
  439. // margin: 0 0 0.5em 0;
  440. // }
  441. // }
  442. }
  443. a{
  444. @include title4grey;
  445. color: $grisfonce;
  446. font-weight: 400;
  447. }
  448. }
  449. }
  450. .tabs{
  451. border-bottom: 1px solid $bleuroilight;
  452. margin-bottom: $base-line / 2;
  453. .tab{
  454. cursor: pointer;
  455. border-radius: 5px 5px 0 0;
  456. z-index: 10;
  457. display: inline-block;
  458. margin-bottom: -2px;
  459. padding: 0.3em 0.5em;
  460. border: 1px solid $bleuroilight;
  461. &.active{
  462. border-bottom: 2px solid white;
  463. }
  464. }
  465. }
  466. .occurences{
  467. >ul{
  468. >li{
  469. padding:0 0 $base-line / 2 0;
  470. h3{
  471. @include title1black;
  472. padding:0 0 $base-line / 2 0;
  473. color: $bleuroi;
  474. }
  475. >ul{
  476. >li{
  477. // padding:0 0 0.5em 0;
  478. section{
  479. h4{
  480. // @include title3black;
  481. @include title4grey;
  482. color: $grisfonce;
  483. font-weight: 400;
  484. display: inline-block;
  485. a{
  486. span.form{
  487. font-style: italic;
  488. margin-top: 0;
  489. font-size: 1.134em;
  490. line-height: $base-line * 0.7;
  491. // margin-bottom: $base-line;
  492. }
  493. }
  494. }
  495. // ? c'est quoi ça ?
  496. // span.open-close{
  497. // cursor: pointer;
  498. // display: inline-block;
  499. // svg{
  500. // transform: rotate(-90deg) scale(0.8);
  501. // transition: transform 0.3s ease-in-out;
  502. // path{
  503. // fill:$bleuroi;
  504. // }
  505. // }
  506. // }
  507. // div.text{
  508. // max-height: 0;
  509. // transition: max-height 0.3s ease-in-out;
  510. // overflow: hidden;
  511. // box-sizing: content-box;
  512. // p, h1, h2, h3, h4, h5, h6{
  513. // margin: 0.5em 0 0 0;
  514. // }
  515. // }
  516. // a.lire-plus{
  517. // color: $bleuroi;
  518. // opacity: 0;
  519. // display: inline-block;
  520. // height: 0;
  521. // overflow: hidden;
  522. // transition: height, opacity 0.3s ease-in-out;
  523. // }
  524. // &.opened{
  525. // span.open-close{
  526. // cursor: pointer;
  527. // display: inline-block;
  528. // svg{
  529. // transform: scale(0.8) rotate(0);
  530. // }
  531. // }
  532. // div.text{
  533. // max-height:100px;
  534. // }
  535. // a.lire-plus{
  536. // opacity: 1;
  537. // height:1em;
  538. // }
  539. // }
  540. }
  541. }
  542. }
  543. }
  544. }
  545. }
  546. .attested-forms-occurences{
  547. >ul{
  548. >li{
  549. margin: 0 0 1em 0;
  550. h3{
  551. @include title1black;
  552. padding:0 0 0 0;
  553. }
  554. li{
  555. // margin: 0 0 0.5em 0;
  556. h4{
  557. // @include title3black;
  558. @include title4grey;
  559. color: $grisfonce;
  560. font-weight: 400;
  561. display: inline-block;
  562. a{
  563. font-style: italic;
  564. margin-top: 0;
  565. font-size: 1.134em;
  566. line-height: $base-line * 0.7;
  567. span.edition{
  568. font-style: italic;
  569. }
  570. }
  571. }
  572. }
  573. }
  574. }
  575. }
  576. nav{
  577. h3{
  578. @include title2black;
  579. margin:0 0 0.5em;
  580. }
  581. h4{
  582. @include title3black;
  583. margin:0 0 0.5em;
  584. color: $bleuroi;
  585. }
  586. }
  587. >nav{
  588. aside.links{
  589. position: absolute;
  590. bottom: 0;
  591. overflow-wrap:anywhere;
  592. }
  593. }
  594. }
  595. #edition{
  596. >header{
  597. position: relative;
  598. span.header-title{ display:none; }
  599. h1{
  600. @include title1blue;
  601. }
  602. aside.notice{
  603. // margin-top: 0;
  604. // font-size: 1em;
  605. // line-height: $base-line *0.5;
  606. // margin-bottom: $base-line / 2;
  607. }
  608. nav.entities-hide-show{
  609. position: absolute;
  610. bottom: 1em;
  611. span{
  612. @include fontsans;
  613. font-size: 0.882em;
  614. cursor: pointer;
  615. }
  616. }
  617. aside.index-tooltip{
  618. z-index:10;
  619. margin-top: -1.75em;
  620. position:absolute;
  621. text-align: right;
  622. right: 2em;
  623. h1 {
  624. @include title2black;
  625. margin:0 0 0.5em 0;
  626. }
  627. p{
  628. margin:0 0 0.5em 0;
  629. }
  630. time{
  631. font-weight: 600;
  632. }
  633. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  634. background-color: #fff;
  635. padding: 1em;
  636. box-shadow: 0 0 10px $gris;
  637. *{
  638. pointer-events: none;
  639. }
  640. }
  641. }
  642. }
  643. // responsive
  644. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  645. >header{
  646. $top: 45px;
  647. z-index: 110;
  648. position: absolute;
  649. top:$top;
  650. left:0;
  651. background-color: #fff;
  652. width:percentage(5/$default_sum);
  653. box-sizing: border-box;
  654. padding-top: 1em;
  655. padding-bottom: 1em;
  656. height:calc(100% - #{$top});
  657. transform: translateX(-100%);
  658. transition: transform 0.3s ease-in-out;
  659. span.header-title{
  660. display: block;
  661. position: absolute;
  662. top:4.5em; right:-1em;
  663. transform: rotateZ(-90deg);
  664. transform-origin: center;
  665. @include fontsans;
  666. font-size: 0.600em;
  667. cursor: pointer;
  668. color: $bleuroi;
  669. svg{
  670. vertical-align: bottom;
  671. transform-origin: center;
  672. transform: scale(0.8) rotate(0);
  673. transition: transform 0.3s ease-in-out;
  674. path{
  675. fill: $bleuroi;
  676. }
  677. }
  678. }
  679. &.opened{
  680. box-shadow: 3px 3px 5px $grisclair;
  681. transform: translateX(0);
  682. span.header-title{
  683. svg{
  684. transform: scale(0.7) rotate(180deg);
  685. }
  686. }
  687. }
  688. }
  689. }
  690. $pagenum_w:1em;
  691. >section{
  692. padding-right: 0;
  693. >.wrapper{
  694. padding-right: $pagenum_w*3;
  695. // outline: orange solid thin;
  696. }
  697. div#text{
  698. // .infinite-loading-container{
  699. // height:0;
  700. // overflow: hidden;
  701. // }
  702. .text-wrapper{
  703. // padding-left: 1em;
  704. position: relative;
  705. }
  706. .textrefcopylink{
  707. display: block;
  708. position: absolute;
  709. z-index: 99;
  710. span.mdi-open-in-new {
  711. position: relative;
  712. z-index: 10;
  713. margin-left: 1px;
  714. }
  715. .popup{
  716. position: absolute;
  717. top:0;
  718. left: 1px;
  719. // width: 15em;
  720. background-color: #fff;
  721. border-radius: 3px;
  722. padding: 1em 1em 1em 1.5em;
  723. box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  724. display: none;
  725. opacity: 0.1;
  726. // outline: 1px solid blue;
  727. transition: opacity 2s ease-in-out;
  728. button.copy-btn{
  729. display: block;
  730. padding: 0.5em 0.2em;
  731. @include fontcaption;
  732. white-space: nowrap;
  733. border: none;
  734. background: none;
  735. cursor: pointer;
  736. }
  737. }
  738. // todo what about touch is hover will work ?
  739. &:hover .popup{
  740. display: block;
  741. opacity: 1;
  742. transition: opacity 2s ease-in-out;
  743. }
  744. }
  745. div.tei{
  746. position: relative;
  747. width: calc(100% - #{$pagenum_w});
  748. // DEBUG
  749. color:chartreuse;
  750. &>*{ color: #1A1A1A;}
  751. // @media only screen and (min-width: $small-bp + 1) {
  752. padding-right: $pagenum_w;
  753. border-left: 1px dotted $grisclair;
  754. padding-left: 1em;
  755. margin-left:1.2em;
  756. overflow: visible;
  757. &.active{
  758. border-left: 1px dotted $bleuroi;
  759. }
  760. // }
  761. // front page
  762. header{
  763. padding-top: $base-line;
  764. h1{
  765. @include teititlefrontblue;
  766. .initial{
  767. display: inline-block;
  768. text-transform: uppercase;
  769. font-size: 1.3em;
  770. line-height: $base-line*2;
  771. margin: $base-line/2 0;
  772. }
  773. margin-bottom: $base-line;
  774. }
  775. }
  776. span.metamark.tailpiece,
  777. span.metamark.simpleLine{
  778. display: block;
  779. border-top: 1px solid $gris;
  780. margin: $base-line / 2 auto;
  781. }
  782. .byline{
  783. text-align: center;
  784. font-style: italic;
  785. padding-bottom: 1em;
  786. color: $bleuroi;
  787. &:last-of-type{
  788. padding-bottom: $base-line*2;
  789. }
  790. }
  791. .docImprint{
  792. text-align: center;
  793. // padding-bottom: 1em;
  794. color: $bleuroi;
  795. font-size: 1.3em;
  796. line-height: $base-line;
  797. .pubPlace{
  798. display: block;
  799. }
  800. .publisher{
  801. display: block;
  802. }
  803. .docDate{
  804. display: block;
  805. // margin-top: $base-line / 2;
  806. font-weight: 700;
  807. }
  808. }
  809. .docEdition{
  810. display: block;
  811. text-align: center;
  812. color: $bleuroi;
  813. font-size: 1.3em;
  814. line-height: $base-line;
  815. }
  816. span.epigraph{
  817. display: block;
  818. text-align: center;
  819. color: $bleuroi;
  820. font-size: 1em;
  821. line-height: $base-line;
  822. border-top: 1px $gris solid;
  823. border-bottom: 1px $gris solid;
  824. }
  825. .imprimatur{
  826. text-align: center;
  827. font-style: italic;
  828. color: $bleuroi;
  829. font-size: 1.3em;
  830. line-height: $base-line;
  831. padding-bottom: $base-line;
  832. &:last-of-type{
  833. padding-bottom: $base-line*2;
  834. }
  835. }
  836. >h1{
  837. @include teititle1blue;
  838. }
  839. h1{ font-size: 1.512em;
  840. line-height: $base-line; }
  841. p{
  842. margin-top: 0;
  843. font-size: 1.134em;
  844. line-height: $base-line;
  845. margin-bottom: $base-line / 2;
  846. span.no-wrap{
  847. white-space: nowrap;
  848. }
  849. span.persName,
  850. span.placeName,
  851. span.objectName{
  852. font-weight: 500;
  853. }
  854. a{
  855. font-weight: 500;
  856. &.active-link{
  857. // color: $rouge;
  858. // text-decoration: underline;
  859. // line-height: $base-line/2;
  860. }
  861. // sup.mdi{
  862. // font-size: 0.630em;
  863. // vertical-align: super;
  864. // // line-height: 0.1;
  865. // padding: 0 0.2em;
  866. // }
  867. }
  868. }
  869. $bq_padd: 2em;
  870. blockquote{
  871. padding: 0 $bq_padd;
  872. margin: $base-line/2 0;
  873. line-height: $base-line;
  874. p{
  875. margin: 0;
  876. }
  877. }
  878. ul, ol{
  879. padding: 0 0 0 2em;
  880. li{
  881. list-style: disc;
  882. }
  883. }
  884. span.mdi.index-item-icon{
  885. font-size: 14px;
  886. vertical-align: super;
  887. line-height: 0;
  888. }
  889. // span[role="pageBreak"]{
  890. // display: block;
  891. // height:1.5em;
  892. // }
  893. span.simpleLine + span[role="pageBreak"]{
  894. height:0em;
  895. margin-top: -1em;
  896. }
  897. span.metamark.typographicalPiece + span[role="pageBreak"]{
  898. height:0em;
  899. }
  900. span.metamark.typographicalPiece{
  901. display: block;
  902. height: 1.5em;
  903. }
  904. span.metamark.typographicalPiece + span.metamark.typographicalPiece{
  905. display: none;
  906. }
  907. span[role="pageNum"]{
  908. font-size: 16px;
  909. position: relative;
  910. float:right;
  911. width: $pagenum_w; height:$base-line/4;
  912. border-bottom: 1px solid $bleuroilight;
  913. border-right: 1px solid $bleuroilight;
  914. // outline: solid red thin;
  915. // margin-left:calc(100% - #{$pagenum_w * 2});
  916. // margin-left: 100%;
  917. margin-right: - $pagenum_w * 1.5;
  918. &:before{
  919. // outline: solid green thin;
  920. content:attr(data-num);
  921. font-size: 0.630em;
  922. line-height: $base-line/3;
  923. position: absolute;
  924. right: 0;
  925. top:$base-line/2;
  926. color: $bleuroi;
  927. // top:0;
  928. // width: $pagenum_w*2; height: $pagenum_w;
  929. // border-top: 1px solid $bleuroilight;
  930. // border-right: 1px solid $bleuroilight;
  931. // text-indent: $pagenum_w * 2.5;
  932. }
  933. }
  934. blockquote span[role="pageNum"]{
  935. margin-right: - $pagenum_w * 1.5 - $bq_padd;
  936. // &:before{
  937. // right: -$bq_padd;
  938. // }
  939. }
  940. a.text-item-link{
  941. // float: left;
  942. position: absolute;
  943. top:0; left:0;
  944. // display: block;
  945. // width:1em; height:1em;
  946. font-size: 0.630em;
  947. .mdi{
  948. color: $bleuroi;
  949. pointer-events: none;
  950. }
  951. }
  952. figure{
  953. // outline: 1px solid red;
  954. background-color: $grisclair;
  955. margin:1em 0;
  956. img{
  957. width: 100%;
  958. }
  959. figcaption{
  960. @include fontcaption;
  961. padding: 0.5em;
  962. }
  963. }
  964. ul{
  965. line-height: $base-line;
  966. margin-bottom: $base-line/2;
  967. }
  968. }
  969. &.entities-hidden{
  970. span.mdi.index-item-icon{ display: none;}
  971. }
  972. }
  973. }
  974. >nav{
  975. $filter_m: 0.3em;
  976. $pager_h:18px;
  977. display: flex;
  978. flex-direction: column;
  979. span.nav-title{ display:none; }
  980. section#toc{
  981. $m:0.5em;
  982. box-sizing: content-box;
  983. padding:0 0 1em 1.5em;
  984. margin-bottom: $m;
  985. height:calc(100% - #{$pager_h} - #{$m} - #{$filter_m});
  986. overflow-x: hidden;
  987. overflow-y: auto;
  988. line-height: $base-line / 2;
  989. // section.tocitem{
  990. // position: relative;
  991. // &:after{
  992. // display: block;
  993. // position:absolute;
  994. // top:0; right:0;
  995. // color: red;
  996. // content: attr(type);
  997. // font-size: 11px;
  998. // border: 1px solid red;
  999. // border-radius: 3px;
  1000. // padding: 0px 2px;
  1001. // }
  1002. // }
  1003. >ul{
  1004. >li{
  1005. section.tocitem{
  1006. ul{
  1007. overflow: hidden;
  1008. max-height: 10000px;
  1009. transition: max-height 0.5s ease-in-out;
  1010. &:not(.opened):not(.init_opened){
  1011. max-height:0;
  1012. transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
  1013. }
  1014. &:not([level="1"]){
  1015. border-left: 0.5px solid $grisclair;
  1016. margin-bottom: 0em;
  1017. li{
  1018. padding:0 0 0 1em;
  1019. }
  1020. }
  1021. }
  1022. &.notitle>ul>li{
  1023. padding:0;
  1024. }
  1025. }
  1026. }
  1027. }
  1028. section.tocitem{
  1029. &[level="1"]:not([type="front"]),
  1030. &[level="2"]{
  1031. padding-top: 0.4em;
  1032. }
  1033. }
  1034. .toc-title{
  1035. @include title4grey;
  1036. color: $grismoyen;
  1037. &.active,
  1038. &:hover{
  1039. color:$grisfonce;
  1040. font-weight: 600;
  1041. }
  1042. &.loaded{
  1043. color:$grisfonce;
  1044. }
  1045. &.notitle{
  1046. color: red;
  1047. }
  1048. &.disabled{
  1049. color: $grisclair;
  1050. pointer-events: none;
  1051. }
  1052. }
  1053. h2.toc-title{
  1054. font-size: 1.1em;
  1055. color: $bleuroilight;
  1056. &:hover, &.loaded{
  1057. color: $bleuroi;
  1058. }
  1059. }
  1060. h3.toc-title{font-size: 1em;}
  1061. h4.toc-title{font-size: 0.9em;}
  1062. h5.toc-title{font-size: 0.8em;}
  1063. h6.toc-title{font-size: 0.7em;}
  1064. // span.toc-title{font-size: 0.882em;}
  1065. // >ul{
  1066. // ul{
  1067. // li{
  1068. // ul{
  1069. // overflow: hidden;
  1070. // max-height: 10000px;
  1071. // transition: max-height 0.5s ease-in-out;
  1072. // // transform: scaleY(1);
  1073. // // transform-origin: top;
  1074. // // transition: transform 0.3s ease-in-out;
  1075. // &:not(.opened){
  1076. // // height:0;
  1077. // max-height:0;
  1078. // transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
  1079. // // transform: scaleY(0);
  1080. // }
  1081. // // &.opened{
  1082. // // border: 1px solid red;
  1083. // // }
  1084. // // padding-left: 1em;
  1085. // border-left: 0.5px solid $grisclair;
  1086. // // min-height: 1em;
  1087. // margin-bottom: 0em;
  1088. // li{
  1089. // // min-height: 1em;
  1090. // // border-left: 1px solid red;
  1091. // padding:0 0 0 1em;
  1092. // }
  1093. // }
  1094. // }
  1095. // }
  1096. // .toc-title{
  1097. // @include title4grey;
  1098. // &.active,
  1099. // &:hover{
  1100. // color:$grisfonce;
  1101. // font-weight: 600;
  1102. // }
  1103. // &.loaded{
  1104. // color:$grisfonce;
  1105. // }
  1106. // &.notitle{
  1107. // color: red;
  1108. // }
  1109. // }
  1110. // h2.toc-title{font-size: 1.1em;}
  1111. // h3.toc-title{font-size: 1em;}
  1112. // h4.toc-title{font-size: 0.9em;}
  1113. // h5.toc-title{font-size: 0.8em;}
  1114. // h6.toc-title{font-size: 0.7em;}
  1115. // // span.toc-title{font-size: 0.882em;}
  1116. // }
  1117. }
  1118. div#indexes-filters{
  1119. // height:$pager_h;
  1120. overflow: hidden;
  1121. box-sizing: content-box;
  1122. padding:0 0 0 1.5em;
  1123. margin: 0 0 $filter_m 0;
  1124. select{
  1125. option{
  1126. padding:0;
  1127. }
  1128. }
  1129. }
  1130. div#page-nav{
  1131. height:$pager_h;
  1132. overflow: hidden;
  1133. box-sizing: content-box;
  1134. padding:0 0 0 1.5em;
  1135. select{
  1136. option{
  1137. padding:0;
  1138. }
  1139. }
  1140. }
  1141. }
  1142. // responsive
  1143. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1144. position: relative;
  1145. >nav{
  1146. $top: 45px;
  1147. z-index: 2;
  1148. position: absolute;
  1149. top:$top;
  1150. right:0;
  1151. background-color: #fff;
  1152. width:percentage(10/$default_sum);
  1153. box-sizing: border-box;
  1154. padding-top: 1em;
  1155. padding-bottom: 1em;
  1156. height:calc(100% - #{$top});
  1157. transform: translateX(100%);
  1158. transition: transform 0.3s ease-in-out;
  1159. span.nav-title{
  1160. display: block;
  1161. position: absolute;
  1162. top:4.5em; left:-1.8em;
  1163. transform: rotateZ(-90deg);
  1164. transform-origin: center;
  1165. @include fontsans;
  1166. font-size: 0.600em;
  1167. cursor: pointer;
  1168. color: $bleuroi;
  1169. svg{
  1170. vertical-align: bottom;
  1171. transform-origin: center;
  1172. transform: scale(0.8) rotate(180deg);
  1173. transition: transform 0.3s ease-in-out;
  1174. path{
  1175. fill: $bleuroi;
  1176. }
  1177. }
  1178. }
  1179. &.opened{
  1180. box-shadow: -3px -3px 5px $grisclair;
  1181. transform: translateX(0);
  1182. span.nav-title{
  1183. svg{
  1184. transform: scale(0.7) rotate(0);
  1185. }
  1186. }
  1187. }
  1188. }
  1189. }
  1190. }
  1191. #biblio{
  1192. >header{
  1193. &>h1{
  1194. @include titleSansRed;
  1195. margin: 0;
  1196. }
  1197. li{
  1198. margin: 0.5em 0 0;
  1199. a{
  1200. @include title2black;
  1201. &.router-link-active{
  1202. font-weight: 600;
  1203. }
  1204. }
  1205. }
  1206. }
  1207. .biblio-item{
  1208. h2{
  1209. color: $bleuroi;
  1210. }
  1211. p{
  1212. span.label{
  1213. font-weight: 600;
  1214. }
  1215. }
  1216. }
  1217. ul.item-list{
  1218. margin:0;
  1219. padding:0;
  1220. li{
  1221. padding:0;
  1222. margin:0 0 $base-line 0;
  1223. h2{
  1224. margin:0;
  1225. @include title1black;
  1226. color: $bleuroi;
  1227. }
  1228. p{
  1229. margin:0;
  1230. }
  1231. span.date{
  1232. @include title2black;
  1233. font-weight: 600;
  1234. }
  1235. aside{
  1236. overflow: hidden;
  1237. h5{
  1238. @include title2black;
  1239. margin: $base-line / 2 0;
  1240. cursor: pointer;
  1241. // padding-left: 1em;
  1242. // position: relative;
  1243. &:before{
  1244. cursor: pointer;
  1245. content:"\2304";
  1246. position: relative;
  1247. display: inline-block;
  1248. top: -4px;
  1249. // transform-origin: center;
  1250. // transform: rotateZ(-90deg);
  1251. }
  1252. }
  1253. ul{
  1254. max-height: 1px;
  1255. transition: all 0.3s ease-in-out;
  1256. padding-left: 1em;
  1257. overflow-y: hidden;
  1258. li{
  1259. margin-bottom: $base-line / 2;
  1260. }
  1261. }
  1262. &.opened{
  1263. h5{
  1264. &:before{
  1265. top: 4px;
  1266. content:"\2303";
  1267. // transform: rotateZ(90deg);
  1268. }
  1269. }
  1270. ul{
  1271. max-height: 100em;
  1272. }
  1273. }
  1274. }
  1275. }
  1276. &.manifestations{
  1277. li{
  1278. max-height: 0.2px;
  1279. margin-bottom:0;
  1280. overflow: hidden;
  1281. transition: all 1s ease-in-out;
  1282. &.active{
  1283. max-height: 10em;
  1284. }
  1285. .wrapper{
  1286. margin-bottom: $base-line;
  1287. }
  1288. }
  1289. }
  1290. }
  1291. ul.authors-filters{
  1292. li{
  1293. @include title4black;
  1294. line-height: $base-line / 2;
  1295. span{
  1296. cursor: pointer;
  1297. color: $gris;
  1298. &.active{
  1299. color: $grisfonce;
  1300. }
  1301. }
  1302. }
  1303. }
  1304. >nav{
  1305. aside.links{
  1306. position: absolute;
  1307. bottom: 0;
  1308. }
  1309. }
  1310. }
  1311. #static{
  1312. @include fontsans;
  1313. >header{
  1314. display: flex;
  1315. flex-direction: column;
  1316. flex-wrap: nowrap;
  1317. h1{
  1318. @include titleSansRed;
  1319. margin-bottom: $base-line * 0.4;
  1320. flex: 0 0 auto;
  1321. }
  1322. nav.toc{
  1323. flex: 1 1 auto;
  1324. overflow-y: auto;
  1325. span.sommaire-title{ display:none; }
  1326. >div.wrapper{
  1327. height:100%;
  1328. overflow-y: auto;
  1329. }
  1330. li{
  1331. a{
  1332. font-size: 1em;
  1333. line-height: $base-line * 0.7;
  1334. font-weight: 300;
  1335. }
  1336. }
  1337. // responsive
  1338. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1339. $top: 80px;
  1340. z-index: 110;
  1341. position: absolute;
  1342. top:$top;
  1343. left:0;
  1344. background-color: #fff;
  1345. width:percentage(7/$default_sum);
  1346. box-sizing: border-box;
  1347. padding-top: 1em;
  1348. padding-bottom: 1em;
  1349. height:calc(100% - #{$top});
  1350. overflow-y: auto;
  1351. transform: translateX(-100%);
  1352. transition: transform 0.3s ease-in-out;
  1353. >div.wrapper{
  1354. padding-right: 2em;
  1355. height: 100%;
  1356. overflow-y: auto;
  1357. }
  1358. span.sommaire-title{
  1359. display: block;
  1360. position: absolute;
  1361. top:4.5em; right:-2em;
  1362. transform: rotateZ(-90deg);
  1363. transform-origin: center;
  1364. @include fontsans;
  1365. font-size: 0.600em;
  1366. cursor: pointer;
  1367. color: $bleuroi;
  1368. svg{
  1369. vertical-align: bottom;
  1370. transform-origin: center;
  1371. transform: scale(0.8) rotate(0);
  1372. transition: transform 0.3s ease-in-out;
  1373. path{
  1374. fill: $bleuroi;
  1375. }
  1376. }
  1377. }
  1378. &.opened{
  1379. box-shadow: 3px 3px 5px $grisclair;
  1380. transform: translateX(0);
  1381. span.sommaire-title{
  1382. svg{
  1383. transform: scale(0.7) rotate(180deg);
  1384. }
  1385. }
  1386. }
  1387. }
  1388. }
  1389. }
  1390. >section{
  1391. h1{
  1392. font-weight: 400;
  1393. color: $bleuroi;
  1394. }
  1395. p{
  1396. margin-top:0;
  1397. font-size: 1em;
  1398. line-height: $base-line * 0.7;
  1399. font-weight: 300;
  1400. }
  1401. dl{
  1402. font-size: 1em;
  1403. line-height: $base-line * 0.7;
  1404. font-weight: 300;
  1405. span.label{
  1406. font-weight: 400;
  1407. }
  1408. dd{
  1409. margin: 0;
  1410. }
  1411. margin-bottom: $base-line;
  1412. }
  1413. a{
  1414. font-size: 1em;
  1415. line-height: $base-line * 0.7;
  1416. font-weight: 300;
  1417. border-bottom: 1px dotted #1a1a1a;
  1418. // margin-bottom: $base-line * 0.5;
  1419. display: inline-block;
  1420. }
  1421. figure{
  1422. margin: 2em 0;
  1423. img{
  1424. max-width: 100%;
  1425. }
  1426. figcaption{
  1427. @include fontcaption;
  1428. padding: 1em 0;
  1429. }
  1430. }
  1431. }
  1432. }
  1433. }
  1434. footer[role="tools"]{
  1435. $list-item-h: 7em;
  1436. @mixin resultItem{
  1437. box-sizing: border-box;
  1438. // we are only on 10 colls as 2 are occupied by sides
  1439. flex-basis: percentage(2/($default_sum - 2));
  1440. max-height: $list-item-h;
  1441. overflow: hidden;
  1442. padding-bottom: 1em;
  1443. padding-right: $default_gap;
  1444. article{
  1445. max-height: 100%;
  1446. overflow: hidden;
  1447. }
  1448. article.item{
  1449. h1{
  1450. @include title3black;
  1451. font-size: 0.9em;
  1452. font-weight: 600;
  1453. max-width: 95%;
  1454. word-break:normal;
  1455. }
  1456. h2{
  1457. @include title3black;
  1458. text-transform: none;
  1459. }
  1460. span{
  1461. font-size: 0.882em;
  1462. }
  1463. // .preview{
  1464. // font-size: 0.882em;
  1465. // margin:0;
  1466. // code{
  1467. // @include fontserif;
  1468. // background-color: lighten(desaturate($rouge,20%), 20%);
  1469. // padding:0 0.2em;
  1470. // }
  1471. // }
  1472. }
  1473. }
  1474. #history{
  1475. z-index: 8;
  1476. background-color: $or;
  1477. padding:1.2em $side-padding;
  1478. max-height: $list-item-h;
  1479. @include accordeon-transition($list-item-h);
  1480. >header{
  1481. }
  1482. .history-list{
  1483. overflow-x: hidden;
  1484. .wrapper{
  1485. height:100%;
  1486. // hidding the scrollbar
  1487. overflow-y: auto;
  1488. // width:calc(100% + 1em);
  1489. padding-right: 1em;
  1490. >ul{
  1491. padding:0;
  1492. display: flex;
  1493. flex-direction: row;
  1494. flex-wrap: wrap;
  1495. }
  1496. }
  1497. li.item{
  1498. @include resultItem;
  1499. }
  1500. }
  1501. }
  1502. #results{
  1503. z-index: 9;
  1504. background-color: $gris;
  1505. padding:1.2em $side-padding;
  1506. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1507. padding:1.2em $side-padding/2;
  1508. }
  1509. max-height: $list-item-h * 3;
  1510. @include accordeon-transition($list-item-h * 3);
  1511. >header{
  1512. >*{
  1513. // padding:0 0 5px;
  1514. // line-height: $base-line / 2;
  1515. &.v-select{
  1516. padding-top:5px;
  1517. }
  1518. }
  1519. div.results-details{
  1520. line-height: $base-line * 0.5;
  1521. >*{
  1522. display: block;
  1523. }
  1524. .search-keys{
  1525. font-size: 0.756em;
  1526. font-weight: 500;
  1527. }
  1528. .results-count{
  1529. white-space:nowrap;
  1530. font-size: 0.756em;
  1531. }
  1532. }
  1533. }
  1534. .results-list{
  1535. overflow-x: hidden;
  1536. .wrapper{
  1537. position:relative;
  1538. height:100%;
  1539. // hidding the scrollbar
  1540. overflow-y: auto;
  1541. // width:calc(100% + 1em);
  1542. padding-right: 1em;
  1543. >ul{
  1544. padding:0;
  1545. display: flex;
  1546. flex-direction: row;
  1547. flex-wrap: wrap;
  1548. }
  1549. }
  1550. li.result{
  1551. @include resultItem;
  1552. }
  1553. .infinite-loading-container{
  1554. // TODO: how to center the loading
  1555. }
  1556. }
  1557. >header, section.results-list{
  1558. transition: opacity 0.2s ease-in-out;
  1559. }
  1560. &.loading {
  1561. >header, section.results-list{
  1562. transition: opacity 0.5s ease-in-out;
  1563. opacity:0.5;
  1564. pointer-events: none;
  1565. }
  1566. }
  1567. // responsive
  1568. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1569. position: relative;
  1570. >header{
  1571. padding:0 0 1em 0;
  1572. >*{
  1573. display: inline-block;
  1574. margin-right: 1em;
  1575. }
  1576. div.results-details{
  1577. >*{
  1578. display: inline-block;
  1579. &:not(:last-child){
  1580. padding-right: 1em;
  1581. }
  1582. }
  1583. }
  1584. #sorting{
  1585. width:10em;
  1586. }
  1587. }
  1588. >section.results-list{
  1589. max-height: 15em;
  1590. li.result{
  1591. flex-basis: 33%;
  1592. }
  1593. }
  1594. >nav{
  1595. position: absolute;
  1596. top:1.2em; right:1.2em;
  1597. }
  1598. }
  1599. }
  1600. #footer-bottom{
  1601. z-index: 10;
  1602. padding:0 $side-padding;
  1603. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1604. padding:0 $side-padding/2;
  1605. flex-wrap: nowrap;
  1606. }
  1607. background-color: $bleuroi;
  1608. &>*{
  1609. // disable grid gap
  1610. padding-right: 0;
  1611. flex-grow: 0;
  1612. flex-shrink: 0;
  1613. }
  1614. #footer-tabs{
  1615. ul{
  1616. padding:0; margin:0;
  1617. display: flex;
  1618. flex-direction: column;
  1619. li{
  1620. flex: 1 1 auto;
  1621. .wrapper{
  1622. box-sizing: border-box;
  1623. line-height: 0.6em;
  1624. height:2em;
  1625. width: calc(100% + $side-padding);
  1626. margin-left:-$side-padding;
  1627. padding:0.3em 0.5em 0.3em $side-padding;
  1628. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1629. padding: 0.3em 0em 0.3em 2em;
  1630. }
  1631. }
  1632. &.history .wrapper{
  1633. background-color: $or;
  1634. }
  1635. &.results .wrapper{
  1636. background-color: $gris;
  1637. }
  1638. span{
  1639. font-size: 0.693em;
  1640. font-weight: 400;
  1641. text-transform: uppercase;
  1642. cursor: pointer;
  1643. @include fade-transition;
  1644. }
  1645. }
  1646. }
  1647. }
  1648. #search{
  1649. color: #fff;
  1650. background-color: $bleuroi;
  1651. form{
  1652. padding: 0;
  1653. // display: flex;
  1654. // flex-direction: row;
  1655. // flex-wrap: wrap;
  1656. fieldset{
  1657. padding:0.7em 1em;
  1658. border: none;
  1659. box-sizing:border-box;
  1660. // width correction as row is not the same width as others in the page
  1661. // flex-basis: percentage(2/($default_sum - 1));
  1662. // flex-basis: 17.667%;
  1663. // flex-basis: percentage(2 / 11);
  1664. &:not(:first-of-type){
  1665. border-left: 1px solid $grisclair;
  1666. }
  1667. }
  1668. fieldset.search{
  1669. display: inline-flex;
  1670. align-items: center;
  1671. >div{
  1672. width:80%;
  1673. vertical-align: middle;
  1674. }
  1675. label[for="keys"]{
  1676. display: none;
  1677. }
  1678. input[type="text"]{
  1679. padding:0em 0.3em;
  1680. margin:0 0 0.3em 0;
  1681. box-sizing: border-box;
  1682. font-size: 0.756em;
  1683. line-height: 1;
  1684. width:100%;
  1685. height:1.4em;
  1686. border:none;
  1687. border-radius: 2px;
  1688. }
  1689. span.mdi{
  1690. display: inline-block;
  1691. margin:0 0 0 0.5em;
  1692. font-size: 1.2em;
  1693. line-height:1.1;
  1694. vertical-align:middle;
  1695. width:1.2em; height:1.2em;
  1696. border-radius: 0.6em;
  1697. background-color: #fff;
  1698. color: $bleuroi;
  1699. text-align: center;
  1700. font-weight: 700;
  1701. cursor: pointer;
  1702. }
  1703. }
  1704. }
  1705. fieldset.filters{
  1706. .vs__actions{
  1707. // background-color: $grisclair;
  1708. align-items:baseline;
  1709. padding-top:0.2em;
  1710. }
  1711. }
  1712. form{
  1713. transition: opacity 0.2s ease-in-out;
  1714. }
  1715. &.loading{
  1716. form{
  1717. opacity:0.5;
  1718. transition: opacity 0.5s ease-in-out;
  1719. pointer-events: none;
  1720. }
  1721. }
  1722. // responsive
  1723. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1724. form{
  1725. fieldset{
  1726. &.search{
  1727. >div{
  1728. display: inline-flex;
  1729. flex-wrap: nowrap;
  1730. width:84%;
  1731. >*{
  1732. flex-basis: 45%;
  1733. margin: 0 0.5em 0 0;
  1734. // box-sizing: content-box;
  1735. // width:auto!important;
  1736. &#keys[type="text"]{
  1737. margin-right:1.5em;
  1738. }
  1739. }
  1740. }
  1741. span.mdi{
  1742. width:1em; height:1em;
  1743. margin-top: -0.1em;
  1744. margin-left: 0;
  1745. }
  1746. }
  1747. &.filters{
  1748. border-left: none;
  1749. flex-basis: 32%;
  1750. padding: 0.2em 0 1em 1em;
  1751. }
  1752. }
  1753. }
  1754. }
  1755. }
  1756. ;
  1757. #logos{
  1758. // max-height: 100%;
  1759. position: relative;
  1760. flex-shrink: 1;
  1761. // display: flex;
  1762. // flex-direction: row;
  1763. // justify-content: flex-end;
  1764. .wrapper{
  1765. position: relative;
  1766. box-sizing: content-box;
  1767. // max-height: 50px;
  1768. padding:1em;
  1769. text-align: right;
  1770. height: 30px;
  1771. img{
  1772. // display: inline-block;
  1773. height: 100%;
  1774. padding-left: 1em;
  1775. }
  1776. }
  1777. }
  1778. }
  1779. h2{
  1780. margin:0;
  1781. font-size: 0.756em;
  1782. font-weight: 400;
  1783. text-transform: uppercase;
  1784. padding:0;
  1785. }
  1786. }
  1787. // vue-select
  1788. .v-select{
  1789. padding:0;
  1790. div[role="combobox"]{
  1791. background-color: #fff;
  1792. padding:0;
  1793. border-radius: 2px;
  1794. border: none;
  1795. }
  1796. input[type="search"]{
  1797. margin:0;
  1798. padding:0;
  1799. -webkit-appearance:textfield;
  1800. -webkit-box-sizing:content-box;
  1801. }
  1802. input::-webkit-search-decoration,
  1803. input::-webkit-search-cancel-button {
  1804. display: none;
  1805. }
  1806. .vs__search{
  1807. &, &:focus{
  1808. font-size: 0.756em;
  1809. line-height: 1;
  1810. height:1.2em;
  1811. border:none;
  1812. box-sizing: border-box;
  1813. }
  1814. }
  1815. .vs__dropdown-toggle{
  1816. input::placeholder{background-color: #fff;}
  1817. }
  1818. .vs__selected-options{
  1819. background-color: #fff;
  1820. height:18px;
  1821. >input{
  1822. height:100%;
  1823. }
  1824. }
  1825. .vs__actions{
  1826. padding:1px 3px;
  1827. button.vs__clear{
  1828. line-height: 0.5;
  1829. // height:0;
  1830. }
  1831. svg[role="presentation"]{
  1832. transform: scale(0.8);
  1833. path{
  1834. fill: $bleuroi;
  1835. }
  1836. }
  1837. }
  1838. .vs__selected{
  1839. margin:0;
  1840. padding:0.2em 0;
  1841. line-height:1;
  1842. font-size: 0.756em;
  1843. background-color: #fff;
  1844. border:none;
  1845. align-items: middle;
  1846. box-sizing: content-box;
  1847. display: inline-block;
  1848. width: calc(100% - 12px);
  1849. @include fontsans;
  1850. // &>*:not(button){
  1851. // display: inline-block;
  1852. // width:70%;
  1853. // }
  1854. button{
  1855. svg{
  1856. transform: scale(0.8);
  1857. path{
  1858. fill: $bleuroi;
  1859. }
  1860. }
  1861. &.vs__deselect{
  1862. line-height: 0;
  1863. }
  1864. }
  1865. }
  1866. // border-radius: 2px;
  1867. // border: none;
  1868. }
  1869. ul[role="listbox"]{
  1870. @include fontsans;
  1871. padding:0;
  1872. margin:0;
  1873. border:none;
  1874. position: relative;
  1875. li{
  1876. box-sizing: content-box;
  1877. padding:0.3em;
  1878. margin:0;
  1879. font-size: 0.756em;
  1880. line-height: 1;
  1881. white-space: normal;
  1882. position: relative;
  1883. *{
  1884. max-width: 100%;
  1885. }
  1886. h3{
  1887. @include title1black;
  1888. color: $bleuroi;
  1889. padding: 0.5em 0 0 0.3em;
  1890. span.hi{
  1891. font-variant-position: super;
  1892. }
  1893. }
  1894. }
  1895. }
  1896. // ___
  1897. // |_ _|__ ___ _ _ __
  1898. // | |/ _/ _ \ ' \(_-<
  1899. // |___\__\___/_||_/__/
  1900. span.mdi-close{
  1901. cursor: pointer;
  1902. }
  1903. @keyframes spin {
  1904. from {
  1905. transform:rotate(0deg);
  1906. }
  1907. to {
  1908. transform:rotate(360deg);
  1909. }
  1910. }
  1911. span.mdi-loading{
  1912. animation-name: spin;
  1913. animation-duration: 2000ms;
  1914. animation-iteration-count: infinite;
  1915. animation-timing-function: linear;
  1916. }
  1917. // _ _ _
  1918. // | | ___ __ _ __| (_)_ _ __ _
  1919. // | |__/ _ \/ _` / _` | | ' \/ _` |
  1920. // |____\___/\__,_\__,_|_|_||_\__, |
  1921. // |___/
  1922. span.loading{
  1923. @include fontsans;
  1924. font-size: 0.756em;
  1925. color: $grisfonce;
  1926. animation: pulseloading 4s infinite;
  1927. }
  1928. @keyframes pulseloading{
  1929. 0% {
  1930. opacity: 1;
  1931. }
  1932. 50%{
  1933. opacity: 0;
  1934. }
  1935. 100% {
  1936. opacity: 1;
  1937. }
  1938. }