123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839 |
- @import './base/reset';
- @import './base/variables';
- @import './base/colors';
- @import './base/grid-flex';
- @import './base/transitions';
- @import './base/layout';
- @import './base/fonts';
- // your-app.scss
- // @import '~@sweetalert2/themes/dark/dark.scss';
- /* The emerging W3C standard
- that is currently Firefox-only */
- * {
- scrollbar-width: thin;
- scrollbar-color: $grisclair rgba(255,255,255,0);
- }
- /* Works on Chrome/Edge/Safari */
- *::-webkit-scrollbar {
- width: 12px;
- }
- *::-webkit-scrollbar-track {
- background: rgba(255,255,255,0);
- }
- *::-webkit-scrollbar-thumb {
- background-color: $grisclair;
- border-radius: 20px;
- border: none;
- }
- body{
- color: #1a1a1a;
- // background-image: url('/static/img/grille-ligne-de-base.png');
- // background-repeat: repeat;
- }
- #root{
- }
- .red{
- background-color: red;
- color:white;
- }
- header[role="banner"]{
- div.wrapper{
- display: grid;
- grid-template-columns: 1fr 1fr;
- }
- h1.site-title{
- grid-column: 1;
- margin:0;
- font-size: 1em;
- }
- nav#header-menu{
- grid-column: 2;
- text-align: right;
- >ul>li{
- display: inline-block;
- margin-right: 1em;
- position: relative;
- >ul{
- position: absolute;
- top:1em; right:-1em;
- overflow: hidden;
- padding-bottom: 0.5em;
- background-color: white;
- >li{
- padding:0 1em;
- // margin-right: -1em;
- transition: height 0.3s ease-in-out;
- height:0;
- overflow: hidden;
- }
- }
- //
- // &:focus-within
- // &:hover,
- &.opened{
- >ul>li{
- height:1em;
- }
- }
- &.has-submenu{
- cursor: pointer;
- }
- }
- li>span,li>a{
- font-size: 0.9em;
- color: $bleuroi;
- text-transform: uppercase;
- }
- }
- }
- section[role="main-content"]{
- #home{
- header{
- text-align: center;
- h1{
- color: $bleuroi;
- font-size: 8em;
- font-weight: 300;
- margin:15vh 0 0;
- }
- h2{
- color: $or;
- font-size: 2em;
- font-weight: 300;
- margin:1em 0 0;
- text-transform: uppercase;
- letter-spacing: 0.2em;
- sup{
- // line-height: 5em;
- vertical-align:text-top;
- font-size: 0.7em
- }
- }
- }
- // $filet_space:8em;
- // $decallage: 0.5em;
- section{
- padding-top: 8em;
- }
- @mixin teasersfilet($filet_space, $decallage){
- z-index: 1;
- &:before, &:after{
- z-index: 0;
- content: "";
- position: absolute;
- opacity: 0.4;
- pointer-events: none;
- }
- &:before{
- border:1px solid $or;
- width:calc(100% + #{$filet_space*2 + $decallage*2});
- left:- $filet_space - $default_gap/2 -$decallage;
- height:calc(100% + #{$filet_space});
- top:- $filet_space / 2;
- }
- &:after{
- border:1px solid $rouge;
- width:calc(100% + #{$filet_space*2});
- left:- $filet_space - $default_gap/2;
- height:calc(100% + #{$filet_space + $decallage*2});
- top:- $filet_space / 2 - $decallage;
- }
- }
- div.teasers>.wrapper{
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- position: relative;
- padding-right: 0;
- article{
- box-sizing: border-box;
- flex-basis: percentage(2 / ( $default_sum - 6) );
- padding-right: $default_gap;
- @include fontsans;
- h1{
- color: $bleuroi;
- }
- p{
- font-size: 0.882em;
- line-height: 1.2;
- }
- a.readmore span{
- color:$rouge;
- font-size:0.693em;
- }
- }
- // filets decoratif
- @include teasersfilet(8em, 0.5em);
- }
- // responsive
- @media only screen and (max-width: $small-bp), (orientation: portrait) {
- header{
- h1{
- font-size: 5em;
- margin:7vh 0 0;
- }
- h2{
- font-size: 1em;
- }
- }
- section{
- padding-top: 4em;
- }
- div.teasers{
- flex-direction: column;
- // filets decoratif
- @include teasersfilet(4em, 0.5em);
- }
- }
- }
- #list-corpus, .index{
- >header{
- &>h1{
- @include titleSansRed;
- margin: 0;
- }
- }
- &#list-corpus{
- >section>.wrapper>ul{
- >li{
- margin-bottom: $base-line*2;
- >header{
- margin-bottom: 0;
- h2,h3,h4{
- display: inline-block;
- margin: 0;
- margin-bottom: $base-line/2;
- }
- }
- section.notice{
- p{
- margin-top:0;
- font-size: 1.134em;
- line-height: $base-line * 0.7;
- // margin-bottom: $base-line * 0.7;
- }
- margin-bottom: $base-line/2;
- }
- section.editions{
- h4{
- font-size: 1em;
- line-height: $base-line * 0.8;
- // margin-bottom: $base-line / 2;
- }
- }
- section.texts {
- >h4{
- font-size: 1em;
- line-height: $base-line * 0.5;
- margin-bottom: $base-line / 2;
- }
- ul.texts-list{
- padding-left: 1em;
- >li{
- list-style: circle;
- h3{
- @include title1blue;
- font-size: 1.512em;
- line-height: $base-line * 0.5;
- margin-bottom: $base-line * 0.5;
- }
- p{
- font-size: 1em;
- @include fontserif;
- font-weight: 300;
- margin-top:0;
- font-size: 1em;
- line-height: $base-line * 0.5;
- margin-bottom: $base-line / 2;
- }
- margin-bottom: $base-line;
- }
- }
- }
- }
- }
- }
- article.item{
- // margin: 2em 0 0;
- header{
- margin:0;
- h1{
- margin:0;
- span.title{
- @include title1black;
- color: $bleuroi;
- }
- span.quantity{
- @include title4black;
- }
- }
- }
- }
- &:not(#list-corpus){
- ul.item-list{
- li{
- margin-bottom: $base-line;
- max-height: $base-line * 3;
- opacity: 1;
- transition: all 0.3s ease-in-out;
- &.hidden {
- // display: none;
- max-height: 0.001px;
- opacity: 0;
- margin-bottom: 0.001px;
- }
- }
- }
- }
- ul.item-list{
- li{
- // margin: 0 0 2em 0;
- margin-bottom: $base-line;
- header{
- h2{
- @include title1blue;
- // margin:0.4em 0 0.2em;
- margin-bottom: $base-line / 2;
- }
- h3{
- margin:0;
- @include fontsans;
- font-size: 0.756em;
- font-weight: 500;
- line-height: $base-line / 2;
- }
- section.notice{
- @include fontsans;
- font-size: 0.756em;
- font-weight: 300;
- line-height: $base-line / 2;
- }
- margin-bottom: $base-line / 2;
- }
- h4{
- margin:0;
- font-weight: 300;
- @include fontsans;
- font-size: 0.756em;
- line-height: $base-line / 2;
- &.texts-quantity{
- color: $rouge;
- margin-bottom: $base-line / 4;
- }
- }
- section.editions{
- div.editions{
- ol{
- padding:0;
- li{
- margin:0.7em 1em;
- }
- }
- }
- }
- section.texts{
-
- ul.texts-list{
- // padding: 0 0 0 1em;
- li{
- margin-bottom: $base-line / 2;
- }
- h3{
- @include title2black;
- // margin: 0.7em 0 0.3em;
- line-height: $base-line / 2;
- }
- p{
- font-weight: 300;
- @include fontsans;
- font-size: 0.756em;
- margin: 0;
- line-height: $base-line / 2;
- }
- }
- }
- ul {
- li{
- // margin:0 0 0 1em;
- h3{
- margin: 0.5em 0;
- font-weight: 400;
- font-size: 1em;
- }
- }
- }
- }
- }
- .abc{
- ul{
- li{
- opacity: 1;
- transition: opacity 0.3s ease-in-out;
- padding: 3px;
- &.inactive{
- opacity: 0.4;
- }
- span.tout, span.letter{
- @include fontcaption;
- font-variant: small-caps;
- font-size: 1em;
- cursor: pointer;
- // line-height: $base-line / 2;
- border: 1px solid $grisclair;
- border-radius: 3px;
- padding: 0.3em;
- display: inline-block;
- text-align: center;
- }
- &:not(:first-of-type) span.letter{
- width: 1.1em; height: 1.1em;
- }
- span.quantity{
- font-size: 0.765em;
- }
- }
- }
- }
- }
- #corpus{
- }
- .index{
- }
- .index-item{
- header{
- h1{
- @include title1black;
- margin:0 0 0.3em;
- }
- section{
- margin-bottom: 1em;
-
- h3{
- @include title2black;
- margin:0;
- font-weight: 600;
- }
- }
- p{
- margin: 0 0 0.5em 0;
- }
- .authors{
- a{
- @include title2black;
- color: $bleuroi;
- }
- margin:0 0 0.3em;
- }
- .mdi{
- color: $bleuroilight;
- font-size: 0.7em;
- }
- .attested-forms{
- ul{
- // >li{
- // margin: 0 0 1em 0;
- // li{
- // margin: 0 0 0.5em 0;
- // }
- // }
- }
- a{
- @include title4grey;
- color: $grisfonce;
- font-weight: 400;
- }
- }
- }
- .tabs{
- border-bottom: 1px solid $bleuroilight;
- margin-bottom: $base-line / 2;
- .tab{
- cursor: pointer;
- border-radius: 5px 5px 0 0;
- z-index: 10;
- display: inline-block;
- margin-bottom: -2px;
- padding: 0.3em 0.5em;
- border: 1px solid $bleuroilight;
- &.active{
- border-bottom: 2px solid white;
- }
- }
- }
- .occurences{
- >ul{
- >li{
- padding:0 0 $base-line / 2 0;
- h3{
- @include title1black;
- padding:0 0 $base-line / 2 0;
- color: $bleuroi;
- }
- >ul{
- >li{
- // padding:0 0 0.5em 0;
- section{
- h4{
- // @include title3black;
- @include title4grey;
- color: $grisfonce;
- font-weight: 400;
- display: inline-block;
- a{
-
- span.form{
- font-style: italic;
- margin-top: 0;
- font-size: 1.134em;
- line-height: $base-line * 0.7;
- // margin-bottom: $base-line;
- }
- }
- }
- // ? c'est quoi ça ?
- // span.open-close{
- // cursor: pointer;
- // display: inline-block;
- // svg{
- // transform: rotate(-90deg) scale(0.8);
- // transition: transform 0.3s ease-in-out;
- // path{
- // fill:$bleuroi;
- // }
- // }
- // }
- // div.text{
- // max-height: 0;
- // transition: max-height 0.3s ease-in-out;
- // overflow: hidden;
- // box-sizing: content-box;
- // p, h1, h2, h3, h4, h5, h6{
- // margin: 0.5em 0 0 0;
- // }
- // }
- // a.lire-plus{
- // color: $bleuroi;
- // opacity: 0;
- // display: inline-block;
- // height: 0;
- // overflow: hidden;
- // transition: height, opacity 0.3s ease-in-out;
- // }
- // &.opened{
- // span.open-close{
- // cursor: pointer;
- // display: inline-block;
- // svg{
- // transform: scale(0.8) rotate(0);
- // }
- // }
- // div.text{
- // max-height:100px;
- // }
- // a.lire-plus{
- // opacity: 1;
- // height:1em;
- // }
- // }
- }
- }
- }
- }
- }
- }
- .attested-forms-occurences{
- >ul{
- >li{
- margin: 0 0 1em 0;
- h3{
- @include title1black;
- padding:0 0 0 0;
- }
- li{
- // margin: 0 0 0.5em 0;
- h4{
- // @include title3black;
- @include title4grey;
- color: $grisfonce;
- font-weight: 400;
- display: inline-block;
- a{
-
- font-style: italic;
- margin-top: 0;
- font-size: 1.134em;
- line-height: $base-line * 0.7;
- span.edition{
- font-style: italic;
- }
- }
- }
- }
- }
- }
- }
- nav{
- h3{
- @include title2black;
- margin:0 0 0.5em;
- }
- h4{
- @include title3black;
- margin:0 0 0.5em;
- color: $bleuroi;
- }
- }
- }
- #edition{
- >header{
- position: relative;
- h1{
- @include title1blue;
- }
- aside.notice{
- // margin-top: 0;
- // font-size: 1em;
- // line-height: $base-line *0.5;
- // margin-bottom: $base-line / 2;
- }
- aside.index-tooltip{
- z-index:10;
- margin-top: -1.75em;
- position:absolute;
- text-align: right;
- right: 2em;
- h1 {
- @include title2black;
- margin:0 0 0.5em 0;
- }
- p{
- margin:0 0 0.5em 0;
- }
- time{
- font-weight: 600;
- }
- @media only screen and (max-width: $small-bp), (orientation: portrait) {
- background-color: #fff;
- padding: 1em;
- box-shadow: 0 0 10px $gris;
- *{
- pointer-events: none;
- }
- }
- }
- }
- $pagenum_w:1em;
- >section{
- padding-right: 0;
- >.wrapper{
- padding-right: $pagenum_w*3;
- // outline: orange solid thin;
- }
- div#text{
- // .infinite-loading-container{
- // height:0;
- // overflow: hidden;
- // }
- .text-wrapper{
- // padding-left: 1em;
- position: relative;
- }
- .textrefcopylink{
- display: block;
- position: absolute;
- z-index: 99;
- span.mdi-open-in-new {
- position: relative;
- z-index: 10;
- margin-left: 1px;
- }
- .popup{
- position: absolute;
- top:0;
- left: 1px;
- // width: 15em;
- background-color: #fff;
- border-radius: 3px;
- padding: 1em 1em 1em 1.5em;
- box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
- display: none;
- opacity: 0.1;
- // outline: 1px solid blue;
- transition: opacity 2s ease-in-out;
- button.copy-btn{
- display: block;
- padding: 0.5em 0.2em;
- @include fontcaption;
- white-space: nowrap;
- border: none;
- background: none;
- cursor: pointer;
- }
- }
- &:hover .popup{
- display: block;
- opacity: 1;
- transition: opacity 2s ease-in-out;
- }
- }
-
- div.tei{
- position: relative;
- width: calc(100% - #{$pagenum_w});
- // DEBUG
- color:chartreuse;
- &>*{ color: #1A1A1A;}
- // @media only screen and (min-width: $small-bp + 1) {
- padding-right: $pagenum_w;
- border-left: 1px dotted $grisclair;
- padding-left: 1em;
- margin-left:1.2em;
- overflow: visible;
- &.active{
- border-left: 1px dotted $bleuroi;
- }
- // }
- // front page
- header{
- padding-top: $base-line;
- h1{
- @include teititlefrontblue;
- .initial{
- display: inline-block;
- text-transform: uppercase;
- font-size: 1.3em;
- line-height: $base-line*2;
- margin: $base-line/2 0;
- }
- margin-bottom: $base-line;
- }
- }
- span.metamark.tailpiece,
- span.metamark.simpleLine{
- display: block;
- border-top: 1px solid $gris;
- margin: $base-line / 2 auto;
- }
- .byline{
- text-align: center;
- font-style: italic;
- padding-bottom: 1em;
- }
- .docImprint{
- text-align: center;
- // padding-bottom: 1em;
- .pubPlace{
- display: block;
- }
- .publisher{
- display: block;
- }
- .docDate{
- display: block;
- margin-top: $base-line / 2;
- }
- }
- .imprimatur{
- text-align: center;
- font-style: italic;
- padding-bottom: $base-line;
- }
- >h1{
- @include teititle1blue;
- }
- h1{ font-size: 1.512em;
- line-height: $base-line; }
- p{
- margin-top: 0;
- font-size: 1.134em;
- line-height: $base-line;
- margin-bottom: $base-line / 2;
- span.no-wrap{
- white-space: nowrap;
- }
- span.persName,
- span.placeName,
- span.objectName{
- font-weight: 500;
- }
-
- a{
- font-weight: 500;
- &.active-link{
- // color: $rouge;
- // text-decoration: underline;
- // line-height: $base-line/2;
- }
- // sup.mdi{
- // font-size: 0.630em;
- // vertical-align: super;
- // // line-height: 0.1;
- // padding: 0 0.2em;
- // }
- }
- }
- blockquote{
- padding: 0 1em;
- }
- ul, ol{
- padding: 0 0 0 2em;
- li{
- list-style: disc;
- }
- }
- span.mdi.index-item-icon{
- font-size: 14px;
- vertical-align: super;
- }
- // span[role="pageBreak"]{
- // display: block;
- // height:1.5em;
- // }
- span.simpleLine + span[role="pageBreak"]{
- height:0em;
- margin-top: -1em;
- }
- span.metamark.typographicalPiece + span[role="pageBreak"]{
- height:0em;
- }
- span.metamark.typographicalPiece{
- display: block;
- height: 1.5em;
- }
- span.metamark.typographicalPiece + span.metamark.typographicalPiece{
- display: none;
- }
- span[role="pageNum"]{
- font-size: 16px;
- position: relative;
- float:right;
- width: $pagenum_w; height:$base-line/4;
- border-bottom: 1px solid $bleuroilight;
- border-right: 1px solid $bleuroilight;
- // outline: solid red thin;
- // margin-left:calc(100% - #{$pagenum_w * 2});
- // margin-left: 100%;
- margin-right: - $pagenum_w * 1.5;
- &:before{
- // outline: solid green thin;
- content:attr(data-num);
- font-size: 0.630em;
- line-height: $base-line/3;
- position: absolute;
- right: 0;
- top:$base-line/2;
- color: $bleuroi;
- // top:0;
- // width: $pagenum_w*2; height: $pagenum_w;
- // border-top: 1px solid $bleuroilight;
- // border-right: 1px solid $bleuroilight;
- // text-indent: $pagenum_w * 2.5;
- }
- }
- a.text-item-link{
- // float: left;
- position: absolute;
- top:0; left:0;
- // display: block;
- // width:1em; height:1em;
- font-size: 0.630em;
- .mdi{
- color: $bleuroi;
- pointer-events: none;
- }
- }
-
- figure{
- // outline: 1px solid red;
- background-color: $grisclair;
- margin:1em 0;
- img{
- width: 100%;
- }
- figcaption{
- @include fontcaption;
- padding: 0.5em;
- }
- }
- ul{
- line-height: $base-line;
- margin-bottom: $base-line/2;
- }
- blockquote{
- margin: $base-line/2 1em;
- line-height: $base-line;
- p{
- margin: 0;
- }
- }
- }
- }
- }
- >nav{
- $filter_m: 0.3em;
- $pager_h:18px;
- display: flex;
- flex-direction: column;
- span.nav-title{ display:none; }
- section#toc{
- $m:0.5em;
- box-sizing: content-box;
- padding:0 0 1em 1.5em;
- margin-bottom: $m;
- height:calc(100% - #{$pager_h} - #{$m} - #{$filter_m});
- overflow-x: hidden;
- overflow-y: auto;
- line-height: $base-line / 2;
- // section.tocitem{
- // position: relative;
- // &:after{
- // display: block;
- // position:absolute;
- // top:0; right:0;
- // color: red;
- // content: attr(type);
- // font-size: 11px;
- // border: 1px solid red;
- // border-radius: 3px;
- // padding: 0px 2px;
- // }
- // }
- >ul{
- >li{
- section.tocitem{
- ul{
- overflow: hidden;
- max-height: 10000px;
- transition: max-height 0.5s ease-in-out;
- &:not(.opened):not(.init_opened){
- max-height:0;
- transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
- }
- &:not([level="1"]){
- border-left: 0.5px solid $grisclair;
- margin-bottom: 0em;
- li{
- padding:0 0 0 1em;
- }
- }
- }
- &.notitle>ul>li{
- padding:0;
- }
- }
-
- }
- }
- section.tocitem{
- &[level="1"]:not([type="front"]),
- &[level="2"]{
- padding-top: 0.4em;
- }
- }
- .toc-title{
- @include title4grey;
- color: $grismoyen;
- &.active,
- &:hover{
- color:$grisfonce;
- font-weight: 600;
- }
- &.loaded{
- color:$grisfonce;
- }
- &.notitle{
- color: red;
- }
- &.disabled{
- color: $grisclair;
- pointer-events: none;
- }
- }
- h2.toc-title{
- font-size: 1.1em;
- color: $bleuroilight;
- &:hover, &.loaded{
- color: $bleuroi;
- }
- }
- h3.toc-title{font-size: 1em;}
- h4.toc-title{font-size: 0.9em;}
- h5.toc-title{font-size: 0.8em;}
- h6.toc-title{font-size: 0.7em;}
- // span.toc-title{font-size: 0.882em;}
- // >ul{
- // ul{
- // li{
- // ul{
- // overflow: hidden;
- // max-height: 10000px;
- // transition: max-height 0.5s ease-in-out;
- // // transform: scaleY(1);
- // // transform-origin: top;
- // // transition: transform 0.3s ease-in-out;
- // &:not(.opened){
- // // height:0;
- // max-height:0;
- // transition: max-height 0.5s cubic-bezier(0, 1.05, 0, 1);
- // // transform: scaleY(0);
- // }
- // // &.opened{
- // // border: 1px solid red;
- // // }
- // // padding-left: 1em;
- // border-left: 0.5px solid $grisclair;
- // // min-height: 1em;
- // margin-bottom: 0em;
- // li{
- // // min-height: 1em;
- // // border-left: 1px solid red;
- // padding:0 0 0 1em;
- // }
- // }
- // }
- // }
- // .toc-title{
- // @include title4grey;
- // &.active,
- // &:hover{
- // color:$grisfonce;
- // font-weight: 600;
- // }
- // &.loaded{
- // color:$grisfonce;
- // }
- // &.notitle{
- // color: red;
- // }
- // }
- // h2.toc-title{font-size: 1.1em;}
- // h3.toc-title{font-size: 1em;}
- // h4.toc-title{font-size: 0.9em;}
- // h5.toc-title{font-size: 0.8em;}
- // h6.toc-title{font-size: 0.7em;}
- // // span.toc-title{font-size: 0.882em;}
- // }
- }
- div#indexes-filters{
- // height:$pager_h;
- overflow: hidden;
- box-sizing: content-box;
- padding:0 0 0 1.5em;
- margin: 0 0 $filter_m 0;
- select{
- option{
- padding:0;
- }
- }
- }
- div#page-nav{
- height:$pager_h;
- overflow: hidden;
- box-sizing: content-box;
- padding:0 0 0 1.5em;
- select{
- option{
- padding:0;
- }
- }
- }
- }
- // responsive
- @media only screen and (max-width: $small-bp), (orientation: portrait) {
- position: relative;
- >nav{
- $top: 45px;
- z-index: 2;
- position: absolute;
- top:$top;
- right:0;
- background-color: #fff;
- width:percentage(10/$default_sum);
- box-sizing: border-box;
- padding-top: 1em;
- padding-bottom: 1em;
- height:calc(100% - #{$top});
- transform: translateX(100%);
- transition: transform 0.3s ease-in-out;
- span.nav-title{
- display: block;
- position: absolute;
- top:4.5em; left:-1.8em;
- transform: rotateZ(-90deg);
- transform-origin: center;
- @include fontsans;
- font-size: 0.600em;
- cursor: pointer;
- color: $bleuroi;
- svg{
- vertical-align: bottom;
- transform-origin: center;
- transform: scale(0.8) rotate(180deg);
- transition: transform 0.3s ease-in-out;
- path{
- fill: $bleuroi;
- }
- }
- }
- &.opened{
- box-shadow: -3px -3px 5px $grisclair;
- transform: translateX(0);
- span.nav-title{
- svg{
- transform: scale(0.7) rotate(0);
- }
- }
- }
- }
- }
- }
- #biblio{
- >header{
- &>h1{
- @include titleSansRed;
- margin: 0;
- }
-
- li{
- margin: 0.5em 0 0;
- a{
- @include title2black;
- &.router-link-active{
- font-weight: 600;
- }
- }
- }
- }
- .biblio-item{
- h2{
- color: $bleuroi;
- }
- }
- ul.item-list{
- margin:0;
- padding:0;
- li{
- padding:0;
- margin:0 0 $base-line 0;
- h2{
- margin:0;
- @include title1black;
- color: $bleuroi;
- }
- p{
- margin:0;
- }
- span.date{
- @include title2black;
- font-weight: 600;
- }
-
- aside{
- overflow: hidden;
- h5{
- @include title2black;
- margin: $base-line / 2 0;
- cursor: pointer;
- // padding-left: 1em;
- // position: relative;
- &:before{
- cursor: pointer;
- content:"\2304";
- position: relative;
- display: inline-block;
- top: -4px;
- // transform-origin: center;
- // transform: rotateZ(-90deg);
- }
- }
- ul{
- max-height: 1px;
- transition: all 0.3s ease-in-out;
- padding-left: 1em;
- li{
- margin-bottom: $base-line / 2;
- }
- }
-
- &.opened{
- h5{
- &:before{
- top: 4px;
- content:"\2303";
- // transform: rotateZ(90deg);
- }
- }
- ul{
- max-height: 100em;
- }
- }
- }
- }
- &.manifestations{
- li{
- max-height: 0.2px;
- margin-bottom:0;
- overflow: hidden;
- transition: all 1s ease-in-out;
- &.active{
- max-height: 10em;
- }
- .wrapper{
- margin-bottom: $base-line;
- }
- }
- }
- }
- ul.authors-filters{
- li{
- @include title4black;
- line-height: $base-line / 2;
- span{
- cursor: pointer;
- color: $gris;
- &.active{
- color: $grisfonce;
- }
- }
- }
- }
- >nav{
- aside.expression-links{
- position: absolute;
- bottom: 0;
- }
- }
- }
- #static{
- @include fontsans;
- >header{
- h1{
- @include titleSansRed;
- margin-bottom: $base-line * 0.4;
- }
- nav.toc{
- li{
- a{
- font-size: 1em;
- line-height: $base-line * 0.7;
- font-weight: 300;
- }
- }
- }
- }
- >section{
- h1{
- font-weight: 400;
- color: $bleuroi;
- }
- p{
- margin-top:0;
- font-size: 1em;
- line-height: $base-line * 0.7;
- font-weight: 300;
- }
- dl{
- font-size: 1em;
- line-height: $base-line * 0.7;
- font-weight: 300;
- span.label{
- font-weight: 400;
- }
- dd{
- margin: 0;
- }
- margin-bottom: $base-line;
- }
- a{
- font-size: 1em;
- line-height: $base-line * 0.7;
- font-weight: 300;
- border-bottom: 1px dotted #1a1a1a;
- margin-bottom: $base-line * 0.5;
- display: inline-block;
- }
- figure{
- margin: 2em 0;
- img{
- max-width: 100%;
- }
- figcaption{
- @include fontcaption;
- padding: 1em 0;
- }
- }
- }
- }
- }
- footer[role="tools"]{
- $list-item-h: 7em;
- @mixin resultItem{
- box-sizing: border-box;
- // we are only on 10 colls as 2 are occupied by sides
- flex-basis: percentage(2/($default_sum - 2));
- max-height: $list-item-h;
- overflow: hidden;
- padding-bottom: 1em;
- padding-right: $default_gap;
- article{
- max-height: 100%;
- overflow: hidden;
- }
- article.item{
- h1{
- @include title3black;
- font-size: 0.9em;
- font-weight: 600;
- max-width: 95%;
- word-break:normal;
- }
- h2{
- @include title3black;
- text-transform: none;
- }
- span{
- font-size: 0.882em;
- }
- // .preview{
- // font-size: 0.882em;
- // margin:0;
- // code{
- // @include fontserif;
- // background-color: lighten(desaturate($rouge,20%), 20%);
- // padding:0 0.2em;
- // }
- // }
- }
- }
- #history{
- z-index: 8;
- background-color: $or;
- padding:1.2em $side-padding;
- max-height: $list-item-h;
- @include accordeon-transition($list-item-h);
- >header{
- }
- .history-list{
- overflow-x: hidden;
- .wrapper{
- height:100%;
- // hidding the scrollbar
- overflow-y: auto;
- // width:calc(100% + 1em);
- padding-right: 1em;
- >ul{
- padding:0;
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- }
- }
- li.item{
- @include resultItem;
- }
- }
- }
- #results{
- z-index: 9;
- background-color: $gris;
- padding:1.2em $side-padding;
- @media only screen and (max-width: $small-bp), (orientation: portrait) {
- padding:1.2em $side-padding/2;
- }
- max-height: $list-item-h * 3;
- @include accordeon-transition($list-item-h * 3);
- >header{
- >*{
- // padding:0 0 5px;
- // line-height: $base-line / 2;
- &.v-select{
- padding-top:5px;
- }
- }
- div.results-details{
- line-height: $base-line * 0.5;
- .search-keys{
- font-size: 0.756em;
- font-weight: 500;
- }
- .results-count{
- white-space:nowrap;
- font-size: 0.756em;
- }
- }
- }
- .results-list{
- overflow-x: hidden;
- .wrapper{
- position:relative;
- height:100%;
- // hidding the scrollbar
- overflow-y: auto;
- // width:calc(100% + 1em);
- padding-right: 1em;
- >ul{
- padding:0;
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- }
- }
- li.result{
- @include resultItem;
- }
- .infinite-loading-container{
- // TODO: how to center the loading
- }
- }
- >header, section.results-list{
- transition: opacity 0.2s ease-in-out;
- }
- &.loading {
- >header, section.results-list{
- transition: opacity 0.5s ease-in-out;
- opacity:0.5;
- pointer-events: none;
- }
- }
- // responsive
- @media only screen and (max-width: $small-bp), (orientation: portrait) {
- position: relative;
- >header{
- padding:0 0 1em 0;
- >*{
- display: inline-block;
- margin-right: 1em;
- }
- #sorting{
- width:10em;
- }
- }
- >section.results-list{
- max-height: 15em;
- li.result{
- flex-basis: 33%;
- }
- }
- >nav{
- position: absolute;
- top:1.2em; right:1.2em;
- }
- }
- }
- #footer-bottom{
- z-index: 10;
- padding:0 $side-padding;
- @media only screen and (max-width: $small-bp), (orientation: portrait) {
- padding:0 $side-padding/2;
- }
- background-color: $bleuroi;
- &>*{
- // disable grid gap
- padding-right: 0;
- flex-grow: 0;
- flex-shrink: 0;
- }
- #footer-tabs{
- ul{
- padding:0; margin:0;
- display: flex;
- flex-direction: column;
- li{
- flex: 1 1 auto;
- .wrapper{
- box-sizing: border-box;
- line-height: 0.6em;
- height:2em;
- width: calc(100% + $side-padding);
- margin-left:-$side-padding;
- padding:0.3em 0.5em 0.3em $side-padding;
- }
- &.history .wrapper{
- background-color: $or;
- }
- &.results .wrapper{
- background-color: $gris;
- }
- span{
- font-size: 0.693em;
- font-weight: 400;
- text-transform: uppercase;
- cursor: pointer;
- @include fade-transition;
- }
- }
- }
- }
- #search{
- color: #fff;
- background-color: $bleuroi;
- form{
- padding: 0;
- // display: flex;
- // flex-direction: row;
- // flex-wrap: wrap;
- fieldset{
- padding:0.7em 1em;
- border: none;
- box-sizing:border-box;
- // width correction as row is not the same width as others in the page
- // flex-basis: percentage(2/($default_sum - 1));
- // flex-basis: 17.667%;
- // flex-basis: percentage(2 / 11);
- &:not(:first-of-type){
- border-left: 1px solid $grisclair;
- }
- }
- fieldset.search{
- display: inline-flex;
- align-items: center;
- >div{
- width:80%;
- vertical-align: middle;
- }
- label[for="keys"]{
- display: none;
- }
- input[type="text"]{
- padding:0em 0.3em;
- margin:0 0 0.3em 0;
- box-sizing: border-box;
- font-size: 0.756em;
- line-height: 1;
- width:100%;
- height:1.4em;
- border:none;
- border-radius: 2px;
- }
- span.mdi{
- display: inline-block;
- margin:0 0 0 0.5em;
- font-size: 1.2em;
- line-height:1.1;
- vertical-align:middle;
- width:1.2em; height:1.2em;
- border-radius: 0.6em;
- background-color: #fff;
- color: $bleuroi;
- text-align: center;
- font-weight: 700;
- cursor: pointer;
- }
- }
- }
- fieldset.filters{
- .vs__actions{
- // background-color: $grisclair;
- align-items:baseline;
- padding-top:0.2em;
- }
- }
- form{
- transition: opacity 0.2s ease-in-out;
- }
- &.loading{
- form{
- opacity:0.5;
- transition: opacity 0.5s ease-in-out;
- pointer-events: none;
- }
- }
- // responsive
- @media only screen and (max-width: $small-bp), (orientation: portrait) {
- form{
- fieldset{
- &.search{
- >div{
- display: inline-flex;
- flex-wrap: nowrap;
- width:84%;
- >*{
- flex-basis: 45%;
- margin: 0 0.5em 0 0;
- // box-sizing: content-box;
- // width:auto!important;
- &#keys[type="text"]{
- margin-right:1.5em;
- }
- }
- }
- span.mdi{
- width:1em; height:1em;
- margin-top: -0.1em;
- margin-left: 0;
- }
- }
- &.filters{
- border-left: none;
- flex-basis: 32%;
- padding: 0.2em 0 1em 1em;
- }
- }
- }
- }
- }
- ;
- #logos{
- // max-height: 100%;
- position: relative;
- flex-shrink: 1;
- // display: flex;
- // flex-direction: row;
- // justify-content: flex-end;
- .wrapper{
- position: relative;
- box-sizing: content-box;
- // max-height: 50px;
- padding:1em;
- text-align: right;
- height: 30px;
- img{
- // display: inline-block;
- height: 100%;
- padding-left: 1em;
- }
- }
- }
- }
- h2{
- margin:0;
- font-size: 0.756em;
- font-weight: 400;
- text-transform: uppercase;
- padding:0;
- }
- }
- // vue-select
- .v-select{
- padding:0;
- div[role="combobox"]{
- background-color: #fff;
- padding:0;
- border-radius: 2px;
- border: none;
- }
- input[type="search"]{
- margin:0;
- padding:0;
- -webkit-appearance:textfield;
- -webkit-box-sizing:content-box;
- }
- input::-webkit-search-decoration,
- input::-webkit-search-cancel-button {
- display: none;
- }
- .vs__search{
- &, &:focus{
- font-size: 0.756em;
- line-height: 1;
- height:1.2em;
- border:none;
- box-sizing: border-box;
- }
- }
- .vs__dropdown-toggle{
- input::placeholder{background-color: #fff;}
- }
- .vs__selected-options{
- background-color: #fff;
- height:18px;
- >input{
- height:100%;
- }
- }
- .vs__actions{
- padding:1px 3px;
- button.vs__clear{
- line-height: 0.5;
- // height:0;
- }
- svg[role="presentation"]{
- transform: scale(0.8);
- path{
- fill: $bleuroi;
- }
- }
- }
- .vs__selected{
- margin:0;
- padding:0.2em 0;
- line-height:1;
- font-size: 0.756em;
- background-color: #fff;
- border:none;
- align-items: middle;
- box-sizing: content-box;
- display: inline-block;
- width: calc(100% - 12px);
- @include fontsans;
- // &>*:not(button){
- // display: inline-block;
- // width:70%;
- // }
- button{
- svg{
- transform: scale(0.8);
- path{
- fill: $bleuroi;
- }
- }
- &.vs__deselect{
- line-height: 0;
- }
- }
- }
- // border-radius: 2px;
- // border: none;
- }
- ul[role="listbox"]{
- @include fontsans;
- padding:0;
- margin:0;
- border:none;
- position: relative;
- li{
- box-sizing: content-box;
- padding:0.3em;
- margin:0;
- font-size: 0.756em;
- line-height: 1;
- white-space: normal;
- position: relative;
- *{
- max-width: 100%;
- }
- h3{
- @include title1black;
- color: $bleuroi;
- padding: 0.5em 0 0 0.3em;
- span.hi{
- font-variant-position: super;
- }
- }
- }
- }
- // ___
- // |_ _|__ ___ _ _ __
- // | |/ _/ _ \ ' \(_-<
- // |___\__\___/_||_/__/
- span.mdi-close{
- cursor: pointer;
- }
- @keyframes spin {
- from {
- transform:rotate(0deg);
- }
- to {
- transform:rotate(360deg);
- }
- }
- span.mdi-loading{
- animation-name: spin;
- animation-duration: 2000ms;
- animation-iteration-count: infinite;
- animation-timing-function: linear;
- }
- // _ _ _
- // | | ___ __ _ __| (_)_ _ __ _
- // | |__/ _ \/ _` / _` | | ' \/ _` |
- // |____\___/\__,_\__,_|_|_||_\__, |
- // |___/
- span.loading{
- @include fontsans;
- font-size: 0.756em;
- color: $grisfonce;
- animation: pulseloading 4s infinite;
- }
- @keyframes pulseloading{
- 0% {
- opacity: 1;
- }
- 50%{
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
|