main.scss 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949
  1. // @import '~slim-select/scss';
  2. $mdi-font-path: './mdi/fonts/';
  3. @import './mdi/css/materialdesignicons.css';
  4. @import './mdi/scss/variables';
  5. @import './mdi/scss/functions';
  6. @import './base/variables';
  7. @import './base/colors';
  8. @import './base/reset';
  9. @import './base/grid';
  10. @import './base/layout';
  11. @import './base/animations';
  12. @import '../fonts/ubuntu/ubuntu.css';
  13. @import './base/fonts';
  14. // @import './base/responsive';
  15. // .dialog-off-canvas-main-canvas{
  16. // background-color: red;
  17. // }
  18. @mixin iconMDI($name) {
  19. &::before {
  20. content: mdi($name);
  21. display: inline-block;
  22. font: normal normal normal #{$mdi-font-size-base}/1 '#{$mdi-font-name}'; // shortening font declaration
  23. font-size: inherit; // can't have font-size inherit on line above, so need to override
  24. text-rendering: auto; // optimizelegibility throws things off #1094
  25. line-height: inherit;
  26. -webkit-font-smoothing: antialiased;
  27. -moz-osx-font-smoothing: grayscale;
  28. }
  29. }
  30. @mixin hover{
  31. @media (hover: hover) { /* solves sticky problem */
  32. &:hover {
  33. @content;
  34. }
  35. }
  36. &.tapped{
  37. @content;
  38. }
  39. }
  40. aside.messages{
  41. border:none;
  42. }
  43. // _ _ _
  44. // | || |___ __ _ __| |___ _ _
  45. // | __ / -_) _` / _` / -_) '_|
  46. // |_||_\___\__,_\__,_\___|_|
  47. header[role="banner"]{
  48. padding:0.2em 0 0 0;
  49. %header-fs{
  50. font-size: 0.9em;
  51. // line-height: 1;
  52. font-weight: 400;
  53. }
  54. // @include col-mediaquery-max(3){
  55. // overflow-x: hidden;
  56. // }
  57. #block-sitebranding{
  58. h1{
  59. margin:0;
  60. line-height: 1;
  61. }
  62. .slogan{
  63. font-size: 0.882em;
  64. display: block;
  65. white-space: nowrap;
  66. // @include col-mediaquery-max(2){
  67. // display:none;
  68. // }
  69. }
  70. @include col-mediaquery-max(3){
  71. h1, .slogan{
  72. display: inline-block;
  73. }
  74. }
  75. @include col-mediaquery-max(4, landscape){
  76. .slogan{
  77. display: none;
  78. }
  79. }
  80. }
  81. @include col-mediaquery-max(3){
  82. .header-block.header-right{
  83. .header-block-wrapper{
  84. &, #user-flags ul{
  85. // background-color: #222;
  86. // color: #fff;
  87. background-color: #fff;
  88. }
  89. }
  90. }
  91. }
  92. #block-socialmedialinks{
  93. padding-right: 0.5em;
  94. border-right: 1px solid $color-main-text;
  95. margin-right: 0.5em;
  96. li{
  97. padding:0;
  98. }
  99. // @include col-mediaquery-max(4){
  100. // display:none;
  101. // }
  102. }
  103. #block-userlogin{
  104. position: relative;
  105. // width:8em;
  106. padding:0 1em;
  107. overflow: visible;
  108. h2{
  109. @extend %header-fs;
  110. line-height: 1.38;
  111. margin: 0;
  112. }
  113. &>section{
  114. overflow: hidden;
  115. background-color: #fff;
  116. // margin:0 0 0 -1em;
  117. box-sizing:content-box;
  118. transition: all 0.4s ease-in-out;
  119. // outline: 1px solid blue;
  120. right:0;
  121. top:1.7em;
  122. box-sizing: content-box;
  123. z-index:100;
  124. }
  125. // appears on hover only on big screens
  126. @include col-mediaquery-min(3){
  127. &>section{
  128. max-height:0px;
  129. padding:0.01em 1em;
  130. transition-delay: 2s;
  131. position: absolute;
  132. width:11em;
  133. }
  134. @include hover{
  135. &>section{
  136. transition-delay: 0s;
  137. max-height:20em;
  138. padding:1em 1em;
  139. box-shadow: 0 0 10px #ccc;
  140. }
  141. }
  142. }
  143. .form-item{
  144. margin:0;
  145. position: relative;
  146. width:100%;
  147. &.form-item-name{
  148. margin:2px 0 0.5em 0;
  149. input{
  150. width:90%;
  151. padding:0;
  152. box-sizing: content-box;
  153. }
  154. }
  155. &.form-item-pass{
  156. margin:0 0 0.5em 0;
  157. input{
  158. width:90%;
  159. padding:0;
  160. box-sizing: content-box;
  161. }
  162. }
  163. &.form-item-persistent-login{
  164. font-size: 0.756em;
  165. label{
  166. vertical-align: top;
  167. }
  168. }
  169. }
  170. #edit-actions{
  171. margin:0;
  172. }
  173. .item-list{
  174. ul{
  175. margin:0;
  176. li{
  177. list-style: none;
  178. margin:0;
  179. a{
  180. font-size: 0.756em;
  181. }
  182. }
  183. }
  184. }
  185. span.login-message{
  186. color: red;
  187. font-size: 0.693em;
  188. line-height: 1.2;
  189. display: block;
  190. padding: 0 0 0.8em 0;
  191. }
  192. span.login-message[v-if="loginMessage"],
  193. span.register-message[v-if="registerMessage"]{
  194. display: none;
  195. }
  196. }
  197. // non-vue userblock
  198. #block-userblock{
  199. h2{display:none;}
  200. a{
  201. margin-right: 1em;
  202. }
  203. }
  204. // vue userblock
  205. #user-tools{
  206. padding-top: 0.06em;
  207. a.mdi-account{
  208. @extend %header-fs;
  209. cursor: pointer;
  210. span{
  211. @include col-mediaquery-min-max(3,5){
  212. display:none;
  213. }
  214. }
  215. }
  216. .mdi-logout::before {
  217. margin: -0.125em 0 0 0;
  218. vertical-align: top;
  219. }
  220. }
  221. // vue flaglist
  222. #user-flags{
  223. padding-left: 0.5em;
  224. margin-left: 0.5em;
  225. display: inline-block;
  226. vertical-align: top;
  227. position: relative;
  228. h2{
  229. @extend %header-fs;
  230. cursor: pointer;
  231. &:before{padding-right: 0.2em;}
  232. span{
  233. @include col-mediaquery-min-max(3,5){
  234. display:none;
  235. }
  236. }
  237. }
  238. ul{
  239. background-color: #fff;
  240. overflow: hidden;
  241. // margin:0 0 0 -1em;
  242. box-sizing:content-box;
  243. // outline: 1px solid blue;
  244. box-sizing: content-box;
  245. }
  246. // folders menu dropdown only for gig screens
  247. @include col-mediaquery-min(3){
  248. border-left: 1px solid #000;
  249. ul{
  250. transition: all 0.4s ease-in-out;
  251. transition-delay: 2s;
  252. z-index: 30;
  253. position: absolute;
  254. right:0;
  255. top:1.7em;
  256. width:11em;
  257. max-height:1px;
  258. padding:0.01em 1em;
  259. }
  260. @include hover{
  261. ul{
  262. transition-delay: 0s;
  263. max-height:50em;
  264. padding:1em 1em;
  265. box-shadow: 0 0 10px #ccc;
  266. }
  267. }
  268. }
  269. li{
  270. width:100%;
  271. // cursor: pointer;
  272. display: flex;
  273. flex-direction: row;
  274. align-items: baseline;
  275. flex-wrap: nowrap;
  276. h5{
  277. @extend %header-fs;
  278. cursor: pointer;
  279. font-weight: 700;
  280. span.length{
  281. font-weight: 300;
  282. }
  283. }
  284. span.mdi{
  285. font-size: 0.9em;
  286. }
  287. div.actions{
  288. padding-left:0.5em;
  289. span.mdi{
  290. cursor: pointer;
  291. color: #4e4d4d;
  292. }
  293. span.delete-btn{
  294. &.loading:before{
  295. animation: rotating 2s linear infinite;
  296. }
  297. }
  298. }
  299. @include col-mediaquery-min(3){
  300. div.actions{
  301. opacity:0;
  302. transition: opacity 0.3s ease-in-out;
  303. }
  304. @include hover{
  305. div.actions{
  306. opacity:1;
  307. }
  308. }
  309. }
  310. // small screens
  311. @include col-mediaquery-max(3){
  312. flex-direction: row-reverse;
  313. div.actions{
  314. padding-left: 0;
  315. padding-right: 0.5em;
  316. }
  317. }
  318. &.create-flag{
  319. margin-top: 0.2em;
  320. input{
  321. align-self: flex-end;
  322. border: 1px solid #bbb;
  323. border-radius:5px;
  324. width: calc(100% - 2em);
  325. font-size:0.8em;
  326. }
  327. span.add-btn{
  328. align-self: flex-end;
  329. color: #bbb;
  330. font-size: 1em;
  331. padding: 0 0 0 .5em;
  332. transition: all 0.2s ease-in-out;
  333. &.active{
  334. cursor: pointer;
  335. color:#1a1a1a;
  336. }
  337. &.loading:before{
  338. animation: rotating 2s linear infinite;
  339. }
  340. }
  341. }
  342. }
  343. }
  344. // menu
  345. #block-header{
  346. margin-right: 0.5em;
  347. padding-left: 0.5em;
  348. border-left: 1px solid #000;
  349. #block-header-menu{
  350. display:none;
  351. }
  352. // label[for="block-header-menu"]{
  353. // display:none;
  354. // }
  355. ul.menu{
  356. margin:0;
  357. li{
  358. padding:0;
  359. a{
  360. @extend %header-fs;
  361. }
  362. }
  363. }
  364. // @include col-mediaquery-max(3){
  365. ul.menu{
  366. li{
  367. display: inline-block;
  368. &:not(:first-of-type){
  369. margin-left: 0.3em;
  370. }
  371. }
  372. }
  373. // }
  374. @include col-mediaquery-max(3){
  375. // position: relative;
  376. //
  377. // label[for="block-header-menu"]{
  378. // display:block;
  379. // }
  380. // /* Toggle Show/Hide Menu */
  381. // // https://code-boxx.com/simple-responsive-pure-css-hamburger-menu/#sec-download
  382. // ul.menu { display: none; }
  383. // input:checked ~ ul.menu { display: block; }
  384. // ul.menu{
  385. // position: absolute;
  386. // width: 110px;
  387. // height: auto;
  388. // top: 18.9px;
  389. // right: 0;
  390. // background-color: white;
  391. // padding: 0.2em 0.5em;
  392. // margin-right: -0.5em;
  393. // z-index: 90;
  394. // text-align: right;
  395. // li{
  396. // display: block;
  397. // }
  398. // }
  399. ul.menu{
  400. text-align: right;
  401. li{
  402. display: block;
  403. a{
  404. display: block;
  405. padding: 0.2em 0;
  406. }
  407. }
  408. }
  409. }
  410. }
  411. #block-languageswitcher{
  412. text-align: right;
  413. position: relative;
  414. padding-right: 3px;
  415. h2{
  416. margin: 0.1em 0 0 0;
  417. font-size: 0.756em;
  418. font-weight: 400;
  419. padding:0.1em 0.4em 0.2em;
  420. border-radius: 3px;
  421. background-color: #444;
  422. color: #fff;
  423. display: inline-block;
  424. vertical-align: top;
  425. @include iconMDI('translate');
  426. width:12px;
  427. height:15px;
  428. overflow: hidden;
  429. }
  430. &>ul.links{
  431. // background-color: #fff;
  432. overflow: hidden;
  433. // display: inline-block;
  434. margin:0;
  435. box-sizing:content-box;
  436. // outline: 1px solid blue;
  437. // transition-delay: 2s;
  438. }
  439. @include col-mediaquery-min(3){
  440. &>ul.links{
  441. width:3.5em;
  442. position: absolute;
  443. top:17px;
  444. right:0;
  445. transition: all 0.4s ease-in-out;
  446. padding:0.01em 0;
  447. height:1px;
  448. }
  449. @include hover{
  450. &>ul.links{
  451. transition-delay: 0s;
  452. height:2em;
  453. padding:0.3em 0;
  454. // box-shadow: 0 0 10px #ccc;
  455. }
  456. }
  457. }
  458. @include col-mediaquery-max(3){
  459. h2{display: none;}
  460. }
  461. li{
  462. list-style: none;
  463. padding:0;
  464. display: inline-block;
  465. &.is-active{
  466. display:none;
  467. }
  468. a{
  469. margin: 0;
  470. font-size: 0.756em;
  471. font-weight: 400;
  472. padding:0.2em 0.4em;
  473. border-radius: 3px;
  474. background-color: #444;
  475. color: #fff;
  476. }
  477. }
  478. }
  479. // header bottom
  480. #header-bottom{
  481. // disable the default wrapper behaviour
  482. &:after{content: none;}
  483. // apply flex for normal layout
  484. display: flex;
  485. flex-direction: row;
  486. justify-content: space-between;
  487. #block-pagetitle{}
  488. #block-materiosapisearchblock{
  489. align-self: flex-end;
  490. }
  491. @include col-mediaquery-max(3){
  492. flex-direction: column;
  493. justify-content:center;
  494. #block-pagetitle{
  495. // width: max-content;
  496. width:100%;
  497. }
  498. #block-materiosapisearchblock{
  499. box-sizing: border-box;
  500. width:100%;
  501. }
  502. }
  503. @include col-mediaquery-max(4, landscape){
  504. #block-materiosapisearchblock{
  505. align-self: flex-start;
  506. }
  507. }
  508. }
  509. #block-pagetitle{
  510. // float: left;
  511. padding:1em 0;
  512. h2{
  513. margin:0;
  514. font-size: 1.512em;
  515. text-transform: capitalize;
  516. font-weight: 300;
  517. body.path-home & {
  518. display: none;
  519. }
  520. body:not(.path-home) & {
  521. padding:0.5em 1em;
  522. }
  523. body.path-blabla &,
  524. body.path-checkout & {
  525. color: #fff;
  526. background-color: $color-blabla;
  527. }
  528. body.path-showrooms & {
  529. color: #fff;
  530. background-color: $color-showrooms;
  531. }
  532. body.path-base &,
  533. body.path-thematique & {
  534. color: #fff;
  535. background-color: $color-base;
  536. }
  537. body.path-pricing & {
  538. color: #fff;
  539. background-color: $color-webshowroom;
  540. }
  541. body.path-webform & {
  542. color: #fff;
  543. background-color: $color-showrooms;
  544. }
  545. body.path-privacy-policy &,
  546. body.path-tos & {
  547. color: #fff;
  548. background-color: $color-main-text;
  549. }
  550. body.path-user & {
  551. color: #fff;
  552. background-color: $color-base;
  553. text-transform: lowercase;
  554. }
  555. }
  556. @include col-mediaquery-max(3){
  557. body.path-frontpage &, body.path-home & {
  558. display: none;
  559. }
  560. padding: 1em 0 0;
  561. body.path-base &{
  562. h2{
  563. padding: 0.5em 1em 0!important;
  564. }
  565. }
  566. }
  567. @include col-mediaquery-max(4, landscape){
  568. padding:0 0 1em;
  569. h2{
  570. body:not(.path-home) & {
  571. padding:0 0.6em 0.1em;
  572. }
  573. }
  574. }
  575. }
  576. #block-materiosapisearchblock{
  577. // float:right;
  578. // display:inline-block;
  579. // box-shadow: 0 0 5px rgba(0,0,0,0.2);
  580. padding:0;
  581. #materio-sapi-search-form{
  582. display: grid;
  583. grid-template-columns: auto 25px;
  584. grid-template-rows: auto auto;
  585. row-gap: 0.2em;
  586. justify-items: stretch;
  587. .form-item, input.button{
  588. display: inline-block;
  589. margin: 0;
  590. }
  591. .form-item-search{
  592. grid-row: 1 / 1;
  593. grid-column: 1 / 1;
  594. position: relative;
  595. #edit-search{
  596. border:1px #BBB solid;
  597. border-radius: 14px;
  598. padding:0.3em;
  599. color:#666;
  600. width: 100%;
  601. box-sizing: border-box;
  602. }
  603. }
  604. fieldset#edit-filters{
  605. grid-row: 2 / 2;
  606. grid-column: 1 / span 2;
  607. border: none;
  608. padding: 0;
  609. >legend{
  610. line-height: 0.6;
  611. padding-bottom: 0.2em;
  612. width: 100%;
  613. text-align: right;
  614. span{
  615. cursor: pointer;
  616. font-size: 0.756em;
  617. color: #8f8f8f;
  618. }
  619. }
  620. > div.fieldset-wrapper{
  621. height: 0;
  622. overflow: hidden;
  623. }
  624. &.open >div.fieldset-wrapper{
  625. height: auto;
  626. overflow: visible;
  627. }
  628. .ss-main{
  629. font-size: 0.756em;
  630. .ss-single-selected{
  631. border-radius: 0.7em;
  632. &.ss-open-below{
  633. border-radius: 0.7em 0.7em 0 0.7em;
  634. }
  635. height:1.5em;
  636. border: none;
  637. padding: 0 0.5em;
  638. background-color: #eeeaea;
  639. span.placeholder{
  640. color: $color-main-text;
  641. line-height: 1;
  642. span.ss-disabled{
  643. color: #8f8f8f;
  644. }
  645. }
  646. span.ss-arrow span{
  647. border-color: #b1adad;
  648. }
  649. }
  650. .ss-content{
  651. width:auto;
  652. border: none;
  653. border-radius: 0.7em 0 0.7em 0.7em;
  654. &.ss-open{
  655. box-shadow: 0 0 10px #ccc;
  656. }
  657. right: 0;
  658. .ss-list{
  659. max-height: none;
  660. .ss-option{
  661. white-space: nowrap;
  662. text-align: right;
  663. }
  664. }
  665. }
  666. }
  667. }
  668. .button.form-submit{
  669. grid-row: 1 / 1;
  670. grid-column: 2 / 2;
  671. justify-self: end;
  672. align-self: center;
  673. border:0;
  674. text-indent: 50px;
  675. overflow: hidden;
  676. width:20px; height:20px;
  677. margin:0;
  678. // border-radius: 7px;
  679. background-image: url('../img/search.svg');
  680. background-position: center;
  681. background-repeat: no-repeat;
  682. background-size: contain;
  683. background-color: transparent
  684. }
  685. }
  686. @include col-mediaquery-max(3){
  687. body:not(.path-base) &{
  688. display: none;
  689. }
  690. padding: 0 1em 1em;
  691. background-color: $color-base;
  692. }
  693. }
  694. }
  695. // main
  696. aside.messages{
  697. padding: 0;
  698. }
  699. // content top
  700. #content-top{
  701. #block-tabs{
  702. nav.tabs{
  703. ul.tabs.primary{
  704. li{
  705. background-color: change-color($color-base, $alpha: 0.5);
  706. color:#fff;
  707. &.is-active{
  708. background-color: $color-base;
  709. }
  710. a{
  711. background-color: transparent;
  712. }
  713. }
  714. }
  715. }
  716. }
  717. }
  718. #main-content.loading{
  719. transition: all 0.3s ease-in-out;
  720. opacity: 0.5;
  721. pointer-events: none;
  722. }
  723. // ___ _ _ _ __ _
  724. // / __|___ _ _| |_ ___ _ _| |_ ___| | ___ / _| |_
  725. // | (__/ _ \ ' \ _/ -_) ' \ _|___| |__/ -_) _| _|
  726. // \___\___/_||_\__\___|_||_\__| |____\___|_| \__|
  727. #content-left{
  728. z-index: 5;
  729. box-sizing: content-box;
  730. max-width:1px;
  731. overflow-x: hidden;
  732. transition: all 0.3s ease-in-out;
  733. &.opened{
  734. max-width: 500px;
  735. padding: 0.3em;
  736. }
  737. >*{
  738. box-sizing: border-box;
  739. background-color: #fff;
  740. box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
  741. padding: 0.5em;
  742. }
  743. .flag-collection{
  744. >header{
  745. display: flex;
  746. flex-direction: row;
  747. justify-content: space-between;
  748. padding-bottom: $column_goutiere;
  749. h3{
  750. // flex-basis: calc(100% - 1em);
  751. }
  752. .mdi-close{
  753. // display: block;
  754. // flex-basis: 1em;
  755. cursor:pointer;
  756. align-self: flex-end;
  757. }
  758. }
  759. >ul{
  760. @include col-mediaquery-max(2){
  761. display:flex;
  762. flex-direction: row;
  763. flex-wrap: wrap;
  764. justify-content: space-between;
  765. }
  766. >li{
  767. margin:0 0 $column_goutiere 0;
  768. padding:0;
  769. article.card.minicard{
  770. width:$minicard_width;
  771. height:$minicard_height;
  772. margin:auto;
  773. >header{
  774. padding: 0.3em 0.3em 0.1em;
  775. h1{
  776. margin:0;
  777. }
  778. }
  779. >nav.tools{
  780. // top: auto;
  781. // bottom: 0;
  782. padding:0 0.2em;
  783. // background:transparent;
  784. .mdi.unflag{
  785. cursor: pointer;
  786. }
  787. .tool.samples{
  788. .tool-content{
  789. }
  790. }
  791. }
  792. }
  793. }
  794. }
  795. }
  796. }
  797. // __ _
  798. // / _|_ _ ___ _ _| |_
  799. // | _| '_/ _ \ ' \ _|
  800. // |_| |_| \___/_||_\__|
  801. @mixin btn{
  802. display: inline-block;
  803. font-size: 0.9em;
  804. font-weight: bold;
  805. padding: 0.7em 1em;
  806. margin-bottom: 0.3em;
  807. background-color: #fff;
  808. color: #000;
  809. border-radius: 5px;
  810. border: none;
  811. }
  812. article.node--type-frontpage{
  813. %front-col-field__label{
  814. font-size: 3.5em;
  815. line-height: 1;
  816. @include col-mediaquery-max(3){
  817. font-size: 2em;
  818. }
  819. }
  820. %front-col-description{
  821. font-size: 0.9em;
  822. line-height: 1.3;
  823. }
  824. %part-centered-layout{
  825. padding:1.5em 0;
  826. background-color: #fff;
  827. >div:nth-child(1){
  828. width:80%;
  829. margin: 0 auto;
  830. text-align: center;
  831. @include col-mediaquery-max(3){
  832. width:auto;
  833. padding:0 1em;
  834. text-align: left;
  835. }
  836. .field__label{
  837. @extend %front-col-field__label;
  838. }
  839. .field__item{
  840. @extend %front-col-description;
  841. }
  842. }
  843. }
  844. // %part-columned-layout{
  845. // display:grid;
  846. // grid-template-columns: 300px 1fr;
  847. // grid-column-gap: 2em;
  848. // padding:2em 1em;
  849. // >div:nth-child(1){
  850. // color: #fff;
  851. // grid-column: 1;
  852. // .field__label{
  853. // @extend %front-col-field__label;
  854. // }
  855. // .field__item{
  856. // @extend %front-col-description;
  857. // }
  858. // }
  859. // >div:nth-child(2){
  860. // grid-column: 2;
  861. // }
  862. // }
  863. %part-columned-layout{
  864. display:flex;
  865. flex-direction: row;
  866. flex-wrap: nowrap;
  867. >div:nth-child(1){
  868. flex: 0 0 $column_width * 2 + $column_goutiere;
  869. box-sizing: border-box;
  870. padding: 1em;
  871. color: #fff;
  872. .field__label{
  873. @extend %front-col-field__label;
  874. }
  875. .field__item{
  876. @extend %front-col-description;
  877. }
  878. }
  879. >div:nth-child(2){
  880. flex: 1 1 auto;
  881. box-sizing: border-box;
  882. padding: 1em 0.5em;
  883. }
  884. @include col-mediaquery-max(3){
  885. flex-direction: column;
  886. >div:nth-child(1){
  887. flex: 0 0 auto;
  888. // box-sizing: border-box;
  889. // padding: 1em;
  890. }
  891. >div:nth-child(2){
  892. // flex: 1 1 auto;
  893. // box-sizing: border-box;
  894. // padding: 1em 0.5em;
  895. }
  896. }
  897. }
  898. >h2{
  899. display: none;
  900. }
  901. .node__content{
  902. &>section{
  903. &.home-intro{
  904. @extend %part-centered-layout;
  905. .field__item{
  906. display: flex;
  907. flex-flow: row nowrap;
  908. justify-content: center;
  909. p{
  910. flex: 0 0 35%;
  911. max-width: $column_width * 2;
  912. padding:1em;
  913. box-sizing: border-box;
  914. }
  915. @include col-mediaquery-max(3){
  916. display: none;
  917. }
  918. }
  919. }
  920. &.home-database{
  921. background-color: $color-base;
  922. @extend %part-columned-layout;
  923. .field--name-field-a-database{
  924. // .field__label{
  925. // cursor: pointer;
  926. // }
  927. }
  928. .field--name-field-database-links{
  929. .field__item{
  930. display: inline-block;
  931. a{
  932. @include btn;
  933. background-color: #fff;
  934. color: $color-base;
  935. }
  936. }
  937. }
  938. .cards-list-home{
  939. position: relative;
  940. // max-height: (130px*1.4)*3;
  941. max-height: 580px;
  942. overflow-y: hidden;
  943. ul{
  944. width:100%;
  945. margin:0; padding:0;
  946. // display: grid;
  947. // grid-template-columns: repeat(auto-fill, minmax(50px, 130px));
  948. // grid-template-rows: 1fr;
  949. // grid-gap: 1em;
  950. // justify-content:start;
  951. display: flex;
  952. flex-flow: row wrap;
  953. justify-content: space-between;
  954. @include col-mediaquery-max(3){
  955. justify-content: space-around;
  956. }
  957. li{
  958. padding:0 0 $column_goutiere / 2 0;
  959. box-sizing: border-box;
  960. // padding-top: 140%;
  961. width: $column_width / 2;
  962. height: $card_height / 2;
  963. position: relative;
  964. list-style: none;
  965. margin:0;
  966. .card{
  967. // position:absolute;
  968. // top:0; bottom:0;
  969. // left:0; right:0;
  970. width: 100%;
  971. height: 100%;
  972. .field--name-field-short-description{
  973. font-size: 0.656em;
  974. line-height: 1.2;
  975. }
  976. }
  977. }
  978. }
  979. }
  980. }
  981. &.home-showrooms{
  982. background-color: $color-showrooms;
  983. @extend %part-columned-layout;
  984. .field--name-field-showrooms{}
  985. .field--name-field-showroom-links{
  986. .field__item{
  987. display: inline-block;
  988. a{
  989. @include btn;
  990. background-color: #fff;
  991. color: $color-showrooms;
  992. }
  993. }
  994. }
  995. .field--name-computed-showrooms-reference{
  996. overflow: hidden;
  997. position:relative;
  998. // height:550px;
  999. display: grid;
  1000. grid-template-rows: 1fr;
  1001. $bp: ($column_width + $column_goutiere )*7;
  1002. @media only screen and (max-width: $bp){
  1003. grid-template-columns: 1fr;
  1004. >.field__item{
  1005. grid-column: 1;
  1006. }
  1007. }
  1008. @media only screen and (min-width: $bp + 1px){
  1009. grid-template-columns: 1fr 1fr;
  1010. grid-gap: 1em;
  1011. >.field__item:nth-child(odd){
  1012. grid-column: 1;
  1013. }
  1014. >.field__item:nth-child(even){
  1015. grid-column: 2;
  1016. }
  1017. }
  1018. >.field__item{
  1019. grid-row: 1;
  1020. // position: absolute;
  1021. // top:0; left:0;
  1022. // width:100%; height:100%;
  1023. // overflow: hidden;
  1024. opacity: 0;
  1025. // transform: translateX(100%);
  1026. transition: all 2s ease-out;
  1027. &.active{
  1028. opacity: 1;
  1029. // transform: translateX(0);
  1030. // transition: all 0.3s ease-in-out;
  1031. }
  1032. .taxonomy-term{
  1033. position: relative;
  1034. width:100%; height:100%;
  1035. div.visuel{
  1036. width:100%;
  1037. padding-bottom: 5em;
  1038. img{
  1039. max-width: 100%;
  1040. height: auto;
  1041. }
  1042. }
  1043. section.text{
  1044. position: absolute;
  1045. bottom:0; left:0;
  1046. width:100%;
  1047. box-sizing:border-box;
  1048. padding:1em 0 0;
  1049. background-color:$color-showrooms;
  1050. color: #fff;
  1051. // >*{
  1052. // // display: inline-block;
  1053. // font-size: 0.9em;
  1054. // }
  1055. h2,p{
  1056. margin:0;
  1057. }
  1058. h2{
  1059. font-size: 2em;
  1060. }
  1061. .field--name-field-public-address{
  1062. br{
  1063. display:none;
  1064. }
  1065. span:not(:nth-last-of-type(1)) {
  1066. margin-right: 0.4em;
  1067. &:after{
  1068. padding-left: 0.5em;
  1069. content:"⋅"
  1070. }
  1071. }
  1072. }
  1073. .field--name-field-public-phone {
  1074. display: inline-block;
  1075. margin-right: 0.4em;
  1076. &:after{
  1077. padding-left: 0.5em;
  1078. content:"⋅"
  1079. }
  1080. }
  1081. .field--name-field-public-email {
  1082. display: inline-block;
  1083. }
  1084. }
  1085. }
  1086. }
  1087. }
  1088. }
  1089. &.home-blabla{
  1090. background-color: $color-blabla;
  1091. @extend %part-columned-layout;
  1092. .field--name-field-blabla-links{
  1093. .field__item{
  1094. display: inline-block;
  1095. a{
  1096. @include btn;
  1097. background-color: #fff;
  1098. color: $color-blabla;
  1099. }
  1100. }
  1101. }
  1102. .cards-list-home{
  1103. position: relative;
  1104. $bp: ($column_width*2 + $column_goutiere );
  1105. overflow-y: hidden;
  1106. max-height: 315px;
  1107. // @media only screen and (max-width: $bp * 6){
  1108. // max-height: 630px;
  1109. // }
  1110. // @media only screen and (min-width: ($bp * 6) + 1px){
  1111. // max-height: 310px;
  1112. // }
  1113. ul{
  1114. width:100%;
  1115. margin:0; padding:0;
  1116. // display: grid;
  1117. // grid-template-columns: repeat(auto-fill, minmax(80px, $column_width*2));
  1118. // // grid-template-rows: 1fr;
  1119. // grid-gap: 1em;
  1120. // justify-content:start;
  1121. display: flex;
  1122. flex-flow: row wrap;
  1123. justify-content: space-between;
  1124. li{
  1125. padding:0 0 $column_goutiere 0;
  1126. box-sizing: border-box;
  1127. // padding-top: 140%;
  1128. width: $column_width;
  1129. // height: $card_height / 2;
  1130. position: relative;
  1131. list-style: none;
  1132. margin:0;
  1133. // padding-top: 67.8%;
  1134. overflow: hidden;
  1135. .card{
  1136. // position:absolute;
  1137. // top:0; bottom:0;
  1138. // left:0; right:0;
  1139. width: 100%;
  1140. height: auto;
  1141. .field--name-title{
  1142. font-size: 0.756em;
  1143. line-height: 0.9;
  1144. }
  1145. }
  1146. }
  1147. }
  1148. @include col-mediaquery-max(3){
  1149. max-height: 386px;
  1150. ul{
  1151. justify-content: space-around;
  1152. li{
  1153. flex: 0 3 45%;
  1154. }
  1155. }
  1156. }
  1157. }
  1158. }
  1159. &.home-pricing{
  1160. @extend %part-centered-layout;
  1161. >h3{
  1162. @extend %front-col-field__label;
  1163. text-align: center;
  1164. text-transform: capitalize;
  1165. padding: 0.7em 0 0.3em 0;
  1166. @include col-mediaquery-max(3){
  1167. text-align: left;
  1168. padding: 0 0.4em;
  1169. }
  1170. }
  1171. .field--name-field-pricing-pitch{
  1172. text-align: center;
  1173. p{ margin:0;}
  1174. @include col-mediaquery-max(3){
  1175. text-align: left;
  1176. p{ padding: 0.5em 1em; }
  1177. }
  1178. }
  1179. .field--name-field-pricing{
  1180. // padding:2em 0;
  1181. display: flex;
  1182. flex-flow: row nowrap;
  1183. justify-content: center;
  1184. padding-bottom: 1em;
  1185. p{
  1186. flex: 0 0 $column_width * 2;
  1187. padding: 1em;
  1188. margin: 0;
  1189. text-align: center;
  1190. }
  1191. @include col-mediaquery-max(3){
  1192. flex-flow: column;
  1193. justify-content: flex-start;
  1194. p{
  1195. flex: 0 0 auto;
  1196. text-align: left;
  1197. padding: 0 1em 0.5em;
  1198. }
  1199. }
  1200. }
  1201. .field--name-computed-products-reference{
  1202. display: flex;
  1203. flex-flow: row nowrap;
  1204. @include col-mediaquery-max(5){
  1205. flex-flow: column;
  1206. justify-content: flex-start;
  1207. }
  1208. >.field__item{
  1209. flex:0 0 33%;
  1210. text-align: center;
  1211. padding: 2em 0;
  1212. color: #fff;
  1213. position: relative;
  1214. height:23em;
  1215. >article{
  1216. position: absolute;
  1217. top:50%; left:50%;
  1218. transform: translate(-50%, -50%);
  1219. width:80%;
  1220. }
  1221. .field--name-title{
  1222. @extend %front-col-field__label;
  1223. font-weight: 600;
  1224. line-height: 0.7;
  1225. padding-bottom: 0.1em;
  1226. text-align: center;
  1227. word-spacing: 30000px;
  1228. }
  1229. .field--name-body{
  1230. @extend %front-col-description;
  1231. padding:0.5em;
  1232. p{
  1233. margin: 0;
  1234. }
  1235. }
  1236. .field--name-variations{
  1237. >.field__item{
  1238. // text-align: center;
  1239. // display: table;
  1240. // width: 100%;
  1241. // &:last-child{
  1242. // margin: 0.1em 0 0;
  1243. // }
  1244. margin-top: 0.5em;
  1245. >div{
  1246. // display: flex;
  1247. // flex-direction: row;
  1248. // justify-content: center;
  1249. // align-items: center;
  1250. // display: table-row;
  1251. // height: 1em;
  1252. display: grid;
  1253. grid-template-columns: 50% 50%;
  1254. >*{
  1255. // height:2em;
  1256. // display: table-cell;
  1257. // vertical-align: middle;
  1258. align-self: center;
  1259. }
  1260. .field--name-field-description{
  1261. text-align: right;
  1262. // width: 55%;
  1263. // margin-right: 0.5em;
  1264. // min-width: 10em;
  1265. h4{
  1266. font-size: 1.512em;
  1267. font-weight: 800;
  1268. color: #fff;
  1269. white-space: nowrap;
  1270. line-height: 1;
  1271. }
  1272. p{
  1273. font-size: 0.882em;
  1274. line-height: 0.8;
  1275. margin: 0;
  1276. }
  1277. }
  1278. form{
  1279. text-align: left;
  1280. padding-left: 1em;
  1281. // position: relative;
  1282. .form-actions{
  1283. margin:0;
  1284. }
  1285. input.button--add-to-cart{
  1286. @include btn;
  1287. margin: 0;
  1288. }
  1289. }
  1290. }
  1291. }
  1292. }
  1293. a.btn{
  1294. @include btn;
  1295. background-color: #fff;
  1296. }
  1297. &:nth-child(1){
  1298. background-color: $color-base;
  1299. a.btn{
  1300. color: $color-base;
  1301. }
  1302. .field--name-variations{
  1303. .field__item{
  1304. >div{
  1305. input.button--add-to-cart{
  1306. color: $color-base;
  1307. }
  1308. }
  1309. }
  1310. }
  1311. }
  1312. &:nth-child(2){
  1313. background-color: $color-webshowroom;
  1314. a.btn{
  1315. color: $color-webshowroom;
  1316. }
  1317. .field--name-variations{
  1318. .field__item{
  1319. >div{
  1320. input.button--add-to-cart{
  1321. color: $color-webshowroom;
  1322. }
  1323. }
  1324. }
  1325. }
  1326. }
  1327. &:nth-child(3){
  1328. background-color: $color-showrooms;
  1329. a.btn{
  1330. color: $color-showrooms;
  1331. }
  1332. >article{
  1333. max-width: 345px;
  1334. }
  1335. }
  1336. @include col-mediaquery-max(5){
  1337. flex: 0 0 auto;
  1338. padding:0;
  1339. // height: auto;
  1340. >article{
  1341. }
  1342. }
  1343. }
  1344. }
  1345. }
  1346. }
  1347. }
  1348. }
  1349. // ___ _
  1350. // / __|__ _ _ _ __| |___
  1351. // | (__/ _` | '_/ _` (_-<
  1352. // \___\__,_|_| \__,_/__/
  1353. .infinite-loading-container{
  1354. .infinite-status-prompt{
  1355. i[class^="loading-"]{
  1356. width:15px; height:15px;
  1357. }
  1358. }
  1359. }
  1360. .cards-list{
  1361. position: relative;
  1362. .search-info{
  1363. font-size: 0.756em;
  1364. font-weight: 500;
  1365. margin: 0;
  1366. padding: 0 0 0.5em 0;
  1367. @include col-mediaquery-max(4, landscape){
  1368. display:none;
  1369. }
  1370. }
  1371. &>ul{
  1372. // outline: 1px green solid;
  1373. margin:0; padding:0;
  1374. width: calc(100% + #{$column_goutiere});
  1375. &>li{
  1376. list-style: none;
  1377. margin:0 $column_goutiere $column_goutiere 0; padding:0;
  1378. display: inline-block;
  1379. vertical-align: top;
  1380. }
  1381. }
  1382. @include col-mediaquery-max(3){
  1383. &>ul{
  1384. display: flex;
  1385. flex-flow: row wrap;
  1386. justify-content: space-around;
  1387. width:100%;
  1388. >li{
  1389. flex: 0 1 48%;
  1390. margin:0 0 0.5em 0;
  1391. filter: drop-shadow(0 0 3px #aaa);
  1392. >article{
  1393. width:100%;
  1394. height:auto;
  1395. box-shadow: none;
  1396. >section.images{
  1397. #base &{
  1398. height: auto;
  1399. }
  1400. >figure{
  1401. position: relative;
  1402. &:not(:first-child){
  1403. display:none;
  1404. }
  1405. img:not(.blank){
  1406. width:100%;
  1407. height:auto;
  1408. }
  1409. img.blank{
  1410. top:0; bottom:0; left:0; right:0;
  1411. }
  1412. }
  1413. }
  1414. }
  1415. }
  1416. }
  1417. }
  1418. }
  1419. article.card{
  1420. position: relative;
  1421. box-shadow: 0 0 5px rgba(0,0,0,0.2);
  1422. width:$column_width; height:$card_height;
  1423. &.article{
  1424. width:$column_width*2 + $column_goutiere; height:$card_height;
  1425. section.images{
  1426. a{
  1427. display:block;
  1428. }
  1429. }
  1430. }
  1431. &.minicard{
  1432. height:100px;
  1433. width:$minicard_width;
  1434. height:$minicard_height;
  1435. margin:auto;
  1436. >header{
  1437. padding: 0.3em 0.3em 0.1em;
  1438. cursor: pointer;
  1439. h1{
  1440. margin:0;
  1441. font-size: 1em;
  1442. }
  1443. h4{
  1444. margin:0;
  1445. line-height: 1.1;
  1446. margin-bottom: -0.4em;
  1447. }
  1448. span.ref{
  1449. line-height: 0.5;
  1450. }
  1451. }
  1452. >nav.tools{
  1453. // top: auto;
  1454. // bottom: 0;
  1455. padding:0 0.2em;
  1456. background:rgba(255,255,255, 0.8);
  1457. .mdi.unflag{
  1458. cursor: pointer;
  1459. }
  1460. .tool.samples{
  1461. @include hover{
  1462. .tool-content{
  1463. max-width:140px;
  1464. }
  1465. }
  1466. }
  1467. }
  1468. }
  1469. &.linkedmaterialcard{
  1470. width:$linkedmaterialcard_width;
  1471. height:$linkedmaterialcard_height;
  1472. >header{
  1473. padding: 0.3em 0.3em 0.1em;
  1474. cursor: pointer;
  1475. h1{
  1476. margin:0;
  1477. font-size: 1em;
  1478. }
  1479. h4{
  1480. margin:0;
  1481. line-height: 1.1;
  1482. margin-bottom: -0.4em;
  1483. }
  1484. span.ref{
  1485. line-height: 0.5;
  1486. }
  1487. }
  1488. >nav.tools{
  1489. top: auto;
  1490. bottom: 0;
  1491. padding:0 0.2em;
  1492. background:transparent;
  1493. .mdi.unflag{
  1494. cursor: pointer;
  1495. }
  1496. }
  1497. }
  1498. // &.card-small{
  1499. // width:100px; height:140px;
  1500. // }
  1501. // focused
  1502. // box-shadow: 0 0 7px rgba(0,0,0,0.9);
  1503. // &.article{
  1504. // width: $column_width * 2 + $column_goutiere;
  1505. //
  1506. // }
  1507. header{
  1508. position: absolute;
  1509. bottom:0;
  1510. z-index:10;
  1511. color: #000;
  1512. background-color: rgba(255,255,255,0.8);
  1513. padding: 0.3em 0.3em;
  1514. box-sizing:border-box;
  1515. width:100%;
  1516. h1, h4{ margin:0; padding:0; }
  1517. h1{
  1518. font-size: 1.3em;
  1519. font-weight: 700;
  1520. line-height: 0.85;
  1521. margin-bottom: 0.2em;
  1522. }
  1523. h4{
  1524. font-size: 0.882em;
  1525. font-weight: 300;
  1526. line-height: 1.1;
  1527. margin-bottom: -0.2em;
  1528. }
  1529. span.ref{
  1530. font-size: 0.693em;
  1531. font-weight: 300;
  1532. line-height: 1;
  1533. }
  1534. }
  1535. &.card-thematique header{
  1536. background-color: $color-base-transparent;
  1537. }
  1538. $navtool_width: 15px;
  1539. nav.tools{
  1540. position: absolute;
  1541. top: 0;
  1542. right: 0;
  1543. z-index: 21;
  1544. width: $navtool_width;
  1545. background-color: #fff;
  1546. box-sizing: content-box;
  1547. padding: 0.3em 0.1em;
  1548. >*{
  1549. overflow: visible;
  1550. position: relative;
  1551. span.btn{
  1552. overflow: hidden;
  1553. font-size: 0.882em;
  1554. }
  1555. .tool-content{
  1556. position: absolute;
  1557. top: 0px;
  1558. right: 100%;
  1559. // width: 5em;
  1560. width: $column_width - $navtool_width - 10px;
  1561. box-sizing: border-box;
  1562. padding: 0;
  1563. background-color: #fff;
  1564. box-shadow: -2px 3px 8px rgba(0, 0, 0, 0.5);
  1565. opacity: 0;
  1566. max-height: 0; max-width:0;
  1567. overflow: hidden;
  1568. transition: all 0.2s ease-in-out;
  1569. transition-delay: 0.1s;
  1570. }
  1571. @include hover{
  1572. .tool-content{
  1573. transition: all 0.3s ease-in-out;
  1574. opacity: 1;
  1575. padding: 0.3em;
  1576. max-height: 195px;
  1577. max-width:200px;
  1578. }
  1579. }
  1580. }
  1581. @include col-mediaquery-max(3){
  1582. width:23px;
  1583. >*{
  1584. >span.btn, >a{
  1585. font-size:1.2em;
  1586. }
  1587. }
  1588. }
  1589. .tool.flags{
  1590. .tool-content{
  1591. ul{
  1592. display: flex;
  1593. flex-flow: row wrap;
  1594. li{
  1595. padding:0 0.5em 0 0;
  1596. }
  1597. }
  1598. }
  1599. span.flag{
  1600. cursor: pointer;
  1601. font-size: 0.756em;
  1602. color: #bbb;
  1603. transition: color 0.3s ease-in-out;
  1604. @include hover{
  1605. color:#1a1a1a;
  1606. }
  1607. &.isActive{
  1608. color:#1a1a1a;
  1609. }
  1610. }
  1611. li.create-flag{
  1612. margin-top: 0.2em;
  1613. padding:0;
  1614. input{
  1615. align-self: flex-end;
  1616. border: 1px solid #bbb;
  1617. border-radius:5px;
  1618. width: calc(100% - 2em);
  1619. font-size:0.8em;
  1620. }
  1621. span.add-btn{
  1622. align-self: flex-end;
  1623. color: #bbb;
  1624. font-size: 1em;
  1625. // padding: 0 0 0 .5em;
  1626. transition: all 0.2s ease-in-out;
  1627. &.active{
  1628. cursor: pointer;
  1629. color:#1a1a1a;
  1630. }
  1631. &.loading:before{
  1632. animation: rotating 2s linear infinite;
  1633. }
  1634. }
  1635. }
  1636. }
  1637. .tool.samples{
  1638. .tool-content{
  1639. font-size: 0.756em;
  1640. ul li{
  1641. font-weight: bold;
  1642. span.showroom{
  1643. font-weight: 400;
  1644. }
  1645. }
  1646. }
  1647. }
  1648. opacity: 0;
  1649. transition: opacity 0.2s ease-in-out;
  1650. }
  1651. @include hover{
  1652. nav.tools{
  1653. opacity:1;
  1654. }
  1655. }
  1656. section.images{
  1657. position: relative;
  1658. &, *{width: 100%; height:100%;}
  1659. figure{
  1660. cursor: pointer;
  1661. margin:0;
  1662. position: absolute;
  1663. top:0; left:0;
  1664. // width: 100%; height:100%;
  1665. &:first-of-type{
  1666. z-index:5
  1667. }
  1668. transition: opacity 0.2s ease-in-out;
  1669. &.show{opacity: 1; z-index:6;}
  1670. &.hide{opacity: 0;}
  1671. img{
  1672. // width: 100%; height:100%;
  1673. &.blank{
  1674. position: absolute;
  1675. top:0; left:0;
  1676. z-index: 20;
  1677. }
  1678. }
  1679. }
  1680. }
  1681. // overwritnig card for card-medium (aka search-card)
  1682. &.search-card{
  1683. >header{
  1684. cursor: pointer;
  1685. }
  1686. }
  1687. // overwriting card for modal-card
  1688. &.modal-card{
  1689. display: flex;
  1690. flex-flow: row-reverse nowrap;
  1691. width: $modalcard_width;
  1692. height: $modalcard_height;
  1693. >.col{
  1694. flex-basis: 50%;
  1695. }
  1696. @include col-mediaquery-max(3, portrait){
  1697. flex-flow: column;
  1698. width: 100%;
  1699. height: 100%;
  1700. overflow-y: auto;
  1701. >.col-right{
  1702. flex:0 0 auto;
  1703. }
  1704. >.col-left{
  1705. flex:0 0 100%;
  1706. }
  1707. }
  1708. @include col-mediaquery-max(4, landscape){
  1709. // flex-flow: row-reverse ;
  1710. width: 100%;
  1711. height: 100%;
  1712. >.col-right{
  1713. height: 100%;
  1714. overflow-y: auto;
  1715. }
  1716. // >.col-left{
  1717. // flex:0 0 50%;
  1718. // }
  1719. }
  1720. section.col-right{
  1721. >*:not(nav.tools){
  1722. position: relative;
  1723. padding: 0.3em $navtool_width + 5px 0 0.5em;
  1724. box-sizing: border-box;
  1725. width: 100%;
  1726. }
  1727. >header{
  1728. bottom: auto;
  1729. }
  1730. span.label{
  1731. font-size: 0.693em;
  1732. font-weight: 500;
  1733. }
  1734. section.body{
  1735. p{
  1736. font-size: 0.693em;
  1737. font-weight: 300;
  1738. line-height: 1.35;
  1739. margin:0 0 0.3em;
  1740. }
  1741. }
  1742. .vsa-list{
  1743. padding:0;
  1744. border: none;
  1745. --vsa-heading-padding: 0 0;
  1746. --vsa-content-padding: 0 0 0.5em;
  1747. --vsa-default-icon-size: 0.3;
  1748. --vsa-border-width: 0;
  1749. --vsa-text-color: #{$color-main-text};
  1750. --vsa-highlight-color: #fff;
  1751. --vsa-bg-color: #fff;
  1752. .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 {
  1753. background-color: var(--vsa-text-color);
  1754. }
  1755. .vsa-item{
  1756. .vsa-item__heading{
  1757. button.vsa-item__trigger{
  1758. height:2em;
  1759. &:hover,
  1760. &:focus{
  1761. color: var(--vsa-text-color);
  1762. }
  1763. }
  1764. }
  1765. .vsa-item__content{}
  1766. &[data-vsa-active="false"]{
  1767. .vsa-item__heading{
  1768. padding-bottom: 0.2em;
  1769. margin-bottom: 0.2em;
  1770. border-bottom: 0.5px dotted $color-main-text;
  1771. }
  1772. }
  1773. }
  1774. }
  1775. section.linked-materials{
  1776. >ul{
  1777. display: flex;
  1778. flex-flow: row wrap;
  1779. justify-content: space-between;
  1780. >li{
  1781. flex-basis: 0 0 50%;
  1782. margin-bottom: 0.5em;
  1783. article.linkedmaterialcard{
  1784. }
  1785. }
  1786. }
  1787. }
  1788. nav.tools{
  1789. opacity: 1;
  1790. section.close{
  1791. span.btn.mdi-close{
  1792. cursor:pointer;
  1793. }
  1794. }
  1795. div.tool-content{
  1796. min-width: $column_width *2 - $navtool_width - 10px;
  1797. @include col-mediaquery-max(3){
  1798. min-width: 80vw;
  1799. }
  1800. }
  1801. }
  1802. section.tool.samples{
  1803. div.tool-content{
  1804. ul{
  1805. // display: flex;
  1806. // flex-flow: row wrap;
  1807. font-size: 0.756em;
  1808. font-weight: 300;
  1809. // line-height: 1.35;
  1810. li{
  1811. padding-right: 0.5em;
  1812. span.showroom{ font-weight: 500; }
  1813. }
  1814. }
  1815. }
  1816. }
  1817. section.tool.note{
  1818. @include hover{
  1819. div.tool-content{
  1820. max-height: 370px;
  1821. }
  1822. }
  1823. div.tool-content{
  1824. textarea,
  1825. textarea:focus,
  1826. textarea:focus-visible,
  1827. textarea:active{
  1828. resize:none;
  1829. width:99%;
  1830. height:350px;
  1831. margin:0;
  1832. padding:0.3em;
  1833. border:1px solid #ccc;
  1834. border-radius: 3px;
  1835. outline: none;
  1836. box-sizing: border-box;
  1837. }
  1838. }
  1839. }
  1840. // section.tool.industriels{
  1841. // div.tool-content{
  1842. // display: flex;
  1843. // flex-flow: row;
  1844. // >section{
  1845. // flex: 0 0 50%;
  1846. // h2{
  1847. // margin:0;
  1848. // font-size: 1em;
  1849. // line-height: 0.6;
  1850. // }
  1851. // p{
  1852. // margin: 0;
  1853. // font-size: 0.882em;
  1854. // }
  1855. // }
  1856. // }
  1857. // }
  1858. section.industriels{
  1859. display: flex;
  1860. flex-flow: row;
  1861. >section{
  1862. flex: 0 0 50%;
  1863. ul{
  1864. li{
  1865. padding:0.1em 0 .4em 0;
  1866. }
  1867. }
  1868. h2{
  1869. margin:0;
  1870. font-size: 1em;
  1871. line-height: 1;
  1872. }
  1873. p{
  1874. margin: 0;
  1875. font-size: 0.756em;
  1876. }
  1877. }
  1878. }
  1879. section.attachments{
  1880. a{
  1881. margin:0;
  1882. font-size: 0.882em;
  1883. line-height: 0.6;
  1884. span{
  1885. font-size: 0.8em
  1886. }
  1887. }
  1888. p{
  1889. margin: 0;
  1890. font-size: 0.882em;
  1891. }
  1892. }
  1893. }
  1894. }
  1895. }
  1896. .vm--modale-card{
  1897. position: relative;
  1898. }
  1899. // vuejs-modale hack as maxWidth and maxHeight does not work :(
  1900. @include col-mediaquery-min(3){
  1901. .vm--modale-card{
  1902. max-width: 850px;
  1903. max-height: 610px;
  1904. left: 50% !important;
  1905. top: 50% !important;
  1906. transform: translate(-50%, -50%) !important;
  1907. }
  1908. }
  1909. .vm--overlay{
  1910. background: rgba(0, 0, 0, 0.5)!important;
  1911. }
  1912. // _____ _ _ _
  1913. // |_ _| |_ ___ _ __ __ _| |_(_)__ _ _ _ ___
  1914. // | | | ' \/ -_) ' \/ _` | _| / _` | || / -_)
  1915. // |_| |_||_\___|_|_|_\__,_|\__|_\__, |\_,_\___|
  1916. // |_|
  1917. #main-content > article.thematique{
  1918. div.cols{
  1919. display: flex;
  1920. flex-direction: row;
  1921. flex-wrap: nowrap;
  1922. // @media only screen and (max-width: $small-bp) {
  1923. @include col-mediaquery-max(3){
  1924. flex-wrap: wrap;
  1925. }
  1926. // }
  1927. div.col-left{
  1928. padding: 0 $column_goutiere $column_goutiere 0;
  1929. flex: 0 0 $column_width * 2 + $column_goutiere;
  1930. }
  1931. div.col-right{}
  1932. }
  1933. div.col-left{
  1934. section.body{
  1935. background-color: $color-base;
  1936. padding: 0.5em 1em 1em;
  1937. }
  1938. section.visuel{
  1939. img{
  1940. width: 100%;
  1941. }
  1942. }
  1943. }
  1944. aside.linked-materials{
  1945. div.card-list{
  1946. >ul{
  1947. width:calc(100% + #{$column_goutiere});
  1948. >li{
  1949. display: inline-block;
  1950. vertical-align: top;
  1951. width:$column_width;
  1952. margin:0 $column_goutiere $column_goutiere 0;
  1953. }
  1954. }
  1955. }
  1956. h3.field__label{
  1957. font-size: 1em;
  1958. font-weight: 500;
  1959. margin: 2em 0 1em 0;
  1960. }
  1961. h1.title{
  1962. font-size: 1em;
  1963. font-weight: 400;
  1964. }
  1965. h3.ref{
  1966. font-size: 0.756em;
  1967. font-weight: 600;
  1968. }
  1969. h2.description{
  1970. font-size: 0.756em;
  1971. font-weight: 400;
  1972. }
  1973. }
  1974. }
  1975. // ___ _ _ _
  1976. // | _ ) |__ _| |__| |__ _
  1977. // | _ \ / _` | '_ \ / _` |
  1978. // |___/_\__,_|_.__/_\__,_|
  1979. #blabla{
  1980. }
  1981. #main-content > article.article{
  1982. // grid only on big screens
  1983. @include col-mediaquery-min(3){
  1984. div.cols{
  1985. display: grid;
  1986. grid-template-rows: 1fr;
  1987. grid-template-columns: repeat(6, 1fr);
  1988. grid-gap: 1em;
  1989. div.col-left{
  1990. grid-column: 1;
  1991. }
  1992. div.col-right{
  1993. grid-column: 2/6;
  1994. }
  1995. }
  1996. }
  1997. @include col-mediaquery-max(3){
  1998. div.cols{
  1999. padding:1em;
  2000. box-sizing: border-box;
  2001. .accroche{
  2002. figure{
  2003. width:100%;
  2004. }
  2005. }
  2006. }
  2007. }
  2008. section.accroche{
  2009. figure{
  2010. width:$column_width*2 + $column_goutiere;
  2011. margin:0 $column_goutiere 0 0;
  2012. img{
  2013. width:100%;
  2014. }
  2015. }
  2016. }
  2017. section.taxonomy{
  2018. margin:1em 0;
  2019. ul{
  2020. margin: 0;
  2021. }
  2022. li{
  2023. display:inline-block;
  2024. padding:0 0.5em 0 0;
  2025. }
  2026. }
  2027. div.gallery-wrapper{
  2028. .image{
  2029. display: inline-block;
  2030. width:$column_width;
  2031. margin:0 $column_goutiere $column_goutiere*0.6 0;
  2032. height:$card_height / 2;
  2033. background-size: cover;
  2034. }
  2035. @include col-mediaquery-max(3){
  2036. display: flex;
  2037. flex-flow: row wrap;
  2038. justify-content: space-between;
  2039. .image{
  2040. // width: auto; height: auto;
  2041. display: block;
  2042. flex: 0 1 48%;
  2043. margin: 0 0 $column_goutiere*0.6 0;
  2044. }
  2045. }
  2046. }
  2047. // section.videos{
  2048. // ul{
  2049. // margin:0; padding:0;
  2050. // li{
  2051. // margin:0; padding:0;
  2052. // display: inline-block;
  2053. // width:100%; overflow: hidden;
  2054. // }
  2055. // }
  2056. // }
  2057. // section.visuels{
  2058. // width:calc(100% + #{$column_goutiere});
  2059. // figure{
  2060. // position: relative;
  2061. // display: inline-block;
  2062. // vertical-align: top;
  2063. // width:$column_width*2 + $column_goutiere;
  2064. // margin:0 $column_goutiere $column_goutiere*0.6 0;
  2065. // img{
  2066. // width:100%;
  2067. // }
  2068. // caption{
  2069. // position: absolute; bottom: 0; left:0;
  2070. // box-sizing: border-box; width: 100%; padding:0.5em;
  2071. // background-color: $transparent-bg-blk; color: #fff;
  2072. // }
  2073. // }
  2074. // }
  2075. aside.linked-materials{
  2076. @include col-mediaquery-min(3){
  2077. ul{
  2078. width:calc(100% + #{$column_goutiere});
  2079. li{
  2080. display: inline-block;
  2081. vertical-align: top;
  2082. width:$column_width;
  2083. margin:0 $column_goutiere $column_goutiere 0;
  2084. }
  2085. }
  2086. }
  2087. h3.field__label{
  2088. font-size: 1em;
  2089. font-weight: 500;
  2090. margin: 2em 0 1em 0;
  2091. }
  2092. h1.title{
  2093. font-size: 1em;
  2094. font-weight: 400;
  2095. }
  2096. h3.ref{
  2097. font-size: 0.756em;
  2098. font-weight: 600;
  2099. }
  2100. h2.description{
  2101. font-size: 0.756em;
  2102. font-weight: 400;
  2103. }
  2104. }
  2105. nav.prevnext{
  2106. @include col-mediaquery-max(3){
  2107. padding: 0 1em;
  2108. }
  2109. &.bottom{
  2110. margin:2em 0;
  2111. }
  2112. ul{
  2113. padding:0;
  2114. margin:0;
  2115. display: grid;
  2116. grid-template-columns: 1fr 1fr;
  2117. }
  2118. li{
  2119. padding:0;
  2120. margin:0;
  2121. list-style: none;
  2122. a{
  2123. font-size: 0.756em;
  2124. font-weight: 700;
  2125. line-height: 1.3;
  2126. display: block;
  2127. position: relative;
  2128. padding: 0 1em;
  2129. }
  2130. &:nth-child(1){
  2131. grid-column: 1;
  2132. a:before{
  2133. content:'\021A4';
  2134. position: absolute;
  2135. left:0;
  2136. }
  2137. }
  2138. &:nth-child(2){
  2139. grid-column: 2;
  2140. text-align: right;
  2141. a:after{
  2142. content:'\021A6';
  2143. position: absolute;
  2144. right: 0;
  2145. }
  2146. }
  2147. }
  2148. }
  2149. }
  2150. // ___ _
  2151. // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
  2152. // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
  2153. // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
  2154. #showrooms{
  2155. width: calc(100% + #{$column_goutiere});
  2156. article.showroom{
  2157. width: $column_width * 2 + $column_goutiere;
  2158. display: inline-block;
  2159. vertical-align: top;
  2160. margin: 0 $column_goutiere $column_goutiere 0;
  2161. h1{
  2162. margin:0;
  2163. font-weight: 4;
  2164. }
  2165. p{ margin:0; }
  2166. figure{
  2167. margin:0;
  2168. img{
  2169. max-width: 100%;
  2170. }
  2171. }
  2172. }
  2173. }
  2174. // ___ _ _
  2175. // | _ \_ _(_)__(_)_ _ __ _
  2176. // | _/ '_| / _| | ' \/ _` |
  2177. // |_| |_| |_\__|_|_||_\__, |
  2178. // |___/
  2179. #main-content>#pricing,
  2180. #main-content .view-pricing-products .view-content{
  2181. display: flex;
  2182. flex-flow: row nowrap;
  2183. article.product,
  2184. .views-row{
  2185. flex:0 0 33%;
  2186. text-align: center;
  2187. padding: 2em 0;
  2188. >header{
  2189. padding-bottom: 1.3em;
  2190. }
  2191. >header h1,
  2192. .views-field-title{
  2193. font-size: 3.5em;
  2194. line-height: 0.6;
  2195. color: #fff;
  2196. text-align: center;
  2197. word-spacing: 30000px;
  2198. }
  2199. section.content, .views-field-body{
  2200. color: #fff;
  2201. .description{
  2202. font-size: 1em;
  2203. p{
  2204. margin: 0.3em;
  2205. }
  2206. }
  2207. }
  2208. aside{
  2209. // padding:1em 0;
  2210. .variation{
  2211. // display: flex;
  2212. // flex-flow: row nowrap;
  2213. // justify-content: center;
  2214. // align-items:stretch;
  2215. display: grid;
  2216. grid-template-columns: 50% 50%;
  2217. margin-top: 0.5em;
  2218. >*{
  2219. align-self: center;
  2220. }
  2221. div.variation-description{
  2222. // flex: 0 0 auto;
  2223. color: #fff;
  2224. text-align: right;
  2225. h4{
  2226. font-size: 1.5em;
  2227. font-weight: 800;
  2228. margin:0;
  2229. line-height: 1;
  2230. }
  2231. p{
  2232. margin:0;
  2233. line-height: 0.8;
  2234. }
  2235. }
  2236. div.actions{
  2237. text-align: left;
  2238. padding-left: 1em;
  2239. button{
  2240. @include btn;
  2241. background-color: #fff;
  2242. }
  2243. }
  2244. }
  2245. a.btn{
  2246. @include btn;
  2247. background-color: #fff;
  2248. }
  2249. }
  2250. &:nth-child(1){
  2251. background-color: $color-base;
  2252. aside .variation .actions button{
  2253. color: $color-base;
  2254. }
  2255. }
  2256. &:nth-child(2){
  2257. background-color: $color-webshowroom;
  2258. aside .variation .actions button{
  2259. color: $color-webshowroom;
  2260. }
  2261. }
  2262. &:nth-child(3){
  2263. background-color: $color-showrooms;
  2264. aside .variation .actions button,
  2265. a.btn{
  2266. color: $color-showrooms;
  2267. }
  2268. }
  2269. }
  2270. @include col-mediaquery-max(5){
  2271. flex-flow: column;
  2272. article.product,
  2273. .views-row{
  2274. flex:0 1 auto;
  2275. }
  2276. }
  2277. }
  2278. .modal{
  2279. position: relative;
  2280. }
  2281. // #pricing-modal-login-register{
  2282. // position: relative;
  2283. // width: 100%;
  2284. // text-align: left;
  2285. //
  2286. // .vm--modale-loginregister{
  2287. // }
  2288. #login-register{
  2289. padding: 1em;
  2290. box-sizing: content-box;
  2291. width: 100%;
  2292. h2{
  2293. margin: 0.4em 0 1.1em;
  2294. padding-right: 4em;
  2295. font-size: 1.2em;
  2296. font-weight: 300;
  2297. }
  2298. >div.wrapper{
  2299. display: flex;
  2300. flex-flow: row nowrap;
  2301. >section{
  2302. flex:0 0 50%;
  2303. form{
  2304. .form-item, .form-actions {
  2305. margin: 0.5em 0;
  2306. max-width: none;
  2307. }
  2308. .form-type-email,
  2309. .form-type-password,
  2310. .form-actions{
  2311. display:block;
  2312. }
  2313. input[type="email"],
  2314. input[type="password"]{
  2315. max-width: 11em;
  2316. }
  2317. &#user-login-form #edit-pass--description,
  2318. #edit-pass-pass1--description{
  2319. display: block;
  2320. max-width: 16em;
  2321. font-size: 0.693em;
  2322. }
  2323. span.login-message,
  2324. span.register-message{
  2325. color: red;
  2326. font-size: 0.693em;
  2327. line-height: 1.2;
  2328. display: block;
  2329. padding: 0.8em 0 0 0;
  2330. }
  2331. span.login-message[v-if="loginMessage"],
  2332. span.register-message[v-if="registerMessage"]{
  2333. display: none;
  2334. }
  2335. }
  2336. }
  2337. section.login{
  2338. form{
  2339. >div{
  2340. // display: block;
  2341. }
  2342. }
  2343. }
  2344. section.register{
  2345. }
  2346. @include col-mediaquery-max(3){
  2347. flex-flow: column;
  2348. >section{
  2349. flex:0 0 auto;
  2350. form{
  2351. input[type="email"],
  2352. input[type="password"]{
  2353. max-width: 90%;
  2354. width: 90%;
  2355. }
  2356. &#user-login-form #edit-pass--description,
  2357. #edit-pass-pass1--description{
  2358. max-width: 90%;
  2359. width: 90%;
  2360. }
  2361. }
  2362. &.login{
  2363. padding-bottom: 0.5em;
  2364. }
  2365. }
  2366. }
  2367. }
  2368. }
  2369. // @include col-mediaquery-max(3){
  2370. // height:100%;
  2371. // overflow-y: auto;
  2372. // #login-register{
  2373. // flex-flow: column;
  2374. // >section{
  2375. // flex:0 0 auto;
  2376. // form{
  2377. // input[type="email"],
  2378. // input[type="password"]{
  2379. // max-width: 90%;
  2380. // width: 90%;
  2381. // }
  2382. // &#user-login-form #edit-pass--description,
  2383. // #edit-pass-pass1--description{
  2384. // max-width: 90%;
  2385. // width: 90%;
  2386. // }
  2387. // }
  2388. // &.login{
  2389. // padding-bottom: 0.5em;
  2390. // }
  2391. // }
  2392. // }
  2393. // }
  2394. // @include col-mediaquery-max(4, landscape){
  2395. // h2{
  2396. // margin: 0 0 0.5em;
  2397. // }
  2398. // }
  2399. // }
  2400. #pricing{
  2401. @include col-mediaquery-max(3){
  2402. .overlay > .modal{
  2403. width:95%!important;
  2404. height:95%!important;
  2405. }
  2406. }
  2407. }
  2408. #main-content form.commerce-checkout-flow{
  2409. $w:3;
  2410. max-width: $column_width * $w + $column_goutiere * ($w - 1);
  2411. .layout-checkout-form{
  2412. display: flex;
  2413. flex-flow: column;
  2414. .layout-region-checkout-main{
  2415. // disable default style
  2416. width:100%;
  2417. float: none;
  2418. // apply custom style
  2419. order:2;
  2420. background-color: $color-webshowroom;
  2421. padding: 1em;
  2422. fieldset#edit-payment-information{
  2423. #edit-payment-information-add-payment-method{
  2424. // display: flex;
  2425. // flex-flow: column-reverse;
  2426. // #edit-payment-information-add-payment-method-payment-details{
  2427. // margin: 1em 0 0;
  2428. // }
  2429. }
  2430. }
  2431. label,
  2432. legend,
  2433. .description,
  2434. fieldset#edit-review-contact-information,
  2435. fieldset#edit-review-payment-information{
  2436. color: #fff;
  2437. }
  2438. fieldset{
  2439. border:none;
  2440. margin:0; padding:0;
  2441. legend{
  2442. font-size: 1.5em;
  2443. font-weight: 600;
  2444. margin-bottom: 0.5em;
  2445. }
  2446. }
  2447. $lw:10em;
  2448. .form-item{
  2449. margin:0 0 0.5em 0;
  2450. }
  2451. label{
  2452. display: inline-block;
  2453. font-weight: bold;
  2454. min-width: $lw;
  2455. }
  2456. input[type="text"]{
  2457. width:20em;
  2458. }
  2459. .stripe-form{
  2460. display: inline-block;
  2461. background-color: #fff;
  2462. color: #1A1A1A;
  2463. border-radius: 5px;
  2464. padding: 1em;
  2465. margin: 0 0 1em;
  2466. .form-item{
  2467. display: flex;
  2468. align-items: center;
  2469. flex-flow: row nowrap;
  2470. label{
  2471. color: #777;
  2472. }
  2473. .form-text{
  2474. background-color: #fff;
  2475. border-radius: 3px;
  2476. }
  2477. }
  2478. }
  2479. // .form-item-payment-information-billing-information-address-0-address-address-line2
  2480. .form-item-payment-information-add-payment-method-billing-information-address-0-address-address-line2{
  2481. padding-left:$lw + 0.25em;
  2482. }
  2483. // .form-item-payment-information-billing-information-copy-to-address-book
  2484. .form-item-payment-information-add-payment-method-billing-information-copy-to-address-book{
  2485. display: none;
  2486. }
  2487. }
  2488. .layout-region-checkout-secondary{
  2489. // disable default style
  2490. width:100%;
  2491. float: none;
  2492. // apply custom style
  2493. order: 1;
  2494. // display: flex;
  2495. // flex-flow: row nowrap;
  2496. // >.checkout-pane{
  2497. // flex: 0 0 50%;
  2498. // }
  2499. >h3{display:none;}
  2500. #edit-order-summary{
  2501. background-color: $color-base;
  2502. color:#fff;
  2503. padding:1em;
  2504. .view-commerce-checkout-order-summary{
  2505. display: flex;
  2506. flex-flow: row nowrap;
  2507. justify-content: space-between;
  2508. align-items: flex-end;
  2509. }
  2510. .field--name-product-id{
  2511. .field--name-title{
  2512. font-size: 2.5em;
  2513. font-weight: 800;
  2514. }
  2515. .field--name-body{
  2516. }
  2517. }
  2518. .field--name-title{
  2519. font-size: 1.5em;
  2520. font-weight: 600;
  2521. }
  2522. p{
  2523. margin:0;
  2524. }
  2525. }
  2526. #edit-coupon-redemption{
  2527. background-color: $color-showrooms;
  2528. padding:1em;
  2529. >.form-wrapper{
  2530. display: flex;
  2531. flex-flow: row;
  2532. align-items: center;
  2533. .form-item{
  2534. margin:0 0.5em 0 0;
  2535. label{
  2536. color: #fff;
  2537. font-size: 1.5em;
  2538. font-weight: 600;
  2539. margin-right: 0.5em;
  2540. }
  2541. input[type="text"]{
  2542. width: 7em;
  2543. }
  2544. }
  2545. input[type="submit"]{
  2546. background-color: #fff;
  2547. color: $color-showrooms;
  2548. border: none;
  2549. margin:0;
  2550. padding:0.1em 0.7em;
  2551. box-sizing: content-box;
  2552. height:2em;
  2553. font-weight: 800;
  2554. border-radius: 5px;
  2555. }
  2556. }
  2557. }
  2558. }
  2559. .layout-region-checkout-footer{
  2560. // disable default style
  2561. float: none;
  2562. width: 100%;
  2563. padding: 0;
  2564. // apply custom style
  2565. order: 3;
  2566. #edit-actions{
  2567. text-align: right;
  2568. }
  2569. input#edit-actions-next{
  2570. background-color: $color-blabla;
  2571. color: #fff;
  2572. border: none;
  2573. border-radius: 5px;
  2574. padding: 0.2em 0.4em 0.3em;
  2575. font-weight: 600;
  2576. font-size: 1.323em;
  2577. }
  2578. }
  2579. #edit-completion-message{
  2580. p.welcom{
  2581. font-size: 1.512em;
  2582. }
  2583. p.base{
  2584. a{
  2585. // @include btn;
  2586. // background-color: $color-base;
  2587. // color: #fff;
  2588. // font-size: 1.134em;
  2589. }
  2590. }
  2591. p.order{
  2592. }
  2593. }
  2594. #edit-order-summary{
  2595. background-color: $color-showrooms;
  2596. padding:1em;
  2597. }
  2598. .form-item-materio-commerce-agree-nominative-nominative-terms{
  2599. label{
  2600. max-width: 95%;
  2601. vertical-align: top;
  2602. }
  2603. }
  2604. }
  2605. }
  2606. form#user-pass{
  2607. input.form-email{
  2608. max-width: 95%;
  2609. }
  2610. }
  2611. #member-warning{
  2612. padding: 2em 4em;
  2613. text-align: center;
  2614. h2{
  2615. }
  2616. p{
  2617. }
  2618. a{
  2619. @include btn;
  2620. background-color: $color-webshowroom;
  2621. color: #fff;
  2622. }
  2623. }
  2624. #webform-submission-multi-joueur-add-form{
  2625. $w:3;
  2626. max-width: $column_width * $w + $column_goutiere * ($w - 1);
  2627. .form-item{
  2628. margin:0.5em 0;
  2629. }
  2630. $lw:10em;
  2631. label{
  2632. display: inline-block;
  2633. width:$lw;
  2634. color: #fff;
  2635. }
  2636. .webform-element-description{
  2637. color:#fff;
  2638. }
  2639. .form-item{
  2640. position: relative;
  2641. box-sizing: border-box;
  2642. }
  2643. .form-item.form-no-label input[type="text"]{
  2644. margin-left: $lw*1.04;
  2645. }
  2646. input[type="text"],
  2647. input[type="tel"],
  2648. input[type="email"]{
  2649. width: calc(95% - #{$lw});
  2650. }
  2651. input[type="submit"]{
  2652. @include btn;
  2653. }
  2654. .address--wrapper{
  2655. background-color: $color-webshowroom;
  2656. margin:0;
  2657. padding: 1em 1em 0;
  2658. }
  2659. .form-item-vat-number{
  2660. background-color: $color-webshowroom;
  2661. margin:0;
  2662. padding: 1em 1em 0.6em;
  2663. }
  2664. .form-item-phone{
  2665. background-color: $color-webshowroom;
  2666. margin:0;
  2667. padding: 0 1em 1em;
  2668. }
  2669. .js-form-item-email{
  2670. background-color: $color-webshowroom;
  2671. margin:0;
  2672. padding: 0 1em 1em;
  2673. }
  2674. .webform-type-webform-email-confirm{
  2675. background-color: $color-webshowroom;
  2676. margin:0;
  2677. padding: 0 1em 1em;
  2678. label{
  2679. width: 15em;
  2680. }
  2681. input[type="email"]{
  2682. width: calc(95% - 15em);
  2683. }
  2684. }
  2685. .form-item-collaborateur{
  2686. background-color: $color-base;
  2687. margin:0;
  2688. padding: 1em;
  2689. input[type="image"]{
  2690. background-color: #fff;
  2691. }
  2692. input[type="submit"]{
  2693. background-color: #fff;
  2694. color: $color-base;
  2695. }
  2696. }
  2697. .form-item-commentaires{
  2698. background-color: $color-blabla;
  2699. margin:0;
  2700. padding:1em;
  2701. }
  2702. #edit-actions{
  2703. // background-color: $color-showrooms;
  2704. // margin:0;
  2705. // padding: 1em;
  2706. text-align: right;
  2707. input[type="submit"]{
  2708. background-color: $color-blabla;
  2709. color: #fff;
  2710. }
  2711. }
  2712. }
  2713. // ___ _
  2714. // | __|__ ___| |_ ___ _ _
  2715. // | _/ _ \/ _ \ _/ -_) '_|
  2716. // |_|\___/\___/\__\___|_|
  2717. footer[role="contentinfo"]{
  2718. // body:not(.path-home) & {
  2719. // display:none;
  2720. // }
  2721. >.wrapper{
  2722. display:flex;
  2723. flex-flow: row nowrap;
  2724. >div{
  2725. flex: 1 1 auto;
  2726. align-self: center;
  2727. }
  2728. }
  2729. #footer-left{
  2730. #block-materiosimplenewssubscription{
  2731. form{
  2732. display: flex;
  2733. flex-flow: row nowrap;
  2734. align-items: center;
  2735. font-size: 0.756em;
  2736. >*{
  2737. margin-right: 0.5em;
  2738. }
  2739. .form-item,
  2740. .form-actions{
  2741. margin-top: 0.3em;
  2742. margin-bottom: 0.3em;
  2743. }
  2744. #edit-subscriptions{
  2745. display: flex;
  2746. flex-flow: row nowrap;
  2747. >*{
  2748. margin-right: 0.5em;
  2749. display: flex;
  2750. flex-flow: row nowrap;
  2751. align-items: center;
  2752. }
  2753. input{
  2754. margin-right: 0.3em;
  2755. }
  2756. }
  2757. #edit-mail-wrapper{
  2758. input[type="email"]{
  2759. width:10em;
  2760. }
  2761. }
  2762. #edit-actions--2{
  2763. input[type="submit"]{
  2764. border: none;
  2765. background: none;
  2766. background-color: $color-base;
  2767. border-radius: 5px;
  2768. color: #fff;
  2769. padding: 0.45em 1em;
  2770. font-weight: 700;
  2771. }
  2772. }
  2773. }
  2774. }
  2775. }
  2776. #footer-middle{
  2777. }
  2778. #footer-right{
  2779. text-align: right;
  2780. nav.block-menu.menu--footer{
  2781. display: inline-block;
  2782. font-size: 0.756em;
  2783. ul.menu{
  2784. padding:0; margin:0;
  2785. display: flex;
  2786. flex-flow: row nowrap;
  2787. li.menu-item{
  2788. padding: 0.5em;
  2789. }
  2790. }
  2791. }
  2792. }
  2793. }
  2794. .eu-cookie-compliance-banner{
  2795. .popup-content{
  2796. display: flex;
  2797. flex-flow: row nowrap;
  2798. font-size: 00.756em;
  2799. padding: 0.3em 0;
  2800. & > *{
  2801. flex: 1 1 auto;
  2802. margin:0;
  2803. align-self: center;
  2804. max-width: 70%;
  2805. }
  2806. button{
  2807. margin:0;
  2808. }
  2809. #popup-buttons{
  2810. text-align: right;
  2811. }
  2812. }
  2813. }
  2814. img.lazy{
  2815. &.loading{
  2816. // background-color: red;
  2817. }
  2818. }