main.scss 41 KB

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