123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120 |
- // @import '~slim-select/scss';
- $mdi-font-path: './mdi/fonts/';
- @import './mdi/css/materialdesignicons.css';
- @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 '../fonts/ubuntu/ubuntu.css';
- @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.25em 0 0 0;
- vertical-align: baseline;
- }
- }
- // 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 &,
- body.page-node-type-simplenews-issue & {
- 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;
- }
- body.path-privacy-policy &,
- body.path-tos & {
- color: #fff;
- background-color: $color-main-text;
- }
- body.path-user & {
- color: #fff;
- background-color: $color-base;
- text-transform: lowercase;
- }
- }
- @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;
- }
- }
- }
- ul.ui-menu.ui-widget-content.ui-autocomplete {
- background-color: rgba(0, 0, 0, 0.6);
- border-radius: 5px;
- border: none;
- padding: 0.3em 0.2em;
- a.ui-menu-item-wrapper{
- color: #fff;
- padding:0.1em 0.1em;
- display: block;
- &.ui-state-active{
- background: none;
- border: none;
- color:#fff;
- background-color: rgba(0, 0, 0, 0.9);
- }
- }
- }
- // main
- aside.messages{
- padding: 0;
- }
- // content top
- #content-top{
- #block-tabs{
- nav.tabs{
- ul.tabs.primary{
- li{
- background-color: change-color($color-base, $alpha: 0.5);
- color:#fff;
- &.is-active{
- background-color: $color-base;
- }
- a{
- background-color: transparent;
- }
- }
- }
- }
- }
- }
- #main-content.loading{
- transition: all 0.3s ease-in-out;
- opacity: 0.5;
- pointer-events: none;
- }
- // ___ _ _ _ __ _
- // / __|___ _ _| |_ ___ _ _| |_ ___| | ___ / _| |_
- // | (__/ _ \ ' \ _/ -_) ' \ _|___| |__/ -_) _| _|
- // \___\___/_||_\__\___|_||_\__| |____\___|_| \__|
- #content-left{
- z-index: 5;
- box-sizing: content-box;
- // position:fixed;
- 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{
- display: inline-block;
- .field__item{
- display: inline-block;
- a{
- @include btn;
- background-color: #fff;
- color: $color-showrooms;
- }
- }
- }
- .field--name-field-showroom-files{
- display: inline-block;
- .field__item{
- display: inline-block;
- span.file{
- @include btn;
- padding-left: 25px;
- background-position-x: 5px;
- 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{
- // text-align: center;
- // display: table;
- // width: 100%;
- // &:last-child{
- // margin: 0.1em 0 0;
- // }
- margin-top: 0.5em;
- >div{
- // display: flex;
- // flex-direction: row;
- // justify-content: center;
- // align-items: center;
- // display: table-row;
- // height: 1em;
- display: grid;
- grid-template-columns: 50% 50%;
- >*{
- // height:2em;
- // display: table-cell;
- // vertical-align: middle;
- align-self: center;
- }
- .field--name-field-description{
- text-align: right;
- // width: 55%;
- // margin-right: 0.5em;
- // min-width: 10em;
- h4{
- font-size: 1.512em;
- font-weight: 800;
- color: #fff;
- white-space: nowrap;
- line-height: 1;
- }
- p{
- font-size: 0.882em;
- line-height: 0.8;
- margin: 0;
- }
- }
- form{
- text-align: left;
- padding-left: 1em;
- // position: relative;
- .field--name-purchased-entity,
- .field--name-quantity{
- display: none;
- }
- .form-actions{
- margin:0;
- }
- input.button--add-to-cart{
- @include btn;
- margin: 0;
- }
- }
- }
- }
- }
- 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: 500;
- 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;
- background-color: #fff;
- // 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;
- min-height: 80px;
- }
- }
- // 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;
- display: grid;
- grid-template-columns: 50% 50%;
- margin-top: 0.5em;
- >*{
- align-self: center;
- }
- div.variation-description{
- // flex: 0 0 auto;
- color: #fff;
- text-align: right;
- h4{
- font-size: 1.5em;
- font-weight: 800;
- margin:0;
- line-height: 1;
- }
- p{
- margin:0;
- line-height: 0.8;
- }
- }
- div.actions{
- text-align: left;
- padding-left: 1em;
- button{
- @include btn;
- background-color: #fff;
- }
- }
- }
- a.btn{
- @include btn;
- background-color: #fff;
- }
- }
- &:nth-child(1){
- background-color: $color-base;
- aside .variation .actions button{
- color: $color-base;
- }
- }
- &:nth-child(2){
- background-color: $color-webshowroom;
- aside .variation .actions button{
- color: $color-webshowroom;
- }
- }
- &:nth-child(3){
- background-color: $color-showrooms;
- aside .variation .actions 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-item-materio-commerce-agree-nominative-nominative-terms{
- label{
- max-width: 95%;
- vertical-align: top;
- }
- }
- }
- }
- 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;
- }
- }
- .form-item-commentaires{
- background-color: $color-blabla;
- margin:0;
- padding:1em;
- }
- #edit-actions{
- // background-color: $color-showrooms;
- // margin:0;
- // padding: 1em;
- text-align: right;
- input[type="submit"]{
- background-color: $color-blabla;
- color: #fff;
- }
- }
- }
- form#get-email {
- padding:1em;
- width:100%;
- box-sizing: border-box;
- max-width: 450px;
- input[type="email"]{
- max-width: 95%;
- }
- div#edit-actions{
- text-align: right;
- }
- input[type="submit"]{
- @include btn;
- background-color: $color-base;
- color: #fff;
- margin: 0;
- }
- }
- // ___ _
- // | __|__ ___| |_ ___ _ _
- // | _/ _ \/ _ \ _/ -_) '_|
- // |_|\___/\___/\__\___|_|
- footer[role="contentinfo"]{
- // body:not(.path-home) & {
- // display:none;
- // }
- body.path-base & {
- display: none;
- }
- >.wrapper{
- display:flex;
- flex-flow: row nowrap;
- >div{
- flex: 1 1 auto;
- align-self: center;
- }
- }
- #footer-left{
- // !! OLD
- #block-materiosimplenewssubscription{
- form{
- display: flex;
- flex-flow: row nowrap;
- align-items: center;
- font-size: 0.756em;
- >*{
- margin-right: 0.5em;
- }
- .form-item,
- .form-actions{
- margin-top: 0.3em;
- margin-bottom: 0.3em;
- }
- #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;
- }
- }
- }
- }
- #block-simplenewssubscription{
- display: flex;
- flex-flow: row nowrap;
- align-items: center;
- font-size: 0.756em;
- >*{
- margin: 0;
- margin-right: 0.5em;
- }
- h2{ font-size: inherit;}
- form{
- display: flex;
- flex-flow: row nowrap;
- align-items: center;
- >*{
- margin-right: 0.5em;
- }
- .form-item,
- .form-actions{
- margin-top: 0.3em;
- margin-bottom: 0.3em;
- }
- #edit-subscriptions-wrapper{
- display: none;
- }
- #edit-mail-wrapper{
- .description{
- display: none;
- }
- }
- }
- }
- }
- #footer-middle{
- }
- #footer-right{
- text-align: right;
- font-size: 0.756em;
- // nav.block-menu.menu--footer{
- // display: inline-block;
- // font-size: 0.756em;
- // ul.menu{
- // padding:0; margin:0;
- // display: flex;
- // flex-flow: row nowrap;
- // li.menu-item{
- // padding: 0.5em;
- // }
- // }
- // }
- }
- }
- .eu-cookie-compliance-banner{
- .popup-content{
- display: flex;
- flex-flow: row nowrap;
- font-size: 00.756em;
- padding: 0.3em 0;
- & > *{
- flex: 1 1 auto;
- margin:0;
- align-self: center;
- max-width: 70%;
- }
- button{
- margin:0;
- }
- #popup-buttons{
- text-align: right;
- }
- }
- }
- img.lazy{
- &.loading{
- // background-color: red;
- }
- }
- #better-messages-default{
- max-width: 90%;
- }
- #auth_box #user-login-form{
- span.login-message{
- display: none;
- }
- input[type="email"],
- input[type="password"]{
- max-width: 95%;
- }
- }
- form#user-form {
- max-width: 800px;
- label {
- display: inline-block;
- width: 14em;
- font-weight: bold;
- }
- input{
- width: 16em;
- }
- .description{
- padding: 1em 0;
- max-width: 35em;
- }
- details{
- border: none;
- }
- .form-item-pass-pass2{
- margin-top: 1em;
- }
- .js-password-confirm-message{
- padding-top: 0.5em;
- }
- .password-strength{
- padding-top: 0.5em;
- width: 30em;
- display: flex;
- flex-flow: row-reverse;
- >div{
- flex: 0 0 50%;
- }
- }
- }
- body.path-user{
- #block-actionsdadministrationprincipales{
- nav.action-links{
- a{
- border-radius: 1em;
- background-color: $color-base;
- color: #fff;
- padding: 0.5em 1em;
- font-weight: 600;
- }
- }
- }
- #main-content{
- table.responsive-enabled{
- td{
- width: fit-content;
- padding: 0.5em 1em;
- }
- }
- }
- }
|