main.scss 43 KB

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