app.scss 50 KB

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