app.scss 37 KB

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