main.scss 43 KB

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