main.scss 38 KB

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