1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927 |
- @import './base/variables';
- @import './base/colors';
- @import './base/reset';
- @import './base/grid';
- @import './base/layout';
- @import './base/animations';
- @import './base/fonts';
- html{
- // background-color: red;
- }
- 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;
- }
- #block-sitebranding{
- h1{
- margin:0;
- line-height: 1;
- }
- }
- #block-userlogin{
- position: relative;
- // width:8em;
- padding:0 1em;
- overflow: visible;
- h2{
- @extend %header-fs;
- line-height: 1.38;
- margin: 0;
- }
- &>section{
- background-color: #fff;
- overflow: hidden;
- width:11em;
- max-height:0px;
- padding:0.01em 1em;
- // margin:0 0 0 -1em;
- box-sizing:content-box;
- transition: all 0.4s ease-in-out;
- // outline: 1px solid blue;
- transition-delay: 2s;
- position: absolute;
- right:0;
- top:1.7em;
- box-sizing: content-box;
- z-index:100;
- }
- &: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;
- h4{
- @extend %header-fs;
- cursor: pointer;
- }
- .mdi-logout::before {
- margin: -0.125em 0 0 0;
- vertical-align: top;
- }
- }
- // vue flaglist
- #user-flags{
- border-left: 1px solid #000;
- 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;}
- }
- ul{
- background-color: #fff;
- overflow: hidden;
- width:11em;
- max-height:1px;
- padding:0.01em 1em;
- // margin:0 0 0 -1em;
- box-sizing:content-box;
- transition: all 0.4s ease-in-out;
- // outline: 1px solid blue;
- transition-delay: 2s;
- position: absolute;
- right:0;
- top:1.7em;
- box-sizing: content-box;
- z-index: 30;
- }
- &: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;
- }
- span.mdi{
- font-size: 0.9em;
- }
- div.actions{
- opacity:0;
- transition: opacity 0.3s ease-in-out;
- padding-left:0.5em;
- span.mdi{
- cursor: pointer;
- color: #4e4d4d;
- }
- span.delete-btn{
- &.loading:before{
- animation: rotating 2s linear infinite;
- }
- }
- }
- &:hover{
- div.actions{
- opacity:1;
- }
- }
- &.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: 1em;
- padding-left: 1em;
- border-left: 1px solid #000;
- ul.menu{
- margin:0;
- li{
- padding:0;
- display: inline-block;
- &:not(:first-of-type){
- margin-left: 0.5em;
- }
- a{
- @extend %header-fs;
- }
- }
- }
- }
- #block-languageswitcher{
- text-align: right;
- 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;
- }
- &>ul.links{
- // background-color: #fff;
- overflow: hidden;
- width:3.5em;
- // display: inline-block;
- height:1px;
- padding:0.01em 0;
- margin:0;
- box-sizing:content-box;
- transition: all 0.4s ease-in-out;
- // outline: 1px solid blue;
- // transition-delay: 2s;
- }
- &:hover{
- &>ul.links{
- transition-delay: 0s;
- height:2em;
- padding:0.3em 0;
- // box-shadow: 0 0 10px #ccc;
- }
- }
- 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-reverse;
- // justify-content: flex-start;
- #block-pagetitle{
- width: max-content;
- }
- #block-materiosapisearchblock{}
- }
- }
- #block-pagetitle{
- // float: left;
- padding:1em 0;
- h2{
- margin:0;
- font-size: 1.512em;
- text-transform: capitalize;
- font-weight: 300;
- 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;
- }
- }
- }
- #block-materiosapisearchblock{
- // float:right;
- // display:inline-block;
- // box-shadow: 0 0 5px rgba(0,0,0,0.2);
- padding:0;
- #materio-sapi-search-form{
- .form-item, input.button{
- display: inline-block;
- }
- #edit-search{
- border:1px #BBB solid;
- border-radius: 14px;
- padding:0.3em;
- color:#666;
- }
- .button.form-submit{
- border:0;
- text-indent: 50px;
- overflow: hidden;
- width:20px; height:20px;
- margin:0;
- // border-radius: 7px;
- background-image: url('../img/search.png');
- background-position: center;
- background-repeat: no-repeat;
- background-size: contain;
- }
- }
- }
- }
- // 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{
- >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;
- }
- }
- }
- }
- }
- }
- }
- // __ _
- // / _|_ _ ___ _ _| |_
- // | _| '_/ _ \ ' \ _|
- // |_| |_| \___/_||_\__|
- @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;
- }
- %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;
- .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;
- }
- }
- >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 $column_width * 2;
- padding:1em;
- }
- }
- }
- &.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;
- 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;
- }
- }
- }
- }
- }
- }
- &.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;
- }
- .field--name-field-pricing-pitch{
- text-align: center;
- p{ margin:0;}
- }
- .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;
- }
- }
- .field--name-computed-products-reference{
- display: flex;
- flex-flow: row nowrap;
- // TODO: mediaQuery column
- >.field__item{
- flex:0 0 50%;
- text-align: center;
- padding: 2em 0;
- a.btn{
- @include btn;
- background-color: #fff;
- }
- &:nth-child(1){
- background-color: $color-base;
- a.btn{
- color: $color-base;
- }
- }
- &:nth-child(2){
- background-color: $color-webshowroom;
- a.btn{
- color: $color-webshowroom;
- }
- }
- color: #fff;
- position: relative;
- height:18em;
- >article{
- position: absolute;
- top:50%; left:50%;
- transform: translate(-50%, -50%);
- }
- .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;
- }
- }
- }
- }
- }
- }
- }
- }
- // ___ _
- // / __|__ _ _ _ __| |___
- // | (__/ _` | '_/ _` (_-<
- // \___\__,_|_| \__,_/__/
- .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;
- }
- &>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;
- }
- }
- }
- 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;
- }
- &.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:transparent;
- .mdi.unflag{
- cursor: pointer;
- }
- }
- }
- &.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;
- }
- &:hover{
- .tool-content{
- transition: all 0.3s ease-in-out;
- opacity: 1;
- padding: 0.3em;
- max-height: 195px;
- max-width:200px;
- }
- }
- }
- .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;
- &:hover, &.isActive{
- color:#1a1a1a;
- }
- }
- }
- opacity: 0;
- transition: opacity 0.2s ease-in-out;
- }
- &: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%;
- }
- 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.2;
- --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{
- }
- }
- }
- 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;
- }
- }
- section.tool.samples{
- div.tool-content{
- ul{
- // display: flex;
- // flex-flow: row wrap;
- font-size: 0.882em;
- font-weight: 300;
- // line-height: 1.35;
- li{
- padding-right: 0.5em;
- span.showroom{ font-weight: 500; }
- }
- }
- }
- }
- section.tool.note{
- &: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;
- }
- }
- }
- }
- }
- // _____ _ _ _
- // |_ _| |_ ___ _ __ __ _| |_(_)__ _ _ _ ___
- // | | | ' \/ -_) ' \/ _` | _| / _` | || / -_)
- // |_| |_||_\___|_|_|_\__,_|\__|_\__, |\_,_\___|
- // |_|
- #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;
- }
- aside.linked-materials{
- 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{
- 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;
- }
- }
- 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;
- }
- }
- // 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{
- 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{
- &.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;
- }
- &:nth-child(1){
- grid-column: 1;
- a:before{
- content:'< ';
- }
- }
- &:nth-child(2){
- grid-column: 2;
- text-align: right;
- a:after{
- content:' >';
- }
- }
- }
- }
- }
- // ___ _
- // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
- // \__ \ ' \/ _ \ 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 50%;
- text-align: center;
- padding: 2em 0;
- >header{
- padding-bottom: 1.3em;
- }
- >header h1,
- .views-field-title{
- font-size: 4em;
- line-height: 0.6;
- color: #fff;
- text-align: center;
- word-spacing: 30000px;
- }
- section.content, .views-field-body{
- color: #fff;
- .description{
- font-size: 1.134em;
- p{
- margin: 0.3em;
- }
- }
- }
- aside{
- padding:1em 0;
- .variation{
- display: flex;
- flex-flow: row nowrap;
- justify-content: center;
- align-items:flex-end;
- div.variation-description{
- flex: 0 0 6.7em;
- font-size: 2.012em;
- font-weight: 800;
- color: #fff;
- p{
- margin:0;
- text-align: left;
- }
- }
- button{
- @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;
- }
- }
- }
- }
- .modal{
- position: relative;
- }
- #pricing-modal-login-register{
- position: relative;
- width: 100%;
- text-align: left;
- h2{
- margin: 0.4em 0 1.1em;
- padding-right: 4em;
- font-size: 1.2em;
- font-weight: 300;
- }
- #login-register{
- width: 100%;
- display: flex;
- flex-flow: row nowrap;
- >section{
- flex:0 0 250px;
- 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{
- }
- }
- }
- #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;
- label,
- legend,
- 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;
- }
- }
- }
- }
- form#user-pass{
- input.form-email{
- max-width: 95%;
- }
- }
- // ___ _
- // | __|__ ___| |_ ___ _ _
- // | _/ _ \/ _ \ _/ -_) '_|
- // |_|\___/\___/\__\___|_|
- 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.7em 1em;
- font-weight: 700;
- }
- }
- }
- }
- }
|