app.scss 33 KB

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