app.scss 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518
  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{
  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. >ul{
  772. ul{
  773. li{
  774. ul{
  775. overflow: hidden;
  776. max-height: 10000px;
  777. transition: max-height 0.5s ease-in-out;
  778. // transform: scaleY(1);
  779. // transform-origin: top;
  780. // transition: transform 0.3s ease-in-out;
  781. &:not(.opened){
  782. // height:0;
  783. max-height:0;
  784. transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
  785. // transform: scaleY(0);
  786. }
  787. // &.opened{
  788. // border: 1px solid red;
  789. // }
  790. // padding-left: 1em;
  791. border-left: 0.5px solid $grisclair;
  792. // min-height: 1em;
  793. margin-bottom: 0em;
  794. li{
  795. // min-height: 1em;
  796. // border-left: 1px solid red;
  797. padding:0 0 0 1em;
  798. }
  799. }
  800. }
  801. }
  802. .toc-title{
  803. @include title4grey;
  804. &.active,
  805. &:hover{
  806. color:$grisfonce;
  807. font-weight: 600;
  808. }
  809. &.loaded{
  810. color:$grisfonce;
  811. }
  812. }
  813. h2.toc-title{font-size: 1.1em;}
  814. h3.toc-title{font-size: 1em;}
  815. h4.toc-title{font-size: 0.9em;}
  816. h5.toc-title{font-size: 0.8em;}
  817. h6.toc-title{font-size: 0.7em;}
  818. // span.toc-title{font-size: 0.882em;}
  819. }
  820. }
  821. div#page-nav{
  822. height:$pager_h;
  823. overflow: hidden;
  824. box-sizing: content-box;
  825. padding:1em 0 0 1.5em;
  826. select{
  827. option{
  828. padding:0;
  829. }
  830. }
  831. }
  832. }
  833. // responsive
  834. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  835. position: relative;
  836. >nav{
  837. $top: 45px;
  838. z-index: 2;
  839. position: absolute;
  840. top:$top;
  841. right:0;
  842. background-color: #fff;
  843. width:percentage(10/$default_sum);
  844. box-sizing: border-box;
  845. padding-top: 1em;
  846. padding-bottom: 1em;
  847. height:calc(100% - #{$top});
  848. transform: translateX(100%);
  849. transition: transform 0.3s ease-in-out;
  850. span.nav-title{
  851. display: block;
  852. position: absolute;
  853. top:4.5em; left:-1.8em;
  854. transform: rotateZ(-90deg);
  855. transform-origin: center;
  856. @include fontsans;
  857. font-size: 0.600em;
  858. cursor: pointer;
  859. color: $bleuroi;
  860. svg{
  861. vertical-align: bottom;
  862. transform-origin: center;
  863. transform: scale(0.8) rotate(180deg);
  864. transition: transform 0.3s ease-in-out;
  865. path{
  866. fill: $bleuroi;
  867. }
  868. }
  869. }
  870. &.opened{
  871. box-shadow: -3px -3px 5px $grisclair;
  872. transform: translateX(0);
  873. span.nav-title{
  874. svg{
  875. transform: scale(0.7) rotate(0);
  876. }
  877. }
  878. }
  879. }
  880. }
  881. }
  882. #biblio{
  883. .router-link-active{
  884. font-weight: 600;
  885. }
  886. ul.item-list{
  887. margin:0;
  888. padding:0;
  889. li{
  890. padding:0;
  891. margin:0 0 $base-line 0;
  892. h2{
  893. margin:0;
  894. @include title1black;
  895. }
  896. p{
  897. margin:0;
  898. }
  899. span.date{
  900. @include title2black;
  901. font-weight: 600;
  902. }
  903. aside{
  904. overflow: hidden;
  905. h5{
  906. @include title2black;
  907. margin: $base-line / 2 0;
  908. cursor: pointer;
  909. // padding-left: 1em;
  910. // position: relative;
  911. &:before{
  912. cursor: pointer;
  913. content:"\2304";
  914. position: relative;
  915. display: inline-block;
  916. top: -4px;
  917. // transform-origin: center;
  918. // transform: rotateZ(-90deg);
  919. }
  920. }
  921. ul{
  922. max-height: 1px;
  923. transition: all 0.3s ease-in-out;
  924. padding-left: 1em;
  925. li{
  926. margin-bottom: $base-line / 2;
  927. }
  928. }
  929. &.opened{
  930. h5{
  931. &:before{
  932. top: 4px;
  933. content:"\2303";
  934. // transform: rotateZ(90deg);
  935. }
  936. }
  937. ul{
  938. max-height: 100em;
  939. }
  940. }
  941. }
  942. }
  943. &.manifestations{
  944. li{
  945. max-height: 0.2px;
  946. margin-bottom:0;
  947. overflow: hidden;
  948. transition: all 1s ease-in-out;
  949. &.active{
  950. max-height: 10em;
  951. }
  952. .wrapper{
  953. margin-bottom: $base-line;
  954. }
  955. }
  956. }
  957. }
  958. ul.authors-filters{
  959. li{
  960. @include title4black;
  961. line-height: $base-line / 2;
  962. span{
  963. cursor: pointer;
  964. color: $gris;
  965. &.active{
  966. color: $grisfonce;
  967. }
  968. }
  969. }
  970. }
  971. }
  972. }
  973. footer[role="tools"]{
  974. $list-item-h: 7em;
  975. @mixin resultItem{
  976. box-sizing: border-box;
  977. // we are only on 10 colls as 2 are occupied by sides
  978. flex-basis: percentage(2/($default_sum - 2));
  979. max-height: $list-item-h;
  980. overflow: hidden;
  981. padding-bottom: 1em;
  982. padding-right: $default_gap;
  983. article{
  984. max-height: 100%;
  985. overflow: hidden;
  986. }
  987. article.item{
  988. h1{
  989. @include title3black;
  990. font-weight: 600;
  991. max-width: 95%;
  992. }
  993. h2{
  994. @include title3black;
  995. text-transform: none;
  996. }
  997. span{
  998. font-size: 0.882em;
  999. }
  1000. // .preview{
  1001. // font-size: 0.882em;
  1002. // margin:0;
  1003. // code{
  1004. // @include fontserif;
  1005. // background-color: lighten(desaturate($rouge,20%), 20%);
  1006. // padding:0 0.2em;
  1007. // }
  1008. // }
  1009. }
  1010. }
  1011. #history{
  1012. z-index: 8;
  1013. background-color: $or;
  1014. padding:1.2em $side-padding;
  1015. max-height: $list-item-h;
  1016. @include accordeon-transition($list-item-h);
  1017. >header{
  1018. }
  1019. .history-list{
  1020. overflow-x: hidden;
  1021. .wrapper{
  1022. height:100%;
  1023. // hidding the scrollbar
  1024. overflow-y: auto;
  1025. // width:calc(100% + 1em);
  1026. padding-right: 1em;
  1027. >ul{
  1028. padding:0;
  1029. display: flex;
  1030. flex-direction: row;
  1031. flex-wrap: wrap;
  1032. }
  1033. }
  1034. li.item{
  1035. @include resultItem;
  1036. }
  1037. }
  1038. }
  1039. #results{
  1040. z-index: 9;
  1041. background-color: $gris;
  1042. padding:1.2em $side-padding;
  1043. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1044. padding:1.2em $side-padding/2;
  1045. }
  1046. max-height: $list-item-h * 3;
  1047. @include accordeon-transition($list-item-h * 3);
  1048. >header{
  1049. .search-keys{
  1050. font-size: 0.756em;
  1051. font-weight: 500;
  1052. }
  1053. .results-count{
  1054. font-size: 0.756em;
  1055. }
  1056. }
  1057. .results-list{
  1058. overflow-x: hidden;
  1059. .wrapper{
  1060. position:relative;
  1061. height:100%;
  1062. // hidding the scrollbar
  1063. overflow-y: auto;
  1064. // width:calc(100% + 1em);
  1065. padding-right: 1em;
  1066. >ul{
  1067. padding:0;
  1068. display: flex;
  1069. flex-direction: row;
  1070. flex-wrap: wrap;
  1071. }
  1072. }
  1073. li.result{
  1074. @include resultItem;
  1075. }
  1076. .infinite-loading-container{
  1077. // TODO: how to center the loading
  1078. }
  1079. }
  1080. >header, section.results-list{
  1081. transition: opacity 0.2s ease-in-out;
  1082. }
  1083. &.loading {
  1084. >header, section.results-list{
  1085. transition: opacity 0.5s ease-in-out;
  1086. opacity:0.5;
  1087. pointer-events: none;
  1088. }
  1089. }
  1090. // responsive
  1091. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1092. position: relative;
  1093. >header{
  1094. padding:0 0 1em 0;
  1095. >*{
  1096. display: inline-block;
  1097. margin-right: 1em;
  1098. }
  1099. #sorting{
  1100. width:10em;
  1101. }
  1102. }
  1103. >section.results-list{
  1104. max-height: 15em;
  1105. li.result{
  1106. flex-basis: 33%;
  1107. }
  1108. }
  1109. >nav{
  1110. position: absolute;
  1111. top:1.2em; right:1.2em;
  1112. }
  1113. }
  1114. }
  1115. #footer-bottom{
  1116. z-index: 10;
  1117. padding:0 $side-padding;
  1118. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1119. padding:0 $side-padding/2;
  1120. }
  1121. background-color: $bleuroi;
  1122. &>*{
  1123. // disable grid gap
  1124. padding-right: 0;
  1125. flex-grow: 0;
  1126. flex-shrink: 0;
  1127. }
  1128. #footer-tabs{
  1129. ul{
  1130. padding:0; margin:0;
  1131. display: flex;
  1132. flex-direction: column;
  1133. li{
  1134. flex: 1 1 auto;
  1135. .wrapper{
  1136. box-sizing: border-box;
  1137. line-height: 0.6em;
  1138. height:2em;
  1139. width: calc(100% + $side-padding);
  1140. margin-left:-$side-padding;
  1141. padding:0.3em 0.5em 0.3em $side-padding;
  1142. }
  1143. &.history .wrapper{
  1144. background-color: $or;
  1145. }
  1146. &.results .wrapper{
  1147. background-color: $gris;
  1148. }
  1149. span{
  1150. font-size: 0.693em;
  1151. font-weight: 400;
  1152. text-transform: uppercase;
  1153. cursor: pointer;
  1154. @include fade-transition;
  1155. }
  1156. }
  1157. }
  1158. }
  1159. #search{
  1160. color: #fff;
  1161. background-color: $bleuroi;
  1162. form{
  1163. padding: 0;
  1164. // display: flex;
  1165. // flex-direction: row;
  1166. // flex-wrap: wrap;
  1167. fieldset{
  1168. padding:0.7em 1em;
  1169. border: none;
  1170. box-sizing:border-box;
  1171. // width correction as row is not the same width as others in the page
  1172. // flex-basis: percentage(2/($default_sum - 1));
  1173. // flex-basis: 17.667%;
  1174. // flex-basis: percentage(2 / 11);
  1175. &:not(:first-of-type){
  1176. border-left: 1px solid $grisclair;
  1177. }
  1178. }
  1179. fieldset.search{
  1180. display: inline-flex;
  1181. align-items: center;
  1182. >div{
  1183. width:80%;
  1184. vertical-align: middle;
  1185. }
  1186. label[for="keys"]{
  1187. display: none;
  1188. }
  1189. input[type="text"]{
  1190. padding:0em 0.3em;
  1191. margin:0 0 0.3em 0;
  1192. box-sizing: border-box;
  1193. font-size: 0.756em;
  1194. line-height: 1;
  1195. width:100%;
  1196. height:1.4em;
  1197. border:none;
  1198. border-radius: 2px;
  1199. }
  1200. span.mdi{
  1201. display: inline-block;
  1202. margin:0 0 0 0.5em;
  1203. font-size: 1.2em;
  1204. line-height:1.1;
  1205. vertical-align:middle;
  1206. width:1.2em; height:1.2em;
  1207. border-radius: 0.6em;
  1208. background-color: #fff;
  1209. color: $bleuroi;
  1210. text-align: center;
  1211. font-weight: 700;
  1212. cursor: pointer;
  1213. }
  1214. }
  1215. }
  1216. fieldset.filters{
  1217. .vs__actions{
  1218. // background-color: $grisclair;
  1219. align-items:baseline;
  1220. padding-top:0.2em;
  1221. }
  1222. }
  1223. form{
  1224. transition: opacity 0.2s ease-in-out;
  1225. }
  1226. &.loading{
  1227. form{
  1228. opacity:0.5;
  1229. transition: opacity 0.5s ease-in-out;
  1230. pointer-events: none;
  1231. }
  1232. }
  1233. // responsive
  1234. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1235. form{
  1236. fieldset{
  1237. &.search{
  1238. >div{
  1239. display: inline-flex;
  1240. flex-wrap: nowrap;
  1241. width:84%;
  1242. >*{
  1243. flex-basis: 45%;
  1244. margin: 0 0.5em 0 0;
  1245. // box-sizing: content-box;
  1246. // width:auto!important;
  1247. &#keys[type="text"]{
  1248. margin-right:1.5em;
  1249. }
  1250. }
  1251. }
  1252. span.mdi{
  1253. width:1em; height:1em;
  1254. margin-top: -0.1em;
  1255. margin-left: 0;
  1256. }
  1257. }
  1258. &.filters{
  1259. border-left: none;
  1260. flex-basis: 32%;
  1261. padding: 0.2em 0 1em 1em;
  1262. }
  1263. }
  1264. }
  1265. }
  1266. }
  1267. ;
  1268. #logos{
  1269. // max-height: 100%;
  1270. position: relative;
  1271. flex-shrink: 1;
  1272. // display: flex;
  1273. // flex-direction: row;
  1274. // justify-content: flex-end;
  1275. .wrapper{
  1276. position: relative;
  1277. box-sizing: content-box;
  1278. // max-height: 50px;
  1279. padding:1em;
  1280. text-align: right;
  1281. height: 50px;
  1282. img{
  1283. // display: inline-block;
  1284. height: 100%;
  1285. padding-left: 1em;
  1286. }
  1287. }
  1288. }
  1289. }
  1290. h2{
  1291. margin:0;
  1292. font-size: 0.756em;
  1293. font-weight: 400;
  1294. text-transform: uppercase;
  1295. padding:0;
  1296. }
  1297. }
  1298. // vue-select
  1299. .v-select{
  1300. padding:0;
  1301. div[role="combobox"]{
  1302. background-color: #fff;
  1303. padding:0;
  1304. border-radius: 2px;
  1305. border: none;
  1306. }
  1307. input[type="search"]{
  1308. margin:0;
  1309. padding:0;
  1310. -webkit-appearance:textfield;
  1311. -webkit-box-sizing:content-box;
  1312. }
  1313. input::-webkit-search-decoration,
  1314. input::-webkit-search-cancel-button {
  1315. display: none;
  1316. }
  1317. .vs__search{
  1318. &, &:focus{
  1319. font-size: 0.756em;
  1320. line-height: 1;
  1321. height:1.2em;
  1322. border:none;
  1323. box-sizing: border-box;
  1324. }
  1325. }
  1326. .vs__dropdown-toggle{
  1327. input::placeholder{background-color: #fff;}
  1328. }
  1329. .vs__selected-options{
  1330. background-color: #fff;
  1331. }
  1332. .vs__actions{
  1333. padding:1px 3px;
  1334. button.vs__clear{
  1335. line-height: 0.5;
  1336. // height:0;
  1337. }
  1338. svg[role="presentation"]{
  1339. transform: scale(0.8);
  1340. path{
  1341. fill: $bleuroi;
  1342. }
  1343. }
  1344. }
  1345. .vs__selected{
  1346. margin:0;
  1347. padding:0.2em 0;
  1348. line-height:1;
  1349. font-size: 0.756em;
  1350. background-color: #fff;
  1351. border:none;
  1352. align-items: middle;
  1353. box-sizing: content-box;
  1354. display: inline-block;
  1355. width: calc(100% - 12px);
  1356. // &>*:not(button){
  1357. // display: inline-block;
  1358. // width:70%;
  1359. // }
  1360. button{
  1361. svg{
  1362. transform: scale(0.8);
  1363. path{
  1364. fill: $bleuroi;
  1365. }
  1366. }
  1367. &.vs__deselect{
  1368. line-height: 0;
  1369. }
  1370. }
  1371. }
  1372. // border-radius: 2px;
  1373. // border: none;
  1374. }
  1375. ul[role="listbox"]{
  1376. @include fontsans;
  1377. padding:0;
  1378. margin:0;
  1379. border:none;
  1380. position: relative;
  1381. li{
  1382. box-sizing: content-box;
  1383. padding:0.3em;
  1384. margin:0;
  1385. font-size: 0.756em;
  1386. line-height: 1;
  1387. white-space: normal;
  1388. position: relative;
  1389. *{
  1390. max-width: 100%;
  1391. }
  1392. }
  1393. }
  1394. // ___
  1395. // |_ _|__ ___ _ _ ___
  1396. // | |/ _/ _ \ ' \(_-<
  1397. // |___\__\___/_||_/__/
  1398. span.mdi-close{
  1399. cursor: pointer;
  1400. }
  1401. @keyframes spin {
  1402. from {
  1403. transform:rotate(0deg);
  1404. }
  1405. to {
  1406. transform:rotate(360deg);
  1407. }
  1408. }
  1409. span.mdi-loading{
  1410. animation-name: spin;
  1411. animation-duration: 2000ms;
  1412. animation-iteration-count: infinite;
  1413. animation-timing-function: linear;
  1414. }
  1415. // _ _ _
  1416. // | | ___ __ _ __| (_)_ _ __ _
  1417. // | |__/ _ \/ _` / _` | | ' \/ _` |
  1418. // |____\___/\__,_\__,_|_|_||_\__, |
  1419. // |___/
  1420. span.loading{
  1421. @include fontsans;
  1422. font-size: 0.756em;
  1423. color: $grisfonce;
  1424. animation: pulseloading 4s infinite;
  1425. }
  1426. @keyframes pulseloading{
  1427. 0% {
  1428. opacity: 1;
  1429. }
  1430. 50%{
  1431. opacity: 0;
  1432. }
  1433. 100% {
  1434. opacity: 1;
  1435. }
  1436. }