main.scss 56 KB

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