app.scss 34 KB

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