app.scss 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634
  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. text-align: center;
  93. h1{
  94. color: $bleuroi;
  95. font-size: 8em;
  96. font-weight: 300;
  97. margin:15vh 0 0;
  98. }
  99. h2{
  100. color: $or;
  101. font-size: 2em;
  102. font-weight: 300;
  103. margin:1em 0 0;
  104. text-transform: uppercase;
  105. letter-spacing: 0.2em;
  106. sup{
  107. // line-height: 5em;
  108. vertical-align:text-top;
  109. font-size: 0.7em
  110. }
  111. }
  112. }
  113. // $filet_space:8em;
  114. // $decallage: 0.5em;
  115. section{
  116. padding-top: 8em;
  117. }
  118. @mixin teasersfilet($filet_space, $decallage){
  119. z-index: 1;
  120. &:before, &:after{
  121. z-index: 0;
  122. content: "";
  123. position: absolute;
  124. opacity: 0.4;
  125. pointer-events: none;
  126. }
  127. &:before{
  128. border:1px solid $or;
  129. width:calc(100% + #{$filet_space*2 + $decallage*2});
  130. left:- $filet_space - $default_gap/2 -$decallage;
  131. height:calc(100% + #{$filet_space});
  132. top:- $filet_space / 2;
  133. }
  134. &:after{
  135. border:1px solid $rouge;
  136. width:calc(100% + #{$filet_space*2});
  137. left:- $filet_space - $default_gap/2;
  138. height:calc(100% + #{$filet_space + $decallage*2});
  139. top:- $filet_space / 2 - $decallage;
  140. }
  141. }
  142. div.teasers>.wrapper{
  143. display: flex;
  144. flex-direction: row;
  145. flex-wrap: nowrap;
  146. position: relative;
  147. padding-right: 0;
  148. article{
  149. box-sizing: border-box;
  150. flex-basis: percentage(2 / ( $default_sum - 6) );
  151. padding-right: $default_gap;
  152. @include fontsans;
  153. h1{
  154. color: $bleuroi;
  155. }
  156. p{
  157. font-size: 0.882em;
  158. line-height: 1.2;
  159. }
  160. a.readmore span{
  161. color:$rouge;
  162. font-size:0.693em;
  163. }
  164. }
  165. // filets decoratif
  166. @include teasersfilet(8em, 0.5em);
  167. }
  168. // responsive
  169. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  170. header{
  171. h1{
  172. font-size: 5em;
  173. margin:7vh 0 0;
  174. }
  175. h2{
  176. font-size: 1em;
  177. }
  178. }
  179. section{
  180. padding-top: 4em;
  181. }
  182. div.teasers{
  183. flex-direction: column;
  184. // filets decoratif
  185. @include teasersfilet(4em, 0.5em);
  186. }
  187. }
  188. }
  189. #list-corpus, .index{
  190. >header{
  191. &>h1{
  192. @include titleSansRed;
  193. margin: 0;
  194. }
  195. }
  196. article.item{
  197. // margin: 2em 0 0;
  198. header{
  199. margin:0;
  200. h1{
  201. margin:0;
  202. span.title{
  203. @include title1black;
  204. color: $bleuroi;
  205. }
  206. span.quantity{
  207. @include title4black;
  208. }
  209. }
  210. }
  211. }
  212. &:not(#list-corpus){
  213. ul.item-list{
  214. li{
  215. margin-bottom: $base-line;
  216. max-height: $base-line * 3;
  217. opacity: 1;
  218. transition: all 0.3s ease-in-out;
  219. &.hidden {
  220. // display: none;
  221. max-height: 0.001px;
  222. opacity: 0;
  223. margin-bottom: 0.001px;
  224. }
  225. }
  226. }
  227. }
  228. ul.item-list{
  229. li{
  230. // margin: 0 0 2em 0;
  231. margin-bottom: $base-line;
  232. header{
  233. h2{
  234. @include title1blue;
  235. // margin:0.4em 0 0.2em;
  236. margin-bottom: $base-line / 2;
  237. }
  238. h3{
  239. margin:0;
  240. @include fontsans;
  241. font-size: 0.756em;
  242. font-weight: 500;
  243. line-height: $base-line / 2;
  244. }
  245. section.notice{
  246. @include fontsans;
  247. font-size: 0.756em;
  248. font-weight: 300;
  249. line-height: $base-line / 2;
  250. }
  251. margin-bottom: $base-line / 2;
  252. }
  253. h4{
  254. margin:0;
  255. font-weight: 300;
  256. @include fontsans;
  257. font-size: 0.756em;
  258. line-height: $base-line / 2;
  259. &.texts-quantity{
  260. color: $rouge;
  261. margin-bottom: $base-line / 4;
  262. }
  263. }
  264. section.editions{
  265. div.editions{
  266. ol{
  267. padding:0;
  268. li{
  269. margin:0.7em 1em;
  270. }
  271. }
  272. }
  273. }
  274. section.texts{
  275. ul.texts-list{
  276. // padding: 0 0 0 1em;
  277. li{
  278. margin-bottom: $base-line / 2;
  279. }
  280. h3{
  281. @include title2black;
  282. // margin: 0.7em 0 0.3em;
  283. line-height: $base-line / 2;
  284. }
  285. p{
  286. font-weight: 300;
  287. @include fontsans;
  288. font-size: 0.756em;
  289. margin: 0;
  290. line-height: $base-line / 2;
  291. }
  292. }
  293. }
  294. ul {
  295. li{
  296. // margin:0 0 0 1em;
  297. h3{
  298. margin: 0.5em 0;
  299. font-weight: 400;
  300. font-size: 1em;
  301. }
  302. }
  303. }
  304. }
  305. }
  306. .abc{
  307. ul{
  308. li{
  309. opacity: 1;
  310. transition: opacity 0.3s ease-in-out;
  311. padding: 3px;
  312. &.inactive{
  313. opacity: 0.4;
  314. }
  315. span.tout, span.letter{
  316. @include fontcaption;
  317. font-variant: small-caps;
  318. font-size: 1em;
  319. cursor: pointer;
  320. // line-height: $base-line / 2;
  321. border: 1px solid $grisclair;
  322. border-radius: 3px;
  323. padding: 0.3em;
  324. display: inline-block;
  325. text-align: center;
  326. }
  327. &:not(:first-of-type) span.letter{
  328. width: 1.1em; height: 1.1em;
  329. }
  330. span.quantity{
  331. font-size: 0.765em;
  332. }
  333. }
  334. }
  335. }
  336. }
  337. #corpus{
  338. }
  339. .index{
  340. }
  341. .index-item{
  342. header{
  343. h1{
  344. @include title1black;
  345. margin:0 0 0.3em;
  346. }
  347. section{
  348. margin-bottom: 1em;
  349. h3{
  350. @include title2black;
  351. margin:0;
  352. font-weight: 600;
  353. }
  354. }
  355. p{
  356. margin: 0 0 0.5em 0;
  357. }
  358. .authors{
  359. a{
  360. @include title2black;
  361. color: $bleuroi;
  362. }
  363. margin:0 0 0.3em;
  364. }
  365. .mdi{
  366. color: $bleuroilight;
  367. font-size: 0.7em;
  368. }
  369. .attested-forms{
  370. ul{
  371. // >li{
  372. // margin: 0 0 1em 0;
  373. // li{
  374. // margin: 0 0 0.5em 0;
  375. // }
  376. // }
  377. }
  378. a{
  379. @include title4grey;
  380. color: $grisfonce;
  381. font-weight: 400;
  382. }
  383. }
  384. }
  385. .tabs{
  386. border-bottom: 1px solid $bleuroilight;
  387. margin-bottom: $base-line / 2;
  388. .tab{
  389. cursor: pointer;
  390. border-radius: 5px 5px 0 0;
  391. z-index: 10;
  392. display: inline-block;
  393. margin-bottom: -2px;
  394. padding: 0.3em 0.5em;
  395. border: 1px solid $bleuroilight;
  396. &.active{
  397. border-bottom: 2px solid white;
  398. }
  399. }
  400. }
  401. .occurences{
  402. >ul{
  403. >li{
  404. padding:0 0 $base-line / 2 0;
  405. h3{
  406. @include title1black;
  407. padding:0 0 $base-line / 2 0;
  408. color: $bleuroi;
  409. }
  410. >ul{
  411. >li{
  412. // padding:0 0 0.5em 0;
  413. section{
  414. h4{
  415. // @include title3black;
  416. @include title4grey;
  417. color: $grisfonce;
  418. font-weight: 400;
  419. display: inline-block;
  420. a{
  421. span.form{
  422. font-style: italic;
  423. }
  424. }
  425. }
  426. // ? c'est quoi ça ?
  427. // span.open-close{
  428. // cursor: pointer;
  429. // display: inline-block;
  430. // svg{
  431. // transform: rotate(-90deg) scale(0.8);
  432. // transition: transform 0.3s ease-in-out;
  433. // path{
  434. // fill:$bleuroi;
  435. // }
  436. // }
  437. // }
  438. // div.text{
  439. // max-height: 0;
  440. // transition: max-height 0.3s ease-in-out;
  441. // overflow: hidden;
  442. // box-sizing: content-box;
  443. // p, h1, h2, h3, h4, h5, h6{
  444. // margin: 0.5em 0 0 0;
  445. // }
  446. // }
  447. // a.lire-plus{
  448. // color: $bleuroi;
  449. // opacity: 0;
  450. // display: inline-block;
  451. // height: 0;
  452. // overflow: hidden;
  453. // transition: height, opacity 0.3s ease-in-out;
  454. // }
  455. // &.opened{
  456. // span.open-close{
  457. // cursor: pointer;
  458. // display: inline-block;
  459. // svg{
  460. // transform: scale(0.8) rotate(0);
  461. // }
  462. // }
  463. // div.text{
  464. // max-height:100px;
  465. // }
  466. // a.lire-plus{
  467. // opacity: 1;
  468. // height:1em;
  469. // }
  470. // }
  471. }
  472. }
  473. }
  474. }
  475. }
  476. }
  477. .attested-forms-occurences{
  478. >ul{
  479. >li{
  480. margin: 0 0 1em 0;
  481. h3{
  482. @include title1black;
  483. padding:0 0 0 0;
  484. }
  485. li{
  486. // margin: 0 0 0.5em 0;
  487. h4{
  488. // @include title3black;
  489. @include title4grey;
  490. color: $grisfonce;
  491. font-weight: 400;
  492. display: inline-block;
  493. a{
  494. span.edition{
  495. font-style: italic;
  496. }
  497. }
  498. }
  499. }
  500. }
  501. }
  502. }
  503. nav{
  504. h3{
  505. @include title2black;
  506. margin:0 0 0.5em;
  507. }
  508. h4{
  509. @include title3black;
  510. margin:0 0 0.5em;
  511. color: $bleuroi;
  512. }
  513. }
  514. }
  515. #edition{
  516. >header{
  517. position: relative;
  518. h1{
  519. @include title1black;
  520. }
  521. aside.index-tooltip{
  522. z-index:10;
  523. margin-top: -1.75em;
  524. position:absolute;
  525. text-align: right;
  526. right: 2em;
  527. h1 {
  528. @include title2black;
  529. margin:0 0 0.5em 0;
  530. }
  531. p{
  532. margin:0 0 0.5em 0;
  533. }
  534. time{
  535. font-weight: 600;
  536. }
  537. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  538. background-color: #fff;
  539. padding: 1em;
  540. box-shadow: 0 0 10px $gris;
  541. *{
  542. pointer-events: none;
  543. }
  544. }
  545. }
  546. }
  547. $pagenum_w:1em;
  548. >section{
  549. padding-right: 0;
  550. >.wrapper{
  551. padding-right: $pagenum_w*3;
  552. // outline: orange solid thin;
  553. }
  554. div#text{
  555. // .infinite-loading-container{
  556. // height:0;
  557. // overflow: hidden;
  558. // }
  559. .text-wrapper{
  560. // padding-left: 1em;
  561. position: relative;
  562. }
  563. .textrefcopylink{
  564. display: block;
  565. position: absolute;
  566. z-index: 99;
  567. span.mdi-open-in-new {
  568. position: relative;
  569. z-index: 10;
  570. margin-left: 1px;
  571. }
  572. .popup{
  573. position: absolute;
  574. top:0;
  575. left: 1px;
  576. // width: 15em;
  577. background-color: #fff;
  578. border-radius: 3px;
  579. padding: 1em 1em 1em 1.5em;
  580. box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  581. display: none;
  582. opacity: 0.1;
  583. // outline: 1px solid blue;
  584. transition: opacity 2s ease-in-out;
  585. button.copy-btn{
  586. display: block;
  587. padding: 0.5em 0.2em;
  588. @include fontcaption;
  589. white-space: nowrap;
  590. border: none;
  591. background: none;
  592. cursor: pointer;
  593. }
  594. }
  595. &:hover .popup{
  596. display: block;
  597. opacity: 1;
  598. transition: opacity 2s ease-in-out;
  599. }
  600. }
  601. div.tei{
  602. position: relative;
  603. width: calc(100% - #{$pagenum_w});
  604. // DEBUG
  605. color:chartreuse;
  606. &>*{ color: #1A1A1A;}
  607. // @media only screen and (min-width: $small-bp + 1) {
  608. padding-right: $pagenum_w;
  609. border-left: 1px dotted $grisclair;
  610. padding-left: 1em;
  611. margin-left:1.2em;
  612. overflow: visible;
  613. &.active{
  614. border-left: 1px dotted $bleuroi;
  615. }
  616. // }
  617. // front page
  618. header{
  619. padding-top: $base-line;
  620. h1{
  621. @include teititlefrontblue;
  622. .initial{
  623. display: inline-block;
  624. text-transform: uppercase;
  625. font-size: 1.3em;
  626. line-height: $base-line*2;
  627. margin: $base-line/2 0;
  628. }
  629. margin-bottom: $base-line;
  630. }
  631. }
  632. span.metamark.tailpiece,
  633. span.metamark.simpleLine{
  634. display: block;
  635. border-top: 1px solid $gris;
  636. margin: $base-line / 2 auto;
  637. }
  638. .byline{
  639. text-align: center;
  640. font-style: italic;
  641. padding-bottom: 1em;
  642. }
  643. .docImprint{
  644. text-align: center;
  645. // padding-bottom: 1em;
  646. .pubPlace{
  647. display: block;
  648. }
  649. .publisher{
  650. display: block;
  651. }
  652. .docDate{
  653. display: block;
  654. margin-top: $base-line / 2;
  655. }
  656. }
  657. .imprimatur{
  658. text-align: center;
  659. font-style: italic;
  660. padding-bottom: $base-line;
  661. }
  662. >h1{
  663. @include teititle1blue;
  664. }
  665. h1{ font-size: 1.512em;
  666. line-height: $base-line; }
  667. p{
  668. margin-top: 0;
  669. font-size: 1.134em;
  670. line-height: $base-line;
  671. margin-bottom: $base-line / 2;
  672. span.persName,
  673. span.placeName,
  674. span.objectName{
  675. font-weight: 500;
  676. }
  677. a{
  678. font-weight: 500;
  679. &.active-link{
  680. // color: $rouge;
  681. // text-decoration: underline;
  682. // line-height: $base-line/2;
  683. }
  684. // sup.mdi{
  685. // font-size: 0.630em;
  686. // vertical-align: super;
  687. // // line-height: 0.1;
  688. // padding: 0 0.2em;
  689. // }
  690. }
  691. }
  692. blockquote{
  693. padding: 0 1em;
  694. }
  695. ul, ol{
  696. padding: 0 0 0 2em;
  697. li{
  698. list-style: disc;
  699. }
  700. }
  701. span.mdi.index-item-icon{
  702. font-size: 14px;
  703. vertical-align: super;
  704. }
  705. span[role="pageBreak"]{
  706. display: block;
  707. height:1.5em;
  708. }
  709. span.simpleLine + span[role="pageBreak"]{
  710. height:0em;
  711. margin-top: -1em;
  712. }
  713. span.metamark.typographicalPiece + span[role="pageBreak"]{
  714. height:0em;
  715. }
  716. span.metamark.typographicalPiece{
  717. display: block;
  718. height: 1.5em;
  719. }
  720. span.metamark.typographicalPiece + span.metamark.typographicalPiece{
  721. display: none;
  722. }
  723. span[role="pageNum"]{
  724. font-size: 16px;
  725. position: relative;
  726. float:right;
  727. width: $pagenum_w; height:$base-line/4;
  728. border-bottom: 1px solid $bleuroilight;
  729. border-right: 1px solid $bleuroilight;
  730. // outline: solid red thin;
  731. // margin-left:calc(100% - #{$pagenum_w * 2});
  732. // margin-left: 100%;
  733. margin-right: - $pagenum_w * 1.5;
  734. &:before{
  735. // outline: solid green thin;
  736. content:attr(data-num);
  737. font-size: 0.630em;
  738. line-height: $base-line/3;
  739. position: absolute;
  740. right: 0;
  741. top:$base-line/2;
  742. color: $bleuroi;
  743. // top:0;
  744. // width: $pagenum_w*2; height: $pagenum_w;
  745. // border-top: 1px solid $bleuroilight;
  746. // border-right: 1px solid $bleuroilight;
  747. // text-indent: $pagenum_w * 2.5;
  748. }
  749. }
  750. a.text-item-link{
  751. // float: left;
  752. position: absolute;
  753. top:0; left:0;
  754. // display: block;
  755. // width:1em; height:1em;
  756. font-size: 0.630em;
  757. .mdi{
  758. color: $bleuroi;
  759. pointer-events: none;
  760. }
  761. }
  762. figure{
  763. // outline: 1px solid red;
  764. background-color: $grisclair;
  765. margin:1em 0;
  766. img{
  767. width: 100%;
  768. }
  769. figcaption{
  770. @include fontcaption;
  771. padding: 0.5em;
  772. }
  773. }
  774. ul{
  775. line-height: $base-line;
  776. margin-bottom: $base-line/2;
  777. }
  778. blockquote{
  779. margin: $base-line/2 1em;
  780. line-height: $base-line;
  781. p{
  782. margin: 0;
  783. }
  784. }
  785. }
  786. }
  787. }
  788. >nav{
  789. $pager_h:2em;
  790. display: flex;
  791. flex-direction: column;
  792. span.nav-title{ display:none; }
  793. section#toc{
  794. box-sizing: content-box;
  795. padding:0 0 1em 1.5em;
  796. height:calc(100% - #{$pager_h});
  797. overflow-x: hidden;
  798. overflow-y: auto;
  799. line-height: $base-line / 2;
  800. // section.tocitem{
  801. // position: relative;
  802. // &:after{
  803. // display: block;
  804. // position:absolute;
  805. // top:0; right:0;
  806. // color: red;
  807. // content: attr(type);
  808. // font-size: 11px;
  809. // border: 1px solid red;
  810. // border-radius: 3px;
  811. // padding: 0px 2px;
  812. // }
  813. // }
  814. >ul{
  815. >li{
  816. section.tocitem{
  817. ul{
  818. overflow: hidden;
  819. max-height: 10000px;
  820. transition: max-height 0.5s ease-in-out;
  821. &:not(.opened):not(.init_opened){
  822. max-height:0;
  823. transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
  824. }
  825. &:not([level="1"]){
  826. border-left: 0.5px solid $grisclair;
  827. margin-bottom: 0em;
  828. li{
  829. padding:0 0 0 1em;
  830. }
  831. }
  832. }
  833. &.notitle>ul>li{
  834. padding:0;
  835. }
  836. }
  837. }
  838. }
  839. .toc-title{
  840. @include title4grey;
  841. color: $grismoyen;
  842. &.active,
  843. &:hover{
  844. color:$grisfonce;
  845. font-weight: 600;
  846. }
  847. &.loaded{
  848. color:$grisfonce;
  849. }
  850. &.notitle{
  851. color: red;
  852. }
  853. &.disabled{
  854. color: $grisclair;
  855. pointer-events: none;
  856. }
  857. }
  858. h2.toc-title{font-size: 1.1em;}
  859. h3.toc-title{font-size: 1em;}
  860. h4.toc-title{font-size: 0.9em;}
  861. h5.toc-title{font-size: 0.8em;}
  862. h6.toc-title{font-size: 0.7em;}
  863. // span.toc-title{font-size: 0.882em;}
  864. // >ul{
  865. // ul{
  866. // li{
  867. // ul{
  868. // overflow: hidden;
  869. // max-height: 10000px;
  870. // transition: max-height 0.5s ease-in-out;
  871. // // transform: scaleY(1);
  872. // // transform-origin: top;
  873. // // transition: transform 0.3s ease-in-out;
  874. // &:not(.opened){
  875. // // height:0;
  876. // max-height:0;
  877. // transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
  878. // // transform: scaleY(0);
  879. // }
  880. // // &.opened{
  881. // // border: 1px solid red;
  882. // // }
  883. // // padding-left: 1em;
  884. // border-left: 0.5px solid $grisclair;
  885. // // min-height: 1em;
  886. // margin-bottom: 0em;
  887. // li{
  888. // // min-height: 1em;
  889. // // border-left: 1px solid red;
  890. // padding:0 0 0 1em;
  891. // }
  892. // }
  893. // }
  894. // }
  895. // .toc-title{
  896. // @include title4grey;
  897. // &.active,
  898. // &:hover{
  899. // color:$grisfonce;
  900. // font-weight: 600;
  901. // }
  902. // &.loaded{
  903. // color:$grisfonce;
  904. // }
  905. // &.notitle{
  906. // color: red;
  907. // }
  908. // }
  909. // h2.toc-title{font-size: 1.1em;}
  910. // h3.toc-title{font-size: 1em;}
  911. // h4.toc-title{font-size: 0.9em;}
  912. // h5.toc-title{font-size: 0.8em;}
  913. // h6.toc-title{font-size: 0.7em;}
  914. // // span.toc-title{font-size: 0.882em;}
  915. // }
  916. }
  917. div#indexes-filters{
  918. // height:$pager_h;
  919. overflow: hidden;
  920. box-sizing: content-box;
  921. padding:1em 0 0 1.5em;
  922. select{
  923. option{
  924. padding:0;
  925. }
  926. }
  927. }
  928. div#page-nav{
  929. height:$pager_h;
  930. overflow: hidden;
  931. box-sizing: content-box;
  932. padding:1em 0 0 1.5em;
  933. select{
  934. option{
  935. padding:0;
  936. }
  937. }
  938. }
  939. }
  940. // responsive
  941. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  942. position: relative;
  943. >nav{
  944. $top: 45px;
  945. z-index: 2;
  946. position: absolute;
  947. top:$top;
  948. right:0;
  949. background-color: #fff;
  950. width:percentage(10/$default_sum);
  951. box-sizing: border-box;
  952. padding-top: 1em;
  953. padding-bottom: 1em;
  954. height:calc(100% - #{$top});
  955. transform: translateX(100%);
  956. transition: transform 0.3s ease-in-out;
  957. span.nav-title{
  958. display: block;
  959. position: absolute;
  960. top:4.5em; left:-1.8em;
  961. transform: rotateZ(-90deg);
  962. transform-origin: center;
  963. @include fontsans;
  964. font-size: 0.600em;
  965. cursor: pointer;
  966. color: $bleuroi;
  967. svg{
  968. vertical-align: bottom;
  969. transform-origin: center;
  970. transform: scale(0.8) rotate(180deg);
  971. transition: transform 0.3s ease-in-out;
  972. path{
  973. fill: $bleuroi;
  974. }
  975. }
  976. }
  977. &.opened{
  978. box-shadow: -3px -3px 5px $grisclair;
  979. transform: translateX(0);
  980. span.nav-title{
  981. svg{
  982. transform: scale(0.7) rotate(0);
  983. }
  984. }
  985. }
  986. }
  987. }
  988. }
  989. #biblio{
  990. .router-link-active{
  991. font-weight: 600;
  992. }
  993. ul.item-list{
  994. margin:0;
  995. padding:0;
  996. li{
  997. padding:0;
  998. margin:0 0 $base-line 0;
  999. h2{
  1000. margin:0;
  1001. @include title1black;
  1002. }
  1003. p{
  1004. margin:0;
  1005. }
  1006. span.date{
  1007. @include title2black;
  1008. font-weight: 600;
  1009. }
  1010. aside{
  1011. overflow: hidden;
  1012. h5{
  1013. @include title2black;
  1014. margin: $base-line / 2 0;
  1015. cursor: pointer;
  1016. // padding-left: 1em;
  1017. // position: relative;
  1018. &:before{
  1019. cursor: pointer;
  1020. content:"\2304";
  1021. position: relative;
  1022. display: inline-block;
  1023. top: -4px;
  1024. // transform-origin: center;
  1025. // transform: rotateZ(-90deg);
  1026. }
  1027. }
  1028. ul{
  1029. max-height: 1px;
  1030. transition: all 0.3s ease-in-out;
  1031. padding-left: 1em;
  1032. li{
  1033. margin-bottom: $base-line / 2;
  1034. }
  1035. }
  1036. &.opened{
  1037. h5{
  1038. &:before{
  1039. top: 4px;
  1040. content:"\2303";
  1041. // transform: rotateZ(90deg);
  1042. }
  1043. }
  1044. ul{
  1045. max-height: 100em;
  1046. }
  1047. }
  1048. }
  1049. }
  1050. &.manifestations{
  1051. li{
  1052. max-height: 0.2px;
  1053. margin-bottom:0;
  1054. overflow: hidden;
  1055. transition: all 1s ease-in-out;
  1056. &.active{
  1057. max-height: 10em;
  1058. }
  1059. .wrapper{
  1060. margin-bottom: $base-line;
  1061. }
  1062. }
  1063. }
  1064. }
  1065. ul.authors-filters{
  1066. li{
  1067. @include title4black;
  1068. line-height: $base-line / 2;
  1069. span{
  1070. cursor: pointer;
  1071. color: $gris;
  1072. &.active{
  1073. color: $grisfonce;
  1074. }
  1075. }
  1076. }
  1077. }
  1078. }
  1079. }
  1080. footer[role="tools"]{
  1081. $list-item-h: 7em;
  1082. @mixin resultItem{
  1083. box-sizing: border-box;
  1084. // we are only on 10 colls as 2 are occupied by sides
  1085. flex-basis: percentage(2/($default_sum - 2));
  1086. max-height: $list-item-h;
  1087. overflow: hidden;
  1088. padding-bottom: 1em;
  1089. padding-right: $default_gap;
  1090. article{
  1091. max-height: 100%;
  1092. overflow: hidden;
  1093. }
  1094. article.item{
  1095. h1{
  1096. @include title3black;
  1097. font-size: 0.9em;
  1098. font-weight: 600;
  1099. max-width: 95%;
  1100. word-break:normal;
  1101. }
  1102. h2{
  1103. @include title3black;
  1104. text-transform: none;
  1105. }
  1106. span{
  1107. font-size: 0.882em;
  1108. }
  1109. // .preview{
  1110. // font-size: 0.882em;
  1111. // margin:0;
  1112. // code{
  1113. // @include fontserif;
  1114. // background-color: lighten(desaturate($rouge,20%), 20%);
  1115. // padding:0 0.2em;
  1116. // }
  1117. // }
  1118. }
  1119. }
  1120. #history{
  1121. z-index: 8;
  1122. background-color: $or;
  1123. padding:1.2em $side-padding;
  1124. max-height: $list-item-h;
  1125. @include accordeon-transition($list-item-h);
  1126. >header{
  1127. }
  1128. .history-list{
  1129. overflow-x: hidden;
  1130. .wrapper{
  1131. height:100%;
  1132. // hidding the scrollbar
  1133. overflow-y: auto;
  1134. // width:calc(100% + 1em);
  1135. padding-right: 1em;
  1136. >ul{
  1137. padding:0;
  1138. display: flex;
  1139. flex-direction: row;
  1140. flex-wrap: wrap;
  1141. }
  1142. }
  1143. li.item{
  1144. @include resultItem;
  1145. }
  1146. }
  1147. }
  1148. #results{
  1149. z-index: 9;
  1150. background-color: $gris;
  1151. padding:1.2em $side-padding;
  1152. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1153. padding:1.2em $side-padding/2;
  1154. }
  1155. max-height: $list-item-h * 3;
  1156. @include accordeon-transition($list-item-h * 3);
  1157. >header{
  1158. .search-keys{
  1159. font-size: 0.756em;
  1160. font-weight: 500;
  1161. }
  1162. .results-count{
  1163. font-size: 0.756em;
  1164. }
  1165. }
  1166. .results-list{
  1167. overflow-x: hidden;
  1168. .wrapper{
  1169. position:relative;
  1170. height:100%;
  1171. // hidding the scrollbar
  1172. overflow-y: auto;
  1173. // width:calc(100% + 1em);
  1174. padding-right: 1em;
  1175. >ul{
  1176. padding:0;
  1177. display: flex;
  1178. flex-direction: row;
  1179. flex-wrap: wrap;
  1180. }
  1181. }
  1182. li.result{
  1183. @include resultItem;
  1184. }
  1185. .infinite-loading-container{
  1186. // TODO: how to center the loading
  1187. }
  1188. }
  1189. >header, section.results-list{
  1190. transition: opacity 0.2s ease-in-out;
  1191. }
  1192. &.loading {
  1193. >header, section.results-list{
  1194. transition: opacity 0.5s ease-in-out;
  1195. opacity:0.5;
  1196. pointer-events: none;
  1197. }
  1198. }
  1199. // responsive
  1200. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1201. position: relative;
  1202. >header{
  1203. padding:0 0 1em 0;
  1204. >*{
  1205. display: inline-block;
  1206. margin-right: 1em;
  1207. }
  1208. #sorting{
  1209. width:10em;
  1210. }
  1211. }
  1212. >section.results-list{
  1213. max-height: 15em;
  1214. li.result{
  1215. flex-basis: 33%;
  1216. }
  1217. }
  1218. >nav{
  1219. position: absolute;
  1220. top:1.2em; right:1.2em;
  1221. }
  1222. }
  1223. }
  1224. #footer-bottom{
  1225. z-index: 10;
  1226. padding:0 $side-padding;
  1227. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1228. padding:0 $side-padding/2;
  1229. }
  1230. background-color: $bleuroi;
  1231. &>*{
  1232. // disable grid gap
  1233. padding-right: 0;
  1234. flex-grow: 0;
  1235. flex-shrink: 0;
  1236. }
  1237. #footer-tabs{
  1238. ul{
  1239. padding:0; margin:0;
  1240. display: flex;
  1241. flex-direction: column;
  1242. li{
  1243. flex: 1 1 auto;
  1244. .wrapper{
  1245. box-sizing: border-box;
  1246. line-height: 0.6em;
  1247. height:2em;
  1248. width: calc(100% + $side-padding);
  1249. margin-left:-$side-padding;
  1250. padding:0.3em 0.5em 0.3em $side-padding;
  1251. }
  1252. &.history .wrapper{
  1253. background-color: $or;
  1254. }
  1255. &.results .wrapper{
  1256. background-color: $gris;
  1257. }
  1258. span{
  1259. font-size: 0.693em;
  1260. font-weight: 400;
  1261. text-transform: uppercase;
  1262. cursor: pointer;
  1263. @include fade-transition;
  1264. }
  1265. }
  1266. }
  1267. }
  1268. #search{
  1269. color: #fff;
  1270. background-color: $bleuroi;
  1271. form{
  1272. padding: 0;
  1273. // display: flex;
  1274. // flex-direction: row;
  1275. // flex-wrap: wrap;
  1276. fieldset{
  1277. padding:0.7em 1em;
  1278. border: none;
  1279. box-sizing:border-box;
  1280. // width correction as row is not the same width as others in the page
  1281. // flex-basis: percentage(2/($default_sum - 1));
  1282. // flex-basis: 17.667%;
  1283. // flex-basis: percentage(2 / 11);
  1284. &:not(:first-of-type){
  1285. border-left: 1px solid $grisclair;
  1286. }
  1287. }
  1288. fieldset.search{
  1289. display: inline-flex;
  1290. align-items: center;
  1291. >div{
  1292. width:80%;
  1293. vertical-align: middle;
  1294. }
  1295. label[for="keys"]{
  1296. display: none;
  1297. }
  1298. input[type="text"]{
  1299. padding:0em 0.3em;
  1300. margin:0 0 0.3em 0;
  1301. box-sizing: border-box;
  1302. font-size: 0.756em;
  1303. line-height: 1;
  1304. width:100%;
  1305. height:1.4em;
  1306. border:none;
  1307. border-radius: 2px;
  1308. }
  1309. span.mdi{
  1310. display: inline-block;
  1311. margin:0 0 0 0.5em;
  1312. font-size: 1.2em;
  1313. line-height:1.1;
  1314. vertical-align:middle;
  1315. width:1.2em; height:1.2em;
  1316. border-radius: 0.6em;
  1317. background-color: #fff;
  1318. color: $bleuroi;
  1319. text-align: center;
  1320. font-weight: 700;
  1321. cursor: pointer;
  1322. }
  1323. }
  1324. }
  1325. fieldset.filters{
  1326. .vs__actions{
  1327. // background-color: $grisclair;
  1328. align-items:baseline;
  1329. padding-top:0.2em;
  1330. }
  1331. }
  1332. form{
  1333. transition: opacity 0.2s ease-in-out;
  1334. }
  1335. &.loading{
  1336. form{
  1337. opacity:0.5;
  1338. transition: opacity 0.5s ease-in-out;
  1339. pointer-events: none;
  1340. }
  1341. }
  1342. // responsive
  1343. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1344. form{
  1345. fieldset{
  1346. &.search{
  1347. >div{
  1348. display: inline-flex;
  1349. flex-wrap: nowrap;
  1350. width:84%;
  1351. >*{
  1352. flex-basis: 45%;
  1353. margin: 0 0.5em 0 0;
  1354. // box-sizing: content-box;
  1355. // width:auto!important;
  1356. &#keys[type="text"]{
  1357. margin-right:1.5em;
  1358. }
  1359. }
  1360. }
  1361. span.mdi{
  1362. width:1em; height:1em;
  1363. margin-top: -0.1em;
  1364. margin-left: 0;
  1365. }
  1366. }
  1367. &.filters{
  1368. border-left: none;
  1369. flex-basis: 32%;
  1370. padding: 0.2em 0 1em 1em;
  1371. }
  1372. }
  1373. }
  1374. }
  1375. }
  1376. ;
  1377. #logos{
  1378. // max-height: 100%;
  1379. position: relative;
  1380. flex-shrink: 1;
  1381. // display: flex;
  1382. // flex-direction: row;
  1383. // justify-content: flex-end;
  1384. .wrapper{
  1385. position: relative;
  1386. box-sizing: content-box;
  1387. // max-height: 50px;
  1388. padding:1em;
  1389. text-align: right;
  1390. height: 30px;
  1391. img{
  1392. // display: inline-block;
  1393. height: 100%;
  1394. padding-left: 1em;
  1395. }
  1396. }
  1397. }
  1398. }
  1399. h2{
  1400. margin:0;
  1401. font-size: 0.756em;
  1402. font-weight: 400;
  1403. text-transform: uppercase;
  1404. padding:0;
  1405. }
  1406. }
  1407. // vue-select
  1408. .v-select{
  1409. padding:0;
  1410. div[role="combobox"]{
  1411. background-color: #fff;
  1412. padding:0;
  1413. border-radius: 2px;
  1414. border: none;
  1415. }
  1416. input[type="search"]{
  1417. margin:0;
  1418. padding:0;
  1419. -webkit-appearance:textfield;
  1420. -webkit-box-sizing:content-box;
  1421. }
  1422. input::-webkit-search-decoration,
  1423. input::-webkit-search-cancel-button {
  1424. display: none;
  1425. }
  1426. .vs__search{
  1427. &, &:focus{
  1428. font-size: 0.756em;
  1429. line-height: 1;
  1430. height:1.2em;
  1431. border:none;
  1432. box-sizing: border-box;
  1433. }
  1434. }
  1435. .vs__dropdown-toggle{
  1436. input::placeholder{background-color: #fff;}
  1437. }
  1438. .vs__selected-options{
  1439. background-color: #fff;
  1440. }
  1441. .vs__actions{
  1442. padding:1px 3px;
  1443. button.vs__clear{
  1444. line-height: 0.5;
  1445. // height:0;
  1446. }
  1447. svg[role="presentation"]{
  1448. transform: scale(0.8);
  1449. path{
  1450. fill: $bleuroi;
  1451. }
  1452. }
  1453. }
  1454. .vs__selected{
  1455. margin:0;
  1456. padding:0.2em 0;
  1457. line-height:1;
  1458. font-size: 0.756em;
  1459. background-color: #fff;
  1460. border:none;
  1461. align-items: middle;
  1462. box-sizing: content-box;
  1463. display: inline-block;
  1464. width: calc(100% - 12px);
  1465. // &>*:not(button){
  1466. // display: inline-block;
  1467. // width:70%;
  1468. // }
  1469. button{
  1470. svg{
  1471. transform: scale(0.8);
  1472. path{
  1473. fill: $bleuroi;
  1474. }
  1475. }
  1476. &.vs__deselect{
  1477. line-height: 0;
  1478. }
  1479. }
  1480. }
  1481. // border-radius: 2px;
  1482. // border: none;
  1483. }
  1484. ul[role="listbox"]{
  1485. @include fontsans;
  1486. padding:0;
  1487. margin:0;
  1488. border:none;
  1489. position: relative;
  1490. li{
  1491. box-sizing: content-box;
  1492. padding:0.3em;
  1493. margin:0;
  1494. font-size: 0.756em;
  1495. line-height: 1;
  1496. white-space: normal;
  1497. position: relative;
  1498. *{
  1499. max-width: 100%;
  1500. }
  1501. }
  1502. }
  1503. // ___
  1504. // |_ _|__ ___ _ _ ___
  1505. // | |/ _/ _ \ ' \(_-<
  1506. // |___\__\___/_||_/__/
  1507. span.mdi-close{
  1508. cursor: pointer;
  1509. }
  1510. @keyframes spin {
  1511. from {
  1512. transform:rotate(0deg);
  1513. }
  1514. to {
  1515. transform:rotate(360deg);
  1516. }
  1517. }
  1518. span.mdi-loading{
  1519. animation-name: spin;
  1520. animation-duration: 2000ms;
  1521. animation-iteration-count: infinite;
  1522. animation-timing-function: linear;
  1523. }
  1524. // _ _ _
  1525. // | | ___ __ _ __| (_)_ _ __ _
  1526. // | |__/ _ \/ _` / _` | | ' \/ _` |
  1527. // |____\___/\__,_\__,_|_|_||_\__, |
  1528. // |___/
  1529. span.loading{
  1530. @include fontsans;
  1531. font-size: 0.756em;
  1532. color: $grisfonce;
  1533. animation: pulseloading 4s infinite;
  1534. }
  1535. @keyframes pulseloading{
  1536. 0% {
  1537. opacity: 1;
  1538. }
  1539. 50%{
  1540. opacity: 0;
  1541. }
  1542. 100% {
  1543. opacity: 1;
  1544. }
  1545. }