main.scss 61 KB

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