app.scss 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073
  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. margin:15vh 0 0;
  93. text-align: center;
  94. padding: 1em 0;
  95. h1{
  96. color: $bleuroi;
  97. font-size: 8em;
  98. font-weight: 300;
  99. margin: 0;
  100. }
  101. h2{
  102. color: $or;
  103. font-size: 2em;
  104. font-weight: 300;
  105. margin:1em 0 0;
  106. text-transform: uppercase;
  107. letter-spacing: 0.2em;
  108. sup{
  109. // line-height: 5em;
  110. vertical-align:text-top;
  111. font-size: 0.7em
  112. }
  113. }
  114. }
  115. // $filet_space:8em;
  116. // $decallage: 0.5em;
  117. section{
  118. padding-top: 8em;
  119. }
  120. @mixin teasersfilet($filet_space, $decallage){
  121. z-index: 1;
  122. &:before, &:after{
  123. z-index: 0;
  124. content: "";
  125. position: absolute;
  126. opacity: 0.4;
  127. pointer-events: none;
  128. }
  129. &:before{
  130. border:1px solid $or;
  131. width:calc(100% + #{$filet_space*2 + $decallage*2});
  132. left:- $filet_space - $default_gap/2 -$decallage;
  133. height:calc(100% + #{$filet_space});
  134. top:- $filet_space / 2;
  135. }
  136. &:after{
  137. border:1px solid $rouge;
  138. width:calc(100% + #{$filet_space*2});
  139. left:- $filet_space - $default_gap/2;
  140. height:calc(100% + #{$filet_space + $decallage*2});
  141. top:- $filet_space / 2 - $decallage;
  142. }
  143. }
  144. div.teasers>.wrapper{
  145. display: flex;
  146. flex-direction: row;
  147. flex-wrap: nowrap;
  148. position: relative;
  149. padding-right: 0;
  150. article{
  151. box-sizing: border-box;
  152. flex-basis: percentage(2 / ( $default_sum - 6) );
  153. padding-right: $default_gap;
  154. @include fontsans;
  155. h1{
  156. color: $bleuroi;
  157. }
  158. p{
  159. font-size: 0.882em;
  160. line-height: 1.2;
  161. }
  162. a.readmore span{
  163. color:$rouge;
  164. font-size:0.693em;
  165. }
  166. }
  167. // filets decoratif
  168. @include teasersfilet(8em, 0.5em);
  169. }
  170. // responsive
  171. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  172. header{
  173. h1{
  174. font-size: 5em;
  175. margin:7vh 0 0;
  176. }
  177. h2{
  178. font-size: 1em;
  179. }
  180. }
  181. section{
  182. padding-top: 4em;
  183. }
  184. div.teasers{
  185. flex-direction: column;
  186. // filets decoratif
  187. @include teasersfilet(4em, 0.5em);
  188. }
  189. }
  190. }
  191. #list-corpus, .index{
  192. >header{
  193. &>h1{
  194. @include titleSansRed;
  195. margin: 0;
  196. }
  197. &>span{
  198. display: block;
  199. margin: 0.5em 0 0;
  200. @include title2black;
  201. font-weight: 600;
  202. }
  203. }
  204. &#list-corpus{
  205. >section>.wrapper>ul{
  206. >li{
  207. margin-bottom: $base-line*2;
  208. >header{
  209. margin-bottom: 0;
  210. h2{
  211. // display: inline-block;
  212. // margin: 0;
  213. margin-bottom: $base-line/2;
  214. line-height: $base-line;
  215. }
  216. h3{
  217. @include title1black;
  218. margin-bottom: $base-line/2;
  219. line-height: $base-line;
  220. }
  221. }
  222. section.notice{
  223. p{
  224. margin-top:0;
  225. font-size: 1.134em;
  226. line-height: $base-line * 0.7;
  227. // margin-bottom: $base-line * 0.7;
  228. }
  229. margin-bottom: $base-line/2;
  230. }
  231. section.editions{
  232. h4{
  233. font-size: 1em;
  234. line-height: $base-line * 0.8;
  235. // margin-bottom: $base-line / 2;
  236. }
  237. }
  238. section.texts {
  239. >h4{
  240. font-size: 1em;
  241. line-height: $base-line * 0.5;
  242. margin-bottom: $base-line / 2;
  243. }
  244. ul.texts-list{
  245. padding-left: 1.2em;
  246. >li{
  247. list-style: circle;
  248. h3{
  249. @include title1blue;
  250. font-size: 1.512em;
  251. line-height: $base-line * 0.5;
  252. margin-bottom: $base-line * 0.5;
  253. }
  254. p{
  255. @include labeurfont;
  256. line-height: $base-line * 0.75;
  257. font-weight: 200;
  258. // font-size: 1em;
  259. // @include fontserif;
  260. // font-weight: 300;
  261. // margin-top:0;
  262. // font-size: 1em;
  263. // line-height: $base-line * 0.5;
  264. // margin-bottom: $base-line / 2;
  265. }
  266. margin-bottom: $base-line;
  267. }
  268. }
  269. }
  270. }
  271. }
  272. }
  273. article.item{
  274. // margin: 2em 0 0;
  275. header{
  276. margin:0;
  277. h1{
  278. margin:0;
  279. span.title{
  280. @include title1black;
  281. color: $bleuroi;
  282. }
  283. span.quantity{
  284. @include title4black;
  285. }
  286. }
  287. }
  288. }
  289. &:not(#list-corpus){
  290. ul.item-list{
  291. li{
  292. margin-bottom: $base-line;
  293. max-height: $base-line * 3;
  294. opacity: 1;
  295. transition: all 0.3s ease-in-out;
  296. &.hidden {
  297. // display: none;
  298. max-height: 0.001px;
  299. opacity: 0;
  300. margin-bottom: 0.001px;
  301. overflow: hidden;
  302. }
  303. }
  304. }
  305. }
  306. ul.item-list{
  307. li{
  308. // margin: 0 0 2em 0;
  309. margin-bottom: $base-line;
  310. header{
  311. h2{
  312. @include title1blue;
  313. // margin:0.4em 0 0.2em;
  314. margin-bottom: $base-line / 2;
  315. }
  316. h3{
  317. margin:0;
  318. @include fontsans;
  319. font-size: 0.756em;
  320. font-weight: 500;
  321. line-height: $base-line / 2;
  322. }
  323. section.notice{
  324. @include fontsans;
  325. font-size: 0.756em;
  326. font-weight: 300;
  327. line-height: $base-line / 2;
  328. }
  329. margin-bottom: $base-line / 2;
  330. }
  331. h4{
  332. margin:0;
  333. font-weight: 300;
  334. @include fontsans;
  335. font-size: 0.756em;
  336. line-height: $base-line / 2;
  337. &.texts-quantity{
  338. color: $rouge;
  339. margin-bottom: $base-line / 4;
  340. }
  341. }
  342. section.editions{
  343. div.editions{
  344. ol{
  345. padding:0;
  346. li{
  347. margin:0.7em 1em;
  348. }
  349. }
  350. }
  351. }
  352. section.texts{
  353. ul.texts-list{
  354. // padding: 0 0 0 1em;
  355. li{
  356. margin-bottom: $base-line / 2;
  357. }
  358. h3{
  359. @include title2black;
  360. // margin: 0.7em 0 0.3em;
  361. line-height: $base-line / 2;
  362. }
  363. p{
  364. font-weight: 300;
  365. @include fontsans;
  366. font-size: 0.756em;
  367. margin: 0;
  368. line-height: $base-line / 2;
  369. }
  370. }
  371. }
  372. ul {
  373. li{
  374. // margin:0 0 0 1em;
  375. h3{
  376. margin: 0.5em 0;
  377. font-weight: 400;
  378. font-size: 1em;
  379. }
  380. }
  381. }
  382. }
  383. }
  384. .abc{
  385. ul{
  386. li{
  387. opacity: 1;
  388. transition: opacity 0.3s ease-in-out;
  389. padding: 3px;
  390. &.inactive{
  391. opacity: 0.4;
  392. }
  393. span.tout, span.letter{
  394. @include fontcaption;
  395. font-variant: small-caps;
  396. font-size: 1em;
  397. cursor: pointer;
  398. // line-height: $base-line / 2;
  399. border: 1px solid $grisclair;
  400. border-radius: 3px;
  401. padding: 0.3em;
  402. display: inline-block;
  403. text-align: center;
  404. }
  405. &:not(:first-of-type) span.letter{
  406. width: 1.1em; height: 1.1em;
  407. }
  408. span.quantity{
  409. font-size: 0.765em;
  410. }
  411. }
  412. }
  413. }
  414. }
  415. .index-item{
  416. header{
  417. h1{
  418. @include title1blue;
  419. line-height: $base-line * 1.2;
  420. // margin:0 0 0.3em;
  421. }
  422. h2{
  423. @include title1black;
  424. margin:0 0 0.3em;
  425. }
  426. section{
  427. margin-bottom: 1em;
  428. h3{
  429. @include title2black;
  430. margin:0 0 0.3em;
  431. font-weight: 600;
  432. }
  433. }
  434. p{
  435. margin: 0 0 0.5em 0;
  436. span.label{ font-weight: 600; }
  437. }
  438. .authors{
  439. a{
  440. @include title2black;
  441. color: $bleuroi;
  442. }
  443. margin:0 0 0.3em;
  444. }
  445. .mdi{
  446. color: $bleuroilight;
  447. font-size: 0.7em;
  448. }
  449. .attested-forms{
  450. ul{
  451. // >li{
  452. // margin: 0 0 1em 0;
  453. // li{
  454. // margin: 0 0 0.5em 0;
  455. // }
  456. // }
  457. }
  458. a{
  459. @include title4grey;
  460. color: $grisfonce;
  461. font-weight: 400;
  462. }
  463. }
  464. }
  465. .tabs{
  466. border-bottom: 1px solid $bleuroilight;
  467. margin-bottom: $base-line / 2;
  468. .tab{
  469. cursor: pointer;
  470. border-radius: 5px 5px 0 0;
  471. z-index: 10;
  472. display: inline-block;
  473. margin-bottom: -2px;
  474. padding: 0.3em 0.5em;
  475. border: 1px solid $bleuroilight;
  476. &.active{
  477. border-bottom: 2px solid white;
  478. }
  479. }
  480. }
  481. .occurences{
  482. >ul{
  483. >li{
  484. padding:0 0 $base-line / 2 0;
  485. h3{
  486. @include title1black;
  487. padding:0 0 $base-line / 2 0;
  488. color: $bleuroi;
  489. }
  490. >ul{
  491. >li{
  492. // padding:0 0 0.5em 0;
  493. section{
  494. h4{
  495. // @include title3black;
  496. @include title4grey;
  497. color: $grisfonce;
  498. font-weight: 400;
  499. display: inline-block;
  500. a{
  501. span.form{
  502. font-style: italic;
  503. margin-top: 0;
  504. font-size: 1.134em;
  505. line-height: $base-line * 0.7;
  506. // margin-bottom: $base-line;
  507. }
  508. }
  509. }
  510. // ? c'est quoi ça ?
  511. // span.open-close{
  512. // cursor: pointer;
  513. // display: inline-block;
  514. // svg{
  515. // transform: rotate(-90deg) scale(0.8);
  516. // transition: transform 0.3s ease-in-out;
  517. // path{
  518. // fill:$bleuroi;
  519. // }
  520. // }
  521. // }
  522. // div.text{
  523. // max-height: 0;
  524. // transition: max-height 0.3s ease-in-out;
  525. // overflow: hidden;
  526. // box-sizing: content-box;
  527. // p, h1, h2, h3, h4, h5, h6{
  528. // margin: 0.5em 0 0 0;
  529. // }
  530. // }
  531. // a.lire-plus{
  532. // color: $bleuroi;
  533. // opacity: 0;
  534. // display: inline-block;
  535. // height: 0;
  536. // overflow: hidden;
  537. // transition: height, opacity 0.3s ease-in-out;
  538. // }
  539. // &.opened{
  540. // span.open-close{
  541. // cursor: pointer;
  542. // display: inline-block;
  543. // svg{
  544. // transform: scale(0.8) rotate(0);
  545. // }
  546. // }
  547. // div.text{
  548. // max-height:100px;
  549. // }
  550. // a.lire-plus{
  551. // opacity: 1;
  552. // height:1em;
  553. // }
  554. // }
  555. }
  556. }
  557. }
  558. }
  559. }
  560. }
  561. .attested-forms-occurences{
  562. >ul{
  563. >li{
  564. margin: 0 0 1em 0;
  565. h3{
  566. @include title1black;
  567. padding:0 0 0 0;
  568. }
  569. li{
  570. // margin: 0 0 0.5em 0;
  571. h4{
  572. // @include title3black;
  573. @include title4grey;
  574. color: $grisfonce;
  575. font-weight: 400;
  576. display: inline-block;
  577. a{
  578. font-style: italic;
  579. margin-top: 0;
  580. font-size: 1.134em;
  581. line-height: $base-line * 0.7;
  582. span.edition{
  583. font-style: italic;
  584. }
  585. }
  586. }
  587. }
  588. }
  589. }
  590. }
  591. nav{
  592. h3{
  593. @include title2black;
  594. margin:0 0 0.5em;
  595. }
  596. h4{
  597. @include title3black;
  598. margin:0 0 0.5em;
  599. color: $bleuroi;
  600. }
  601. }
  602. >nav{
  603. aside.links{
  604. position: absolute;
  605. bottom: 0;
  606. overflow-wrap:anywhere;
  607. }
  608. }
  609. }
  610. #edition{
  611. >header{
  612. position: relative;
  613. span.header-title{ display:none; }
  614. h1{
  615. @include title1blue;
  616. }
  617. aside.notice{
  618. // margin-top: 0;
  619. // font-size: 1em;
  620. // line-height: $base-line *0.5;
  621. // margin-bottom: $base-line / 2;
  622. &>*{
  623. line-height: $base-line * 0.7;
  624. }
  625. }
  626. nav.entities-hide-show{
  627. position: absolute;
  628. bottom: 1em;
  629. span{
  630. @include fontsans;
  631. font-size: 0.882em;
  632. cursor: pointer;
  633. }
  634. }
  635. aside.index-tooltip{
  636. z-index:10;
  637. margin-top: -1.75em;
  638. position:absolute;
  639. text-align: right;
  640. right: 2em;
  641. h1 {
  642. @include title2black;
  643. margin:0 0 0.5em 0;
  644. }
  645. p{
  646. margin:0 0 0.5em 0;
  647. }
  648. time{
  649. font-weight: 600;
  650. }
  651. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  652. background-color: #fff;
  653. padding: 1em;
  654. box-shadow: 0 0 10px $gris;
  655. *{
  656. pointer-events: none;
  657. }
  658. }
  659. }
  660. }
  661. // responsive
  662. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  663. >header{
  664. $top: 45px;
  665. z-index: 110;
  666. position: absolute;
  667. top:$top;
  668. left:0;
  669. background-color: #fff;
  670. width:percentage(5/$default_sum);
  671. box-sizing: border-box;
  672. padding-top: 1em;
  673. padding-bottom: 1em;
  674. height:calc(100% - #{$top});
  675. transform: translateX(-100%);
  676. transition: transform 0.3s ease-in-out;
  677. span.header-title{
  678. display: block;
  679. position: absolute;
  680. top:4.5em; right:-1em;
  681. transform: rotateZ(-90deg);
  682. transform-origin: center;
  683. @include fontsans;
  684. font-size: 0.600em;
  685. cursor: pointer;
  686. color: $bleuroi;
  687. svg{
  688. vertical-align: bottom;
  689. transform-origin: center;
  690. transform: scale(0.8) rotate(0);
  691. transition: transform 0.3s ease-in-out;
  692. path{
  693. fill: $bleuroi;
  694. }
  695. }
  696. }
  697. &.opened{
  698. box-shadow: 3px 3px 5px $grisclair;
  699. transform: translateX(0);
  700. span.header-title{
  701. svg{
  702. transform: scale(0.7) rotate(180deg);
  703. }
  704. }
  705. }
  706. }
  707. }
  708. $pagenum_w:1em;
  709. >section{
  710. padding-right: 0;
  711. >.wrapper{
  712. padding-right: $pagenum_w*3;
  713. // outline: orange solid thin;
  714. }
  715. div#text{
  716. // .infinite-loading-container{
  717. // height:0;
  718. // overflow: hidden;
  719. // }
  720. .text-wrapper{
  721. // padding-left: 1em;
  722. position: relative;
  723. }
  724. .textrefcopylink{
  725. display: block;
  726. position: absolute;
  727. z-index: 99;
  728. span.mdi-open-in-new {
  729. position: relative;
  730. z-index: 10;
  731. margin-left: 1px;
  732. }
  733. .popup{
  734. position: absolute;
  735. top:0;
  736. left: 1px;
  737. // width: 15em;
  738. background-color: #fff;
  739. border-radius: 3px;
  740. padding: 1em 1em 1em 1.5em;
  741. box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  742. display: none;
  743. opacity: 0.1;
  744. // outline: 1px solid blue;
  745. transition: opacity 2s ease-in-out;
  746. button.copy-btn{
  747. display: block;
  748. padding: 0.5em 0.2em;
  749. @include fontcaption;
  750. white-space: nowrap;
  751. border: none;
  752. background: none;
  753. cursor: pointer;
  754. }
  755. }
  756. // todo what about touch is hover will work ?
  757. &:hover .popup{
  758. display: block;
  759. opacity: 1;
  760. transition: opacity 2s ease-in-out;
  761. }
  762. }
  763. div.tei{
  764. position: relative;
  765. width: calc(100% - #{$pagenum_w});
  766. // DEBUG
  767. color:chartreuse;
  768. &>*{ color: #1A1A1A;}
  769. // @media only screen and (min-width: $small-bp + 1) {
  770. padding-right: $pagenum_w;
  771. border-left: 1px dotted $grisclair;
  772. padding-left: 1em;
  773. margin-left:1.2em;
  774. overflow: visible;
  775. &.active{
  776. border-left: 1px dotted $bleuroi;
  777. }
  778. // }
  779. // front page
  780. header{
  781. padding-top: $base-line;
  782. h1{
  783. @include teititlefrontblue;
  784. .initial{
  785. display: inline-block;
  786. text-transform: uppercase;
  787. font-size: 1.3em;
  788. line-height: $base-line*2;
  789. margin: $base-line/2 0;
  790. }
  791. margin-bottom: $base-line;
  792. }
  793. }
  794. span.metamark.tailpiece,
  795. span.metamark.simpleLine{
  796. display: block;
  797. border-top: 1px solid $gris;
  798. margin: $base-line / 2 auto;
  799. }
  800. .byline{
  801. text-align: center;
  802. font-style: italic;
  803. padding-bottom: 1em;
  804. color: $bleuroi;
  805. &:last-of-type{
  806. padding-bottom: $base-line*2;
  807. }
  808. }
  809. .docImprint{
  810. text-align: center;
  811. // padding-bottom: 1em;
  812. color: $bleuroi;
  813. font-size: 1.3em;
  814. line-height: $base-line;
  815. .pubPlace{
  816. display: block;
  817. }
  818. .publisher{
  819. display: block;
  820. }
  821. .docDate{
  822. display: block;
  823. // margin-top: $base-line / 2;
  824. font-weight: 700;
  825. }
  826. }
  827. .docEdition{
  828. display: block;
  829. text-align: center;
  830. color: $bleuroi;
  831. font-size: 1.3em;
  832. line-height: $base-line;
  833. }
  834. span.epigraph{
  835. display: block;
  836. text-align: center;
  837. color: $bleuroi;
  838. font-size: 1em;
  839. line-height: $base-line;
  840. border-top: 1px $gris solid;
  841. border-bottom: 1px $gris solid;
  842. }
  843. .imprimatur{
  844. text-align: center;
  845. font-style: italic;
  846. color: $bleuroi;
  847. font-size: 1.3em;
  848. line-height: $base-line;
  849. padding-bottom: $base-line;
  850. &:last-of-type{
  851. padding-bottom: $base-line*2;
  852. }
  853. }
  854. >h1{
  855. @include teititle1blue;
  856. }
  857. h1{ font-size: 1.512em;
  858. line-height: $base-line; }
  859. p{
  860. margin-top: 0;
  861. font-size: 1.134em;
  862. line-height: $base-line;
  863. margin-bottom: $base-line / 2;
  864. span.no-wrap{
  865. white-space: nowrap;
  866. }
  867. span.persName,
  868. span.placeName,
  869. span.objectName{
  870. font-weight: 500;
  871. }
  872. a{
  873. font-weight: 500;
  874. &.active-link{
  875. // color: $rouge;
  876. // text-decoration: underline;
  877. // line-height: $base-line/2;
  878. }
  879. // sup.mdi{
  880. // font-size: 0.630em;
  881. // vertical-align: super;
  882. // // line-height: 0.1;
  883. // padding: 0 0.2em;
  884. // }
  885. }
  886. }
  887. $bq_padd: 2em;
  888. blockquote{
  889. padding: 0 $bq_padd;
  890. margin: $base-line/2 0;
  891. line-height: $base-line;
  892. p{
  893. margin: 0;
  894. }
  895. }
  896. ul, ol{
  897. padding: 0 0 0 2em;
  898. li{
  899. list-style: disc;
  900. }
  901. }
  902. span.mdi.index-item-icon{
  903. font-size: 14px;
  904. vertical-align: super;
  905. line-height: 0;
  906. }
  907. // span[role="pageBreak"]{
  908. // display: block;
  909. // height:1.5em;
  910. // }
  911. span.simpleLine + span[role="pageBreak"]{
  912. height:0em;
  913. margin-top: -1em;
  914. }
  915. span.metamark.typographicalPiece + span[role="pageBreak"]{
  916. height:0em;
  917. }
  918. span.metamark.typographicalPiece{
  919. display: block;
  920. height: 1.5em;
  921. }
  922. span.metamark.typographicalPiece + span.metamark.typographicalPiece{
  923. display: none;
  924. }
  925. span[role="pageNum"]{
  926. font-size: 16px;
  927. position: relative;
  928. float:right;
  929. width: $pagenum_w; height:$base-line/4;
  930. border-bottom: 1px solid $bleuroilight;
  931. border-right: 1px solid $bleuroilight;
  932. // outline: solid red thin;
  933. // margin-left:calc(100% - #{$pagenum_w * 2});
  934. // margin-left: 100%;
  935. margin-right: - $pagenum_w * 1.5;
  936. &:before{
  937. // outline: solid green thin;
  938. content:attr(data-num);
  939. font-size: 0.630em;
  940. line-height: $base-line/3;
  941. position: absolute;
  942. right: 0;
  943. top:$base-line/2;
  944. color: $bleuroi;
  945. // top:0;
  946. // width: $pagenum_w*2; height: $pagenum_w;
  947. // border-top: 1px solid $bleuroilight;
  948. // border-right: 1px solid $bleuroilight;
  949. // text-indent: $pagenum_w * 2.5;
  950. }
  951. }
  952. blockquote span[role="pageNum"]{
  953. margin-right: - $pagenum_w * 1.5 - $bq_padd;
  954. // &:before{
  955. // right: -$bq_padd;
  956. // }
  957. }
  958. a.text-item-link{
  959. // float: left;
  960. position: absolute;
  961. top:0; left:0;
  962. // display: block;
  963. // width:1em; height:1em;
  964. font-size: 0.630em;
  965. .mdi{
  966. color: $bleuroi;
  967. pointer-events: none;
  968. }
  969. }
  970. figure{
  971. // outline: 1px solid red;
  972. background-color: $grisclair;
  973. margin:1em 0;
  974. img{
  975. width: 100%;
  976. }
  977. figcaption{
  978. @include fontcaption;
  979. padding: 0.5em;
  980. }
  981. }
  982. ul{
  983. line-height: $base-line;
  984. margin-bottom: $base-line/2;
  985. }
  986. }
  987. &.entities-hidden{
  988. span.mdi.index-item-icon{ display: none;}
  989. }
  990. }
  991. }
  992. >nav{
  993. $filter_m: 0.3em;
  994. $pager_h:18px;
  995. display: flex;
  996. flex-direction: column;
  997. span.nav-title{ display:none; }
  998. section#toc{
  999. $m:0.5em;
  1000. box-sizing: content-box;
  1001. padding:0 0 1em 1.5em;
  1002. margin-bottom: $m;
  1003. height:calc(100% - #{$pager_h} - #{$m} - #{$filter_m} * 2);
  1004. overflow-x: hidden;
  1005. overflow-y: auto;
  1006. line-height: $base-line / 2;
  1007. // section.tocitem{
  1008. // position: relative;
  1009. // &:after{
  1010. // display: block;
  1011. // position:absolute;
  1012. // top:0; right:0;
  1013. // color: red;
  1014. // content: attr(type);
  1015. // font-size: 11px;
  1016. // border: 1px solid red;
  1017. // border-radius: 3px;
  1018. // padding: 0px 2px;
  1019. // }
  1020. // }
  1021. >ul{
  1022. >li{
  1023. section.tocitem{
  1024. ul{
  1025. overflow: hidden;
  1026. max-height: 10000px;
  1027. transition: max-height 0.5s ease-in-out;
  1028. &:not(.opened):not(.init_opened){
  1029. max-height:0;
  1030. transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
  1031. }
  1032. &:not([level="1"]){
  1033. border-left: 0.5px solid $grisclair;
  1034. margin-bottom: 0em;
  1035. li{
  1036. padding:0 0 0 1em;
  1037. }
  1038. }
  1039. }
  1040. &.notitle>ul>li{
  1041. padding:0;
  1042. }
  1043. }
  1044. }
  1045. }
  1046. section.tocitem{
  1047. &[level="1"]:not([type="front"]),
  1048. &[level="2"]{
  1049. padding-top: 0.4em;
  1050. }
  1051. }
  1052. .toc-title{
  1053. @include title4grey;
  1054. color: $grismoyen;
  1055. &.active,
  1056. &:hover{
  1057. color:$grisfonce;
  1058. font-weight: 600;
  1059. }
  1060. &.loaded{
  1061. color:$grisfonce;
  1062. }
  1063. &.notitle{
  1064. color: red;
  1065. }
  1066. &.disabled{
  1067. color: $grisclair;
  1068. pointer-events: none;
  1069. }
  1070. }
  1071. h2.toc-title{
  1072. font-size: 1.1em;
  1073. color: $bleuroilight;
  1074. line-height: $base-line * 0.7;
  1075. &:hover, &.loaded{
  1076. color: $bleuroi;
  1077. }
  1078. }
  1079. h3.toc-title{font-size: 1em;}
  1080. h4.toc-title{font-size: 0.9em;}
  1081. h5.toc-title{font-size: 0.8em;}
  1082. h6.toc-title{font-size: 0.7em;}
  1083. // span.toc-title{font-size: 0.882em;}
  1084. // >ul{
  1085. // ul{
  1086. // li{
  1087. // ul{
  1088. // overflow: hidden;
  1089. // max-height: 10000px;
  1090. // transition: max-height 0.5s ease-in-out;
  1091. // // transform: scaleY(1);
  1092. // // transform-origin: top;
  1093. // // transition: transform 0.3s ease-in-out;
  1094. // &:not(.opened){
  1095. // // height:0;
  1096. // max-height:0;
  1097. // transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
  1098. // // transform: scaleY(0);
  1099. // }
  1100. // // &.opened{
  1101. // // border: 1px solid red;
  1102. // // }
  1103. // // padding-left: 1em;
  1104. // border-left: 0.5px solid $grisclair;
  1105. // // min-height: 1em;
  1106. // margin-bottom: 0em;
  1107. // li{
  1108. // // min-height: 1em;
  1109. // // border-left: 1px solid red;
  1110. // padding:0 0 0 1em;
  1111. // }
  1112. // }
  1113. // }
  1114. // }
  1115. // .toc-title{
  1116. // @include title4grey;
  1117. // &.active,
  1118. // &:hover{
  1119. // color:$grisfonce;
  1120. // font-weight: 600;
  1121. // }
  1122. // &.loaded{
  1123. // color:$grisfonce;
  1124. // }
  1125. // &.notitle{
  1126. // color: red;
  1127. // }
  1128. // }
  1129. // h2.toc-title{font-size: 1.1em;}
  1130. // h3.toc-title{font-size: 1em;}
  1131. // h4.toc-title{font-size: 0.9em;}
  1132. // h5.toc-title{font-size: 0.8em;}
  1133. // h6.toc-title{font-size: 0.7em;}
  1134. // // span.toc-title{font-size: 0.882em;}
  1135. // }
  1136. }
  1137. div#indexes-filters{
  1138. // height:$pager_h;
  1139. overflow: hidden;
  1140. box-sizing: content-box;
  1141. padding:0 0 0 1.5em;
  1142. margin: 0 0 $filter_m 0;
  1143. select{
  1144. option{
  1145. padding:0;
  1146. }
  1147. }
  1148. }
  1149. div#page-nav{
  1150. height:$pager_h;
  1151. overflow: hidden;
  1152. box-sizing: content-box;
  1153. padding:0 0 0 1.5em;
  1154. margin: 0 0 $filter_m 0;
  1155. select{
  1156. option{
  1157. padding:0;
  1158. }
  1159. }
  1160. }
  1161. }
  1162. // responsive
  1163. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1164. position: relative;
  1165. >nav{
  1166. $top: 45px;
  1167. z-index: 2;
  1168. position: absolute;
  1169. top:$top;
  1170. right:0;
  1171. background-color: #fff;
  1172. width:percentage(10/$default_sum);
  1173. box-sizing: border-box;
  1174. padding-top: 1em;
  1175. padding-bottom: 1em;
  1176. height:calc(100% - #{$top});
  1177. transform: translateX(100%);
  1178. transition: transform 0.3s ease-in-out;
  1179. span.nav-title{
  1180. display: block;
  1181. position: absolute;
  1182. top:4.5em; left:-1.8em;
  1183. transform: rotateZ(-90deg);
  1184. transform-origin: center;
  1185. @include fontsans;
  1186. font-size: 0.600em;
  1187. cursor: pointer;
  1188. color: $bleuroi;
  1189. svg{
  1190. vertical-align: bottom;
  1191. transform-origin: center;
  1192. transform: scale(0.8) rotate(180deg);
  1193. transition: transform 0.3s ease-in-out;
  1194. path{
  1195. fill: $bleuroi;
  1196. }
  1197. }
  1198. }
  1199. &.opened{
  1200. box-shadow: -3px -3px 5px $grisclair;
  1201. transform: translateX(0);
  1202. span.nav-title{
  1203. svg{
  1204. transform: scale(0.7) rotate(0);
  1205. }
  1206. }
  1207. }
  1208. }
  1209. }
  1210. }
  1211. #biblio{
  1212. >header{
  1213. &>h1{
  1214. @include titleSansRed;
  1215. margin: 0;
  1216. }
  1217. li{
  1218. margin: 0.5em 0 0;
  1219. a{
  1220. @include title2black;
  1221. &.router-link-active{
  1222. font-weight: 600;
  1223. }
  1224. }
  1225. }
  1226. }
  1227. .biblio-item{
  1228. h2{
  1229. @include title1blue;
  1230. }
  1231. p{
  1232. span.label{
  1233. font-weight: 600;
  1234. }
  1235. }
  1236. }
  1237. ul.item-list{
  1238. margin:0;
  1239. padding:0;
  1240. li{
  1241. padding:0;
  1242. margin:0 0 $base-line 0;
  1243. h2{
  1244. margin:0;
  1245. @include title1black;
  1246. color: $bleuroi;
  1247. }
  1248. p{
  1249. @include labeurfont;
  1250. margin:0 0 $base-line * 0.5 0;
  1251. }
  1252. >em{
  1253. @include labeurfont;
  1254. margin:0 0 $base-line * 0.5 0;
  1255. }
  1256. span.date{
  1257. @include title2black;
  1258. font-weight: 600;
  1259. }
  1260. aside{
  1261. overflow: hidden;
  1262. h5{
  1263. @include title2black;
  1264. margin: $base-line / 2 0;
  1265. cursor: pointer;
  1266. // padding-left: 1em;
  1267. // position: relative;
  1268. &:before{
  1269. cursor: pointer;
  1270. content:"\2304";
  1271. position: relative;
  1272. display: inline-block;
  1273. top: -4px;
  1274. // transform-origin: center;
  1275. // transform: rotateZ(-90deg);
  1276. }
  1277. }
  1278. ul{
  1279. max-height: 1px;
  1280. transition: all 0.3s ease-in-out;
  1281. padding-left: 1em;
  1282. overflow-y: hidden;
  1283. li{
  1284. @include labeurfont;
  1285. margin-bottom: 0;
  1286. }
  1287. }
  1288. &.opened{
  1289. h5{
  1290. &:before{
  1291. top: 4px;
  1292. content:"\2303";
  1293. // transform: rotateZ(90deg);
  1294. }
  1295. }
  1296. ul{
  1297. max-height: 100em;
  1298. }
  1299. }
  1300. }
  1301. }
  1302. &.manifestations{
  1303. li{
  1304. max-height: 0.2px;
  1305. margin-bottom:0;
  1306. overflow: hidden;
  1307. transition: all 1s ease-in-out;
  1308. &.active{
  1309. max-height: 10em;
  1310. }
  1311. .wrapper{
  1312. margin-bottom: $base-line;
  1313. }
  1314. }
  1315. }
  1316. }
  1317. ul.authors-filters{
  1318. li{
  1319. @include title4black;
  1320. line-height: $base-line / 2;
  1321. span{
  1322. cursor: pointer;
  1323. color: $gris;
  1324. &.active{
  1325. color: $grisfonce;
  1326. }
  1327. }
  1328. }
  1329. }
  1330. >nav{
  1331. aside.links{
  1332. position: absolute;
  1333. bottom: 0;
  1334. overflow-wrap:anywhere;
  1335. p{
  1336. line-height: $base-line * 0.65;
  1337. }
  1338. }
  1339. }
  1340. }
  1341. #static{
  1342. @include fontsans;
  1343. >header{
  1344. display: flex;
  1345. flex-direction: column;
  1346. flex-wrap: nowrap;
  1347. h1{
  1348. @include titleSansRed;
  1349. margin-bottom: $base-line * 0.4;
  1350. flex: 0 0 auto;
  1351. }
  1352. nav.toc{
  1353. flex: 1 1 auto;
  1354. overflow-y: auto;
  1355. span.sommaire-title{ display:none; }
  1356. >div.wrapper{
  1357. height:100%;
  1358. overflow-y: auto;
  1359. }
  1360. li{
  1361. a{
  1362. font-size: 1em;
  1363. line-height: $base-line * 0.7;
  1364. font-weight: 300;
  1365. }
  1366. }
  1367. // responsive
  1368. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1369. $top: 80px;
  1370. z-index: 110;
  1371. position: absolute;
  1372. top:$top;
  1373. left:0;
  1374. background-color: #fff;
  1375. width:percentage(7/$default_sum);
  1376. box-sizing: border-box;
  1377. padding-top: 1em;
  1378. padding-bottom: 1em;
  1379. height:calc(100% - #{$top});
  1380. overflow-y: auto;
  1381. transform: translateX(-100%);
  1382. transition: transform 0.3s ease-in-out;
  1383. >div.wrapper{
  1384. padding-right: 2em;
  1385. height: 100%;
  1386. overflow-y: auto;
  1387. }
  1388. span.sommaire-title{
  1389. display: block;
  1390. position: absolute;
  1391. top:4.5em; right:-2em;
  1392. transform: rotateZ(-90deg);
  1393. transform-origin: center;
  1394. @include fontsans;
  1395. font-size: 0.600em;
  1396. cursor: pointer;
  1397. color: $bleuroi;
  1398. svg{
  1399. vertical-align: bottom;
  1400. transform-origin: center;
  1401. transform: scale(0.8) rotate(0);
  1402. transition: transform 0.3s ease-in-out;
  1403. path{
  1404. fill: $bleuroi;
  1405. }
  1406. }
  1407. }
  1408. &.opened{
  1409. box-shadow: 3px 3px 5px $grisclair;
  1410. transform: translateX(0);
  1411. span.sommaire-title{
  1412. svg{
  1413. transform: scale(0.7) rotate(180deg);
  1414. }
  1415. }
  1416. }
  1417. }
  1418. }
  1419. }
  1420. >section{
  1421. h1{
  1422. font-weight: 400;
  1423. color: $bleuroi;
  1424. }
  1425. p{
  1426. margin-top:0;
  1427. font-size: 1em;
  1428. line-height: $base-line * 0.7;
  1429. font-weight: 300;
  1430. }
  1431. dl{
  1432. font-size: 1em;
  1433. line-height: $base-line * 0.7;
  1434. font-weight: 300;
  1435. span.label{
  1436. font-weight: 400;
  1437. }
  1438. dd{
  1439. margin: 0;
  1440. }
  1441. margin-bottom: $base-line;
  1442. }
  1443. a{
  1444. font-size: 1em;
  1445. line-height: $base-line * 0.7;
  1446. font-weight: 300;
  1447. border-bottom: 1px dotted #1a1a1a;
  1448. // margin-bottom: $base-line * 0.5;
  1449. display: inline-block;
  1450. }
  1451. figure{
  1452. margin: 2em 0;
  1453. img{
  1454. max-width: 100%;
  1455. }
  1456. figcaption{
  1457. @include fontcaption;
  1458. padding: 1em 0;
  1459. }
  1460. }
  1461. }
  1462. }
  1463. }
  1464. footer[role="tools"]{
  1465. $list-item-h: 7em;
  1466. @mixin resultItem{
  1467. box-sizing: border-box;
  1468. // we are only on 10 colls as 2 are occupied by sides
  1469. flex-basis: percentage(2/($default_sum - 2));
  1470. max-height: $list-item-h;
  1471. overflow: hidden;
  1472. padding-bottom: 1em;
  1473. padding-right: $default_gap;
  1474. article{
  1475. max-height: 100%;
  1476. overflow: hidden;
  1477. }
  1478. article.item{
  1479. h1{
  1480. @include title3black;
  1481. font-size: 0.9em;
  1482. font-weight: 600;
  1483. max-width: 95%;
  1484. word-break:normal;
  1485. }
  1486. h2{
  1487. @include title3black;
  1488. text-transform: none;
  1489. }
  1490. span{
  1491. font-size: 0.882em;
  1492. }
  1493. // .preview{
  1494. // font-size: 0.882em;
  1495. // margin:0;
  1496. // code{
  1497. // @include fontserif;
  1498. // background-color: lighten(desaturate($rouge,20%), 20%);
  1499. // padding:0 0.2em;
  1500. // }
  1501. // }
  1502. }
  1503. }
  1504. #history{
  1505. z-index: 8;
  1506. background-color: $or;
  1507. padding:1.2em $side-padding;
  1508. max-height: $list-item-h;
  1509. @include accordeon-transition($list-item-h);
  1510. >header{
  1511. }
  1512. .history-list{
  1513. overflow-x: hidden;
  1514. .wrapper{
  1515. height:100%;
  1516. // hidding the scrollbar
  1517. overflow-y: auto;
  1518. // width:calc(100% + 1em);
  1519. padding-right: 1em;
  1520. >ul{
  1521. padding:0;
  1522. display: flex;
  1523. flex-direction: row;
  1524. flex-wrap: wrap;
  1525. }
  1526. }
  1527. li.item{
  1528. @include resultItem;
  1529. }
  1530. }
  1531. }
  1532. #results{
  1533. z-index: 9;
  1534. background-color: $gris;
  1535. padding:1.2em $side-padding;
  1536. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1537. padding:1.2em $side-padding/2;
  1538. }
  1539. max-height: $list-item-h * 3;
  1540. @include accordeon-transition($list-item-h * 3);
  1541. >header{
  1542. >*{
  1543. // padding:0 0 5px;
  1544. // line-height: $base-line / 2;
  1545. &.v-select{
  1546. padding-top:5px;
  1547. }
  1548. }
  1549. div.results-details{
  1550. line-height: $base-line * 0.5;
  1551. >*{
  1552. display: block;
  1553. }
  1554. .search-keys{
  1555. font-size: 0.756em;
  1556. font-weight: 500;
  1557. }
  1558. .results-count{
  1559. white-space:nowrap;
  1560. font-size: 0.756em;
  1561. }
  1562. }
  1563. }
  1564. .results-list{
  1565. overflow-x: hidden;
  1566. .wrapper{
  1567. position:relative;
  1568. height:100%;
  1569. // hidding the scrollbar
  1570. overflow-y: auto;
  1571. // width:calc(100% + 1em);
  1572. padding-right: 1em;
  1573. >ul{
  1574. padding:0;
  1575. display: flex;
  1576. flex-direction: row;
  1577. flex-wrap: wrap;
  1578. }
  1579. }
  1580. li.result{
  1581. @include resultItem;
  1582. }
  1583. .infinite-loading-container{
  1584. // TODO: how to center the loading
  1585. }
  1586. }
  1587. >header, section.results-list{
  1588. transition: opacity 0.2s ease-in-out;
  1589. }
  1590. &.loading {
  1591. >header, section.results-list{
  1592. transition: opacity 0.5s ease-in-out;
  1593. opacity:0.5;
  1594. pointer-events: none;
  1595. }
  1596. }
  1597. // responsive
  1598. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1599. position: relative;
  1600. >header{
  1601. padding:0 0 1em 0;
  1602. >*{
  1603. display: inline-block;
  1604. margin-right: 1em;
  1605. }
  1606. div.results-details{
  1607. >*{
  1608. display: inline-block;
  1609. &:not(:last-child){
  1610. padding-right: 1em;
  1611. }
  1612. }
  1613. }
  1614. #sorting{
  1615. width:10em;
  1616. }
  1617. }
  1618. >section.results-list{
  1619. max-height: 15em;
  1620. li.result{
  1621. flex-basis: 33%;
  1622. }
  1623. }
  1624. >nav{
  1625. position: absolute;
  1626. top:1.2em; right:1.2em;
  1627. }
  1628. }
  1629. }
  1630. #footer-bottom{
  1631. z-index: 10;
  1632. padding:0 $side-padding;
  1633. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1634. padding:0 $side-padding/2;
  1635. flex-wrap: nowrap;
  1636. }
  1637. background-color: $bleuroi;
  1638. &>*{
  1639. // disable grid gap
  1640. padding-right: 0;
  1641. flex-grow: 0;
  1642. flex-shrink: 0;
  1643. }
  1644. #footer-tabs{
  1645. ul{
  1646. padding:0; margin:0;
  1647. display: flex;
  1648. flex-direction: column;
  1649. li{
  1650. flex: 1 1 auto;
  1651. .wrapper{
  1652. box-sizing: border-box;
  1653. line-height: 0.6em;
  1654. height:2em;
  1655. width: calc(100% + $side-padding);
  1656. margin-left:-$side-padding;
  1657. padding:0.3em 0.5em 0.3em $side-padding;
  1658. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1659. padding: 0.3em 0em 0.3em 2em;
  1660. }
  1661. }
  1662. &.history .wrapper{
  1663. background-color: $or;
  1664. }
  1665. &.results .wrapper{
  1666. background-color: $gris;
  1667. }
  1668. span{
  1669. font-size: 0.693em;
  1670. font-weight: 400;
  1671. text-transform: uppercase;
  1672. cursor: pointer;
  1673. @include fade-transition;
  1674. }
  1675. }
  1676. }
  1677. }
  1678. #search{
  1679. color: #fff;
  1680. background-color: $bleuroi;
  1681. form{
  1682. padding: 0;
  1683. // display: flex;
  1684. // flex-direction: row;
  1685. // flex-wrap: wrap;
  1686. fieldset{
  1687. padding:0.7em 1em;
  1688. border: none;
  1689. box-sizing:border-box;
  1690. // width correction as row is not the same width as others in the page
  1691. // flex-basis: percentage(2/($default_sum - 1));
  1692. // flex-basis: 17.667%;
  1693. // flex-basis: percentage(2 / 11);
  1694. &:not(:first-of-type){
  1695. border-left: 1px solid $grisclair;
  1696. }
  1697. }
  1698. fieldset.search{
  1699. display: inline-flex;
  1700. align-items: center;
  1701. >div{
  1702. width:80%;
  1703. vertical-align: middle;
  1704. }
  1705. label[for="keys"]{
  1706. display: none;
  1707. }
  1708. input[type="text"]{
  1709. padding:0em 0.3em;
  1710. margin:0 0 0.3em 0;
  1711. box-sizing: border-box;
  1712. font-size: 0.756em;
  1713. line-height: 1;
  1714. width:100%;
  1715. height:1.4em;
  1716. border:none;
  1717. border-radius: 2px;
  1718. }
  1719. span.mdi{
  1720. display: inline-block;
  1721. margin:0 0 0 0.5em;
  1722. font-size: 1.2em;
  1723. line-height:1.1;
  1724. vertical-align:middle;
  1725. width:1.2em; height:1.2em;
  1726. border-radius: 0.6em;
  1727. background-color: #fff;
  1728. color: $bleuroi;
  1729. text-align: center;
  1730. font-weight: 700;
  1731. cursor: pointer;
  1732. }
  1733. }
  1734. }
  1735. fieldset.filters{
  1736. .vs__actions{
  1737. // background-color: $grisclair;
  1738. align-items:baseline;
  1739. padding-top:0.2em;
  1740. }
  1741. }
  1742. form{
  1743. transition: opacity 0.2s ease-in-out;
  1744. }
  1745. &.loading{
  1746. form{
  1747. opacity:0.5;
  1748. transition: opacity 0.5s ease-in-out;
  1749. pointer-events: none;
  1750. }
  1751. }
  1752. // responsive
  1753. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1754. form{
  1755. fieldset{
  1756. &.search{
  1757. >div{
  1758. display: inline-flex;
  1759. flex-wrap: nowrap;
  1760. width:84%;
  1761. >*{
  1762. flex-basis: 45%;
  1763. margin: 0 0.5em 0 0;
  1764. // box-sizing: content-box;
  1765. // width:auto!important;
  1766. &#keys[type="text"]{
  1767. margin-right:1.5em;
  1768. }
  1769. }
  1770. }
  1771. span.mdi{
  1772. width:1em; height:1em;
  1773. margin-top: -0.1em;
  1774. margin-left: 0;
  1775. }
  1776. }
  1777. &.filters{
  1778. border-left: none;
  1779. flex-basis: 32%;
  1780. padding: 0.2em 0 1em 1em;
  1781. }
  1782. }
  1783. }
  1784. }
  1785. }
  1786. ;
  1787. #logos{
  1788. // max-height: 100%;
  1789. position: relative;
  1790. flex-shrink: 1;
  1791. // display: flex;
  1792. // flex-direction: row;
  1793. // justify-content: flex-end;
  1794. .wrapper{
  1795. position: relative;
  1796. box-sizing: content-box;
  1797. // max-height: 50px;
  1798. padding:1em;
  1799. text-align: right;
  1800. height: 30px;
  1801. img{
  1802. // display: inline-block;
  1803. height: 100%;
  1804. padding-left: 1em;
  1805. }
  1806. }
  1807. }
  1808. }
  1809. h2{
  1810. margin:0;
  1811. font-size: 0.756em;
  1812. font-weight: 400;
  1813. text-transform: uppercase;
  1814. padding:0;
  1815. }
  1816. }
  1817. // vue-select
  1818. .v-select{
  1819. padding:0;
  1820. div[role="combobox"]{
  1821. background-color: #fff;
  1822. padding:0;
  1823. border-radius: 2px;
  1824. border: none;
  1825. }
  1826. input[type="search"]{
  1827. margin:0;
  1828. padding:0;
  1829. -webkit-appearance:textfield;
  1830. -webkit-box-sizing:content-box;
  1831. }
  1832. input::-webkit-search-decoration,
  1833. input::-webkit-search-cancel-button {
  1834. display: none;
  1835. }
  1836. .vs__search{
  1837. &, &:focus{
  1838. font-size: 0.756em;
  1839. line-height: 1;
  1840. height:1.2em;
  1841. border:none;
  1842. box-sizing: border-box;
  1843. }
  1844. }
  1845. .vs__dropdown-toggle{
  1846. input::placeholder{background-color: #fff;}
  1847. }
  1848. .vs__selected-options{
  1849. background-color: #fff;
  1850. height:18px;
  1851. >input{
  1852. height:100%;
  1853. }
  1854. }
  1855. .vs__actions{
  1856. padding:1px 3px;
  1857. button.vs__clear{
  1858. line-height: 0.5;
  1859. // height:0;
  1860. }
  1861. svg[role="presentation"]{
  1862. transform: scale(0.8);
  1863. path{
  1864. fill: $bleuroi;
  1865. }
  1866. }
  1867. }
  1868. .vs__selected{
  1869. margin:0;
  1870. padding:0.2em 0;
  1871. line-height:1;
  1872. font-size: 0.756em;
  1873. background-color: #fff;
  1874. border:none;
  1875. align-items: middle;
  1876. box-sizing: content-box;
  1877. display: inline-block;
  1878. width: calc(100% - 12px);
  1879. @include fontsans;
  1880. // &>*:not(button){
  1881. // display: inline-block;
  1882. // width:70%;
  1883. // }
  1884. button{
  1885. svg{
  1886. transform: scale(0.8);
  1887. path{
  1888. fill: $bleuroi;
  1889. }
  1890. }
  1891. &.vs__deselect{
  1892. line-height: 0;
  1893. }
  1894. }
  1895. }
  1896. // border-radius: 2px;
  1897. // border: none;
  1898. }
  1899. ul[role="listbox"]{
  1900. @include fontsans;
  1901. padding:0;
  1902. margin:0;
  1903. border:none;
  1904. position: relative;
  1905. li{
  1906. box-sizing: content-box;
  1907. padding:0.3em;
  1908. margin:0;
  1909. font-size: 0.756em;
  1910. line-height: 1;
  1911. white-space: normal;
  1912. position: relative;
  1913. *{
  1914. max-width: 100%;
  1915. }
  1916. h3{
  1917. @include title1black;
  1918. color: $bleuroi;
  1919. padding: 0.5em 0 0 0.3em;
  1920. span.hi{
  1921. font-variant-position: super;
  1922. }
  1923. }
  1924. }
  1925. }
  1926. // ___
  1927. // |_ _|__ ___ _ _ __
  1928. // | |/ _/ _ \ ' \(_-<
  1929. // |___\__\___/_||_/__/
  1930. span.mdi-close{
  1931. cursor: pointer;
  1932. }
  1933. @keyframes spin {
  1934. from {
  1935. transform:rotate(0deg);
  1936. }
  1937. to {
  1938. transform:rotate(360deg);
  1939. }
  1940. }
  1941. span.mdi-loading{
  1942. animation-name: spin;
  1943. animation-duration: 2000ms;
  1944. animation-iteration-count: infinite;
  1945. animation-timing-function: linear;
  1946. }
  1947. // _ _ _
  1948. // | | ___ __ _ __| (_)_ _ __ _
  1949. // | |__/ _ \/ _` / _` | | ' \/ _` |
  1950. // |____\___/\__,_\__,_|_|_||_\__, |
  1951. // |___/
  1952. span.loading{
  1953. @include fontsans;
  1954. font-size: 0.756em;
  1955. color: $grisfonce;
  1956. animation: pulseloading 4s infinite;
  1957. }
  1958. @keyframes pulseloading{
  1959. 0% {
  1960. opacity: 1;
  1961. }
  1962. 50%{
  1963. opacity: 0;
  1964. }
  1965. 100% {
  1966. opacity: 1;
  1967. }
  1968. }