app.scss 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652
  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.no-wrap{
  673. white-space: nowrap;
  674. }
  675. span.persName,
  676. span.placeName,
  677. span.objectName{
  678. font-weight: 500;
  679. }
  680. a{
  681. font-weight: 500;
  682. &.active-link{
  683. // color: $rouge;
  684. // text-decoration: underline;
  685. // line-height: $base-line/2;
  686. }
  687. // sup.mdi{
  688. // font-size: 0.630em;
  689. // vertical-align: super;
  690. // // line-height: 0.1;
  691. // padding: 0 0.2em;
  692. // }
  693. }
  694. }
  695. blockquote{
  696. padding: 0 1em;
  697. }
  698. ul, ol{
  699. padding: 0 0 0 2em;
  700. li{
  701. list-style: disc;
  702. }
  703. }
  704. span.mdi.index-item-icon{
  705. font-size: 14px;
  706. vertical-align: super;
  707. }
  708. // span[role="pageBreak"]{
  709. // display: block;
  710. // height:1.5em;
  711. // }
  712. span.simpleLine + span[role="pageBreak"]{
  713. height:0em;
  714. margin-top: -1em;
  715. }
  716. span.metamark.typographicalPiece + span[role="pageBreak"]{
  717. height:0em;
  718. }
  719. span.metamark.typographicalPiece{
  720. display: block;
  721. height: 1.5em;
  722. }
  723. span.metamark.typographicalPiece + span.metamark.typographicalPiece{
  724. display: none;
  725. }
  726. span[role="pageNum"]{
  727. font-size: 16px;
  728. position: relative;
  729. float:right;
  730. width: $pagenum_w; height:$base-line/4;
  731. border-bottom: 1px solid $bleuroilight;
  732. border-right: 1px solid $bleuroilight;
  733. // outline: solid red thin;
  734. // margin-left:calc(100% - #{$pagenum_w * 2});
  735. // margin-left: 100%;
  736. margin-right: - $pagenum_w * 1.5;
  737. &:before{
  738. // outline: solid green thin;
  739. content:attr(data-num);
  740. font-size: 0.630em;
  741. line-height: $base-line/3;
  742. position: absolute;
  743. right: 0;
  744. top:$base-line/2;
  745. color: $bleuroi;
  746. // top:0;
  747. // width: $pagenum_w*2; height: $pagenum_w;
  748. // border-top: 1px solid $bleuroilight;
  749. // border-right: 1px solid $bleuroilight;
  750. // text-indent: $pagenum_w * 2.5;
  751. }
  752. }
  753. a.text-item-link{
  754. // float: left;
  755. position: absolute;
  756. top:0; left:0;
  757. // display: block;
  758. // width:1em; height:1em;
  759. font-size: 0.630em;
  760. .mdi{
  761. color: $bleuroi;
  762. pointer-events: none;
  763. }
  764. }
  765. figure{
  766. // outline: 1px solid red;
  767. background-color: $grisclair;
  768. margin:1em 0;
  769. img{
  770. width: 100%;
  771. }
  772. figcaption{
  773. @include fontcaption;
  774. padding: 0.5em;
  775. }
  776. }
  777. ul{
  778. line-height: $base-line;
  779. margin-bottom: $base-line/2;
  780. }
  781. blockquote{
  782. margin: $base-line/2 1em;
  783. line-height: $base-line;
  784. p{
  785. margin: 0;
  786. }
  787. }
  788. }
  789. }
  790. }
  791. >nav{
  792. $pager_h:2em;
  793. display: flex;
  794. flex-direction: column;
  795. span.nav-title{ display:none; }
  796. section#toc{
  797. box-sizing: content-box;
  798. padding:0 0 1em 1.5em;
  799. height:calc(100% - #{$pager_h});
  800. overflow-x: hidden;
  801. overflow-y: auto;
  802. line-height: $base-line / 2;
  803. // section.tocitem{
  804. // position: relative;
  805. // &:after{
  806. // display: block;
  807. // position:absolute;
  808. // top:0; right:0;
  809. // color: red;
  810. // content: attr(type);
  811. // font-size: 11px;
  812. // border: 1px solid red;
  813. // border-radius: 3px;
  814. // padding: 0px 2px;
  815. // }
  816. // }
  817. >ul{
  818. >li{
  819. section.tocitem{
  820. ul{
  821. overflow: hidden;
  822. max-height: 10000px;
  823. transition: max-height 0.5s ease-in-out;
  824. &:not(.opened):not(.init_opened){
  825. max-height:0;
  826. transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
  827. }
  828. &:not([level="1"]){
  829. border-left: 0.5px solid $grisclair;
  830. margin-bottom: 0em;
  831. li{
  832. padding:0 0 0 1em;
  833. }
  834. }
  835. }
  836. &.notitle>ul>li{
  837. padding:0;
  838. }
  839. }
  840. }
  841. }
  842. .toc-title{
  843. @include title4grey;
  844. color: $grismoyen;
  845. &.active,
  846. &:hover{
  847. color:$grisfonce;
  848. font-weight: 600;
  849. }
  850. &.loaded{
  851. color:$grisfonce;
  852. }
  853. &.notitle{
  854. color: red;
  855. }
  856. &.disabled{
  857. color: $grisclair;
  858. pointer-events: none;
  859. }
  860. }
  861. h2.toc-title{font-size: 1.1em;}
  862. h3.toc-title{font-size: 1em;}
  863. h4.toc-title{font-size: 0.9em;}
  864. h5.toc-title{font-size: 0.8em;}
  865. h6.toc-title{font-size: 0.7em;}
  866. // span.toc-title{font-size: 0.882em;}
  867. // >ul{
  868. // ul{
  869. // li{
  870. // ul{
  871. // overflow: hidden;
  872. // max-height: 10000px;
  873. // transition: max-height 0.5s ease-in-out;
  874. // // transform: scaleY(1);
  875. // // transform-origin: top;
  876. // // transition: transform 0.3s ease-in-out;
  877. // &:not(.opened){
  878. // // height:0;
  879. // max-height:0;
  880. // transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
  881. // // transform: scaleY(0);
  882. // }
  883. // // &.opened{
  884. // // border: 1px solid red;
  885. // // }
  886. // // padding-left: 1em;
  887. // border-left: 0.5px solid $grisclair;
  888. // // min-height: 1em;
  889. // margin-bottom: 0em;
  890. // li{
  891. // // min-height: 1em;
  892. // // border-left: 1px solid red;
  893. // padding:0 0 0 1em;
  894. // }
  895. // }
  896. // }
  897. // }
  898. // .toc-title{
  899. // @include title4grey;
  900. // &.active,
  901. // &:hover{
  902. // color:$grisfonce;
  903. // font-weight: 600;
  904. // }
  905. // &.loaded{
  906. // color:$grisfonce;
  907. // }
  908. // &.notitle{
  909. // color: red;
  910. // }
  911. // }
  912. // h2.toc-title{font-size: 1.1em;}
  913. // h3.toc-title{font-size: 1em;}
  914. // h4.toc-title{font-size: 0.9em;}
  915. // h5.toc-title{font-size: 0.8em;}
  916. // h6.toc-title{font-size: 0.7em;}
  917. // // span.toc-title{font-size: 0.882em;}
  918. // }
  919. }
  920. div#indexes-filters{
  921. // height:$pager_h;
  922. overflow: hidden;
  923. box-sizing: content-box;
  924. padding:1em 0 0 1.5em;
  925. select{
  926. option{
  927. padding:0;
  928. }
  929. }
  930. }
  931. div#page-nav{
  932. height:$pager_h;
  933. overflow: hidden;
  934. box-sizing: content-box;
  935. padding:1em 0 0 1.5em;
  936. select{
  937. option{
  938. padding:0;
  939. }
  940. }
  941. }
  942. }
  943. // responsive
  944. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  945. position: relative;
  946. >nav{
  947. $top: 45px;
  948. z-index: 2;
  949. position: absolute;
  950. top:$top;
  951. right:0;
  952. background-color: #fff;
  953. width:percentage(10/$default_sum);
  954. box-sizing: border-box;
  955. padding-top: 1em;
  956. padding-bottom: 1em;
  957. height:calc(100% - #{$top});
  958. transform: translateX(100%);
  959. transition: transform 0.3s ease-in-out;
  960. span.nav-title{
  961. display: block;
  962. position: absolute;
  963. top:4.5em; left:-1.8em;
  964. transform: rotateZ(-90deg);
  965. transform-origin: center;
  966. @include fontsans;
  967. font-size: 0.600em;
  968. cursor: pointer;
  969. color: $bleuroi;
  970. svg{
  971. vertical-align: bottom;
  972. transform-origin: center;
  973. transform: scale(0.8) rotate(180deg);
  974. transition: transform 0.3s ease-in-out;
  975. path{
  976. fill: $bleuroi;
  977. }
  978. }
  979. }
  980. &.opened{
  981. box-shadow: -3px -3px 5px $grisclair;
  982. transform: translateX(0);
  983. span.nav-title{
  984. svg{
  985. transform: scale(0.7) rotate(0);
  986. }
  987. }
  988. }
  989. }
  990. }
  991. }
  992. #biblio{
  993. >header{
  994. &>h1{
  995. @include titleSansRed;
  996. margin: 0;
  997. }
  998. li{
  999. margin: 0.5em 0 0;
  1000. a{
  1001. @include title2black;
  1002. &.router-link-active{
  1003. font-weight: 600;
  1004. }
  1005. }
  1006. }
  1007. }
  1008. ul.item-list{
  1009. margin:0;
  1010. padding:0;
  1011. li{
  1012. padding:0;
  1013. margin:0 0 $base-line 0;
  1014. h2{
  1015. margin:0;
  1016. @include title1black;
  1017. color: $bleuroi;
  1018. }
  1019. p{
  1020. margin:0;
  1021. }
  1022. span.date{
  1023. @include title2black;
  1024. font-weight: 600;
  1025. }
  1026. aside{
  1027. overflow: hidden;
  1028. h5{
  1029. @include title2black;
  1030. margin: $base-line / 2 0;
  1031. cursor: pointer;
  1032. // padding-left: 1em;
  1033. // position: relative;
  1034. &:before{
  1035. cursor: pointer;
  1036. content:"\2304";
  1037. position: relative;
  1038. display: inline-block;
  1039. top: -4px;
  1040. // transform-origin: center;
  1041. // transform: rotateZ(-90deg);
  1042. }
  1043. }
  1044. ul{
  1045. max-height: 1px;
  1046. transition: all 0.3s ease-in-out;
  1047. padding-left: 1em;
  1048. li{
  1049. margin-bottom: $base-line / 2;
  1050. }
  1051. }
  1052. &.opened{
  1053. h5{
  1054. &:before{
  1055. top: 4px;
  1056. content:"\2303";
  1057. // transform: rotateZ(90deg);
  1058. }
  1059. }
  1060. ul{
  1061. max-height: 100em;
  1062. }
  1063. }
  1064. }
  1065. }
  1066. &.manifestations{
  1067. li{
  1068. max-height: 0.2px;
  1069. margin-bottom:0;
  1070. overflow: hidden;
  1071. transition: all 1s ease-in-out;
  1072. &.active{
  1073. max-height: 10em;
  1074. }
  1075. .wrapper{
  1076. margin-bottom: $base-line;
  1077. }
  1078. }
  1079. }
  1080. }
  1081. ul.authors-filters{
  1082. li{
  1083. @include title4black;
  1084. line-height: $base-line / 2;
  1085. span{
  1086. cursor: pointer;
  1087. color: $gris;
  1088. &.active{
  1089. color: $grisfonce;
  1090. }
  1091. }
  1092. }
  1093. }
  1094. }
  1095. }
  1096. footer[role="tools"]{
  1097. $list-item-h: 7em;
  1098. @mixin resultItem{
  1099. box-sizing: border-box;
  1100. // we are only on 10 colls as 2 are occupied by sides
  1101. flex-basis: percentage(2/($default_sum - 2));
  1102. max-height: $list-item-h;
  1103. overflow: hidden;
  1104. padding-bottom: 1em;
  1105. padding-right: $default_gap;
  1106. article{
  1107. max-height: 100%;
  1108. overflow: hidden;
  1109. }
  1110. article.item{
  1111. h1{
  1112. @include title3black;
  1113. font-size: 0.9em;
  1114. font-weight: 600;
  1115. max-width: 95%;
  1116. word-break:normal;
  1117. }
  1118. h2{
  1119. @include title3black;
  1120. text-transform: none;
  1121. }
  1122. span{
  1123. font-size: 0.882em;
  1124. }
  1125. // .preview{
  1126. // font-size: 0.882em;
  1127. // margin:0;
  1128. // code{
  1129. // @include fontserif;
  1130. // background-color: lighten(desaturate($rouge,20%), 20%);
  1131. // padding:0 0.2em;
  1132. // }
  1133. // }
  1134. }
  1135. }
  1136. #history{
  1137. z-index: 8;
  1138. background-color: $or;
  1139. padding:1.2em $side-padding;
  1140. max-height: $list-item-h;
  1141. @include accordeon-transition($list-item-h);
  1142. >header{
  1143. }
  1144. .history-list{
  1145. overflow-x: hidden;
  1146. .wrapper{
  1147. height:100%;
  1148. // hidding the scrollbar
  1149. overflow-y: auto;
  1150. // width:calc(100% + 1em);
  1151. padding-right: 1em;
  1152. >ul{
  1153. padding:0;
  1154. display: flex;
  1155. flex-direction: row;
  1156. flex-wrap: wrap;
  1157. }
  1158. }
  1159. li.item{
  1160. @include resultItem;
  1161. }
  1162. }
  1163. }
  1164. #results{
  1165. z-index: 9;
  1166. background-color: $gris;
  1167. padding:1.2em $side-padding;
  1168. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1169. padding:1.2em $side-padding/2;
  1170. }
  1171. max-height: $list-item-h * 3;
  1172. @include accordeon-transition($list-item-h * 3);
  1173. >header{
  1174. .search-keys{
  1175. font-size: 0.756em;
  1176. font-weight: 500;
  1177. }
  1178. .results-count{
  1179. font-size: 0.756em;
  1180. }
  1181. }
  1182. .results-list{
  1183. overflow-x: hidden;
  1184. .wrapper{
  1185. position:relative;
  1186. height:100%;
  1187. // hidding the scrollbar
  1188. overflow-y: auto;
  1189. // width:calc(100% + 1em);
  1190. padding-right: 1em;
  1191. >ul{
  1192. padding:0;
  1193. display: flex;
  1194. flex-direction: row;
  1195. flex-wrap: wrap;
  1196. }
  1197. }
  1198. li.result{
  1199. @include resultItem;
  1200. }
  1201. .infinite-loading-container{
  1202. // TODO: how to center the loading
  1203. }
  1204. }
  1205. >header, section.results-list{
  1206. transition: opacity 0.2s ease-in-out;
  1207. }
  1208. &.loading {
  1209. >header, section.results-list{
  1210. transition: opacity 0.5s ease-in-out;
  1211. opacity:0.5;
  1212. pointer-events: none;
  1213. }
  1214. }
  1215. // responsive
  1216. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1217. position: relative;
  1218. >header{
  1219. padding:0 0 1em 0;
  1220. >*{
  1221. display: inline-block;
  1222. margin-right: 1em;
  1223. }
  1224. #sorting{
  1225. width:10em;
  1226. }
  1227. }
  1228. >section.results-list{
  1229. max-height: 15em;
  1230. li.result{
  1231. flex-basis: 33%;
  1232. }
  1233. }
  1234. >nav{
  1235. position: absolute;
  1236. top:1.2em; right:1.2em;
  1237. }
  1238. }
  1239. }
  1240. #footer-bottom{
  1241. z-index: 10;
  1242. padding:0 $side-padding;
  1243. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1244. padding:0 $side-padding/2;
  1245. }
  1246. background-color: $bleuroi;
  1247. &>*{
  1248. // disable grid gap
  1249. padding-right: 0;
  1250. flex-grow: 0;
  1251. flex-shrink: 0;
  1252. }
  1253. #footer-tabs{
  1254. ul{
  1255. padding:0; margin:0;
  1256. display: flex;
  1257. flex-direction: column;
  1258. li{
  1259. flex: 1 1 auto;
  1260. .wrapper{
  1261. box-sizing: border-box;
  1262. line-height: 0.6em;
  1263. height:2em;
  1264. width: calc(100% + $side-padding);
  1265. margin-left:-$side-padding;
  1266. padding:0.3em 0.5em 0.3em $side-padding;
  1267. }
  1268. &.history .wrapper{
  1269. background-color: $or;
  1270. }
  1271. &.results .wrapper{
  1272. background-color: $gris;
  1273. }
  1274. span{
  1275. font-size: 0.693em;
  1276. font-weight: 400;
  1277. text-transform: uppercase;
  1278. cursor: pointer;
  1279. @include fade-transition;
  1280. }
  1281. }
  1282. }
  1283. }
  1284. #search{
  1285. color: #fff;
  1286. background-color: $bleuroi;
  1287. form{
  1288. padding: 0;
  1289. // display: flex;
  1290. // flex-direction: row;
  1291. // flex-wrap: wrap;
  1292. fieldset{
  1293. padding:0.7em 1em;
  1294. border: none;
  1295. box-sizing:border-box;
  1296. // width correction as row is not the same width as others in the page
  1297. // flex-basis: percentage(2/($default_sum - 1));
  1298. // flex-basis: 17.667%;
  1299. // flex-basis: percentage(2 / 11);
  1300. &:not(:first-of-type){
  1301. border-left: 1px solid $grisclair;
  1302. }
  1303. }
  1304. fieldset.search{
  1305. display: inline-flex;
  1306. align-items: center;
  1307. >div{
  1308. width:80%;
  1309. vertical-align: middle;
  1310. }
  1311. label[for="keys"]{
  1312. display: none;
  1313. }
  1314. input[type="text"]{
  1315. padding:0em 0.3em;
  1316. margin:0 0 0.3em 0;
  1317. box-sizing: border-box;
  1318. font-size: 0.756em;
  1319. line-height: 1;
  1320. width:100%;
  1321. height:1.4em;
  1322. border:none;
  1323. border-radius: 2px;
  1324. }
  1325. span.mdi{
  1326. display: inline-block;
  1327. margin:0 0 0 0.5em;
  1328. font-size: 1.2em;
  1329. line-height:1.1;
  1330. vertical-align:middle;
  1331. width:1.2em; height:1.2em;
  1332. border-radius: 0.6em;
  1333. background-color: #fff;
  1334. color: $bleuroi;
  1335. text-align: center;
  1336. font-weight: 700;
  1337. cursor: pointer;
  1338. }
  1339. }
  1340. }
  1341. fieldset.filters{
  1342. .vs__actions{
  1343. // background-color: $grisclair;
  1344. align-items:baseline;
  1345. padding-top:0.2em;
  1346. }
  1347. }
  1348. form{
  1349. transition: opacity 0.2s ease-in-out;
  1350. }
  1351. &.loading{
  1352. form{
  1353. opacity:0.5;
  1354. transition: opacity 0.5s ease-in-out;
  1355. pointer-events: none;
  1356. }
  1357. }
  1358. // responsive
  1359. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1360. form{
  1361. fieldset{
  1362. &.search{
  1363. >div{
  1364. display: inline-flex;
  1365. flex-wrap: nowrap;
  1366. width:84%;
  1367. >*{
  1368. flex-basis: 45%;
  1369. margin: 0 0.5em 0 0;
  1370. // box-sizing: content-box;
  1371. // width:auto!important;
  1372. &#keys[type="text"]{
  1373. margin-right:1.5em;
  1374. }
  1375. }
  1376. }
  1377. span.mdi{
  1378. width:1em; height:1em;
  1379. margin-top: -0.1em;
  1380. margin-left: 0;
  1381. }
  1382. }
  1383. &.filters{
  1384. border-left: none;
  1385. flex-basis: 32%;
  1386. padding: 0.2em 0 1em 1em;
  1387. }
  1388. }
  1389. }
  1390. }
  1391. }
  1392. ;
  1393. #logos{
  1394. // max-height: 100%;
  1395. position: relative;
  1396. flex-shrink: 1;
  1397. // display: flex;
  1398. // flex-direction: row;
  1399. // justify-content: flex-end;
  1400. .wrapper{
  1401. position: relative;
  1402. box-sizing: content-box;
  1403. // max-height: 50px;
  1404. padding:1em;
  1405. text-align: right;
  1406. height: 30px;
  1407. img{
  1408. // display: inline-block;
  1409. height: 100%;
  1410. padding-left: 1em;
  1411. }
  1412. }
  1413. }
  1414. }
  1415. h2{
  1416. margin:0;
  1417. font-size: 0.756em;
  1418. font-weight: 400;
  1419. text-transform: uppercase;
  1420. padding:0;
  1421. }
  1422. }
  1423. // vue-select
  1424. .v-select{
  1425. padding:0;
  1426. div[role="combobox"]{
  1427. background-color: #fff;
  1428. padding:0;
  1429. border-radius: 2px;
  1430. border: none;
  1431. }
  1432. input[type="search"]{
  1433. margin:0;
  1434. padding:0;
  1435. -webkit-appearance:textfield;
  1436. -webkit-box-sizing:content-box;
  1437. }
  1438. input::-webkit-search-decoration,
  1439. input::-webkit-search-cancel-button {
  1440. display: none;
  1441. }
  1442. .vs__search{
  1443. &, &:focus{
  1444. font-size: 0.756em;
  1445. line-height: 1;
  1446. height:1.2em;
  1447. border:none;
  1448. box-sizing: border-box;
  1449. }
  1450. }
  1451. .vs__dropdown-toggle{
  1452. input::placeholder{background-color: #fff;}
  1453. }
  1454. .vs__selected-options{
  1455. background-color: #fff;
  1456. }
  1457. .vs__actions{
  1458. padding:1px 3px;
  1459. button.vs__clear{
  1460. line-height: 0.5;
  1461. // height:0;
  1462. }
  1463. svg[role="presentation"]{
  1464. transform: scale(0.8);
  1465. path{
  1466. fill: $bleuroi;
  1467. }
  1468. }
  1469. }
  1470. .vs__selected{
  1471. margin:0;
  1472. padding:0.2em 0;
  1473. line-height:1;
  1474. font-size: 0.756em;
  1475. background-color: #fff;
  1476. border:none;
  1477. align-items: middle;
  1478. box-sizing: content-box;
  1479. display: inline-block;
  1480. width: calc(100% - 12px);
  1481. // &>*:not(button){
  1482. // display: inline-block;
  1483. // width:70%;
  1484. // }
  1485. button{
  1486. svg{
  1487. transform: scale(0.8);
  1488. path{
  1489. fill: $bleuroi;
  1490. }
  1491. }
  1492. &.vs__deselect{
  1493. line-height: 0;
  1494. }
  1495. }
  1496. }
  1497. // border-radius: 2px;
  1498. // border: none;
  1499. }
  1500. ul[role="listbox"]{
  1501. @include fontsans;
  1502. padding:0;
  1503. margin:0;
  1504. border:none;
  1505. position: relative;
  1506. li{
  1507. box-sizing: content-box;
  1508. padding:0.3em;
  1509. margin:0;
  1510. font-size: 0.756em;
  1511. line-height: 1;
  1512. white-space: normal;
  1513. position: relative;
  1514. *{
  1515. max-width: 100%;
  1516. }
  1517. }
  1518. }
  1519. // ___
  1520. // |_ _|__ ___ _ _ ___
  1521. // | |/ _/ _ \ ' \(_-<
  1522. // |___\__\___/_||_/__/
  1523. span.mdi-close{
  1524. cursor: pointer;
  1525. }
  1526. @keyframes spin {
  1527. from {
  1528. transform:rotate(0deg);
  1529. }
  1530. to {
  1531. transform:rotate(360deg);
  1532. }
  1533. }
  1534. span.mdi-loading{
  1535. animation-name: spin;
  1536. animation-duration: 2000ms;
  1537. animation-iteration-count: infinite;
  1538. animation-timing-function: linear;
  1539. }
  1540. // _ _ _
  1541. // | | ___ __ _ __| (_)_ _ __ _
  1542. // | |__/ _ \/ _` / _` | | ' \/ _` |
  1543. // |____\___/\__,_\__,_|_|_||_\__, |
  1544. // |___/
  1545. span.loading{
  1546. @include fontsans;
  1547. font-size: 0.756em;
  1548. color: $grisfonce;
  1549. animation: pulseloading 4s infinite;
  1550. }
  1551. @keyframes pulseloading{
  1552. 0% {
  1553. opacity: 1;
  1554. }
  1555. 50%{
  1556. opacity: 0;
  1557. }
  1558. 100% {
  1559. opacity: 1;
  1560. }
  1561. }