app.scss 48 KB

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