12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804 |
- // @import '~slim-select/scss';
- $mdi-font-path: './mdi/fonts/';
- // @import './mdi/scss/materialdesignicons';
- @import './mdi/scss/variables';
- @import './mdi/scss/functions';
- @import './base/variables';
- @import './base/colors';
- @import './base/reset';
- @import './base/grid';
- @import './base/layout';
- @import './base/animations';
- @import './base/fonts';
- // @import './base/responsive';
- // .dialog-off-canvas-main-canvas{
- // background-color: red;
- // }
- @mixin iconMDI($name) {
- &::before {
- content: mdi($name);
- display: inline-block;
- font: normal normal normal #{$mdi-font-size-base}/1 '#{$mdi-font-name}'; // shortening font declaration
- font-size: inherit; // can't have font-size inherit on line above, so need to override
- text-rendering: auto; // optimizelegibility throws things off #1094
- line-height: inherit;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- }
- @mixin hover{
- @media (hover: hover) { /* solves sticky problem */
- &:hover {
- @content;
- }
- }
- &.tapped{
- @content;
- }
- }
- aside.messages{
- border:none;
- }
- // _ _ _
- // | || |___ __ _ __| |___ _ _
- // | __ / -_) _` / _` / -_) '_|
- // |_||_\___\__,_\__,_\___|_|
- header[role="banner"]{
- padding:0.2em 0 0 0;
- %header-fs{
- font-size: 0.9em;
- // line-height: 1;
- font-weight: 400;
- }
- // @include col-mediaquery-max(3){
- // overflow-x: hidden;
- // }
- #block-sitebranding{
- h1{
- margin:0;
- line-height: 1;
- }
- .slogan{
- font-size: 0.882em;
- display: block;
- white-space: nowrap;
- // @include col-mediaquery-max(2){
- // display:none;
- // }
- }
- @include col-mediaquery-max(3){
- h1, .slogan{
- display: inline-block;
- }
- }
- @include col-mediaquery-max(4, landscape){
- .slogan{
- display: none;
- }
- }
- }
- @include col-mediaquery-max(3){
- .header-block.header-right{
- .header-block-wrapper{
- &, #user-flags ul{
- // background-color: #222;
- // color: #fff;
- background-color: #fff;
- }
- }
- }
- }
- #block-socialmedialinks{
- padding-right: 0.5em;
- border-right: 1px solid $color-main-text;
- margin-right: 0.5em;
- li{
- padding:0;
- }
- // @include col-mediaquery-max(4){
- // display:none;
- // }
- }
- #block-userlogin{
- position: relative;
- // width:8em;
- padding:0 1em;
- overflow: visible;
- h2{
- @extend %header-fs;
- line-height: 1.38;
- margin: 0;
- }
- &>section{
- overflow: hidden;
- background-color: #fff;
- // margin:0 0 0 -1em;
- box-sizing:content-box;
- transition: all 0.4s ease-in-out;
- // outline: 1px solid blue;
- right:0;
- top:1.7em;
- box-sizing: content-box;
- z-index:100;
- }
- // appears on hover only on big screens
- @include col-mediaquery-min(3){
- &>section{
- max-height:0px;
- padding:0.01em 1em;
- transition-delay: 2s;
- position: absolute;
- width:11em;
- }
- @include hover{
- &>section{
- transition-delay: 0s;
- max-height:20em;
- padding:1em 1em;
- box-shadow: 0 0 10px #ccc;
- }
- }
- }
- .form-item{
- margin:0;
- position: relative;
- width:100%;
- &.form-item-name{
- margin:2px 0 0.5em 0;
- input{
- width:90%;
- padding:0;
- box-sizing: content-box;
- }
- }
- &.form-item-pass{
- margin:0 0 0.5em 0;
- input{
- width:90%;
- padding:0;
- box-sizing: content-box;
- }
- }
- &.form-item-persistent-login{
- font-size: 0.756em;
- label{
- vertical-align: top;
- }
- }
- }
- #edit-actions{
- margin:0;
- }
- .item-list{
- ul{
- margin:0;
- li{
- list-style: none;
- margin:0;
- a{
- font-size: 0.756em;
- }
- }
- }
- }
- span.login-message{
- color: red;
- font-size: 0.693em;
- line-height: 1.2;
- display: block;
- padding: 0 0 0.8em 0;
- }
- span.login-message[v-if="loginMessage"],
- span.register-message[v-if="registerMessage"]{
- display: none;
- }
- }
- // non-vue userblock
- #block-userblock{
- h2{display:none;}
- a{
- margin-right: 1em;
- }
- }
- // vue userblock
- #user-tools{
- padding-top: 0.06em;
- a.mdi-account{
- @extend %header-fs;
- cursor: pointer;
- span{
- @include col-mediaquery-min-max(3,5){
- display:none;
- }
- }
- }
- .mdi-logout::before {
- margin: -0.125em 0 0 0;
- vertical-align: top;
- }
- }
- // vue flaglist
- #user-flags{
- padding-left: 0.5em;
- margin-left: 0.5em;
- display: inline-block;
- vertical-align: top;
- position: relative;
- h2{
- @extend %header-fs;
- cursor: pointer;
- &:before{padding-right: 0.2em;}
- span{
- @include col-mediaquery-min-max(3,5){
- display:none;
- }
- }
- }
- ul{
- background-color: #fff;
- overflow: hidden;
- // margin:0 0 0 -1em;
- box-sizing:content-box;
- // outline: 1px solid blue;
- box-sizing: content-box;
- }
- // folders menu dropdown only for gig screens
- @include col-mediaquery-min(3){
- border-left: 1px solid #000;
- ul{
- transition: all 0.4s ease-in-out;
- transition-delay: 2s;
- z-index: 30;
- position: absolute;
- right:0;
- top:1.7em;
- width:11em;
- max-height:1px;
- padding:0.01em 1em;
- }
- @include hover{
- ul{
- transition-delay: 0s;
- max-height:50em;
- padding:1em 1em;
- box-shadow: 0 0 10px #ccc;
- }
- }
- }
- li{
- width:100%;
- // cursor: pointer;
- display: flex;
- flex-direction: row;
- align-items: baseline;
- flex-wrap: nowrap;
- h5{
- @extend %header-fs;
- cursor: pointer;
- font-weight: 700;
- span.length{
- font-weight: 300;
- }
- }
- span.mdi{
- font-size: 0.9em;
- }
- div.actions{
- padding-left:0.5em;
- span.mdi{
- cursor: pointer;
- color: #4e4d4d;
- }
- span.delete-btn{
- &.loading:before{
- animation: rotating 2s linear infinite;
- }
- }
- }
- @include col-mediaquery-min(3){
- div.actions{
- opacity:0;
- transition: opacity 0.3s ease-in-out;
- }
- @include hover{
- div.actions{
- opacity:1;
- }
- }
- }
- // small screens
- @include col-mediaquery-max(3){
- flex-direction: row-reverse;
- div.actions{
- padding-left: 0;
- padding-right: 0.5em;
- }
- }
- &.create-flag{
- margin-top: 0.2em;
- input{
- align-self: flex-end;
- border: 1px solid #bbb;
- border-radius:5px;
- width: calc(100% - 2em);
- font-size:0.8em;
- }
- span.add-btn{
- align-self: flex-end;
- color: #bbb;
- font-size: 1em;
- padding: 0 0 0 .5em;
- transition: all 0.2s ease-in-out;
- &.active{
- cursor: pointer;
- color:#1a1a1a;
- }
- &.loading:before{
- animation: rotating 2s linear infinite;
- }
- }
- }
- }
- }
- // menu
- #block-header{
- margin-right: 0.5em;
- padding-left: 0.5em;
- border-left: 1px solid #000;
- #block-header-menu{
- display:none;
- }
- // label[for="block-header-menu"]{
- // display:none;
- // }
- ul.menu{
- margin:0;
- li{
- padding:0;
- a{
- @extend %header-fs;
- }
- }
- }
- // @include col-mediaquery-max(3){
- ul.menu{
- li{
- display: inline-block;
- &:not(:first-of-type){
- margin-left: 0.3em;
- }
- }
- }
- // }
- @include col-mediaquery-max(3){
- // position: relative;
- //
- // label[for="block-header-menu"]{
- // display:block;
- // }
- // /* Toggle Show/Hide Menu */
- // // https://code-boxx.com/simple-responsive-pure-css-hamburger-menu/#sec-download
- // ul.menu { display: none; }
- // input:checked ~ ul.menu { display: block; }
- // ul.menu{
- // position: absolute;
- // width: 110px;
- // height: auto;
- // top: 18.9px;
- // right: 0;
- // background-color: white;
- // padding: 0.2em 0.5em;
- // margin-right: -0.5em;
- // z-index: 90;
- // text-align: right;
- // li{
- // display: block;
- // }
- // }
- ul.menu{
- text-align: right;
- li{
- display: block;
- a{
- display: block;
- padding: 0.2em 0;
- }
- }
- }
- }
- }
- #block-languageswitcher{
- text-align: right;
- position: relative;
- padding-right: 3px;
- h2{
- margin: 0.1em 0 0 0;
- font-size: 0.756em;
- font-weight: 400;
- padding:0.1em 0.4em 0.2em;
- border-radius: 3px;
- background-color: #444;
- color: #fff;
- display: inline-block;
- vertical-align: top;
- @include iconMDI('translate');
- width:12px;
- height:15px;
- overflow: hidden;
- }
- &>ul.links{
- // background-color: #fff;
- overflow: hidden;
- // display: inline-block;
- margin:0;
- box-sizing:content-box;
- // outline: 1px solid blue;
- // transition-delay: 2s;
- }
- @include col-mediaquery-min(3){
- &>ul.links{
- width:3.5em;
- position: absolute;
- top:17px;
- right:0;
- transition: all 0.4s ease-in-out;
- padding:0.01em 0;
- height:1px;
- }
- @include hover{
- &>ul.links{
- transition-delay: 0s;
- height:2em;
- padding:0.3em 0;
- // box-shadow: 0 0 10px #ccc;
- }
- }
- }
- @include col-mediaquery-max(3){
- h2{display: none;}
- }
- li{
- list-style: none;
- padding:0;
- display: inline-block;
- &.is-active{
- display:none;
- }
- a{
- margin: 0;
- font-size: 0.756em;
- font-weight: 400;
- padding:0.2em 0.4em;
- border-radius: 3px;
- background-color: #444;
- color: #fff;
- }
- }
- }
- // header bottom
- #header-bottom{
- // disable the default wrapper behaviour
- &:after{content: none;}
- // apply flex for normal layout
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- #block-pagetitle{}
- #block-materiosapisearchblock{
- align-self: flex-end;
- }
- @include col-mediaquery-max(3){
- flex-direction: column;
- justify-content:center;
- #block-pagetitle{
- // width: max-content;
- width:100%;
- }
- #block-materiosapisearchblock{
- box-sizing: border-box;
- width:100%;
- }
- }
- @include col-mediaquery-max(4, landscape){
- #block-materiosapisearchblock{
- align-self: flex-start;
- }
- }
- }
- #block-pagetitle{
- // float: left;
- padding:1em 0;
- h2{
- margin:0;
- font-size: 1.512em;
- text-transform: capitalize;
- font-weight: 300;
- body.path-home & {
- display: none;
- }
- body:not(.path-home) & {
- padding:0.5em 1em;
- }
- body.path-blabla &,
- body.path-checkout & {
- color: #fff;
- background-color: $color-blabla;
- }
- body.path-showrooms & {
- color: #fff;
- background-color: $color-showrooms;
- }
- body.path-base &,
- body.path-thematique & {
- color: #fff;
- background-color: $color-base;
- }
- body.path-pricing & {
- color: #fff;
- background-color: $color-webshowroom;
- }
- body.path-webform & {
- color: #fff;
- background-color: $color-showrooms;
- }
- }
- @include col-mediaquery-max(3){
- body.path-frontpage &, body.path-home & {
- display: none;
- }
- padding: 1em 0 0;
- body.path-base &{
- h2{
- padding: 0.5em 1em 0!important;
- }
- }
- }
- @include col-mediaquery-max(4, landscape){
- padding:0 0 1em;
- h2{
- body:not(.path-home) & {
- padding:0 0.6em 0.1em;
- }
- }
- }
- }
- #block-materiosapisearchblock{
- // float:right;
- // display:inline-block;
- // box-shadow: 0 0 5px rgba(0,0,0,0.2);
- padding:0;
- #materio-sapi-search-form{
- display: grid;
- grid-template-columns: auto 25px;
- grid-template-rows: auto auto;
- row-gap: 0.2em;
- justify-items: stretch;
- .form-item, input.button{
- display: inline-block;
- margin: 0;
- }
- .form-item-search{
- grid-row: 1 / 1;
- grid-column: 1 / 1;
- position: relative;
- #edit-search{
- border:1px #BBB solid;
- border-radius: 14px;
- padding:0.3em;
- color:#666;
- width: 100%;
- box-sizing: border-box;
- }
- }
- fieldset#edit-filters{
- grid-row: 2 / 2;
- grid-column: 1 / span 2;
- border: none;
- padding: 0;
- >legend{
- line-height: 0.6;
- padding-bottom: 0.2em;
- width: 100%;
- text-align: right;
- span{
- cursor: pointer;
- font-size: 0.756em;
- color: #8f8f8f;
- }
- }
- > div.fieldset-wrapper{
- height: 0;
- overflow: hidden;
- }
- &.open >div.fieldset-wrapper{
- height: auto;
- overflow: visible;
- }
- .ss-main{
- font-size: 0.756em;
- .ss-single-selected{
- border-radius: 0.7em;
- &.ss-open-below{
- border-radius: 0.7em 0.7em 0 0.7em;
- }
- height:1.5em;
- border: none;
- padding: 0 0.5em;
- background-color: #eeeaea;
- span.placeholder{
- color: $color-main-text;
- line-height: 1;
- span.ss-disabled{
- color: #8f8f8f;
- }
- }
- span.ss-arrow span{
- border-color: #b1adad;
- }
- }
- .ss-content{
- width:auto;
- border: none;
- border-radius: 0.7em 0 0.7em 0.7em;
- &.ss-open{
- box-shadow: 0 0 10px #ccc;
- }
- right: 0;
- .ss-list{
- max-height: none;
- .ss-option{
- white-space: nowrap;
- text-align: right;
- }
- }
- }
- }
- }
- .button.form-submit{
- grid-row: 1 / 1;
- grid-column: 2 / 2;
- justify-self: end;
- align-self: center;
- border:0;
- text-indent: 50px;
- overflow: hidden;
- width:20px; height:20px;
- margin:0;
- // border-radius: 7px;
- background-image: url('../img/search.svg');
- background-position: center;
- background-repeat: no-repeat;
- background-size: contain;
- background-color: transparent
- }
- }
- @include col-mediaquery-max(3){
- body:not(.path-base) &{
- display: none;
- }
- padding: 0 1em 1em;
- background-color: $color-base;
- }
- }
- }
- // main
- aside.messages{
- padding: 0;
- }
- // content top
- // #content-top{
- // &:after{
- // content:"";
- // clear:both;
- // display: block;
- // }
- // }
- // ___ _ _ _ __ _
- // / __|___ _ _| |_ ___ _ _| |_ ___| | ___ / _| |_
- // | (__/ _ \ ' \ _/ -_) ' \ _|___| |__/ -_) _| _|
- // \___\___/_||_\__\___|_||_\__| |____\___|_| \__|
- #content-left{
- z-index: 5;
- box-sizing: content-box;
- max-width:1px;
- overflow-x: hidden;
- transition: all 0.3s ease-in-out;
- &.opened{
- max-width: 500px;
- padding: 0.3em;
- }
- >*{
- box-sizing: border-box;
- background-color: #fff;
- box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
- padding: 0.5em;
- }
- .flag-collection{
- >header{
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- padding-bottom: $column_goutiere;
- h3{
- // flex-basis: calc(100% - 1em);
- }
- .mdi-close{
- // display: block;
- // flex-basis: 1em;
- cursor:pointer;
- align-self: flex-end;
- }
- }
- >ul{
- @include col-mediaquery-max(2){
- display:flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- >li{
- margin:0 0 $column_goutiere 0;
- padding:0;
- article.card.minicard{
- width:$minicard_width;
- height:$minicard_height;
- margin:auto;
- >header{
- padding: 0.3em 0.3em 0.1em;
- h1{
- margin:0;
- }
- }
- >nav.tools{
- // top: auto;
- // bottom: 0;
- padding:0 0.2em;
- // background:transparent;
- .mdi.unflag{
- cursor: pointer;
- }
- .tool.samples{
- .tool-content{
- }
- }
- }
- }
- }
- }
- }
- }
- // __ _
- // / _|_ _ ___ _ _| |_
- // | _| '_/ _ \ ' \ _|
- // |_| |_| \___/_||_\__|
- @mixin btn{
- display: inline-block;
- font-size: 0.9em;
- font-weight: bold;
- padding: 0.7em 1em;
- margin-bottom: 0.3em;
- background-color: #fff;
- color: #000;
- border-radius: 5px;
- border: none;
- }
- article.node--type-frontpage{
- %front-col-field__label{
- font-size: 3.5em;
- line-height: 1;
- @include col-mediaquery-max(3){
- font-size: 2em;
- }
- }
- %front-col-description{
- font-size: 0.9em;
- line-height: 1.3;
- }
- %part-centered-layout{
- padding:1.5em 0;
- background-color: #fff;
- >div:nth-child(1){
- width:80%;
- margin: 0 auto;
- text-align: center;
- @include col-mediaquery-max(3){
- width:auto;
- padding:0 1em;
- text-align: left;
- }
- .field__label{
- @extend %front-col-field__label;
- }
- .field__item{
- @extend %front-col-description;
- }
- }
- }
- // %part-columned-layout{
- // display:grid;
- // grid-template-columns: 300px 1fr;
- // grid-column-gap: 2em;
- // padding:2em 1em;
- // >div:nth-child(1){
- // color: #fff;
- // grid-column: 1;
- // .field__label{
- // @extend %front-col-field__label;
- // }
- // .field__item{
- // @extend %front-col-description;
- // }
- // }
- // >div:nth-child(2){
- // grid-column: 2;
- // }
- // }
- %part-columned-layout{
- display:flex;
- flex-direction: row;
- flex-wrap: nowrap;
- >div:nth-child(1){
- flex: 0 0 $column_width * 2 + $column_goutiere;
- box-sizing: border-box;
- padding: 1em;
- color: #fff;
- .field__label{
- @extend %front-col-field__label;
- }
- .field__item{
- @extend %front-col-description;
- }
- }
- >div:nth-child(2){
- flex: 1 1 auto;
- box-sizing: border-box;
- padding: 1em 0.5em;
- }
- @include col-mediaquery-max(3){
- flex-direction: column;
- >div:nth-child(1){
- flex: 0 0 auto;
- // box-sizing: border-box;
- // padding: 1em;
- }
- >div:nth-child(2){
- // flex: 1 1 auto;
- // box-sizing: border-box;
- // padding: 1em 0.5em;
- }
- }
- }
- >h2{
- display: none;
- }
- .node__content{
- &>section{
- &.home-intro{
- @extend %part-centered-layout;
- .field__item{
- display: flex;
- flex-flow: row nowrap;
- justify-content: center;
- p{
- flex: 0 0 35%;
- max-width: $column_width * 2;
- padding:1em;
- box-sizing: border-box;
- }
- @include col-mediaquery-max(3){
- display: none;
- }
- }
- }
- &.home-database{
- background-color: $color-base;
- @extend %part-columned-layout;
- .field--name-field-a-database{
- // .field__label{
- // cursor: pointer;
- // }
- }
- .field--name-field-database-links{
- .field__item{
- display: inline-block;
- a{
- @include btn;
- background-color: #fff;
- color: $color-base;
- }
- }
- }
- .cards-list-home{
- position: relative;
- // max-height: (130px*1.4)*3;
- max-height: 580px;
- overflow-y: hidden;
- ul{
- width:100%;
- margin:0; padding:0;
- // display: grid;
- // grid-template-columns: repeat(auto-fill, minmax(50px, 130px));
- // grid-template-rows: 1fr;
- // grid-gap: 1em;
- // justify-content:start;
- display: flex;
- flex-flow: row wrap;
- justify-content: space-between;
- @include col-mediaquery-max(3){
- justify-content: space-around;
- }
- li{
- padding:0 0 $column_goutiere / 2 0;
- box-sizing: border-box;
- // padding-top: 140%;
- width: $column_width / 2;
- height: $card_height / 2;
- position: relative;
- list-style: none;
- margin:0;
- .card{
- // position:absolute;
- // top:0; bottom:0;
- // left:0; right:0;
- width: 100%;
- height: 100%;
- .field--name-field-short-description{
- font-size: 0.656em;
- line-height: 1.2;
- }
- }
- }
- }
- }
- }
- &.home-showrooms{
- background-color: $color-showrooms;
- @extend %part-columned-layout;
- .field--name-field-showrooms{}
- .field--name-field-showroom-links{
- .field__item{
- display: inline-block;
- a{
- @include btn;
- background-color: #fff;
- color: $color-showrooms;
- }
- }
- }
- .field--name-computed-showrooms-reference{
- overflow: hidden;
- position:relative;
- // height:550px;
- display: grid;
- grid-template-rows: 1fr;
- $bp: ($column_width + $column_goutiere )*7;
- @media only screen and (max-width: $bp){
- grid-template-columns: 1fr;
- >.field__item{
- grid-column: 1;
- }
- }
- @media only screen and (min-width: $bp + 1px){
- grid-template-columns: 1fr 1fr;
- grid-gap: 1em;
- >.field__item:nth-child(odd){
- grid-column: 1;
- }
- >.field__item:nth-child(even){
- grid-column: 2;
- }
- }
- >.field__item{
- grid-row: 1;
- // position: absolute;
- // top:0; left:0;
- // width:100%; height:100%;
- // overflow: hidden;
- opacity: 0;
- // transform: translateX(100%);
- transition: all 2s ease-out;
- &.active{
- opacity: 1;
- // transform: translateX(0);
- // transition: all 0.3s ease-in-out;
- }
- .taxonomy-term{
- position: relative;
- width:100%; height:100%;
- div.visuel{
- width:100%;
- padding-bottom: 5em;
- img{
- max-width: 100%;
- height: auto;
- }
- }
- section.text{
- position: absolute;
- bottom:0; left:0;
- width:100%;
- box-sizing:border-box;
- padding:1em 0 0;
- background-color:$color-showrooms;
- color: #fff;
- // >*{
- // // display: inline-block;
- // font-size: 0.9em;
- // }
- h2,p{
- margin:0;
- }
- h2{
- font-size: 2em;
- }
- .field--name-field-public-address{
- br{
- display:none;
- }
- span:not(:nth-last-of-type(1)) {
- margin-right: 0.4em;
- &:after{
- padding-left: 0.5em;
- content:"⋅"
- }
- }
- }
- .field--name-field-public-phone {
- display: inline-block;
- margin-right: 0.4em;
- &:after{
- padding-left: 0.5em;
- content:"⋅"
- }
- }
- .field--name-field-public-email {
- display: inline-block;
- }
- }
- }
- }
- }
- }
- &.home-blabla{
- background-color: $color-blabla;
- @extend %part-columned-layout;
- .field--name-field-blabla-links{
- .field__item{
- display: inline-block;
- a{
- @include btn;
- background-color: #fff;
- color: $color-blabla;
- }
- }
- }
- .cards-list-home{
- position: relative;
- $bp: ($column_width*2 + $column_goutiere );
- overflow-y: hidden;
- max-height: 315px;
- // @media only screen and (max-width: $bp * 6){
- // max-height: 630px;
- // }
- // @media only screen and (min-width: ($bp * 6) + 1px){
- // max-height: 310px;
- // }
- ul{
- width:100%;
- margin:0; padding:0;
- // display: grid;
- // grid-template-columns: repeat(auto-fill, minmax(80px, $column_width*2));
- // // grid-template-rows: 1fr;
- // grid-gap: 1em;
- // justify-content:start;
- display: flex;
- flex-flow: row wrap;
- justify-content: space-between;
- li{
- padding:0 0 $column_goutiere 0;
- box-sizing: border-box;
- // padding-top: 140%;
- width: $column_width;
- // height: $card_height / 2;
- position: relative;
- list-style: none;
- margin:0;
- // padding-top: 67.8%;
- overflow: hidden;
- .card{
- // position:absolute;
- // top:0; bottom:0;
- // left:0; right:0;
- width: 100%;
- height: auto;
- .field--name-title{
- font-size: 0.756em;
- line-height: 0.9;
- }
- }
- }
- }
- @include col-mediaquery-max(3){
- max-height: 386px;
- ul{
- justify-content: space-around;
- li{
- flex: 0 3 45%;
- }
- }
- }
- }
- }
- &.home-pricing{
- @extend %part-centered-layout;
- >h3{
- @extend %front-col-field__label;
- text-align: center;
- text-transform: capitalize;
- padding: 0.7em 0 0.3em 0;
- @include col-mediaquery-max(3){
- text-align: left;
- padding: 0 0.4em;
- }
- }
- .field--name-field-pricing-pitch{
- text-align: center;
- p{ margin:0;}
- @include col-mediaquery-max(3){
- text-align: left;
- p{ padding: 0.5em 1em; }
- }
- }
- .field--name-field-pricing{
- // padding:2em 0;
- display: flex;
- flex-flow: row nowrap;
- justify-content: center;
- padding-bottom: 1em;
- p{
- flex: 0 0 $column_width * 2;
- padding: 1em;
- margin: 0;
- text-align: center;
- }
- @include col-mediaquery-max(3){
- flex-flow: column;
- justify-content: flex-start;
- p{
- flex: 0 0 auto;
- text-align: left;
- padding: 0 1em 0.5em;
- }
- }
- }
- .field--name-computed-products-reference{
- display: flex;
- flex-flow: row nowrap;
- @include col-mediaquery-max(5){
- flex-flow: column;
- justify-content: flex-start;
- }
- >.field__item{
- flex:0 0 33%;
- text-align: center;
- padding: 2em 0;
- color: #fff;
- position: relative;
- height:23em;
- >article{
- position: absolute;
- top:50%; left:50%;
- transform: translate(-50%, -50%);
- width:80%;
- }
- .field--name-title{
- @extend %front-col-field__label;
- font-weight: 600;
- line-height: 0.7;
- padding-bottom: 0.1em;
- text-align: center;
- word-spacing: 30000px;
- }
- .field--name-body{
- @extend %front-col-description;
- padding:0.5em;
- p{
- margin: 0;
- }
- }
- .field--name-variations{
- .field__item{
- >div{
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: baseline;
- .form-actions,p{
- margin:0;
- }
- .field--name-field-description{
- margin-right: 0.5em;
- p{
- font-size: 1.512em;
- font-weight: 800;
- color: #fff;
- white-space: nowrap;
- text-align: right;
- }
- }
- input.button--add-to-cart{
- @include btn;
- }
- }
- }
- }
- a.btn{
- @include btn;
- background-color: #fff;
- }
- &:nth-child(1){
- background-color: $color-base;
- a.btn{
- color: $color-base;
- }
- .field--name-variations{
- .field__item{
- >div{
- input.button--add-to-cart{
- color: $color-base;
- }
- }
- }
- }
- }
- &:nth-child(2){
- background-color: $color-webshowroom;
- a.btn{
- color: $color-webshowroom;
- }
- .field--name-variations{
- .field__item{
- >div{
- input.button--add-to-cart{
- color: $color-webshowroom;
- }
- }
- }
- }
- }
- &:nth-child(3){
- background-color: $color-showrooms;
- a.btn{
- color: $color-showrooms;
- }
- >article{
- max-width: 345px;
- }
- }
- @include col-mediaquery-max(5){
- flex: 0 0 auto;
- padding:0;
- // height: auto;
- >article{
- }
- }
- }
- }
- }
- }
- }
- }
- // ___ _
- // / __|__ _ _ _ __| |___
- // | (__/ _` | '_/ _` (_-<
- // \___\__,_|_| \__,_/__/
- .infinite-loading-container{
- .infinite-status-prompt{
- i[class^="loading-"]{
- width:15px; height:15px;
- }
- }
- }
- .cards-list{
- position: relative;
- .search-info{
- font-size: 0.756em;
- font-weight: 500;
- margin: 0;
- padding: 0 0 0.5em 0;
- @include col-mediaquery-max(4, landscape){
- display:none;
- }
- }
- &>ul{
- // outline: 1px green solid;
- margin:0; padding:0;
- width: calc(100% + #{$column_goutiere});
- &>li{
- list-style: none;
- margin:0 $column_goutiere $column_goutiere 0; padding:0;
- display: inline-block;
- vertical-align: top;
- }
- }
- @include col-mediaquery-max(3){
- &>ul{
- display: flex;
- flex-flow: row wrap;
- justify-content: space-around;
- width:100%;
- >li{
- flex: 0 1 48%;
- margin:0 0 0.5em 0;
- filter: drop-shadow(0 0 3px #aaa);
- >article{
- width:100%;
- height:auto;
- box-shadow: none;
- >section.images{
- #base &{
- height: auto;
- }
- >figure{
- position: relative;
- &:not(:first-child){
- display:none;
- }
- img:not(.blank){
- width:100%;
- height:auto;
- }
- img.blank{
- top:0; bottom:0; left:0; right:0;
- }
- }
- }
- }
- }
- }
- }
- }
- article.card{
- position: relative;
- box-shadow: 0 0 5px rgba(0,0,0,0.2);
- width:$column_width; height:$card_height;
- &.article{
- width:$column_width*2 + $column_goutiere; height:$card_height;
- section.images{
- a{
- display:block;
- }
- }
- }
- &.minicard{
- height:100px;
- width:$minicard_width;
- height:$minicard_height;
- margin:auto;
- >header{
- padding: 0.3em 0.3em 0.1em;
- cursor: pointer;
- h1{
- margin:0;
- font-size: 1em;
- }
- h4{
- margin:0;
- line-height: 1.1;
- margin-bottom: -0.4em;
- }
- span.ref{
- line-height: 0.5;
- }
- }
- >nav.tools{
- // top: auto;
- // bottom: 0;
- padding:0 0.2em;
- background:rgba(255,255,255, 0.8);
- .mdi.unflag{
- cursor: pointer;
- }
- .tool.samples{
- @include hover{
- .tool-content{
- max-width:140px;
- }
- }
- }
- }
- }
- &.linkedmaterialcard{
- width:$linkedmaterialcard_width;
- height:$linkedmaterialcard_height;
- >header{
- padding: 0.3em 0.3em 0.1em;
- cursor: pointer;
- h1{
- margin:0;
- font-size: 1em;
- }
- h4{
- margin:0;
- line-height: 1.1;
- margin-bottom: -0.4em;
- }
- span.ref{
- line-height: 0.5;
- }
- }
- >nav.tools{
- top: auto;
- bottom: 0;
- padding:0 0.2em;
- background:transparent;
- .mdi.unflag{
- cursor: pointer;
- }
- }
- }
- // &.card-small{
- // width:100px; height:140px;
- // }
- // focused
- // box-shadow: 0 0 7px rgba(0,0,0,0.9);
- // &.article{
- // width: $column_width * 2 + $column_goutiere;
- //
- // }
- header{
- position: absolute;
- bottom:0;
- z-index:10;
- color: #000;
- background-color: rgba(255,255,255,0.8);
- padding: 0.3em 0.3em;
- box-sizing:border-box;
- width:100%;
- h1, h4{ margin:0; padding:0; }
- h1{
- font-size: 1.3em;
- font-weight: 700;
- line-height: 0.85;
- margin-bottom: 0.2em;
- }
- h4{
- font-size: 0.882em;
- font-weight: 300;
- line-height: 1.1;
- margin-bottom: -0.2em;
- }
- span.ref{
- font-size: 0.693em;
- font-weight: 300;
- line-height: 1;
- }
- }
- &.card-thematique header{
- background-color: $color-base-transparent;
- }
- $navtool_width: 15px;
- nav.tools{
- position: absolute;
- top: 0;
- right: 0;
- z-index: 21;
- width: $navtool_width;
- background-color: #fff;
- box-sizing: content-box;
- padding: 0.3em 0.1em;
- >*{
- overflow: visible;
- position: relative;
- span.btn{
- overflow: hidden;
- font-size: 0.882em;
- }
- .tool-content{
- position: absolute;
- top: 0px;
- right: 100%;
- // width: 5em;
- width: $column_width - $navtool_width - 10px;
- box-sizing: border-box;
- padding: 0;
- background-color: #fff;
- box-shadow: -2px 3px 8px rgba(0, 0, 0, 0.5);
- opacity: 0;
- max-height: 0; max-width:0;
- overflow: hidden;
- transition: all 0.2s ease-in-out;
- transition-delay: 0.1s;
- }
- @include hover{
- .tool-content{
- transition: all 0.3s ease-in-out;
- opacity: 1;
- padding: 0.3em;
- max-height: 195px;
- max-width:200px;
- }
- }
- }
- @include col-mediaquery-max(3){
- width:23px;
- >*{
- >span.btn, >a{
- font-size:1.2em;
- }
- }
- }
- .tool.flags{
- .tool-content{
- ul{
- display: flex;
- flex-flow: row wrap;
- li{
- padding:0 0.5em 0 0;
- }
- }
- }
- span.flag{
- cursor: pointer;
- font-size: 0.756em;
- color: #bbb;
- transition: color 0.3s ease-in-out;
- @include hover{
- color:#1a1a1a;
- }
- &.isActive{
- color:#1a1a1a;
- }
- }
- li.create-flag{
- margin-top: 0.2em;
- padding:0;
- input{
- align-self: flex-end;
- border: 1px solid #bbb;
- border-radius:5px;
- width: calc(100% - 2em);
- font-size:0.8em;
- }
- span.add-btn{
- align-self: flex-end;
- color: #bbb;
- font-size: 1em;
- // padding: 0 0 0 .5em;
- transition: all 0.2s ease-in-out;
- &.active{
- cursor: pointer;
- color:#1a1a1a;
- }
- &.loading:before{
- animation: rotating 2s linear infinite;
- }
- }
- }
- }
- .tool.samples{
- .tool-content{
- font-size: 0.756em;
- ul li{
- font-weight: bold;
- span.showroom{
- font-weight: 400;
- }
- }
- }
- }
- opacity: 0;
- transition: opacity 0.2s ease-in-out;
- }
- @include hover{
- nav.tools{
- opacity:1;
- }
- }
- section.images{
- position: relative;
- &, *{width: 100%; height:100%;}
- figure{
- cursor: pointer;
- margin:0;
- position: absolute;
- top:0; left:0;
- // width: 100%; height:100%;
- &:first-of-type{
- z-index:5
- }
- transition: opacity 0.2s ease-in-out;
- &.show{opacity: 1; z-index:6;}
- &.hide{opacity: 0;}
- img{
- // width: 100%; height:100%;
- &.blank{
- position: absolute;
- top:0; left:0;
- z-index: 20;
- }
- }
- }
- }
- // overwritnig card for card-medium (aka search-card)
- &.search-card{
- >header{
- cursor: pointer;
- }
- }
- // overwriting card for modal-card
- &.modal-card{
- display: flex;
- flex-flow: row-reverse nowrap;
- width: $modalcard_width;
- height: $modalcard_height;
- >.col{
- flex-basis: 50%;
- }
- @include col-mediaquery-max(3, portrait){
- flex-flow: column;
- width: 100%;
- height: 100%;
- overflow-y: auto;
- >.col-right{
- flex:0 0 auto;
- }
- >.col-left{
- flex:0 0 100%;
- }
- }
- @include col-mediaquery-max(4, landscape){
- // flex-flow: row-reverse ;
- width: 100%;
- height: 100%;
- >.col-right{
- height: 100%;
- overflow-y: auto;
- }
- // >.col-left{
- // flex:0 0 50%;
- // }
- }
- section.col-right{
- >*:not(nav.tools){
- position: relative;
- padding: 0.3em $navtool_width + 5px 0 0.5em;
- box-sizing: border-box;
- width: 100%;
- }
- >header{
- bottom: auto;
- }
- span.label{
- font-size: 0.693em;
- font-weight: 500;
- }
- section.body{
- p{
- font-size: 0.693em;
- font-weight: 300;
- line-height: 1.35;
- margin:0 0 0.3em;
- }
- }
- .vsa-list{
- padding:0;
- border: none;
- --vsa-heading-padding: 0 0;
- --vsa-content-padding: 0 0 0.5em;
- --vsa-default-icon-size: 0.3;
- --vsa-border-width: 0;
- --vsa-text-color: #{$color-main-text};
- --vsa-highlight-color: #fff;
- --vsa-bg-color: #fff;
- .vsa-item__trigger:focus .vsa-item__trigger__icon--is-default::after, .vsa-item__trigger:focus .vsa-item__trigger__icon--is-default::before, .vsa-item__trigger:hover .vsa-item__trigger__icon--is-default::after, .vsa-item__trigger:hover .vsa-item__trigger__icon--is-default::before {
- background-color: var(--vsa-text-color);
- }
- .vsa-item{
- .vsa-item__heading{
- button.vsa-item__trigger{
- height:2em;
- &:hover,
- &:focus{
- color: var(--vsa-text-color);
- }
- }
- }
- .vsa-item__content{}
- &[data-vsa-active="false"]{
- .vsa-item__heading{
- padding-bottom: 0.2em;
- margin-bottom: 0.2em;
- border-bottom: 0.5px dotted $color-main-text;
- }
- }
- }
- }
- section.linked-materials{
- >ul{
- display: flex;
- flex-flow: row wrap;
- justify-content: space-between;
- >li{
- flex-basis: 0 0 50%;
- margin-bottom: 0.5em;
- article.linkedmaterialcard{
- }
- }
- }
- }
- nav.tools{
- opacity: 1;
- section.close{
- span.btn.mdi-close{
- cursor:pointer;
- }
- }
- div.tool-content{
- min-width: $column_width *2 - $navtool_width - 10px;
- @include col-mediaquery-max(3){
- min-width: 80vw;
- }
- }
- }
- section.tool.samples{
- div.tool-content{
- ul{
- // display: flex;
- // flex-flow: row wrap;
- font-size: 0.756em;
- font-weight: 300;
- // line-height: 1.35;
- li{
- padding-right: 0.5em;
- span.showroom{ font-weight: 500; }
- }
- }
- }
- }
- section.tool.note{
- @include hover{
- div.tool-content{
- max-height: 370px;
- }
- }
- div.tool-content{
- textarea,
- textarea:focus,
- textarea:focus-visible,
- textarea:active{
- resize:none;
- width:99%;
- height:350px;
- margin:0;
- padding:0.3em;
- border:1px solid #ccc;
- border-radius: 3px;
- outline: none;
- box-sizing: border-box;
- }
- }
- }
- // section.tool.industriels{
- // div.tool-content{
- // display: flex;
- // flex-flow: row;
- // >section{
- // flex: 0 0 50%;
- // h2{
- // margin:0;
- // font-size: 1em;
- // line-height: 0.6;
- // }
- // p{
- // margin: 0;
- // font-size: 0.882em;
- // }
- // }
- // }
- // }
- section.industriels{
- display: flex;
- flex-flow: row;
- >section{
- flex: 0 0 50%;
- ul{
- li{
- padding:0.1em 0 .4em 0;
- }
- }
- h2{
- margin:0;
- font-size: 1em;
- line-height: 1;
- }
- p{
- margin: 0;
- font-size: 0.756em;
- }
- }
- }
- section.attachments{
- a{
- margin:0;
- font-size: 0.882em;
- line-height: 0.6;
- span{
- font-size: 0.8em
- }
- }
- p{
- margin: 0;
- font-size: 0.882em;
- }
- }
- }
- }
- }
- .vm--modale-card{
- position: relative;
- }
- // vuejs-modale hack as maxWidth and maxHeight does not work :(
- @include col-mediaquery-min(3){
- .vm--modale-card{
- max-width: 850px;
- max-height: 610px;
- left: 50% !important;
- top: 50% !important;
- transform: translate(-50%, -50%) !important;
- }
- }
- .vm--overlay{
- background: rgba(0, 0, 0, 0.5)!important;
- }
- // _____ _ _ _
- // |_ _| |_ ___ _ __ __ _| |_(_)__ _ _ _ ___
- // | | | ' \/ -_) ' \/ _` | _| / _` | || / -_)
- // |_| |_||_\___|_|_|_\__,_|\__|_\__, |\_,_\___|
- // |_|
- #main-content > article.thematique{
- div.cols{
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- // @media only screen and (max-width: $small-bp) {
- @include col-mediaquery-max(3){
- flex-wrap: wrap;
- }
- // }
- div.col-left{
- padding: 0 $column_goutiere $column_goutiere 0;
- flex: 0 0 $column_width * 2 + $column_goutiere;
- }
- div.col-right{}
- }
- div.col-left{
- section.body{
- background-color: $color-base;
- padding: 0.5em 1em 1em;
- }
- section.visuel{
- img{
- width: 100%;
- }
- }
- }
- aside.linked-materials{
- div.card-list{
- >ul{
- width:calc(100% + #{$column_goutiere});
- >li{
- display: inline-block;
- vertical-align: top;
- width:$column_width;
- margin:0 $column_goutiere $column_goutiere 0;
- }
- }
- }
- h3.field__label{
- font-size: 1em;
- font-weight: 500;
- margin: 2em 0 1em 0;
- }
- h1.title{
- font-size: 1em;
- font-weight: 400;
- }
- h3.ref{
- font-size: 0.756em;
- font-weight: 600;
- }
- h2.description{
- font-size: 0.756em;
- font-weight: 400;
- }
- }
- }
- // ___ _ _ _
- // | _ ) |__ _| |__| |__ _
- // | _ \ / _` | '_ \ / _` |
- // |___/_\__,_|_.__/_\__,_|
- #blabla{
- }
- #main-content > article.article{
- // grid only on big screens
- @include col-mediaquery-min(3){
- div.cols{
- display: grid;
- grid-template-rows: 1fr;
- grid-template-columns: repeat(6, 1fr);
- grid-gap: 1em;
- div.col-left{
- grid-column: 1;
- }
- div.col-right{
- grid-column: 2/6;
- }
- }
- }
- @include col-mediaquery-max(3){
- div.cols{
- padding:1em;
- box-sizing: border-box;
- .accroche{
- figure{
- width:100%;
- }
- }
- }
- }
- section.accroche{
- figure{
- width:$column_width*2 + $column_goutiere;
- margin:0 $column_goutiere 0 0;
- img{
- width:100%;
- }
- }
- }
- section.taxonomy{
- margin:1em 0;
- ul{
- margin: 0;
- }
- li{
- display:inline-block;
- padding:0 0.5em 0 0;
- }
- }
- div.gallery-wrapper{
- .image{
- display: inline-block;
- width:$column_width;
- margin:0 $column_goutiere $column_goutiere*0.6 0;
- height:$card_height / 2;
- background-size: cover;
- }
- @include col-mediaquery-max(3){
- display: flex;
- flex-flow: row wrap;
- justify-content: space-between;
- .image{
- // width: auto; height: auto;
- display: block;
- flex: 0 1 48%;
- margin: 0 0 $column_goutiere*0.6 0;
- }
- }
- }
- // section.videos{
- // ul{
- // margin:0; padding:0;
- // li{
- // margin:0; padding:0;
- // display: inline-block;
- // width:100%; overflow: hidden;
- // }
- // }
- // }
- // section.visuels{
- // width:calc(100% + #{$column_goutiere});
- // figure{
- // position: relative;
- // display: inline-block;
- // vertical-align: top;
- // width:$column_width*2 + $column_goutiere;
- // margin:0 $column_goutiere $column_goutiere*0.6 0;
- // img{
- // width:100%;
- // }
- // caption{
- // position: absolute; bottom: 0; left:0;
- // box-sizing: border-box; width: 100%; padding:0.5em;
- // background-color: $transparent-bg-blk; color: #fff;
- // }
- // }
- // }
- aside.linked-materials{
- @include col-mediaquery-min(3){
- ul{
- width:calc(100% + #{$column_goutiere});
- li{
- display: inline-block;
- vertical-align: top;
- width:$column_width;
- margin:0 $column_goutiere $column_goutiere 0;
- }
- }
- }
- h3.field__label{
- font-size: 1em;
- font-weight: 500;
- margin: 2em 0 1em 0;
- }
- h1.title{
- font-size: 1em;
- font-weight: 400;
- }
- h3.ref{
- font-size: 0.756em;
- font-weight: 600;
- }
- h2.description{
- font-size: 0.756em;
- font-weight: 400;
- }
- }
- nav.prevnext{
- @include col-mediaquery-max(3){
- padding: 0 1em;
- }
- &.bottom{
- margin:2em 0;
- }
- ul{
- padding:0;
- margin:0;
- display: grid;
- grid-template-columns: 1fr 1fr;
- }
- li{
- padding:0;
- margin:0;
- list-style: none;
- a{
- font-size: 0.756em;
- font-weight: 700;
- line-height: 1.3;
- display: block;
- position: relative;
- padding: 0 1em;
- }
- &:nth-child(1){
- grid-column: 1;
- a:before{
- content:'\021A4';
- position: absolute;
- left:0;
- }
- }
- &:nth-child(2){
- grid-column: 2;
- text-align: right;
- a:after{
- content:'\021A6';
- position: absolute;
- right: 0;
- }
- }
- }
- }
- }
- // ___ _
- // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
- // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
- // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
- #showrooms{
- width: calc(100% + #{$column_goutiere});
- article.showroom{
- width: $column_width * 2 + $column_goutiere;
- display: inline-block;
- vertical-align: top;
- margin: 0 $column_goutiere $column_goutiere 0;
- h1{
- margin:0;
- font-weight: 4;
- }
- p{ margin:0; }
- figure{
- margin:0;
- img{
- max-width: 100%;
- }
- }
- }
- }
- // ___ _ _
- // | _ \_ _(_)__(_)_ _ __ _
- // | _/ '_| / _| | ' \/ _` |
- // |_| |_| |_\__|_|_||_\__, |
- // |___/
- #main-content>#pricing,
- #main-content .view-pricing-products .view-content{
- display: flex;
- flex-flow: row nowrap;
- article.product,
- .views-row{
- flex:0 0 33%;
- text-align: center;
- padding: 2em 0;
- >header{
- padding-bottom: 1.3em;
- }
- >header h1,
- .views-field-title{
- font-size: 3.5em;
- line-height: 0.6;
- color: #fff;
- text-align: center;
- word-spacing: 30000px;
- }
- section.content, .views-field-body{
- color: #fff;
- .description{
- font-size: 1em;
- p{
- margin: 0.3em;
- }
- }
- }
- aside{
- padding:1em 0;
- .variation{
- display: flex;
- flex-flow: row nowrap;
- justify-content: center;
- align-items:stretch;
- div.variation-description{
- flex: 0 0 6.7em;
- font-size: 1.5em;
- font-weight: 800;
- color: #fff;
- p{
- margin:0;
- text-align: right;
- padding-right: 0.5em;
- padding-top: 0.1em;
- }
- }
- button{
- @include btn;
- background-color: #fff;
- }
- }
- a.btn{
- @include btn;
- background-color: #fff;
- }
- }
- &:nth-child(1){
- background-color: $color-base;
- aside .variation button{
- color: $color-base;
- }
- }
- &:nth-child(2){
- background-color: $color-webshowroom;
- aside .variation button{
- color: $color-webshowroom;
- }
- }
- &:nth-child(3){
- background-color: $color-showrooms;
- aside .variation button,
- a.btn{
- color: $color-showrooms;
- }
- }
- }
- @include col-mediaquery-max(5){
- flex-flow: column;
- article.product,
- .views-row{
- flex:0 1 auto;
- }
- }
- }
- .modal{
- position: relative;
- }
- // #pricing-modal-login-register{
- // position: relative;
- // width: 100%;
- // text-align: left;
- //
- // .vm--modale-loginregister{
- // }
- #login-register{
- padding: 1em;
- box-sizing: content-box;
- width: 100%;
- h2{
- margin: 0.4em 0 1.1em;
- padding-right: 4em;
- font-size: 1.2em;
- font-weight: 300;
- }
- >div.wrapper{
- display: flex;
- flex-flow: row nowrap;
- >section{
- flex:0 0 50%;
- form{
- .form-item, .form-actions {
- margin: 0.5em 0;
- max-width: none;
- }
- .form-type-email,
- .form-type-password,
- .form-actions{
- display:block;
- }
- input[type="email"],
- input[type="password"]{
- max-width: 11em;
- }
- &#user-login-form #edit-pass--description,
- #edit-pass-pass1--description{
- display: block;
- max-width: 16em;
- font-size: 0.693em;
- }
- span.login-message,
- span.register-message{
- color: red;
- font-size: 0.693em;
- line-height: 1.2;
- display: block;
- padding: 0.8em 0 0 0;
- }
- span.login-message[v-if="loginMessage"],
- span.register-message[v-if="registerMessage"]{
- display: none;
- }
- }
- }
- section.login{
- form{
- >div{
- // display: block;
- }
- }
- }
- section.register{
- }
- @include col-mediaquery-max(3){
- flex-flow: column;
- >section{
- flex:0 0 auto;
- form{
- input[type="email"],
- input[type="password"]{
- max-width: 90%;
- width: 90%;
- }
- &#user-login-form #edit-pass--description,
- #edit-pass-pass1--description{
- max-width: 90%;
- width: 90%;
- }
- }
- &.login{
- padding-bottom: 0.5em;
- }
- }
- }
- }
- }
- // @include col-mediaquery-max(3){
- // height:100%;
- // overflow-y: auto;
- // #login-register{
- // flex-flow: column;
- // >section{
- // flex:0 0 auto;
- // form{
- // input[type="email"],
- // input[type="password"]{
- // max-width: 90%;
- // width: 90%;
- // }
- // &#user-login-form #edit-pass--description,
- // #edit-pass-pass1--description{
- // max-width: 90%;
- // width: 90%;
- // }
- // }
- // &.login{
- // padding-bottom: 0.5em;
- // }
- // }
- // }
- // }
- // @include col-mediaquery-max(4, landscape){
- // h2{
- // margin: 0 0 0.5em;
- // }
- // }
- // }
- #pricing{
- @include col-mediaquery-max(3){
- .overlay > .modal{
- width:95%!important;
- height:95%!important;
- }
- }
- }
- #main-content form.commerce-checkout-flow{
- $w:3;
- max-width: $column_width * $w + $column_goutiere * ($w - 1);
- .layout-checkout-form{
- display: flex;
- flex-flow: column;
- .layout-region-checkout-main{
- // disable default style
- width:100%;
- float: none;
- // apply custom style
- order:2;
- background-color: $color-webshowroom;
- padding: 1em;
- fieldset#edit-payment-information{
- #edit-payment-information-add-payment-method{
- // display: flex;
- // flex-flow: column-reverse;
- // #edit-payment-information-add-payment-method-payment-details{
- // margin: 1em 0 0;
- // }
- }
- }
- label,
- legend,
- .description,
- fieldset#edit-review-contact-information,
- fieldset#edit-review-payment-information{
- color: #fff;
- }
- fieldset{
- border:none;
- margin:0; padding:0;
- legend{
- font-size: 1.5em;
- font-weight: 600;
- margin-bottom: 0.5em;
- }
- }
- $lw:10em;
- .form-item{
- margin:0 0 0.5em 0;
- }
- label{
- display: inline-block;
- font-weight: bold;
- min-width: $lw;
- }
- input[type="text"]{
- width:20em;
- }
- .stripe-form{
- display: inline-block;
- background-color: #fff;
- color: #1A1A1A;
- border-radius: 5px;
- padding: 1em;
- margin: 0 0 1em;
- .form-item{
- display: flex;
- align-items: center;
- flex-flow: row nowrap;
- label{
- color: #777;
- }
- .form-text{
- background-color: #fff;
- border-radius: 3px;
- }
- }
- }
- // .form-item-payment-information-billing-information-address-0-address-address-line2
- .form-item-payment-information-add-payment-method-billing-information-address-0-address-address-line2{
- padding-left:$lw + 0.25em;
- }
- // .form-item-payment-information-billing-information-copy-to-address-book
- .form-item-payment-information-add-payment-method-billing-information-copy-to-address-book{
- display: none;
- }
- }
- .layout-region-checkout-secondary{
- // disable default style
- width:100%;
- float: none;
- // apply custom style
- order: 1;
- // display: flex;
- // flex-flow: row nowrap;
- // >.checkout-pane{
- // flex: 0 0 50%;
- // }
- >h3{display:none;}
- #edit-order-summary{
- background-color: $color-base;
- color:#fff;
- padding:1em;
- .view-commerce-checkout-order-summary{
- display: flex;
- flex-flow: row nowrap;
- justify-content: space-between;
- align-items: flex-end;
- }
- .field--name-product-id{
- .field--name-title{
- font-size: 2.5em;
- font-weight: 800;
- }
- .field--name-body{
- }
- }
- .field--name-title{
- font-size: 1.5em;
- font-weight: 600;
- }
- p{
- margin:0;
- }
- }
- #edit-coupon-redemption{
- background-color: $color-showrooms;
- padding:1em;
- >.form-wrapper{
- display: flex;
- flex-flow: row;
- align-items: center;
- .form-item{
- margin:0 0.5em 0 0;
- label{
- color: #fff;
- font-size: 1.5em;
- font-weight: 600;
- margin-right: 0.5em;
- }
- input[type="text"]{
- width: 7em;
- }
- }
- input[type="submit"]{
- background-color: #fff;
- color: $color-showrooms;
- border: none;
- margin:0;
- padding:0.1em 0.7em;
- box-sizing: content-box;
- height:2em;
- font-weight: 800;
- border-radius: 5px;
- }
- }
- }
- }
- .layout-region-checkout-footer{
- // disable default style
- float: none;
- width: 100%;
- padding: 0;
- // apply custom style
- order: 3;
- #edit-actions{
- text-align: right;
- }
- input#edit-actions-next{
- background-color: $color-blabla;
- color: #fff;
- border: none;
- border-radius: 5px;
- padding: 0.2em 0.4em 0.3em;
- font-weight: 600;
- font-size: 1.323em;
- }
- }
- #edit-completion-message{
- p.welcom{
- font-size: 1.512em;
- }
- p.base{
- a{
- @include btn;
- background-color: $color-base;
- color: #fff;
- font-size: 1.134em;
- }
- }
- p.order{
- }
- }
- #edit-order-summary{
- background-color: $color-showrooms;
- padding:1em;
- }
- }
- }
- form#user-pass{
- input.form-email{
- max-width: 95%;
- }
- }
- #member-warning{
- padding: 2em 4em;
- text-align: center;
- h2{
- }
- p{
- }
- a{
- @include btn;
- background-color: $color-webshowroom;
- color: #fff;
- }
- }
- #webform-submission-multi-joueur-add-form{
- $w:3;
- max-width: $column_width * $w + $column_goutiere * ($w - 1);
- .form-item{
- margin:0.5em 0;
- }
- $lw:10em;
- label{
- display: inline-block;
- width:$lw;
- color: #fff;
- }
- .webform-element-description{
- color:#fff;
- }
- .form-item{
- position: relative;
- box-sizing: border-box;
- }
- .form-item.form-no-label input[type="text"]{
- margin-left: $lw*1.04;
- }
- input[type="text"],
- input[type="tel"],
- input[type="email"]{
- width: calc(95% - #{$lw});
- }
- input[type="submit"]{
- @include btn;
- }
- .address--wrapper{
- background-color: $color-webshowroom;
- margin:0;
- padding: 1em 1em 0;
- }
- .form-item-vat-number{
- background-color: $color-webshowroom;
- margin:0;
- padding: 1em 1em 0.6em;
- }
- .form-item-phone{
- background-color: $color-webshowroom;
- margin:0;
- padding: 0 1em 1em;
- }
- .js-form-item-email{
- background-color: $color-webshowroom;
- margin:0;
- padding: 0 1em 1em;
- }
- .webform-type-webform-email-confirm{
- background-color: $color-webshowroom;
- margin:0;
- padding: 0 1em 1em;
- label{
- width: 15em;
- }
- input[type="email"]{
- width: calc(95% - 15em);
- }
- }
- .form-item-collaborateur{
- background-color: $color-base;
- margin:0;
- padding: 1em;
- input[type="image"]{
- background-color: #fff;
- }
- input[type="submit"]{
- background-color: #fff;
- color: $color-base;
- }
- }
- #edit-actions{
- // background-color: $color-showrooms;
- // margin:0;
- // padding: 1em;
- text-align: right;
- input[type="submit"]{
- background-color: $color-blabla;
- color: #fff;
- }
- }
- }
- // ___ _
- // | __|__ ___| |_ ___ _ _
- // | _/ _ \/ _ \ _/ -_) '_|
- // |_|\___/\___/\__\___|_|
- footer[role="contentinfo"]{
- body:not(.path-home) & {
- display:none;
- }
- #block-materiosimplenewssubscription{
- form{
- display: flex;
- flex-flow: row nowrap;
- align-items: center;
- font-size: 0.756em;
- >*{
- margin-right: 0.5em;
- }
- #edit-subscriptions{
- display: flex;
- flex-flow: row nowrap;
- >*{
- margin-right: 0.5em;
- display: flex;
- flex-flow: row nowrap;
- align-items: center;
- }
- input{
- margin-right: 0.3em;
- }
- }
- #edit-mail-wrapper{
- input[type="email"]{
- width:10em;
- }
- }
- #edit-actions--2{
- input[type="submit"]{
- border: none;
- background: none;
- background-color: $color-base;
- border-radius: 5px;
- color: #fff;
- padding: 0.45em 1em;
- font-weight: 700;
- }
- }
- }
- }
- }
|