main.scss 59 KB

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