main.scss 44 KB

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