app.scss 37 KB

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