app.scss 46 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024
  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. }
  592. }
  593. }
  594. #edition{
  595. >header{
  596. position: relative;
  597. span.header-title{ display:none; }
  598. h1{
  599. @include title1blue;
  600. }
  601. aside.notice{
  602. // margin-top: 0;
  603. // font-size: 1em;
  604. // line-height: $base-line *0.5;
  605. // margin-bottom: $base-line / 2;
  606. }
  607. nav.entities-hide-show{
  608. position: absolute;
  609. bottom: 1em;
  610. span{
  611. @include fontsans;
  612. font-size: 0.882em;
  613. cursor: pointer;
  614. }
  615. }
  616. aside.index-tooltip{
  617. z-index:10;
  618. margin-top: -1.75em;
  619. position:absolute;
  620. text-align: right;
  621. right: 2em;
  622. h1 {
  623. @include title2black;
  624. margin:0 0 0.5em 0;
  625. }
  626. p{
  627. margin:0 0 0.5em 0;
  628. }
  629. time{
  630. font-weight: 600;
  631. }
  632. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  633. background-color: #fff;
  634. padding: 1em;
  635. box-shadow: 0 0 10px $gris;
  636. *{
  637. pointer-events: none;
  638. }
  639. }
  640. }
  641. }
  642. // responsive
  643. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  644. >header{
  645. $top: 45px;
  646. z-index: 110;
  647. position: absolute;
  648. top:$top;
  649. left:0;
  650. background-color: #fff;
  651. width:percentage(5/$default_sum);
  652. box-sizing: border-box;
  653. padding-top: 1em;
  654. padding-bottom: 1em;
  655. height:calc(100% - #{$top});
  656. transform: translateX(-100%);
  657. transition: transform 0.3s ease-in-out;
  658. span.header-title{
  659. display: block;
  660. position: absolute;
  661. top:4.5em; right:-1em;
  662. transform: rotateZ(-90deg);
  663. transform-origin: center;
  664. @include fontsans;
  665. font-size: 0.600em;
  666. cursor: pointer;
  667. color: $bleuroi;
  668. svg{
  669. vertical-align: bottom;
  670. transform-origin: center;
  671. transform: scale(0.8) rotate(0);
  672. transition: transform 0.3s ease-in-out;
  673. path{
  674. fill: $bleuroi;
  675. }
  676. }
  677. }
  678. &.opened{
  679. box-shadow: 3px 3px 5px $grisclair;
  680. transform: translateX(0);
  681. span.header-title{
  682. svg{
  683. transform: scale(0.7) rotate(180deg);
  684. }
  685. }
  686. }
  687. }
  688. }
  689. $pagenum_w:1em;
  690. >section{
  691. padding-right: 0;
  692. >.wrapper{
  693. padding-right: $pagenum_w*3;
  694. // outline: orange solid thin;
  695. }
  696. div#text{
  697. // .infinite-loading-container{
  698. // height:0;
  699. // overflow: hidden;
  700. // }
  701. .text-wrapper{
  702. // padding-left: 1em;
  703. position: relative;
  704. }
  705. .textrefcopylink{
  706. display: block;
  707. position: absolute;
  708. z-index: 99;
  709. span.mdi-open-in-new {
  710. position: relative;
  711. z-index: 10;
  712. margin-left: 1px;
  713. }
  714. .popup{
  715. position: absolute;
  716. top:0;
  717. left: 1px;
  718. // width: 15em;
  719. background-color: #fff;
  720. border-radius: 3px;
  721. padding: 1em 1em 1em 1.5em;
  722. box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  723. display: none;
  724. opacity: 0.1;
  725. // outline: 1px solid blue;
  726. transition: opacity 2s ease-in-out;
  727. button.copy-btn{
  728. display: block;
  729. padding: 0.5em 0.2em;
  730. @include fontcaption;
  731. white-space: nowrap;
  732. border: none;
  733. background: none;
  734. cursor: pointer;
  735. }
  736. }
  737. // todo what about touch is hover will work ?
  738. &:hover .popup{
  739. display: block;
  740. opacity: 1;
  741. transition: opacity 2s ease-in-out;
  742. }
  743. }
  744. div.tei{
  745. position: relative;
  746. width: calc(100% - #{$pagenum_w});
  747. // DEBUG
  748. color:chartreuse;
  749. &>*{ color: #1A1A1A;}
  750. // @media only screen and (min-width: $small-bp + 1) {
  751. padding-right: $pagenum_w;
  752. border-left: 1px dotted $grisclair;
  753. padding-left: 1em;
  754. margin-left:1.2em;
  755. overflow: visible;
  756. &.active{
  757. border-left: 1px dotted $bleuroi;
  758. }
  759. // }
  760. // front page
  761. header{
  762. padding-top: $base-line;
  763. h1{
  764. @include teititlefrontblue;
  765. .initial{
  766. display: inline-block;
  767. text-transform: uppercase;
  768. font-size: 1.3em;
  769. line-height: $base-line*2;
  770. margin: $base-line/2 0;
  771. }
  772. margin-bottom: $base-line;
  773. }
  774. }
  775. span.metamark.tailpiece,
  776. span.metamark.simpleLine{
  777. display: block;
  778. border-top: 1px solid $gris;
  779. margin: $base-line / 2 auto;
  780. }
  781. .byline{
  782. text-align: center;
  783. font-style: italic;
  784. padding-bottom: 1em;
  785. color: $bleuroi;
  786. &:last-of-type{
  787. padding-bottom: $base-line*2;
  788. }
  789. }
  790. .docImprint{
  791. text-align: center;
  792. // padding-bottom: 1em;
  793. color: $bleuroi;
  794. font-size: 1.3em;
  795. line-height: $base-line;
  796. .pubPlace{
  797. display: block;
  798. }
  799. .publisher{
  800. display: block;
  801. }
  802. .docDate{
  803. display: block;
  804. // margin-top: $base-line / 2;
  805. font-weight: 700;
  806. }
  807. }
  808. .docEdition{
  809. display: block;
  810. text-align: center;
  811. color: $bleuroi;
  812. font-size: 1.3em;
  813. line-height: $base-line;
  814. }
  815. span.epigraph{
  816. display: block;
  817. text-align: center;
  818. color: $bleuroi;
  819. font-size: 1em;
  820. line-height: $base-line;
  821. border-top: 1px $gris solid;
  822. border-bottom: 1px $gris solid;
  823. }
  824. .imprimatur{
  825. text-align: center;
  826. font-style: italic;
  827. color: $bleuroi;
  828. font-size: 1.3em;
  829. line-height: $base-line;
  830. padding-bottom: $base-line;
  831. &:last-of-type{
  832. padding-bottom: $base-line*2;
  833. }
  834. }
  835. >h1{
  836. @include teititle1blue;
  837. }
  838. h1{ font-size: 1.512em;
  839. line-height: $base-line; }
  840. p{
  841. margin-top: 0;
  842. font-size: 1.134em;
  843. line-height: $base-line;
  844. margin-bottom: $base-line / 2;
  845. span.no-wrap{
  846. white-space: nowrap;
  847. }
  848. span.persName,
  849. span.placeName,
  850. span.objectName{
  851. font-weight: 500;
  852. }
  853. a{
  854. font-weight: 500;
  855. &.active-link{
  856. // color: $rouge;
  857. // text-decoration: underline;
  858. // line-height: $base-line/2;
  859. }
  860. // sup.mdi{
  861. // font-size: 0.630em;
  862. // vertical-align: super;
  863. // // line-height: 0.1;
  864. // padding: 0 0.2em;
  865. // }
  866. }
  867. }
  868. blockquote{
  869. padding: 0 1em;
  870. }
  871. ul, ol{
  872. padding: 0 0 0 2em;
  873. li{
  874. list-style: disc;
  875. }
  876. }
  877. span.mdi.index-item-icon{
  878. font-size: 14px;
  879. vertical-align: super;
  880. line-height: 0;
  881. }
  882. // span[role="pageBreak"]{
  883. // display: block;
  884. // height:1.5em;
  885. // }
  886. span.simpleLine + span[role="pageBreak"]{
  887. height:0em;
  888. margin-top: -1em;
  889. }
  890. span.metamark.typographicalPiece + span[role="pageBreak"]{
  891. height:0em;
  892. }
  893. span.metamark.typographicalPiece{
  894. display: block;
  895. height: 1.5em;
  896. }
  897. span.metamark.typographicalPiece + span.metamark.typographicalPiece{
  898. display: none;
  899. }
  900. span[role="pageNum"]{
  901. font-size: 16px;
  902. position: relative;
  903. float:right;
  904. width: $pagenum_w; height:$base-line/4;
  905. border-bottom: 1px solid $bleuroilight;
  906. border-right: 1px solid $bleuroilight;
  907. // outline: solid red thin;
  908. // margin-left:calc(100% - #{$pagenum_w * 2});
  909. // margin-left: 100%;
  910. margin-right: - $pagenum_w * 1.5;
  911. &:before{
  912. // outline: solid green thin;
  913. content:attr(data-num);
  914. font-size: 0.630em;
  915. line-height: $base-line/3;
  916. position: absolute;
  917. right: 0;
  918. top:$base-line/2;
  919. color: $bleuroi;
  920. // top:0;
  921. // width: $pagenum_w*2; height: $pagenum_w;
  922. // border-top: 1px solid $bleuroilight;
  923. // border-right: 1px solid $bleuroilight;
  924. // text-indent: $pagenum_w * 2.5;
  925. }
  926. }
  927. a.text-item-link{
  928. // float: left;
  929. position: absolute;
  930. top:0; left:0;
  931. // display: block;
  932. // width:1em; height:1em;
  933. font-size: 0.630em;
  934. .mdi{
  935. color: $bleuroi;
  936. pointer-events: none;
  937. }
  938. }
  939. figure{
  940. // outline: 1px solid red;
  941. background-color: $grisclair;
  942. margin:1em 0;
  943. img{
  944. width: 100%;
  945. }
  946. figcaption{
  947. @include fontcaption;
  948. padding: 0.5em;
  949. }
  950. }
  951. ul{
  952. line-height: $base-line;
  953. margin-bottom: $base-line/2;
  954. }
  955. blockquote{
  956. margin: $base-line/2 1em;
  957. line-height: $base-line;
  958. p{
  959. margin: 0;
  960. }
  961. }
  962. }
  963. &.entities-hidden{
  964. span.mdi.index-item-icon{ display: none;}
  965. }
  966. }
  967. }
  968. >nav{
  969. $filter_m: 0.3em;
  970. $pager_h:18px;
  971. display: flex;
  972. flex-direction: column;
  973. span.nav-title{ display:none; }
  974. section#toc{
  975. $m:0.5em;
  976. box-sizing: content-box;
  977. padding:0 0 1em 1.5em;
  978. margin-bottom: $m;
  979. height:calc(100% - #{$pager_h} - #{$m} - #{$filter_m});
  980. overflow-x: hidden;
  981. overflow-y: auto;
  982. line-height: $base-line / 2;
  983. // section.tocitem{
  984. // position: relative;
  985. // &:after{
  986. // display: block;
  987. // position:absolute;
  988. // top:0; right:0;
  989. // color: red;
  990. // content: attr(type);
  991. // font-size: 11px;
  992. // border: 1px solid red;
  993. // border-radius: 3px;
  994. // padding: 0px 2px;
  995. // }
  996. // }
  997. >ul{
  998. >li{
  999. section.tocitem{
  1000. ul{
  1001. overflow: hidden;
  1002. max-height: 10000px;
  1003. transition: max-height 0.5s ease-in-out;
  1004. &:not(.opened):not(.init_opened){
  1005. max-height:0;
  1006. transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
  1007. }
  1008. &:not([level="1"]){
  1009. border-left: 0.5px solid $grisclair;
  1010. margin-bottom: 0em;
  1011. li{
  1012. padding:0 0 0 1em;
  1013. }
  1014. }
  1015. }
  1016. &.notitle>ul>li{
  1017. padding:0;
  1018. }
  1019. }
  1020. }
  1021. }
  1022. section.tocitem{
  1023. &[level="1"]:not([type="front"]),
  1024. &[level="2"]{
  1025. padding-top: 0.4em;
  1026. }
  1027. }
  1028. .toc-title{
  1029. @include title4grey;
  1030. color: $grismoyen;
  1031. &.active,
  1032. &:hover{
  1033. color:$grisfonce;
  1034. font-weight: 600;
  1035. }
  1036. &.loaded{
  1037. color:$grisfonce;
  1038. }
  1039. &.notitle{
  1040. color: red;
  1041. }
  1042. &.disabled{
  1043. color: $grisclair;
  1044. pointer-events: none;
  1045. }
  1046. }
  1047. h2.toc-title{
  1048. font-size: 1.1em;
  1049. color: $bleuroilight;
  1050. &:hover, &.loaded{
  1051. color: $bleuroi;
  1052. }
  1053. }
  1054. h3.toc-title{font-size: 1em;}
  1055. h4.toc-title{font-size: 0.9em;}
  1056. h5.toc-title{font-size: 0.8em;}
  1057. h6.toc-title{font-size: 0.7em;}
  1058. // span.toc-title{font-size: 0.882em;}
  1059. // >ul{
  1060. // ul{
  1061. // li{
  1062. // ul{
  1063. // overflow: hidden;
  1064. // max-height: 10000px;
  1065. // transition: max-height 0.5s ease-in-out;
  1066. // // transform: scaleY(1);
  1067. // // transform-origin: top;
  1068. // // transition: transform 0.3s ease-in-out;
  1069. // &:not(.opened){
  1070. // // height:0;
  1071. // max-height:0;
  1072. // transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
  1073. // // transform: scaleY(0);
  1074. // }
  1075. // // &.opened{
  1076. // // border: 1px solid red;
  1077. // // }
  1078. // // padding-left: 1em;
  1079. // border-left: 0.5px solid $grisclair;
  1080. // // min-height: 1em;
  1081. // margin-bottom: 0em;
  1082. // li{
  1083. // // min-height: 1em;
  1084. // // border-left: 1px solid red;
  1085. // padding:0 0 0 1em;
  1086. // }
  1087. // }
  1088. // }
  1089. // }
  1090. // .toc-title{
  1091. // @include title4grey;
  1092. // &.active,
  1093. // &:hover{
  1094. // color:$grisfonce;
  1095. // font-weight: 600;
  1096. // }
  1097. // &.loaded{
  1098. // color:$grisfonce;
  1099. // }
  1100. // &.notitle{
  1101. // color: red;
  1102. // }
  1103. // }
  1104. // h2.toc-title{font-size: 1.1em;}
  1105. // h3.toc-title{font-size: 1em;}
  1106. // h4.toc-title{font-size: 0.9em;}
  1107. // h5.toc-title{font-size: 0.8em;}
  1108. // h6.toc-title{font-size: 0.7em;}
  1109. // // span.toc-title{font-size: 0.882em;}
  1110. // }
  1111. }
  1112. div#indexes-filters{
  1113. // height:$pager_h;
  1114. overflow: hidden;
  1115. box-sizing: content-box;
  1116. padding:0 0 0 1.5em;
  1117. margin: 0 0 $filter_m 0;
  1118. select{
  1119. option{
  1120. padding:0;
  1121. }
  1122. }
  1123. }
  1124. div#page-nav{
  1125. height:$pager_h;
  1126. overflow: hidden;
  1127. box-sizing: content-box;
  1128. padding:0 0 0 1.5em;
  1129. select{
  1130. option{
  1131. padding:0;
  1132. }
  1133. }
  1134. }
  1135. }
  1136. // responsive
  1137. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1138. position: relative;
  1139. >nav{
  1140. $top: 45px;
  1141. z-index: 2;
  1142. position: absolute;
  1143. top:$top;
  1144. right:0;
  1145. background-color: #fff;
  1146. width:percentage(10/$default_sum);
  1147. box-sizing: border-box;
  1148. padding-top: 1em;
  1149. padding-bottom: 1em;
  1150. height:calc(100% - #{$top});
  1151. transform: translateX(100%);
  1152. transition: transform 0.3s ease-in-out;
  1153. span.nav-title{
  1154. display: block;
  1155. position: absolute;
  1156. top:4.5em; left:-1.8em;
  1157. transform: rotateZ(-90deg);
  1158. transform-origin: center;
  1159. @include fontsans;
  1160. font-size: 0.600em;
  1161. cursor: pointer;
  1162. color: $bleuroi;
  1163. svg{
  1164. vertical-align: bottom;
  1165. transform-origin: center;
  1166. transform: scale(0.8) rotate(180deg);
  1167. transition: transform 0.3s ease-in-out;
  1168. path{
  1169. fill: $bleuroi;
  1170. }
  1171. }
  1172. }
  1173. &.opened{
  1174. box-shadow: -3px -3px 5px $grisclair;
  1175. transform: translateX(0);
  1176. span.nav-title{
  1177. svg{
  1178. transform: scale(0.7) rotate(0);
  1179. }
  1180. }
  1181. }
  1182. }
  1183. }
  1184. }
  1185. #biblio{
  1186. >header{
  1187. &>h1{
  1188. @include titleSansRed;
  1189. margin: 0;
  1190. }
  1191. li{
  1192. margin: 0.5em 0 0;
  1193. a{
  1194. @include title2black;
  1195. &.router-link-active{
  1196. font-weight: 600;
  1197. }
  1198. }
  1199. }
  1200. }
  1201. .biblio-item{
  1202. h2{
  1203. color: $bleuroi;
  1204. }
  1205. p{
  1206. span.label{
  1207. font-weight: 600;
  1208. }
  1209. }
  1210. }
  1211. ul.item-list{
  1212. margin:0;
  1213. padding:0;
  1214. li{
  1215. padding:0;
  1216. margin:0 0 $base-line 0;
  1217. h2{
  1218. margin:0;
  1219. @include title1black;
  1220. color: $bleuroi;
  1221. }
  1222. p{
  1223. margin:0;
  1224. }
  1225. span.date{
  1226. @include title2black;
  1227. font-weight: 600;
  1228. }
  1229. aside{
  1230. overflow: hidden;
  1231. h5{
  1232. @include title2black;
  1233. margin: $base-line / 2 0;
  1234. cursor: pointer;
  1235. // padding-left: 1em;
  1236. // position: relative;
  1237. &:before{
  1238. cursor: pointer;
  1239. content:"\2304";
  1240. position: relative;
  1241. display: inline-block;
  1242. top: -4px;
  1243. // transform-origin: center;
  1244. // transform: rotateZ(-90deg);
  1245. }
  1246. }
  1247. ul{
  1248. max-height: 1px;
  1249. transition: all 0.3s ease-in-out;
  1250. padding-left: 1em;
  1251. li{
  1252. margin-bottom: $base-line / 2;
  1253. }
  1254. }
  1255. &.opened{
  1256. h5{
  1257. &:before{
  1258. top: 4px;
  1259. content:"\2303";
  1260. // transform: rotateZ(90deg);
  1261. }
  1262. }
  1263. ul{
  1264. max-height: 100em;
  1265. }
  1266. }
  1267. }
  1268. }
  1269. &.manifestations{
  1270. li{
  1271. max-height: 0.2px;
  1272. margin-bottom:0;
  1273. overflow: hidden;
  1274. transition: all 1s ease-in-out;
  1275. &.active{
  1276. max-height: 10em;
  1277. }
  1278. .wrapper{
  1279. margin-bottom: $base-line;
  1280. }
  1281. }
  1282. }
  1283. }
  1284. ul.authors-filters{
  1285. li{
  1286. @include title4black;
  1287. line-height: $base-line / 2;
  1288. span{
  1289. cursor: pointer;
  1290. color: $gris;
  1291. &.active{
  1292. color: $grisfonce;
  1293. }
  1294. }
  1295. }
  1296. }
  1297. >nav{
  1298. aside.links{
  1299. position: absolute;
  1300. bottom: 0;
  1301. }
  1302. }
  1303. }
  1304. #static{
  1305. @include fontsans;
  1306. >header{
  1307. h1{
  1308. @include titleSansRed;
  1309. margin-bottom: $base-line * 0.4;
  1310. }
  1311. nav.toc{
  1312. span.sommaire-title{ display:none; }
  1313. li{
  1314. a{
  1315. font-size: 1em;
  1316. line-height: $base-line * 0.7;
  1317. font-weight: 300;
  1318. }
  1319. }
  1320. // responsive
  1321. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1322. $top: 80px;
  1323. z-index: 110;
  1324. position: absolute;
  1325. top:$top;
  1326. left:0;
  1327. background-color: #fff;
  1328. width:percentage(7/$default_sum);
  1329. box-sizing: border-box;
  1330. padding-top: 1em;
  1331. padding-bottom: 1em;
  1332. height:calc(100% - #{$top});
  1333. overflow-y: auto;
  1334. transform: translateX(-100%);
  1335. transition: transform 0.3s ease-in-out;
  1336. >div.wrapper{
  1337. padding-right: 2em;
  1338. height: 100%;
  1339. overflow-y: auto;
  1340. }
  1341. span.sommaire-title{
  1342. display: block;
  1343. position: absolute;
  1344. top:4.5em; right:-2em;
  1345. transform: rotateZ(-90deg);
  1346. transform-origin: center;
  1347. @include fontsans;
  1348. font-size: 0.600em;
  1349. cursor: pointer;
  1350. color: $bleuroi;
  1351. svg{
  1352. vertical-align: bottom;
  1353. transform-origin: center;
  1354. transform: scale(0.8) rotate(0);
  1355. transition: transform 0.3s ease-in-out;
  1356. path{
  1357. fill: $bleuroi;
  1358. }
  1359. }
  1360. }
  1361. &.opened{
  1362. box-shadow: 3px 3px 5px $grisclair;
  1363. transform: translateX(0);
  1364. span.sommaire-title{
  1365. svg{
  1366. transform: scale(0.7) rotate(180deg);
  1367. }
  1368. }
  1369. }
  1370. }
  1371. }
  1372. }
  1373. >section{
  1374. h1{
  1375. font-weight: 400;
  1376. color: $bleuroi;
  1377. }
  1378. p{
  1379. margin-top:0;
  1380. font-size: 1em;
  1381. line-height: $base-line * 0.7;
  1382. font-weight: 300;
  1383. }
  1384. dl{
  1385. font-size: 1em;
  1386. line-height: $base-line * 0.7;
  1387. font-weight: 300;
  1388. span.label{
  1389. font-weight: 400;
  1390. }
  1391. dd{
  1392. margin: 0;
  1393. }
  1394. margin-bottom: $base-line;
  1395. }
  1396. a{
  1397. font-size: 1em;
  1398. line-height: $base-line * 0.7;
  1399. font-weight: 300;
  1400. border-bottom: 1px dotted #1a1a1a;
  1401. // margin-bottom: $base-line * 0.5;
  1402. display: inline-block;
  1403. }
  1404. figure{
  1405. margin: 2em 0;
  1406. img{
  1407. max-width: 100%;
  1408. }
  1409. figcaption{
  1410. @include fontcaption;
  1411. padding: 1em 0;
  1412. }
  1413. }
  1414. }
  1415. }
  1416. }
  1417. footer[role="tools"]{
  1418. $list-item-h: 7em;
  1419. @mixin resultItem{
  1420. box-sizing: border-box;
  1421. // we are only on 10 colls as 2 are occupied by sides
  1422. flex-basis: percentage(2/($default_sum - 2));
  1423. max-height: $list-item-h;
  1424. overflow: hidden;
  1425. padding-bottom: 1em;
  1426. padding-right: $default_gap;
  1427. article{
  1428. max-height: 100%;
  1429. overflow: hidden;
  1430. }
  1431. article.item{
  1432. h1{
  1433. @include title3black;
  1434. font-size: 0.9em;
  1435. font-weight: 600;
  1436. max-width: 95%;
  1437. word-break:normal;
  1438. }
  1439. h2{
  1440. @include title3black;
  1441. text-transform: none;
  1442. }
  1443. span{
  1444. font-size: 0.882em;
  1445. }
  1446. // .preview{
  1447. // font-size: 0.882em;
  1448. // margin:0;
  1449. // code{
  1450. // @include fontserif;
  1451. // background-color: lighten(desaturate($rouge,20%), 20%);
  1452. // padding:0 0.2em;
  1453. // }
  1454. // }
  1455. }
  1456. }
  1457. #history{
  1458. z-index: 8;
  1459. background-color: $or;
  1460. padding:1.2em $side-padding;
  1461. max-height: $list-item-h;
  1462. @include accordeon-transition($list-item-h);
  1463. >header{
  1464. }
  1465. .history-list{
  1466. overflow-x: hidden;
  1467. .wrapper{
  1468. height:100%;
  1469. // hidding the scrollbar
  1470. overflow-y: auto;
  1471. // width:calc(100% + 1em);
  1472. padding-right: 1em;
  1473. >ul{
  1474. padding:0;
  1475. display: flex;
  1476. flex-direction: row;
  1477. flex-wrap: wrap;
  1478. }
  1479. }
  1480. li.item{
  1481. @include resultItem;
  1482. }
  1483. }
  1484. }
  1485. #results{
  1486. z-index: 9;
  1487. background-color: $gris;
  1488. padding:1.2em $side-padding;
  1489. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1490. padding:1.2em $side-padding/2;
  1491. }
  1492. max-height: $list-item-h * 3;
  1493. @include accordeon-transition($list-item-h * 3);
  1494. >header{
  1495. >*{
  1496. // padding:0 0 5px;
  1497. // line-height: $base-line / 2;
  1498. &.v-select{
  1499. padding-top:5px;
  1500. }
  1501. }
  1502. div.results-details{
  1503. line-height: $base-line * 0.5;
  1504. >*{
  1505. display: block;
  1506. }
  1507. .search-keys{
  1508. font-size: 0.756em;
  1509. font-weight: 500;
  1510. }
  1511. .results-count{
  1512. white-space:nowrap;
  1513. font-size: 0.756em;
  1514. }
  1515. }
  1516. }
  1517. .results-list{
  1518. overflow-x: hidden;
  1519. .wrapper{
  1520. position:relative;
  1521. height:100%;
  1522. // hidding the scrollbar
  1523. overflow-y: auto;
  1524. // width:calc(100% + 1em);
  1525. padding-right: 1em;
  1526. >ul{
  1527. padding:0;
  1528. display: flex;
  1529. flex-direction: row;
  1530. flex-wrap: wrap;
  1531. }
  1532. }
  1533. li.result{
  1534. @include resultItem;
  1535. }
  1536. .infinite-loading-container{
  1537. // TODO: how to center the loading
  1538. }
  1539. }
  1540. >header, section.results-list{
  1541. transition: opacity 0.2s ease-in-out;
  1542. }
  1543. &.loading {
  1544. >header, section.results-list{
  1545. transition: opacity 0.5s ease-in-out;
  1546. opacity:0.5;
  1547. pointer-events: none;
  1548. }
  1549. }
  1550. // responsive
  1551. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1552. position: relative;
  1553. >header{
  1554. padding:0 0 1em 0;
  1555. >*{
  1556. display: inline-block;
  1557. margin-right: 1em;
  1558. }
  1559. div.results-details{
  1560. >*{
  1561. display: inline-block;
  1562. &:not(:last-child){
  1563. padding-right: 1em;
  1564. }
  1565. }
  1566. }
  1567. #sorting{
  1568. width:10em;
  1569. }
  1570. }
  1571. >section.results-list{
  1572. max-height: 15em;
  1573. li.result{
  1574. flex-basis: 33%;
  1575. }
  1576. }
  1577. >nav{
  1578. position: absolute;
  1579. top:1.2em; right:1.2em;
  1580. }
  1581. }
  1582. }
  1583. #footer-bottom{
  1584. z-index: 10;
  1585. padding:0 $side-padding;
  1586. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1587. padding:0 $side-padding/2;
  1588. flex-wrap: nowrap;
  1589. }
  1590. background-color: $bleuroi;
  1591. &>*{
  1592. // disable grid gap
  1593. padding-right: 0;
  1594. flex-grow: 0;
  1595. flex-shrink: 0;
  1596. }
  1597. #footer-tabs{
  1598. ul{
  1599. padding:0; margin:0;
  1600. display: flex;
  1601. flex-direction: column;
  1602. li{
  1603. flex: 1 1 auto;
  1604. .wrapper{
  1605. box-sizing: border-box;
  1606. line-height: 0.6em;
  1607. height:2em;
  1608. width: calc(100% + $side-padding);
  1609. margin-left:-$side-padding;
  1610. padding:0.3em 0.5em 0.3em $side-padding;
  1611. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1612. padding: 0.3em 0em 0.3em 2em;
  1613. }
  1614. }
  1615. &.history .wrapper{
  1616. background-color: $or;
  1617. }
  1618. &.results .wrapper{
  1619. background-color: $gris;
  1620. }
  1621. span{
  1622. font-size: 0.693em;
  1623. font-weight: 400;
  1624. text-transform: uppercase;
  1625. cursor: pointer;
  1626. @include fade-transition;
  1627. }
  1628. }
  1629. }
  1630. }
  1631. #search{
  1632. color: #fff;
  1633. background-color: $bleuroi;
  1634. form{
  1635. padding: 0;
  1636. // display: flex;
  1637. // flex-direction: row;
  1638. // flex-wrap: wrap;
  1639. fieldset{
  1640. padding:0.7em 1em;
  1641. border: none;
  1642. box-sizing:border-box;
  1643. // width correction as row is not the same width as others in the page
  1644. // flex-basis: percentage(2/($default_sum - 1));
  1645. // flex-basis: 17.667%;
  1646. // flex-basis: percentage(2 / 11);
  1647. &:not(:first-of-type){
  1648. border-left: 1px solid $grisclair;
  1649. }
  1650. }
  1651. fieldset.search{
  1652. display: inline-flex;
  1653. align-items: center;
  1654. >div{
  1655. width:80%;
  1656. vertical-align: middle;
  1657. }
  1658. label[for="keys"]{
  1659. display: none;
  1660. }
  1661. input[type="text"]{
  1662. padding:0em 0.3em;
  1663. margin:0 0 0.3em 0;
  1664. box-sizing: border-box;
  1665. font-size: 0.756em;
  1666. line-height: 1;
  1667. width:100%;
  1668. height:1.4em;
  1669. border:none;
  1670. border-radius: 2px;
  1671. }
  1672. span.mdi{
  1673. display: inline-block;
  1674. margin:0 0 0 0.5em;
  1675. font-size: 1.2em;
  1676. line-height:1.1;
  1677. vertical-align:middle;
  1678. width:1.2em; height:1.2em;
  1679. border-radius: 0.6em;
  1680. background-color: #fff;
  1681. color: $bleuroi;
  1682. text-align: center;
  1683. font-weight: 700;
  1684. cursor: pointer;
  1685. }
  1686. }
  1687. }
  1688. fieldset.filters{
  1689. .vs__actions{
  1690. // background-color: $grisclair;
  1691. align-items:baseline;
  1692. padding-top:0.2em;
  1693. }
  1694. }
  1695. form{
  1696. transition: opacity 0.2s ease-in-out;
  1697. }
  1698. &.loading{
  1699. form{
  1700. opacity:0.5;
  1701. transition: opacity 0.5s ease-in-out;
  1702. pointer-events: none;
  1703. }
  1704. }
  1705. // responsive
  1706. @media only screen and (max-width: $small-bp), (orientation: portrait) {
  1707. form{
  1708. fieldset{
  1709. &.search{
  1710. >div{
  1711. display: inline-flex;
  1712. flex-wrap: nowrap;
  1713. width:84%;
  1714. >*{
  1715. flex-basis: 45%;
  1716. margin: 0 0.5em 0 0;
  1717. // box-sizing: content-box;
  1718. // width:auto!important;
  1719. &#keys[type="text"]{
  1720. margin-right:1.5em;
  1721. }
  1722. }
  1723. }
  1724. span.mdi{
  1725. width:1em; height:1em;
  1726. margin-top: -0.1em;
  1727. margin-left: 0;
  1728. }
  1729. }
  1730. &.filters{
  1731. border-left: none;
  1732. flex-basis: 32%;
  1733. padding: 0.2em 0 1em 1em;
  1734. }
  1735. }
  1736. }
  1737. }
  1738. }
  1739. ;
  1740. #logos{
  1741. // max-height: 100%;
  1742. position: relative;
  1743. flex-shrink: 1;
  1744. // display: flex;
  1745. // flex-direction: row;
  1746. // justify-content: flex-end;
  1747. .wrapper{
  1748. position: relative;
  1749. box-sizing: content-box;
  1750. // max-height: 50px;
  1751. padding:1em;
  1752. text-align: right;
  1753. height: 30px;
  1754. img{
  1755. // display: inline-block;
  1756. height: 100%;
  1757. padding-left: 1em;
  1758. }
  1759. }
  1760. }
  1761. }
  1762. h2{
  1763. margin:0;
  1764. font-size: 0.756em;
  1765. font-weight: 400;
  1766. text-transform: uppercase;
  1767. padding:0;
  1768. }
  1769. }
  1770. // vue-select
  1771. .v-select{
  1772. padding:0;
  1773. div[role="combobox"]{
  1774. background-color: #fff;
  1775. padding:0;
  1776. border-radius: 2px;
  1777. border: none;
  1778. }
  1779. input[type="search"]{
  1780. margin:0;
  1781. padding:0;
  1782. -webkit-appearance:textfield;
  1783. -webkit-box-sizing:content-box;
  1784. }
  1785. input::-webkit-search-decoration,
  1786. input::-webkit-search-cancel-button {
  1787. display: none;
  1788. }
  1789. .vs__search{
  1790. &, &:focus{
  1791. font-size: 0.756em;
  1792. line-height: 1;
  1793. height:1.2em;
  1794. border:none;
  1795. box-sizing: border-box;
  1796. }
  1797. }
  1798. .vs__dropdown-toggle{
  1799. input::placeholder{background-color: #fff;}
  1800. }
  1801. .vs__selected-options{
  1802. background-color: #fff;
  1803. height:18px;
  1804. >input{
  1805. height:100%;
  1806. }
  1807. }
  1808. .vs__actions{
  1809. padding:1px 3px;
  1810. button.vs__clear{
  1811. line-height: 0.5;
  1812. // height:0;
  1813. }
  1814. svg[role="presentation"]{
  1815. transform: scale(0.8);
  1816. path{
  1817. fill: $bleuroi;
  1818. }
  1819. }
  1820. }
  1821. .vs__selected{
  1822. margin:0;
  1823. padding:0.2em 0;
  1824. line-height:1;
  1825. font-size: 0.756em;
  1826. background-color: #fff;
  1827. border:none;
  1828. align-items: middle;
  1829. box-sizing: content-box;
  1830. display: inline-block;
  1831. width: calc(100% - 12px);
  1832. @include fontsans;
  1833. // &>*:not(button){
  1834. // display: inline-block;
  1835. // width:70%;
  1836. // }
  1837. button{
  1838. svg{
  1839. transform: scale(0.8);
  1840. path{
  1841. fill: $bleuroi;
  1842. }
  1843. }
  1844. &.vs__deselect{
  1845. line-height: 0;
  1846. }
  1847. }
  1848. }
  1849. // border-radius: 2px;
  1850. // border: none;
  1851. }
  1852. ul[role="listbox"]{
  1853. @include fontsans;
  1854. padding:0;
  1855. margin:0;
  1856. border:none;
  1857. position: relative;
  1858. li{
  1859. box-sizing: content-box;
  1860. padding:0.3em;
  1861. margin:0;
  1862. font-size: 0.756em;
  1863. line-height: 1;
  1864. white-space: normal;
  1865. position: relative;
  1866. *{
  1867. max-width: 100%;
  1868. }
  1869. h3{
  1870. @include title1black;
  1871. color: $bleuroi;
  1872. padding: 0.5em 0 0 0.3em;
  1873. span.hi{
  1874. font-variant-position: super;
  1875. }
  1876. }
  1877. }
  1878. }
  1879. // ___
  1880. // |_ _|__ ___ _ _ __
  1881. // | |/ _/ _ \ ' \(_-<
  1882. // |___\__\___/_||_/__/
  1883. span.mdi-close{
  1884. cursor: pointer;
  1885. }
  1886. @keyframes spin {
  1887. from {
  1888. transform:rotate(0deg);
  1889. }
  1890. to {
  1891. transform:rotate(360deg);
  1892. }
  1893. }
  1894. span.mdi-loading{
  1895. animation-name: spin;
  1896. animation-duration: 2000ms;
  1897. animation-iteration-count: infinite;
  1898. animation-timing-function: linear;
  1899. }
  1900. // _ _ _
  1901. // | | ___ __ _ __| (_)_ _ __ _
  1902. // | |__/ _ \/ _` / _` | | ' \/ _` |
  1903. // |____\___/\__,_\__,_|_|_||_\__, |
  1904. // |___/
  1905. span.loading{
  1906. @include fontsans;
  1907. font-size: 0.756em;
  1908. color: $grisfonce;
  1909. animation: pulseloading 4s infinite;
  1910. }
  1911. @keyframes pulseloading{
  1912. 0% {
  1913. opacity: 1;
  1914. }
  1915. 50%{
  1916. opacity: 0;
  1917. }
  1918. 100% {
  1919. opacity: 1;
  1920. }
  1921. }