app.scss 33 KB

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