app.scss 47 KB

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