main.scss 63 KB

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