12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616 |
- @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;
- }
- }
- 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: 0 0 2em 0;
- max-height: $base-line * 3;
- opacity: 1;
- transition: all 0.3s ease-in-out;
- &.hidden {
- // display: none;
- max-height: 0.01px;
- opacity: 0;
- }
- }
- }
- }
- ul.item-list{
- li{
- // margin: 0 0 2em 0;
- 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;
- }
- 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: 0.3em 0 0;
- }
- }
- 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{
- @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{
- width: 1.1em; height: 1.1em;
- }
- }
- }
- }
- }
- #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;
- }
- }
- }
- // ? 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{
-
- 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 title1black;
- }
- 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.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{
- $pager_h:2em;
- display: flex;
- flex-direction: column;
- span.nav-title{ display:none; }
- section#toc{
- box-sizing: content-box;
- padding:0 0 1em 1.5em;
- height:calc(100% - #{$pager_h});
- 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;
- }
- }
-
- }
- }
- .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;}
- // >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:1em 0 0 1.5em;
- select{
- option{
- padding:0;
- }
- }
- }
- div#page-nav{
- height:$pager_h;
- overflow: hidden;
- box-sizing: content-box;
- padding:1em 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{
- .router-link-active{
- font-weight: 600;
- }
- ul.item-list{
- margin:0;
- padding:0;
- li{
- padding:0;
- margin:0 0 $base-line 0;
- h2{
- margin:0;
- @include title1black;
- }
- 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;
- }
- }
- }
- }
- }
- }
- 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{
- .search-keys{
- font-size: 0.756em;
- font-weight: 500;
- }
- .results-count{
- 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;
- }
- .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);
- // &>*: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%;
- }
- }
- }
- // ___
- // |_ _|__ ___ _ _ ___
- // | |/ _/ _ \ ' \(_-<
- // |___\__\___/_||_/__/
- 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;
- }
- }
|