main.scss 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868
  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. cursor: pointer;
  901. h1{
  902. margin:0;
  903. font-size: 1em;
  904. }
  905. h4{
  906. margin:0;
  907. line-height: 1.1;
  908. margin-bottom: -0.4em;
  909. }
  910. span.ref{
  911. line-height: 0.5;
  912. }
  913. }
  914. >nav.tools{
  915. top: auto;
  916. bottom: 0;
  917. padding:0 0.2em;
  918. background:transparent;
  919. .mdi.unflag{
  920. cursor: pointer;
  921. }
  922. }
  923. }
  924. &.linkedmaterialcard{
  925. width:$linkedmaterialcard_width;
  926. height:$linkedmaterialcard_height;
  927. >header{
  928. padding: 0.3em 0.3em 0.1em;
  929. cursor: pointer;
  930. h1{
  931. margin:0;
  932. font-size: 1em;
  933. }
  934. h4{
  935. margin:0;
  936. line-height: 1.1;
  937. margin-bottom: -0.4em;
  938. }
  939. span.ref{
  940. line-height: 0.5;
  941. }
  942. }
  943. >nav.tools{
  944. top: auto;
  945. bottom: 0;
  946. padding:0 0.2em;
  947. background:transparent;
  948. .mdi.unflag{
  949. cursor: pointer;
  950. }
  951. }
  952. }
  953. // &.card-small{
  954. // width:100px; height:140px;
  955. // }
  956. // focused
  957. // box-shadow: 0 0 7px rgba(0,0,0,0.9);
  958. // &.article{
  959. // width: $column_width * 2 + $column_goutiere;
  960. //
  961. // }
  962. header{
  963. position: absolute;
  964. bottom:0;
  965. z-index:10;
  966. color: #000;
  967. background-color: rgba(255,255,255,0.8);
  968. padding: 0.3em 0.3em;
  969. box-sizing:border-box;
  970. width:100%;
  971. h1, h4{ margin:0; padding:0; }
  972. h1{
  973. font-size: 1.3em;
  974. font-weight: 700;
  975. line-height: 0.85;
  976. margin-bottom: 0.2em;
  977. }
  978. h4{
  979. font-size: 0.882em;
  980. font-weight: 300;
  981. line-height: 1.1;
  982. margin-bottom: -0.2em;
  983. }
  984. span.ref{
  985. font-size: 0.693em;
  986. font-weight: 300;
  987. line-height: 1;
  988. }
  989. }
  990. &.card-thematique header{
  991. background-color: $color-base-transparent;
  992. }
  993. $navtool_width: 15px;
  994. nav.tools{
  995. position: absolute;
  996. top: 0;
  997. right: 0;
  998. z-index: 21;
  999. width: $navtool_width;
  1000. background-color: #fff;
  1001. box-sizing: content-box;
  1002. padding: 0.3em 0.1em;
  1003. >*{
  1004. overflow: visible;
  1005. position: relative;
  1006. span.btn{
  1007. overflow: hidden;
  1008. font-size: 0.882em;
  1009. }
  1010. .tool-content{
  1011. position: absolute;
  1012. top: 0px;
  1013. right: 100%;
  1014. // width: 5em;
  1015. width: $column_width - $navtool_width - 10px;
  1016. box-sizing: border-box;
  1017. padding: 0;
  1018. background-color: #fff;
  1019. box-shadow: -2px 3px 8px rgba(0, 0, 0, 0.5);
  1020. opacity: 0;
  1021. max-height: 0; max-width:0;
  1022. overflow: hidden;
  1023. transition: all 0.2s ease-in-out;
  1024. }
  1025. &:hover{
  1026. .tool-content{
  1027. transition: all 0.3s ease-in-out;
  1028. opacity: 1;
  1029. padding: 0.3em;
  1030. max-height: 195px;
  1031. max-width:200px;
  1032. }
  1033. }
  1034. }
  1035. .tool.flags{
  1036. .tool-content{
  1037. ul{
  1038. display: flex;
  1039. flex-flow: row wrap;
  1040. li{
  1041. padding:0 0.5em 0 0;
  1042. }
  1043. }
  1044. }
  1045. span.flag{
  1046. cursor: pointer;
  1047. font-size: 0.756em;
  1048. color: #bbb;
  1049. transition: color 0.3s ease-in-out;
  1050. &:hover, &.isActive{
  1051. color:#1a1a1a;
  1052. }
  1053. }
  1054. }
  1055. opacity: 0;
  1056. transition: opacity 0.2s ease-in-out;
  1057. }
  1058. &:hover{
  1059. nav.tools{
  1060. opacity:1;
  1061. }
  1062. }
  1063. section.images{
  1064. position: relative;
  1065. &, *{width: 100%; height:100%;}
  1066. figure{
  1067. cursor: pointer;
  1068. margin:0;
  1069. position: absolute;
  1070. top:0; left:0;
  1071. // width: 100%; height:100%;
  1072. &:first-of-type{
  1073. z-index:5
  1074. }
  1075. transition: opacity 0.2s ease-in-out;
  1076. &.show{opacity: 1; z-index:6;}
  1077. &.hide{opacity: 0;}
  1078. img{
  1079. // width: 100%; height:100%;
  1080. &.blank{
  1081. position: absolute;
  1082. top:0; left:0;
  1083. z-index: 20;
  1084. }
  1085. }
  1086. }
  1087. }
  1088. // overwritnig card for card-medium (aka search-card)
  1089. &.search-card{
  1090. >header{
  1091. cursor: pointer;
  1092. }
  1093. }
  1094. // overwriting card for modal-card
  1095. &.modal-card{
  1096. display: flex;
  1097. flex-flow: row-reverse nowrap;
  1098. width: $modalcard_width;
  1099. height: $modalcard_height;
  1100. >.col{
  1101. flex-basis: 50%;
  1102. }
  1103. section.col-right{
  1104. >*:not(nav.tools){
  1105. position: relative;
  1106. padding: 0.3em $navtool_width + 5px 0 0.5em;
  1107. box-sizing: border-box;
  1108. width: 100%;
  1109. }
  1110. >header{
  1111. bottom: auto;
  1112. }
  1113. span.label{
  1114. font-size: 0.693em;
  1115. font-weight: 500;
  1116. }
  1117. section.body{
  1118. p{
  1119. font-size: 0.693em;
  1120. font-weight: 300;
  1121. line-height: 1.35;
  1122. margin:0 0 0.3em;
  1123. }
  1124. }
  1125. .vsa-list{
  1126. padding:0;
  1127. border: none;
  1128. --vsa-heading-padding: 0 0;
  1129. --vsa-content-padding: 0 0 0.5em;
  1130. --vsa-default-icon-size: 0.2;
  1131. --vsa-border-width: 0;
  1132. --vsa-text-color: #{$color-main-text};
  1133. --vsa-highlight-color: #fff;
  1134. --vsa-bg-color: #fff;
  1135. .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 {
  1136. background-color: var(--vsa-text-color);
  1137. }
  1138. .vsa-item{
  1139. .vsa-item__heading{
  1140. button.vsa-item__trigger{
  1141. height:2em;
  1142. &:hover,
  1143. &:focus{
  1144. color: var(--vsa-text-color);
  1145. }
  1146. }
  1147. }
  1148. .vsa-item__content{
  1149. }
  1150. }
  1151. }
  1152. section.linked-materials{
  1153. >ul{
  1154. display: flex;
  1155. flex-flow: row wrap;
  1156. justify-content: space-between;
  1157. >li{
  1158. flex-basis: 0 0 50%;
  1159. margin-bottom: 0.5em;
  1160. article.linkedmaterialcard{
  1161. }
  1162. }
  1163. }
  1164. }
  1165. nav.tools{
  1166. opacity: 1;
  1167. section.close{
  1168. span.btn.mdi-close{
  1169. cursor:pointer;
  1170. }
  1171. }
  1172. div.tool-content{
  1173. min-width: $column_width *2 - $navtool_width - 10px;
  1174. }
  1175. }
  1176. section.tool.samples{
  1177. div.tool-content{
  1178. ul{
  1179. // display: flex;
  1180. // flex-flow: row wrap;
  1181. font-size: 0.882em;
  1182. font-weight: 300;
  1183. // line-height: 1.35;
  1184. li{
  1185. padding-right: 0.5em;
  1186. span.showroom{ font-weight: 500; }
  1187. }
  1188. }
  1189. }
  1190. }
  1191. // section.tool.industriels{
  1192. // div.tool-content{
  1193. // display: flex;
  1194. // flex-flow: row;
  1195. // >section{
  1196. // flex: 0 0 50%;
  1197. // h2{
  1198. // margin:0;
  1199. // font-size: 1em;
  1200. // line-height: 0.6;
  1201. // }
  1202. // p{
  1203. // margin: 0;
  1204. // font-size: 0.882em;
  1205. // }
  1206. // }
  1207. // }
  1208. // }
  1209. section.industriels{
  1210. display: flex;
  1211. flex-flow: row;
  1212. >section{
  1213. flex: 0 0 50%;
  1214. h2{
  1215. margin:0;
  1216. font-size: 1em;
  1217. line-height: 0.6;
  1218. }
  1219. p{
  1220. margin: 0;
  1221. font-size: 0.882em;
  1222. }
  1223. }
  1224. }
  1225. section.attachments{
  1226. a{
  1227. margin:0;
  1228. font-size: 0.882em;
  1229. line-height: 0.6;
  1230. span{
  1231. font-size: 0.8em
  1232. }
  1233. }
  1234. p{
  1235. margin: 0;
  1236. font-size: 0.882em;
  1237. }
  1238. }
  1239. }
  1240. }
  1241. }
  1242. // _____ _ _ _
  1243. // |_ _| |_ ___ _ __ __ _| |_(_)__ _ _ _ ___
  1244. // | | | ' \/ -_) ' \/ _` | _| / _` | || / -_)
  1245. // |_| |_||_\___|_|_|_\__,_|\__|_\__, |\_,_\___|
  1246. // |_|
  1247. #main-content > article.thematique{
  1248. div.cols{
  1249. display: flex;
  1250. flex-direction: row;
  1251. flex-wrap: nowrap;
  1252. // @media only screen and (max-width: $small-bp) {
  1253. @include col-mediaquery-max(3){
  1254. flex-wrap: wrap;
  1255. }
  1256. // }
  1257. div.col-left{
  1258. padding: 0 $column_goutiere $column_goutiere 0;
  1259. flex: 0 0 $column_width * 2 + $column_goutiere;
  1260. }
  1261. div.col-right{}
  1262. }
  1263. div.col-left section.body{
  1264. background-color: $color-base;
  1265. padding: 0.5em 1em 1em;
  1266. }
  1267. aside.linked-materials{
  1268. ul{
  1269. width:calc(100% + #{$column_goutiere});
  1270. li{
  1271. display: inline-block;
  1272. vertical-align: top;
  1273. width:$column_width;
  1274. margin:0 $column_goutiere $column_goutiere 0;
  1275. }
  1276. }
  1277. h3.field__label{
  1278. font-size: 1em;
  1279. font-weight: 500;
  1280. margin: 2em 0 1em 0;
  1281. }
  1282. h1.title{
  1283. font-size: 1em;
  1284. font-weight: 400;
  1285. }
  1286. h3.ref{
  1287. font-size: 0.756em;
  1288. font-weight: 600;
  1289. }
  1290. h2.description{
  1291. font-size: 0.756em;
  1292. font-weight: 400;
  1293. }
  1294. }
  1295. }
  1296. // ___ _ _ _
  1297. // | _ ) |__ _| |__| |__ _
  1298. // | _ \ / _` | '_ \ / _` |
  1299. // |___/_\__,_|_.__/_\__,_|
  1300. #blabla{
  1301. }
  1302. #main-content > article.article{
  1303. div.cols{
  1304. display: grid;
  1305. grid-template-rows: 1fr;
  1306. grid-template-columns: repeat(6, 1fr);
  1307. grid-gap: 1em;
  1308. div.col-left{
  1309. grid-column: 1;
  1310. }
  1311. div.col-right{
  1312. grid-column: 2/6;
  1313. }
  1314. }
  1315. section.accroche{
  1316. figure{
  1317. width:$column_width*2 + $column_goutiere;
  1318. margin:0 $column_goutiere 0 0;
  1319. img{
  1320. width:100%;
  1321. }
  1322. }
  1323. }
  1324. section.taxonomy{
  1325. margin:1em 0;
  1326. ul{
  1327. margin: 0;
  1328. }
  1329. li{
  1330. display:inline-block;
  1331. padding:0 0.5em 0 0;
  1332. }
  1333. }
  1334. div.gallery-wrapper{
  1335. .image{
  1336. display: inline-block;
  1337. width:$column_width;
  1338. margin:0 $column_goutiere $column_goutiere*0.6 0;
  1339. height:$card_height / 2;
  1340. background-size: cover;
  1341. }
  1342. }
  1343. // section.videos{
  1344. // ul{
  1345. // margin:0; padding:0;
  1346. // li{
  1347. // margin:0; padding:0;
  1348. // display: inline-block;
  1349. // width:100%; overflow: hidden;
  1350. // }
  1351. // }
  1352. // }
  1353. // section.visuels{
  1354. // width:calc(100% + #{$column_goutiere});
  1355. // figure{
  1356. // position: relative;
  1357. // display: inline-block;
  1358. // vertical-align: top;
  1359. // width:$column_width*2 + $column_goutiere;
  1360. // margin:0 $column_goutiere $column_goutiere*0.6 0;
  1361. // img{
  1362. // width:100%;
  1363. // }
  1364. // caption{
  1365. // position: absolute; bottom: 0; left:0;
  1366. // box-sizing: border-box; width: 100%; padding:0.5em;
  1367. // background-color: $transparent-bg-blk; color: #fff;
  1368. // }
  1369. // }
  1370. // }
  1371. aside.linked-materials{
  1372. ul{
  1373. width:calc(100% + #{$column_goutiere});
  1374. li{
  1375. display: inline-block;
  1376. vertical-align: top;
  1377. width:$column_width;
  1378. margin:0 $column_goutiere $column_goutiere 0;
  1379. }
  1380. }
  1381. h3.field__label{
  1382. font-size: 1em;
  1383. font-weight: 500;
  1384. margin: 2em 0 1em 0;
  1385. }
  1386. h1.title{
  1387. font-size: 1em;
  1388. font-weight: 400;
  1389. }
  1390. h3.ref{
  1391. font-size: 0.756em;
  1392. font-weight: 600;
  1393. }
  1394. h2.description{
  1395. font-size: 0.756em;
  1396. font-weight: 400;
  1397. }
  1398. }
  1399. nav.prevnext{
  1400. &.bottom{
  1401. margin:2em 0;
  1402. }
  1403. ul{
  1404. padding:0;
  1405. margin:0;
  1406. display: grid;
  1407. grid-template-columns: 1fr 1fr;
  1408. }
  1409. li{
  1410. padding:0;
  1411. margin:0;
  1412. list-style: none;
  1413. a{
  1414. font-size: 0.756em;
  1415. font-weight: 700;
  1416. }
  1417. &:nth-child(1){
  1418. grid-column: 1;
  1419. a:before{
  1420. content:'< ';
  1421. }
  1422. }
  1423. &:nth-child(2){
  1424. grid-column: 2;
  1425. text-align: right;
  1426. a:after{
  1427. content:' >';
  1428. }
  1429. }
  1430. }
  1431. }
  1432. }
  1433. // ___ _
  1434. // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
  1435. // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
  1436. // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
  1437. #showrooms{
  1438. width: calc(100% + #{$column_goutiere});
  1439. article.showroom{
  1440. width: $column_width * 2 + $column_goutiere;
  1441. display: inline-block;
  1442. vertical-align: top;
  1443. margin: 0 $column_goutiere $column_goutiere 0;
  1444. h1{
  1445. margin:0;
  1446. font-weight: 4;
  1447. }
  1448. p{ margin:0; }
  1449. figure{
  1450. margin:0;
  1451. img{
  1452. max-width: 100%;
  1453. }
  1454. }
  1455. }
  1456. }
  1457. // ___ _ _
  1458. // | _ \_ _(_)__(_)_ _ __ _
  1459. // | _/ '_| / _| | ' \/ _` |
  1460. // |_| |_| |_\__|_|_||_\__, |
  1461. // |___/
  1462. #main-content>#pricing,
  1463. #main-content .view-pricing-products .view-content{
  1464. display: flex;
  1465. flex-flow: row nowrap;
  1466. article.product,
  1467. .views-row{
  1468. flex:0 0 50%;
  1469. text-align: center;
  1470. padding: 2em 0;
  1471. >header{
  1472. padding-bottom: 1.3em;
  1473. }
  1474. >header h1,
  1475. .views-field-title{
  1476. font-size: 4em;
  1477. line-height: 0.6;
  1478. color: #fff;
  1479. text-align: center;
  1480. word-spacing: 30000px;
  1481. }
  1482. section.content, .views-field-body{
  1483. color: #fff;
  1484. .description{
  1485. font-size: 1.134em;
  1486. p{
  1487. margin: 0.3em;
  1488. }
  1489. }
  1490. }
  1491. aside{
  1492. padding:1em 0;
  1493. .variation{
  1494. display: flex;
  1495. flex-flow: row nowrap;
  1496. justify-content: center;
  1497. align-items:flex-end;
  1498. div.variation-description{
  1499. flex: 0 0 6.7em;
  1500. font-size: 2.012em;
  1501. font-weight: 800;
  1502. color: #fff;
  1503. p{
  1504. margin:0;
  1505. text-align: left;
  1506. }
  1507. }
  1508. button{
  1509. @include btn;
  1510. background-color: #fff;
  1511. }
  1512. }
  1513. }
  1514. &:nth-child(1){
  1515. background-color: $color-base;
  1516. aside .variation button{
  1517. color: $color-base;
  1518. }
  1519. }
  1520. &:nth-child(2){
  1521. background-color: $color-webshowroom;
  1522. aside .variation button{
  1523. color: $color-webshowroom;
  1524. }
  1525. }
  1526. }
  1527. }
  1528. .modal{
  1529. position: relative;
  1530. }
  1531. #pricing-modal-login-register{
  1532. position: relative;
  1533. width: 100%;
  1534. text-align: left;
  1535. h2{
  1536. margin: 0.4em 0 1.1em;
  1537. padding-right: 4em;
  1538. font-size: 1.2em;
  1539. font-weight: 300;
  1540. }
  1541. #login-register{
  1542. width: 100%;
  1543. display: flex;
  1544. flex-flow: row nowrap;
  1545. >section{
  1546. flex:0 0 250px;
  1547. form{
  1548. .form-item, .form-actions {
  1549. margin: 0.5em 0;
  1550. max-width: none;
  1551. }
  1552. .form-type-email,
  1553. .form-type-password,
  1554. .form-actions{
  1555. display:block;
  1556. }
  1557. input[type="email"],
  1558. input[type="password"]{
  1559. max-width: 11em;
  1560. }
  1561. &#user-login-form #edit-pass--description,
  1562. #edit-pass-pass1--description{
  1563. display: block;
  1564. max-width: 16em;
  1565. font-size: 0.693em;
  1566. }
  1567. }
  1568. }
  1569. section.login{
  1570. form{
  1571. >div{
  1572. // display: block;
  1573. }
  1574. }
  1575. }
  1576. section.register{
  1577. }
  1578. }
  1579. }
  1580. #main-content form.commerce-checkout-flow{
  1581. $w:3;
  1582. max-width: $column_width * $w + $column_goutiere * ($w - 1);
  1583. .layout-checkout-form{
  1584. display: flex;
  1585. flex-flow: column;
  1586. .layout-region-checkout-main{
  1587. // disable default style
  1588. width:100%;
  1589. float: none;
  1590. // apply custom style
  1591. order:2;
  1592. background-color: $color-webshowroom;
  1593. padding: 1em;
  1594. label,
  1595. legend,
  1596. fieldset#edit-review-contact-information,
  1597. fieldset#edit-review-payment-information{
  1598. color: #fff;
  1599. }
  1600. fieldset{
  1601. border:none;
  1602. margin:0; padding:0;
  1603. legend{
  1604. font-size: 1.5em;
  1605. font-weight: 600;
  1606. margin-bottom: 0.5em;
  1607. }
  1608. }
  1609. $lw:10em;
  1610. .form-item{
  1611. margin:0 0 0.5em 0;
  1612. }
  1613. label{
  1614. display: inline-block;
  1615. font-weight: bold;
  1616. min-width: $lw;
  1617. }
  1618. input[type="text"]{
  1619. width:20em;
  1620. }
  1621. .stripe-form{
  1622. display: inline-block;
  1623. background-color: #fff;
  1624. color: #1A1A1A;
  1625. border-radius: 5px;
  1626. padding: 1em;
  1627. margin: 0 0 1em;
  1628. .form-item{
  1629. display: flex;
  1630. align-items: center;
  1631. flex-flow: row nowrap;
  1632. label{
  1633. color: #777;
  1634. }
  1635. .form-text{
  1636. background-color: #fff;
  1637. border-radius: 3px;
  1638. }
  1639. }
  1640. }
  1641. // .form-item-payment-information-billing-information-address-0-address-address-line2
  1642. .form-item-payment-information-add-payment-method-billing-information-address-0-address-address-line2{
  1643. padding-left:$lw + 0.25em;
  1644. }
  1645. // .form-item-payment-information-billing-information-copy-to-address-book
  1646. .form-item-payment-information-add-payment-method-billing-information-copy-to-address-book{
  1647. display: none;
  1648. }
  1649. }
  1650. .layout-region-checkout-secondary{
  1651. // disable default style
  1652. width:100%;
  1653. float: none;
  1654. // apply custom style
  1655. order: 1;
  1656. // display: flex;
  1657. // flex-flow: row nowrap;
  1658. // >.checkout-pane{
  1659. // flex: 0 0 50%;
  1660. // }
  1661. >h3{display:none;}
  1662. #edit-order-summary{
  1663. background-color: $color-base;
  1664. color:#fff;
  1665. padding:1em;
  1666. .view-commerce-checkout-order-summary{
  1667. display: flex;
  1668. flex-flow: row nowrap;
  1669. justify-content: space-between;
  1670. align-items: flex-end;
  1671. }
  1672. .field--name-product-id{
  1673. .field--name-title{
  1674. font-size: 2.5em;
  1675. font-weight: 800;
  1676. }
  1677. .field--name-body{
  1678. }
  1679. }
  1680. .field--name-title{
  1681. font-size: 1.5em;
  1682. font-weight: 600;
  1683. }
  1684. p{
  1685. margin:0;
  1686. }
  1687. }
  1688. #edit-coupon-redemption{
  1689. background-color: $color-showrooms;
  1690. padding:1em;
  1691. >.form-wrapper{
  1692. display: flex;
  1693. flex-flow: row;
  1694. align-items: center;
  1695. .form-item{
  1696. margin:0 0.5em 0 0;
  1697. label{
  1698. color: #fff;
  1699. font-size: 1.5em;
  1700. font-weight: 600;
  1701. margin-right: 0.5em;
  1702. }
  1703. input[type="text"]{
  1704. width: 7em;
  1705. }
  1706. }
  1707. input[type="submit"]{
  1708. background-color: #fff;
  1709. color: $color-showrooms;
  1710. border: none;
  1711. margin:0;
  1712. padding:0.1em 0.7em;
  1713. box-sizing: content-box;
  1714. height:2em;
  1715. font-weight: 800;
  1716. border-radius: 5px;
  1717. }
  1718. }
  1719. }
  1720. }
  1721. .layout-region-checkout-footer{
  1722. // disable default style
  1723. float: none;
  1724. width: 100%;
  1725. padding: 0;
  1726. // apply custom style
  1727. order: 3;
  1728. #edit-actions{
  1729. text-align: right;
  1730. }
  1731. input#edit-actions-next{
  1732. background-color: $color-blabla;
  1733. color: #fff;
  1734. border: none;
  1735. border-radius: 5px;
  1736. padding: 0.2em 0.4em 0.3em;
  1737. font-weight: 600;
  1738. font-size: 1.323em;
  1739. }
  1740. }
  1741. }
  1742. }
  1743. // ___ _
  1744. // | __|__ ___| |_ ___ _ _
  1745. // | _/ _ \/ _ \ _/ -_) '_|
  1746. // |_|\___/\___/\__\___|_|
  1747. footer[role="contentinfo"]{
  1748. body:not(.path-home) & {
  1749. display:none;
  1750. }
  1751. #block-materiosimplenewssubscription{
  1752. form{
  1753. display: flex;
  1754. flex-flow: row nowrap;
  1755. align-items: center;
  1756. font-size: 0.756em;
  1757. >*{
  1758. margin-right: 0.5em;
  1759. }
  1760. #edit-subscriptions{
  1761. display: flex;
  1762. flex-flow: row nowrap;
  1763. >*{
  1764. margin-right: 0.5em;
  1765. display: flex;
  1766. flex-flow: row nowrap;
  1767. align-items: center;
  1768. }
  1769. input{
  1770. margin-right: 0.3em;
  1771. }
  1772. }
  1773. #edit-mail-wrapper{
  1774. input[type="email"]{
  1775. width:10em;
  1776. }
  1777. }
  1778. #edit-actions--2{
  1779. input[type="submit"]{
  1780. border: none;
  1781. background: none;
  1782. background-color: $color-base;
  1783. border-radius: 5px;
  1784. color: #fff;
  1785. padding: 0.7em 1em;
  1786. font-weight: 700;
  1787. }
  1788. }
  1789. }
  1790. }
  1791. }