main.scss 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765
  1. @import './base/variables';
  2. @import './base/colors';
  3. @import './base/reset';
  4. @import './base/grid';
  5. @import './base/layout';
  6. @import './base/animations';
  7. @import './base/fonts';
  8. html{
  9. // background-color: red;
  10. }
  11. aside.messages{
  12. border:none;
  13. }
  14. // _ _ _
  15. // | || |___ __ _ __| |___ _ _
  16. // | __ / -_) _` / _` / -_) '_|
  17. // |_||_\___\__,_\__,_\___|_|
  18. header[role="banner"]{
  19. padding:0.2em 0 0 0;
  20. %header-fs{
  21. font-size: 0.9em;
  22. // line-height: 1;
  23. font-weight: 400;
  24. }
  25. #block-sitebranding{
  26. h1{
  27. margin:0;
  28. line-height: 1;
  29. }
  30. }
  31. #block-userlogin{
  32. position: relative;
  33. // width:8em;
  34. padding:0 1em;
  35. overflow: visible;
  36. h2{
  37. @extend %header-fs;
  38. line-height: 1.38;
  39. margin: 0;
  40. }
  41. &>section{
  42. background-color: #fff;
  43. overflow: hidden;
  44. width:11em;
  45. height:0px;
  46. padding:0.01em 1em;
  47. // margin:0 0 0 -1em;
  48. box-sizing:content-box;
  49. transition: all 0.4s ease-in-out;
  50. // outline: 1px solid blue;
  51. transition-delay: 2s;
  52. position: absolute;
  53. right:0;
  54. top:1.7em;
  55. box-sizing: content-box;
  56. }
  57. &:hover{
  58. &>section{
  59. transition-delay: 0s;
  60. height:12em;
  61. padding:1em 1em;
  62. box-shadow: 0 0 10px #ccc;
  63. }
  64. }
  65. .form-item{
  66. margin:0;
  67. position: relative;
  68. width:100%;
  69. &.form-item-name{
  70. margin:2px 0 0.5em 0;
  71. input{
  72. width:90%;
  73. padding:0;
  74. box-sizing: content-box;
  75. }
  76. }
  77. &.form-item-pass{
  78. margin:0 0 0.5em 0;
  79. input{
  80. width:90%;
  81. padding:0;
  82. box-sizing: content-box;
  83. }
  84. }
  85. &.form-item-persistent-login{
  86. font-size: 0.756em;
  87. label{
  88. vertical-align: top;
  89. }
  90. }
  91. }
  92. #edit-actions{
  93. margin:0;
  94. }
  95. .item-list{
  96. ul{
  97. margin:0;
  98. li{
  99. list-style: none;
  100. margin:0;
  101. a{
  102. font-size: 0.756em;
  103. }
  104. }
  105. }
  106. }
  107. }
  108. // non-vue userblock
  109. #block-userblock{
  110. h2{display:none;}
  111. a{
  112. margin-right: 1em;
  113. }
  114. }
  115. // vue userblock
  116. #user-tools{
  117. padding-top: 0.06em;
  118. h4{
  119. @extend %header-fs;
  120. cursor: pointer;
  121. }
  122. .mdi-logout::before {
  123. margin: -0.125em 0 0 0;
  124. vertical-align: top;
  125. }
  126. }
  127. // vue flaglist
  128. #user-flags{
  129. border-left: 1px solid #000;
  130. padding-left: 0.5em;
  131. margin-left: 0.5em;
  132. display: inline-block;
  133. vertical-align: top;
  134. position: relative;
  135. h2{
  136. @extend %header-fs;
  137. cursor: pointer;
  138. &:before{padding-right: 0.2em;}
  139. }
  140. ul{
  141. background-color: #fff;
  142. overflow: hidden;
  143. width:11em;
  144. max-height:1px;
  145. padding:0.01em 1em;
  146. // margin:0 0 0 -1em;
  147. box-sizing:content-box;
  148. transition: all 0.4s ease-in-out;
  149. // outline: 1px solid blue;
  150. transition-delay: 2s;
  151. position: absolute;
  152. right:0;
  153. top:1.7em;
  154. box-sizing: content-box;
  155. z-index: 30;
  156. }
  157. &:hover{
  158. ul{
  159. transition-delay: 0s;
  160. max-height:50em;
  161. padding:1em 1em;
  162. box-shadow: 0 0 10px #ccc;
  163. }
  164. }
  165. li{
  166. width:100%;
  167. // cursor: pointer;
  168. display: flex;
  169. flex-direction: row;
  170. align-items: baseline;
  171. flex-wrap: nowrap;
  172. h5{
  173. @extend %header-fs;
  174. cursor: pointer;
  175. }
  176. span.mdi{
  177. font-size: 0.9em;
  178. }
  179. div.actions{
  180. opacity:0;
  181. transition: opacity 0.3s ease-in-out;
  182. padding-left:0.5em;
  183. span.mdi{
  184. cursor: pointer;
  185. color: #4e4d4d;
  186. }
  187. span.delete-btn{
  188. &.loading:before{
  189. animation: rotating 2s linear infinite;
  190. }
  191. }
  192. }
  193. &:hover{
  194. div.actions{
  195. opacity:1;
  196. }
  197. }
  198. &.create-flag{
  199. margin-top: 0.2em;
  200. input{
  201. align-self: flex-end;
  202. border: 1px solid #bbb;
  203. border-radius:5px;
  204. width: calc(100% - 2em);
  205. font-size:0.8em;
  206. }
  207. span.add-btn{
  208. align-self: flex-end;
  209. color: #bbb;
  210. font-size: 1em;
  211. padding: 0 0 0 .5em;
  212. transition: all 0.2s ease-in-out;
  213. &.active{
  214. cursor: pointer;
  215. color:#1a1a1a;
  216. }
  217. &.loading:before{
  218. animation: rotating 2s linear infinite;
  219. }
  220. }
  221. }
  222. }
  223. }
  224. // menu
  225. #block-header{
  226. margin-right: 1em;
  227. padding-left: 1em;
  228. border-left: 1px solid #000;
  229. ul.menu{
  230. margin:0;
  231. li{
  232. padding:0;
  233. display: inline-block;
  234. &:not(:first-of-type){
  235. margin-left: 0.5em;
  236. }
  237. a{
  238. @extend %header-fs;
  239. }
  240. }
  241. }
  242. }
  243. #block-languageswitcher{
  244. text-align: right;
  245. h2{
  246. margin: 0.1em 0 0 0;
  247. font-size: 0.756em;
  248. font-weight: 400;
  249. padding:0.1em 0.4em 0.2em;
  250. border-radius: 3px;
  251. background-color: #444;
  252. color: #fff;
  253. display: inline-block;
  254. vertical-align: top;
  255. }
  256. &>ul.links{
  257. // background-color: #fff;
  258. overflow: hidden;
  259. width:3.5em;
  260. // display: inline-block;
  261. height:1px;
  262. padding:0.01em 0;
  263. margin:0;
  264. box-sizing:content-box;
  265. transition: all 0.4s ease-in-out;
  266. // outline: 1px solid blue;
  267. // transition-delay: 2s;
  268. }
  269. &:hover{
  270. &>ul.links{
  271. transition-delay: 0s;
  272. height:2em;
  273. padding:0.3em 0;
  274. // box-shadow: 0 0 10px #ccc;
  275. }
  276. }
  277. li{
  278. list-style: none;
  279. padding:0;
  280. display: inline-block;
  281. &.is-active{
  282. display:none;
  283. }
  284. a{
  285. margin: 0;
  286. font-size: 0.756em;
  287. font-weight: 400;
  288. padding:0.2em 0.4em;
  289. border-radius: 3px;
  290. background-color: #444;
  291. color: #fff;
  292. }
  293. }
  294. }
  295. // header bottom
  296. #header-bottom{
  297. // disable the default wrapper behaviour
  298. &:after{content: none;}
  299. // apply flex for normal layout
  300. display: flex;
  301. flex-direction: row;
  302. justify-content: space-between;
  303. #block-pagetitle{}
  304. #block-materiosapisearchblock{
  305. align-self: flex-end;
  306. }
  307. @include col-mediaquery-max(3){
  308. flex-direction: column-reverse;
  309. // justify-content: flex-start;
  310. #block-pagetitle{
  311. width: max-content;
  312. }
  313. #block-materiosapisearchblock{}
  314. }
  315. }
  316. #block-pagetitle{
  317. // float: left;
  318. padding:1em 0;
  319. h2{
  320. margin:0;
  321. font-size: 1.512em;
  322. text-transform: capitalize;
  323. font-weight: 300;
  324. body:not(.path-home) & {
  325. padding:0.5em 1em;
  326. }
  327. body.path-blabla &,
  328. body.path-checkout & {
  329. color: #fff;
  330. background-color: $color-blabla;
  331. }
  332. body.path-showrooms & {
  333. color: #fff;
  334. background-color: $color-showrooms;
  335. }
  336. body.path-base &,
  337. body.path-thematique & {
  338. color: #fff;
  339. background-color: $color-base;
  340. }
  341. body.path-pricing & {
  342. color: #fff;
  343. background-color: $color-webshowroom;
  344. }
  345. }
  346. }
  347. #block-materiosapisearchblock{
  348. // float:right;
  349. // display:inline-block;
  350. // box-shadow: 0 0 5px rgba(0,0,0,0.2);
  351. padding:0;
  352. #materio-sapi-search-form{
  353. .form-item, input.button{
  354. display: inline-block;
  355. }
  356. #edit-search{
  357. border:1px #BBB solid;
  358. border-radius: 14px;
  359. padding:0.3em;
  360. color:#666;
  361. }
  362. #edit-submit{
  363. border:0;
  364. text-indent: 50px;
  365. overflow: hidden;
  366. width:20px; height:20px;
  367. margin:0;
  368. // border-radius: 7px;
  369. background-image: url('../img/search.png');
  370. background-position: center;
  371. background-repeat: no-repeat;
  372. background-size: contain;
  373. }
  374. }
  375. }
  376. }
  377. // main
  378. aside.messages{
  379. padding: 0;
  380. }
  381. // content top
  382. // #content-top{
  383. // &:after{
  384. // content:"";
  385. // clear:both;
  386. // display: block;
  387. // }
  388. // }
  389. // ___ _ _ _ __ _
  390. // / __|___ _ _| |_ ___ _ _| |_ ___| | ___ / _| |_
  391. // | (__/ _ \ ' \ _/ -_) ' \ _|___| |__/ -_) _| _|
  392. // \___\___/_||_\__\___|_||_\__| |____\___|_| \__|
  393. #content-left{
  394. z-index: 5;
  395. box-sizing: content-box;
  396. max-width:1px;
  397. overflow-x: hidden;
  398. transition: all 0.3s ease-in-out;
  399. &.opened{
  400. max-width: 500px;
  401. padding: 0.3em;
  402. }
  403. >*{
  404. box-sizing: border-box;
  405. background-color: #fff;
  406. box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
  407. padding: 0.5em;
  408. }
  409. .flag-collection{
  410. >header{
  411. display: flex;
  412. flex-direction: row;
  413. justify-content: space-between;
  414. padding-bottom: $column_goutiere;
  415. h3{
  416. // flex-basis: calc(100% - 1em);
  417. }
  418. .mdi-close{
  419. // display: block;
  420. // flex-basis: 1em;
  421. cursor:pointer;
  422. align-self: flex-end;
  423. }
  424. }
  425. >ul{
  426. >li{
  427. margin:0 0 $column_goutiere 0;
  428. padding:0;
  429. article.card.minicard{
  430. width:$minicard_width;
  431. height:$minicard_height;
  432. margin:auto;
  433. >header{
  434. padding: 0.3em 0.3em 0.1em;
  435. h1{
  436. margin:0;
  437. }
  438. }
  439. >nav.tools{
  440. top: auto;
  441. bottom: 0;
  442. padding:0 0.2em;
  443. background:transparent;
  444. .mdi.unflag{
  445. cursor: pointer;
  446. }
  447. }
  448. }
  449. }
  450. }
  451. }
  452. }
  453. // __ _
  454. // / _|_ _ ___ _ _| |_
  455. // | _| '_/ _ \ ' \ _|
  456. // |_| |_| \___/_||_\__|
  457. @mixin btn{
  458. display: inline-block;
  459. font-size: 0.9em;
  460. font-weight: bold;
  461. padding: 0.7em 1em;
  462. margin-bottom: 0.3em;
  463. background-color: #fff;
  464. color: #000;
  465. border-radius: 5px;
  466. border: none;
  467. }
  468. article.node--type-frontpage{
  469. %front-col-field__label{
  470. font-size: 3.5em;
  471. line-height: 1;
  472. }
  473. %front-col-description{
  474. font-size: 0.9em;
  475. line-height: 1.3;
  476. }
  477. %part-centered-layout{
  478. padding:1.5em 0;
  479. background-color: #fff;
  480. >div:nth-child(1){
  481. width:80%;
  482. margin: 0 auto;
  483. text-align: center;
  484. .field__label{
  485. @extend %front-col-field__label;
  486. }
  487. .field__item{
  488. @extend %front-col-description;
  489. }
  490. }
  491. }
  492. // %part-columned-layout{
  493. // display:grid;
  494. // grid-template-columns: 300px 1fr;
  495. // grid-column-gap: 2em;
  496. // padding:2em 1em;
  497. // >div:nth-child(1){
  498. // color: #fff;
  499. // grid-column: 1;
  500. // .field__label{
  501. // @extend %front-col-field__label;
  502. // }
  503. // .field__item{
  504. // @extend %front-col-description;
  505. // }
  506. // }
  507. // >div:nth-child(2){
  508. // grid-column: 2;
  509. // }
  510. // }
  511. %part-columned-layout{
  512. display:flex;
  513. flex-direction: row;
  514. flex-wrap: nowrap;
  515. >div:nth-child(1){
  516. flex: 0 0 $column_width * 2 + $column_goutiere;
  517. box-sizing: border-box;
  518. padding: 1em;
  519. color: #fff;
  520. .field__label{
  521. @extend %front-col-field__label;
  522. }
  523. .field__item{
  524. @extend %front-col-description;
  525. }
  526. }
  527. >div:nth-child(2){
  528. flex: 1 1 auto;
  529. box-sizing: border-box;
  530. padding: 1em 0.5em;
  531. }
  532. }
  533. >h2{
  534. display: none;
  535. }
  536. .node__content{
  537. &>section{
  538. &.home-intro{
  539. @extend %part-centered-layout;
  540. .field__item{
  541. display: flex;
  542. flex-flow: row nowrap;
  543. justify-content: center;
  544. p{
  545. flex: 0 0 $column_width * 2;
  546. padding:1em;
  547. }
  548. }
  549. }
  550. &.home-database{
  551. background-color: $color-base;
  552. @extend %part-columned-layout;
  553. .field--name-field-a-database{
  554. .field__label{
  555. cursor: pointer;
  556. }
  557. }
  558. .field--name-field-database-links{
  559. .field__item{
  560. display: inline-block;
  561. a{
  562. @include btn;
  563. background-color: #fff;
  564. color: $color-base;
  565. }
  566. }
  567. }
  568. .cards-list-home{
  569. position: relative;
  570. // max-height: (130px*1.4)*3;
  571. max-height: 580px;
  572. overflow-y: hidden;
  573. ul{
  574. width:100%;
  575. margin:0; padding:0;
  576. // display: grid;
  577. // grid-template-columns: repeat(auto-fill, minmax(50px, 130px));
  578. // grid-template-rows: 1fr;
  579. // grid-gap: 1em;
  580. // justify-content:start;
  581. display: flex;
  582. flex-flow: row wrap;
  583. justify-content: space-between;
  584. li{
  585. padding:0 0 $column_goutiere / 2 0;
  586. box-sizing: border-box;
  587. // padding-top: 140%;
  588. width: $column_width / 2;
  589. height: $card_height / 2;
  590. position: relative;
  591. list-style: none;
  592. margin:0;
  593. .card{
  594. // position:absolute;
  595. // top:0; bottom:0;
  596. // left:0; right:0;
  597. width: 100%;
  598. height: 100%;
  599. .field--name-field-short-description{
  600. font-size: 0.656em;
  601. line-height: 1.2;
  602. }
  603. }
  604. }
  605. }
  606. }
  607. }
  608. &.home-showrooms{
  609. background-color: $color-showrooms;
  610. @extend %part-columned-layout;
  611. .field--name-field-showrooms{}
  612. .field--name-field-showroom-links{
  613. .field__item{
  614. display: inline-block;
  615. a{
  616. @include btn;
  617. background-color: #fff;
  618. color: $color-showrooms;
  619. }
  620. }
  621. }
  622. .field--name-computed-showrooms-reference{
  623. overflow: hidden;
  624. position:relative;
  625. // height:550px;
  626. display: grid;
  627. grid-template-rows: 1fr;
  628. $bp: ($column_width + $column_goutiere )*7;
  629. @media only screen and (max-width: $bp){
  630. grid-template-columns: 1fr;
  631. >.field__item{
  632. grid-column: 1;
  633. }
  634. }
  635. @media only screen and (min-width: $bp + 1px){
  636. grid-template-columns: 1fr 1fr;
  637. grid-gap: 1em;
  638. >.field__item:nth-child(odd){
  639. grid-column: 1;
  640. }
  641. >.field__item:nth-child(even){
  642. grid-column: 2;
  643. }
  644. }
  645. >.field__item{
  646. grid-row: 1;
  647. // position: absolute;
  648. // top:0; left:0;
  649. // width:100%; height:100%;
  650. // overflow: hidden;
  651. opacity: 0;
  652. // transform: translateX(100%);
  653. transition: all 2s ease-out;
  654. &.active{
  655. opacity: 1;
  656. // transform: translateX(0);
  657. // transition: all 0.3s ease-in-out;
  658. }
  659. .taxonomy-term{
  660. position: relative;
  661. width:100%; height:100%;
  662. div.visuel{
  663. width:100%;
  664. padding-bottom: 5em;
  665. img{
  666. max-width: 100%;
  667. height: auto;
  668. }
  669. }
  670. section.text{
  671. position: absolute;
  672. bottom:0; left:0;
  673. width:100%;
  674. box-sizing:border-box;
  675. padding:1em 0 0;
  676. background-color:$color-showrooms;
  677. color: #fff;
  678. // >*{
  679. // // display: inline-block;
  680. // font-size: 0.9em;
  681. // }
  682. h2,p{
  683. margin:0;
  684. }
  685. h2{
  686. font-size: 2em;
  687. }
  688. .field--name-field-public-address{
  689. br{
  690. display:none;
  691. }
  692. span:not(:nth-last-of-type(1)) {
  693. margin-right: 0.4em;
  694. &:after{
  695. padding-left: 0.5em;
  696. content:"⋅"
  697. }
  698. }
  699. }
  700. .field--name-field-public-phone {
  701. display: inline-block;
  702. margin-right: 0.4em;
  703. &:after{
  704. padding-left: 0.5em;
  705. content:"⋅"
  706. }
  707. }
  708. .field--name-field-public-email {
  709. display: inline-block;
  710. }
  711. }
  712. }
  713. }
  714. }
  715. }
  716. &.home-blabla{
  717. background-color: $color-blabla;
  718. @extend %part-columned-layout;
  719. .field--name-field-blabla-links{
  720. .field__item{
  721. display: inline-block;
  722. a{
  723. @include btn;
  724. background-color: #fff;
  725. color: $color-blabla;
  726. }
  727. }
  728. }
  729. .cards-list-home{
  730. position: relative;
  731. $bp: ($column_width*2 + $column_goutiere );
  732. overflow-y: hidden;
  733. max-height: 315px;
  734. // @media only screen and (max-width: $bp * 6){
  735. // max-height: 630px;
  736. // }
  737. // @media only screen and (min-width: ($bp * 6) + 1px){
  738. // max-height: 310px;
  739. // }
  740. ul{
  741. width:100%;
  742. margin:0; padding:0;
  743. // display: grid;
  744. // grid-template-columns: repeat(auto-fill, minmax(80px, $column_width*2));
  745. // // grid-template-rows: 1fr;
  746. // grid-gap: 1em;
  747. // justify-content:start;
  748. display: flex;
  749. flex-flow: row wrap;
  750. justify-content: space-between;
  751. li{
  752. padding:0 0 $column_goutiere 0;
  753. box-sizing: border-box;
  754. // padding-top: 140%;
  755. width: $column_width;
  756. // height: $card_height / 2;
  757. position: relative;
  758. list-style: none;
  759. margin:0;
  760. // padding-top: 67.8%;
  761. overflow: hidden;
  762. .card{
  763. // position:absolute;
  764. // top:0; bottom:0;
  765. // left:0; right:0;
  766. width: 100%;
  767. height: auto;
  768. .field--name-title{
  769. font-size: 0.756em;
  770. line-height: 0.9;
  771. }
  772. }
  773. }
  774. }
  775. }
  776. }
  777. &.home-pricing{
  778. @extend %part-centered-layout;
  779. >h3{
  780. @extend %front-col-field__label;
  781. text-align: center;
  782. text-transform: capitalize;
  783. padding: 0.7em 0 0.3em 0;
  784. }
  785. .field--name-field-pricing-pitch{
  786. text-align: center;
  787. p{ margin:0;}
  788. }
  789. .field--name-field-pricing{
  790. // padding:2em 0;
  791. display: flex;
  792. flex-flow: row nowrap;
  793. justify-content: center;
  794. padding-bottom: 1em;
  795. p{
  796. flex: 0 0 $column_width * 2;
  797. padding: 1em;
  798. margin: 0;
  799. text-align: center;
  800. }
  801. }
  802. .field--name-computed-products-reference{
  803. display: flex;
  804. flex-flow: row nowrap;
  805. // TODO: mediaQuery column
  806. >.field__item{
  807. flex:0 0 50%;
  808. text-align: center;
  809. padding: 2em 0;
  810. a.btn{
  811. @include btn;
  812. background-color: #fff;
  813. }
  814. &:nth-child(1){
  815. background-color: $color-base;
  816. a.btn{
  817. color: $color-base;
  818. }
  819. }
  820. &:nth-child(2){
  821. background-color: $color-webshowroom;
  822. a.btn{
  823. color: $color-webshowroom;
  824. }
  825. }
  826. color: #fff;
  827. position: relative;
  828. height:18em;
  829. >article{
  830. position: absolute;
  831. top:50%; left:50%;
  832. transform: translate(-50%, -50%);
  833. }
  834. .field--name-title{
  835. @extend %front-col-field__label;
  836. font-weight: 600;
  837. line-height: 0.7;
  838. padding-bottom: 0.1em;
  839. text-align: center;
  840. word-spacing: 30000px;
  841. }
  842. .field--name-body{
  843. @extend %front-col-description;
  844. padding:0.5em;
  845. p{
  846. margin: 0;
  847. }
  848. }
  849. }
  850. }
  851. }
  852. }
  853. }
  854. }
  855. // ___ _
  856. // / __|__ _ _ _ __| |___
  857. // | (__/ _` | '_/ _` (_-<
  858. // \___\__,_|_| \__,_/__/
  859. .infinite-loading-container{
  860. .infinite-status-prompt{
  861. i[class^="loading-"]{
  862. width:15px; height:15px;
  863. }
  864. }
  865. }
  866. .cards-list{
  867. position: relative;
  868. .search-info{
  869. font-size: 0.756em;
  870. font-weight: 500;
  871. margin: 0;
  872. padding: 0 0 0.5em 0;
  873. }
  874. &>ul{
  875. // outline: 1px green solid;
  876. margin:0; padding:0;
  877. width: calc(100% + #{$column_goutiere});
  878. &>li{
  879. list-style: none;
  880. margin:0 $column_goutiere $column_goutiere 0; padding:0;
  881. display: inline-block;
  882. vertical-align: top;
  883. }
  884. }
  885. }
  886. article.card{
  887. position: relative;
  888. box-shadow: 0 0 5px rgba(0,0,0,0.2);
  889. width:$column_width; height:$card_height;
  890. &.article{
  891. width:$column_width*2 + $column_goutiere; height:$card_height;
  892. }
  893. &.minicard{
  894. height:100px;
  895. width:$minicard_width;
  896. height:$minicard_height;
  897. margin:auto;
  898. >header{
  899. padding: 0.3em 0.3em 0.1em;
  900. h1{
  901. margin:0;
  902. }
  903. }
  904. >nav.tools{
  905. top: auto;
  906. bottom: 0;
  907. padding:0 0.2em;
  908. background:transparent;
  909. .mdi.unflag{
  910. cursor: pointer;
  911. }
  912. }
  913. }
  914. &.linkedmaterialcard{
  915. width:$linkedmaterialcard_width;
  916. height:$linkedmaterialcard_height;
  917. >header{
  918. padding: 0.3em 0.3em 0.1em;
  919. cursor: pointer;
  920. h1{
  921. margin:0;
  922. font-size: 1em;
  923. }
  924. h4{
  925. margin:0;
  926. line-height: 1.1;
  927. margin-bottom: -0.4em;
  928. }
  929. span.ref{
  930. line-height: 0.5;
  931. }
  932. }
  933. >nav.tools{
  934. top: auto;
  935. bottom: 0;
  936. padding:0 0.2em;
  937. background:transparent;
  938. .mdi.unflag{
  939. cursor: pointer;
  940. }
  941. }
  942. }
  943. // &.card-small{
  944. // width:100px; height:140px;
  945. // }
  946. // focused
  947. // box-shadow: 0 0 7px rgba(0,0,0,0.9);
  948. // &.article{
  949. // width: $column_width * 2 + $column_goutiere;
  950. //
  951. // }
  952. header{
  953. position: absolute;
  954. bottom:0;
  955. z-index:10;
  956. color: #000;
  957. background-color: rgba(255,255,255,0.8);
  958. padding: 0.3em 0.3em;
  959. box-sizing:border-box;
  960. width:100%;
  961. h1, h4{ margin:0; padding:0; }
  962. h1{
  963. font-size: 1.3em;
  964. font-weight: 700;
  965. line-height: 0.85;
  966. margin-bottom: 0.2em;
  967. }
  968. h4{
  969. font-size: 0.882em;
  970. font-weight: 300;
  971. line-height: 1.1;
  972. margin-bottom: -0.2em;
  973. }
  974. span.ref{
  975. font-size: 0.693em;
  976. font-weight: 300;
  977. line-height: 1;
  978. }
  979. }
  980. &.card-thematique header{
  981. background-color: $color-base-transparent;
  982. }
  983. nav.tools{
  984. position: absolute;
  985. top: 0;
  986. right: 0;
  987. z-index: 21;
  988. $toolbar_width: 15px;
  989. width: $toolbar_width;
  990. background-color: #fff;
  991. box-sizing: content-box;
  992. padding: 0.3em 0.1em;
  993. >*{
  994. overflow: visible;
  995. position: relative;
  996. span.btn{
  997. overflow: hidden;
  998. font-size: 0.882em;
  999. }
  1000. .tool-content{
  1001. position: absolute;
  1002. top: 0px;
  1003. right: 100%;
  1004. // width: 5em;
  1005. width: $column_width - $toolbar_width - 10px;
  1006. box-sizing: border-box;
  1007. padding: 0.3em;
  1008. background-color: #fff;
  1009. box-shadow: -2px 3px 4px rgba(0, 0, 0, 0.2);
  1010. opacity: 0;
  1011. max-height: 0; max-width:0;
  1012. overflow: hidden;
  1013. transition: all 0.2s ease-in-out;
  1014. }
  1015. &:hover{
  1016. .tool-content{
  1017. transition: all 0.3s ease-in-out;
  1018. opacity: 1;
  1019. max-height: 195px;
  1020. max-width:200px;
  1021. }
  1022. }
  1023. }
  1024. .tool.flags{
  1025. .tool-content{
  1026. ul{
  1027. display: flex;
  1028. flex-flow: row wrap;
  1029. li{
  1030. padding:0 0.5em 0 0;
  1031. }
  1032. }
  1033. }
  1034. span.flag{
  1035. cursor: pointer;
  1036. font-size: 0.756em;
  1037. color: #bbb;
  1038. transition: color 0.3s ease-in-out;
  1039. &:hover, &.isActive{
  1040. color:#1a1a1a;
  1041. }
  1042. }
  1043. }
  1044. opacity: 0;
  1045. transition: opacity 0.2s ease-in-out;
  1046. }
  1047. &:hover{
  1048. nav.tools{
  1049. opacity:1;
  1050. }
  1051. }
  1052. section.images{
  1053. position: relative;
  1054. &, *{width: 100%; height:100%;}
  1055. figure{
  1056. cursor: pointer;
  1057. margin:0;
  1058. position: absolute;
  1059. top:0; left:0;
  1060. // width: 100%; height:100%;
  1061. &:first-of-type{
  1062. z-index:5
  1063. }
  1064. transition: opacity 0.2s ease-in-out;
  1065. &.show{opacity: 1; z-index:6;}
  1066. &.hide{opacity: 0;}
  1067. img{
  1068. // width: 100%; height:100%;
  1069. &.blank{
  1070. position: absolute;
  1071. top:0; left:0;
  1072. z-index: 20;
  1073. }
  1074. }
  1075. }
  1076. }
  1077. // overwritnig card for card-medium (aka search-card)
  1078. &.search-card{
  1079. >header{
  1080. cursor: pointer;
  1081. }
  1082. }
  1083. // overwriting card for modal-card
  1084. &.modal-card{
  1085. display: flex;
  1086. flex-flow: row-reverse nowrap;
  1087. width: $modalcard_width;
  1088. height: $modalcard_height;
  1089. >.col{
  1090. flex-basis: 50%;
  1091. }
  1092. section.col-right{
  1093. >*:not(nav.tools){
  1094. position: relative;
  1095. padding: 0.5em 0.5em 0;
  1096. box-sizing: border-box;
  1097. width: 100%;
  1098. }
  1099. >header{
  1100. bottom: auto;
  1101. }
  1102. // section.samples{
  1103. // ul{
  1104. // display: flex;
  1105. // flex-flow: row wrap;
  1106. // font-size: 0.882em;
  1107. // font-weight: 300;
  1108. // // line-height: 1.35;
  1109. // li{
  1110. // padding-right: 0.5em;
  1111. // span.showroom{ font-weight: 500; }
  1112. // }
  1113. // }
  1114. // }
  1115. section.body{
  1116. p{
  1117. font-size: 0.882em;
  1118. font-weight: 300;
  1119. line-height: 1.35;
  1120. margin:0 0 0.5em;
  1121. }
  1122. }
  1123. section.linked-materials{
  1124. display: flex;
  1125. flex-flow: row wrap;
  1126. justify-content: space-between;
  1127. >article.linkedmaterialcard{
  1128. flex-basis: 0 0 50%;
  1129. margin-bottom: 0.5em;
  1130. }
  1131. }
  1132. nav.tools{
  1133. opacity: 1;
  1134. section.close{
  1135. span.btn.mdi-close{
  1136. cursor:pointer;
  1137. }
  1138. }
  1139. }
  1140. }
  1141. }
  1142. }
  1143. // _____ _ _ _
  1144. // |_ _| |_ ___ _ __ __ _| |_(_)__ _ _ _ ___
  1145. // | | | ' \/ -_) ' \/ _` | _| / _` | || / -_)
  1146. // |_| |_||_\___|_|_|_\__,_|\__|_\__, |\_,_\___|
  1147. // |_|
  1148. #main-content > article.thematique{
  1149. div.cols{
  1150. display: flex;
  1151. flex-direction: row;
  1152. flex-wrap: nowrap;
  1153. // @media only screen and (max-width: $small-bp) {
  1154. @include col-mediaquery-max(3){
  1155. flex-wrap: wrap;
  1156. }
  1157. // }
  1158. div.col-left{
  1159. padding: 0 $column_goutiere $column_goutiere 0;
  1160. flex: 0 0 $column_width * 2 + $column_goutiere;
  1161. }
  1162. div.col-right{}
  1163. }
  1164. div.col-left section.body{
  1165. background-color: $color-base;
  1166. padding: 0.5em 1em 1em;
  1167. }
  1168. aside.linked-materials{
  1169. ul{
  1170. width:calc(100% + #{$column_goutiere});
  1171. li{
  1172. display: inline-block;
  1173. vertical-align: top;
  1174. width:$column_width;
  1175. margin:0 $column_goutiere $column_goutiere 0;
  1176. }
  1177. }
  1178. h3.field__label{
  1179. font-size: 1em;
  1180. font-weight: 500;
  1181. margin: 2em 0 1em 0;
  1182. }
  1183. h1.title{
  1184. font-size: 1em;
  1185. font-weight: 400;
  1186. }
  1187. h3.ref{
  1188. font-size: 0.756em;
  1189. font-weight: 600;
  1190. }
  1191. h2.description{
  1192. font-size: 0.756em;
  1193. font-weight: 400;
  1194. }
  1195. }
  1196. }
  1197. // ___ _ _ _
  1198. // | _ ) |__ _| |__| |__ _
  1199. // | _ \ / _` | '_ \ / _` |
  1200. // |___/_\__,_|_.__/_\__,_|
  1201. #blabla{
  1202. }
  1203. #main-content > article.article{
  1204. div.cols{
  1205. display: grid;
  1206. grid-template-rows: 1fr;
  1207. grid-template-columns: repeat(6, 1fr);
  1208. grid-gap: 1em;
  1209. div.col-left{
  1210. grid-column: 1;
  1211. }
  1212. div.col-right{
  1213. grid-column: 2/6;
  1214. }
  1215. }
  1216. section.accroche{
  1217. figure{
  1218. width:$column_width*2 + $column_goutiere;
  1219. margin:0 $column_goutiere 0 0;
  1220. img{
  1221. width:100%;
  1222. }
  1223. }
  1224. }
  1225. section.taxonomy{
  1226. margin:1em 0;
  1227. ul{
  1228. margin: 0;
  1229. }
  1230. li{
  1231. display:inline-block;
  1232. padding:0 0.5em 0 0;
  1233. }
  1234. }
  1235. div.gallery-wrapper{
  1236. .image{
  1237. display: inline-block;
  1238. width:$column_width;
  1239. margin:0 $column_goutiere $column_goutiere*0.6 0;
  1240. height:$card_height / 2;
  1241. background-size: cover;
  1242. }
  1243. }
  1244. // section.videos{
  1245. // ul{
  1246. // margin:0; padding:0;
  1247. // li{
  1248. // margin:0; padding:0;
  1249. // display: inline-block;
  1250. // width:100%; overflow: hidden;
  1251. // }
  1252. // }
  1253. // }
  1254. // section.visuels{
  1255. // width:calc(100% + #{$column_goutiere});
  1256. // figure{
  1257. // position: relative;
  1258. // display: inline-block;
  1259. // vertical-align: top;
  1260. // width:$column_width*2 + $column_goutiere;
  1261. // margin:0 $column_goutiere $column_goutiere*0.6 0;
  1262. // img{
  1263. // width:100%;
  1264. // }
  1265. // caption{
  1266. // position: absolute; bottom: 0; left:0;
  1267. // box-sizing: border-box; width: 100%; padding:0.5em;
  1268. // background-color: $transparent-bg-blk; color: #fff;
  1269. // }
  1270. // }
  1271. // }
  1272. aside.linked-materials{
  1273. ul{
  1274. width:calc(100% + #{$column_goutiere});
  1275. li{
  1276. display: inline-block;
  1277. vertical-align: top;
  1278. width:$column_width;
  1279. margin:0 $column_goutiere $column_goutiere 0;
  1280. }
  1281. }
  1282. h3.field__label{
  1283. font-size: 1em;
  1284. font-weight: 500;
  1285. margin: 2em 0 1em 0;
  1286. }
  1287. h1.title{
  1288. font-size: 1em;
  1289. font-weight: 400;
  1290. }
  1291. h3.ref{
  1292. font-size: 0.756em;
  1293. font-weight: 600;
  1294. }
  1295. h2.description{
  1296. font-size: 0.756em;
  1297. font-weight: 400;
  1298. }
  1299. }
  1300. nav.prevnext{
  1301. &.bottom{
  1302. margin:2em 0;
  1303. }
  1304. ul{
  1305. padding:0;
  1306. margin:0;
  1307. display: grid;
  1308. grid-template-columns: 1fr 1fr;
  1309. }
  1310. li{
  1311. padding:0;
  1312. margin:0;
  1313. list-style: none;
  1314. a{
  1315. font-size: 0.756em;
  1316. font-weight: 700;
  1317. }
  1318. &:nth-child(1){
  1319. grid-column: 1;
  1320. a:before{
  1321. content:'< ';
  1322. }
  1323. }
  1324. &:nth-child(2){
  1325. grid-column: 2;
  1326. text-align: right;
  1327. a:after{
  1328. content:' >';
  1329. }
  1330. }
  1331. }
  1332. }
  1333. }
  1334. // ___ _
  1335. // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
  1336. // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
  1337. // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
  1338. #showrooms{
  1339. width: calc(100% + #{$column_goutiere});
  1340. article.showroom{
  1341. width: $column_width * 2 + $column_goutiere;
  1342. display: inline-block;
  1343. vertical-align: top;
  1344. margin: 0 $column_goutiere $column_goutiere 0;
  1345. h1{
  1346. margin:0;
  1347. font-weight: 4;
  1348. }
  1349. p{ margin:0; }
  1350. figure{
  1351. margin:0;
  1352. img{
  1353. max-width: 100%;
  1354. }
  1355. }
  1356. }
  1357. }
  1358. // ___ _ _
  1359. // | _ \_ _(_)__(_)_ _ __ _
  1360. // | _/ '_| / _| | ' \/ _` |
  1361. // |_| |_| |_\__|_|_||_\__, |
  1362. // |___/
  1363. #main-content>#pricing,
  1364. #main-content .view-pricing-products .view-content{
  1365. display: flex;
  1366. flex-flow: row nowrap;
  1367. article.product,
  1368. .views-row{
  1369. flex:0 0 50%;
  1370. text-align: center;
  1371. padding: 2em 0;
  1372. >header{
  1373. padding-bottom: 1.3em;
  1374. }
  1375. >header h1,
  1376. .views-field-title{
  1377. font-size: 4em;
  1378. line-height: 0.6;
  1379. color: #fff;
  1380. text-align: center;
  1381. word-spacing: 30000px;
  1382. }
  1383. section.content, .views-field-body{
  1384. color: #fff;
  1385. .description{
  1386. font-size: 1.134em;
  1387. p{
  1388. margin: 0.3em;
  1389. }
  1390. }
  1391. }
  1392. aside{
  1393. padding:1em 0;
  1394. .variation{
  1395. display: flex;
  1396. flex-flow: row nowrap;
  1397. justify-content: center;
  1398. align-items:flex-end;
  1399. div.variation-description{
  1400. flex: 0 0 6.7em;
  1401. font-size: 2.012em;
  1402. font-weight: 800;
  1403. color: #fff;
  1404. p{
  1405. margin:0;
  1406. text-align: left;
  1407. }
  1408. }
  1409. button{
  1410. @include btn;
  1411. background-color: #fff;
  1412. }
  1413. }
  1414. }
  1415. &:nth-child(1){
  1416. background-color: $color-base;
  1417. aside .variation button{
  1418. color: $color-base;
  1419. }
  1420. }
  1421. &:nth-child(2){
  1422. background-color: $color-webshowroom;
  1423. aside .variation button{
  1424. color: $color-webshowroom;
  1425. }
  1426. }
  1427. }
  1428. }
  1429. .modal{
  1430. position: relative;
  1431. }
  1432. #pricing-modal-login-register{
  1433. position: relative;
  1434. width: 100%;
  1435. text-align: left;
  1436. h2{
  1437. margin: 0.4em 0 1.1em;
  1438. padding-right: 4em;
  1439. font-size: 1.2em;
  1440. font-weight: 300;
  1441. }
  1442. #login-register{
  1443. width: 100%;
  1444. display: flex;
  1445. flex-flow: row nowrap;
  1446. >section{
  1447. flex:0 0 250px;
  1448. form{
  1449. .form-item, .form-actions {
  1450. margin: 0.5em 0;
  1451. max-width: none;
  1452. }
  1453. .form-type-email,
  1454. .form-type-password,
  1455. .form-actions{
  1456. display:block;
  1457. }
  1458. input[type="email"],
  1459. input[type="password"]{
  1460. max-width: 11em;
  1461. }
  1462. &#user-login-form #edit-pass--description,
  1463. #edit-pass-pass1--description{
  1464. display: block;
  1465. max-width: 16em;
  1466. font-size: 0.693em;
  1467. }
  1468. }
  1469. }
  1470. section.login{
  1471. form{
  1472. >div{
  1473. // display: block;
  1474. }
  1475. }
  1476. }
  1477. section.register{
  1478. }
  1479. }
  1480. }
  1481. #main-content form.commerce-checkout-flow{
  1482. $w:3;
  1483. max-width: $column_width * $w + $column_goutiere * ($w - 1);
  1484. .layout-checkout-form{
  1485. display: flex;
  1486. flex-flow: column;
  1487. .layout-region-checkout-main{
  1488. // disable default style
  1489. width:100%;
  1490. float: none;
  1491. // apply custom style
  1492. order:2;
  1493. background-color: $color-webshowroom;
  1494. padding: 1em;
  1495. label,
  1496. legend,
  1497. fieldset#edit-review-contact-information,
  1498. fieldset#edit-review-payment-information{
  1499. color: #fff;
  1500. }
  1501. fieldset{
  1502. border:none;
  1503. margin:0; padding:0;
  1504. legend{
  1505. font-size: 1.5em;
  1506. font-weight: 600;
  1507. margin-bottom: 0.5em;
  1508. }
  1509. }
  1510. $lw:10em;
  1511. .form-item{
  1512. margin:0 0 0.5em 0;
  1513. }
  1514. label{
  1515. display: inline-block;
  1516. font-weight: bold;
  1517. min-width: $lw;
  1518. }
  1519. input[type="text"]{
  1520. width:20em;
  1521. }
  1522. .stripe-form{
  1523. display: inline-block;
  1524. background-color: #fff;
  1525. color: #1A1A1A;
  1526. border-radius: 5px;
  1527. padding: 1em;
  1528. margin: 0 0 1em;
  1529. .form-item{
  1530. display: flex;
  1531. align-items: center;
  1532. flex-flow: row nowrap;
  1533. label{
  1534. color: #777;
  1535. }
  1536. .form-text{
  1537. background-color: #fff;
  1538. border-radius: 3px;
  1539. }
  1540. }
  1541. }
  1542. // .form-item-payment-information-billing-information-address-0-address-address-line2
  1543. .form-item-payment-information-add-payment-method-billing-information-address-0-address-address-line2{
  1544. padding-left:$lw + 0.25em;
  1545. }
  1546. // .form-item-payment-information-billing-information-copy-to-address-book
  1547. .form-item-payment-information-add-payment-method-billing-information-copy-to-address-book{
  1548. display: none;
  1549. }
  1550. }
  1551. .layout-region-checkout-secondary{
  1552. // disable default style
  1553. width:100%;
  1554. float: none;
  1555. // apply custom style
  1556. order: 1;
  1557. // display: flex;
  1558. // flex-flow: row nowrap;
  1559. // >.checkout-pane{
  1560. // flex: 0 0 50%;
  1561. // }
  1562. >h3{display:none;}
  1563. #edit-order-summary{
  1564. background-color: $color-base;
  1565. color:#fff;
  1566. padding:1em;
  1567. .view-commerce-checkout-order-summary{
  1568. display: flex;
  1569. flex-flow: row nowrap;
  1570. justify-content: space-between;
  1571. align-items: flex-end;
  1572. }
  1573. .field--name-product-id{
  1574. .field--name-title{
  1575. font-size: 2.5em;
  1576. font-weight: 800;
  1577. }
  1578. .field--name-body{
  1579. }
  1580. }
  1581. .field--name-title{
  1582. font-size: 1.5em;
  1583. font-weight: 600;
  1584. }
  1585. p{
  1586. margin:0;
  1587. }
  1588. }
  1589. #edit-coupon-redemption{
  1590. background-color: $color-showrooms;
  1591. padding:1em;
  1592. >.form-wrapper{
  1593. display: flex;
  1594. flex-flow: row;
  1595. align-items: center;
  1596. .form-item{
  1597. margin:0 0.5em 0 0;
  1598. label{
  1599. color: #fff;
  1600. font-size: 1.5em;
  1601. font-weight: 600;
  1602. margin-right: 0.5em;
  1603. }
  1604. input[type="text"]{
  1605. width: 7em;
  1606. }
  1607. }
  1608. input[type="submit"]{
  1609. background-color: #fff;
  1610. color: $color-showrooms;
  1611. border: none;
  1612. margin:0;
  1613. padding:0.1em 0.7em;
  1614. box-sizing: content-box;
  1615. height:2em;
  1616. font-weight: 800;
  1617. border-radius: 5px;
  1618. }
  1619. }
  1620. }
  1621. }
  1622. .layout-region-checkout-footer{
  1623. // disable default style
  1624. float: none;
  1625. width: 100%;
  1626. padding: 0;
  1627. // apply custom style
  1628. order: 3;
  1629. #edit-actions{
  1630. text-align: right;
  1631. }
  1632. input#edit-actions-next{
  1633. background-color: $color-blabla;
  1634. color: #fff;
  1635. border: none;
  1636. border-radius: 5px;
  1637. padding: 0.2em 0.4em 0.3em;
  1638. font-weight: 600;
  1639. font-size: 1.323em;
  1640. }
  1641. }
  1642. }
  1643. }
  1644. // ___ _
  1645. // | __|__ ___| |_ ___ _ _
  1646. // | _/ _ \/ _ \ _/ -_) '_|
  1647. // |_|\___/\___/\__\___|_|
  1648. footer[role="contentinfo"]{
  1649. body:not(.path-home) & {
  1650. display:none;
  1651. }
  1652. #block-materiosimplenewssubscription{
  1653. form{
  1654. display: flex;
  1655. flex-flow: row nowrap;
  1656. align-items: center;
  1657. font-size: 0.756em;
  1658. >*{
  1659. margin-right: 0.5em;
  1660. }
  1661. #edit-subscriptions{
  1662. display: flex;
  1663. flex-flow: row nowrap;
  1664. >*{
  1665. margin-right: 0.5em;
  1666. display: flex;
  1667. flex-flow: row nowrap;
  1668. align-items: center;
  1669. }
  1670. input{
  1671. margin-right: 0.3em;
  1672. }
  1673. }
  1674. #edit-mail-wrapper{
  1675. input[type="email"]{
  1676. width:10em;
  1677. }
  1678. }
  1679. #edit-actions--2{
  1680. input[type="submit"]{
  1681. border: none;
  1682. background: none;
  1683. background-color: $color-base;
  1684. border-radius: 5px;
  1685. color: #fff;
  1686. padding: 0.7em 1em;
  1687. font-weight: 700;
  1688. }
  1689. }
  1690. }
  1691. }
  1692. }