main.scss 42 KB

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