app.scss 51 KB

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