app.scss 42 KB

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