app.scss 38 KB

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