app.scss 36 KB

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