main.scss 62 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933
  1. // @import '~slim-select/scss';
  2. $mdi-font-path: './mdi/fonts/';
  3. @import './mdi/css/materialdesignicons.css';
  4. @import './mdi/scss/variables';
  5. @import './mdi/scss/functions';
  6. @import './base/variables';
  7. @import './base/colors';
  8. @import './base/reset';
  9. @import './base/grid';
  10. @import './base/layout';
  11. @import './base/animations';
  12. @import '../fonts/ubuntu/ubuntu.css';
  13. @import './base/fonts';
  14. // @import './base/responsive';
  15. // .dialog-off-canvas-main-canvas{
  16. // background-color: red;
  17. // }
  18. @mixin iconMDI($name) {
  19. &::before {
  20. content: mdi($name);
  21. display: inline-block;
  22. font: normal normal normal #{$mdi-font-size-base}/1 '#{$mdi-font-name}'; // shortening font declaration
  23. font-size: inherit; // can't have font-size inherit on line above, so need to override
  24. text-rendering: auto; // optimizelegibility throws things off #1094
  25. line-height: inherit;
  26. -webkit-font-smoothing: antialiased;
  27. -moz-osx-font-smoothing: grayscale;
  28. }
  29. }
  30. @mixin hover{
  31. @media (hover: hover) { /* solves sticky problem */
  32. &:hover {
  33. @content;
  34. }
  35. }
  36. &.tapped{
  37. @content;
  38. }
  39. }
  40. aside.messages{
  41. border:none;
  42. }
  43. // _ _ _
  44. // | || |___ __ _ __| |___ _ _
  45. // | __ / -_) _` / _` / -_) '_|
  46. // |_||_\___\__,_\__,_\___|_|
  47. header[role="banner"]{
  48. padding:0.2em 0 0 0;
  49. %header-fs{
  50. font-size: 0.9em;
  51. // line-height: 1;
  52. font-weight: 400;
  53. }
  54. // @include col-mediaquery-max(3){
  55. // overflow-x: hidden;
  56. // }
  57. #block-sitebranding{
  58. h1{
  59. margin:0;
  60. line-height: 1;
  61. }
  62. .slogan{
  63. font-size: 0.882em;
  64. display: block;
  65. white-space: nowrap;
  66. // @include col-mediaquery-max(2){
  67. // display:none;
  68. // }
  69. }
  70. @include col-mediaquery-max(3){
  71. h1, .slogan{
  72. display: inline-block;
  73. }
  74. }
  75. @include col-mediaquery-max(4, landscape){
  76. .slogan{
  77. display: none;
  78. }
  79. }
  80. }
  81. @include col-mediaquery-max(3){
  82. .header-block.header-right{
  83. .header-block-wrapper{
  84. &, #user-flags ul{
  85. // background-color: #222;
  86. // color: #fff;
  87. background-color: #fff;
  88. }
  89. }
  90. }
  91. }
  92. #block-socialmedialinks{
  93. padding-right: 0.5em;
  94. border-right: 1px solid $color-main-text;
  95. margin-right: 0.5em;
  96. li{
  97. padding:0;
  98. }
  99. // @include col-mediaquery-max(4){
  100. // display:none;
  101. // }
  102. }
  103. #block-userlogin{
  104. position: relative;
  105. // width:8em;
  106. padding:0 1em;
  107. overflow: visible;
  108. h2{
  109. @extend %header-fs;
  110. line-height: 1.38;
  111. margin: 0;
  112. }
  113. &>section{
  114. overflow: hidden;
  115. background-color: #fff;
  116. // margin:0 0 0 -1em;
  117. box-sizing:content-box;
  118. transition: all 0.4s ease-in-out;
  119. // outline: 1px solid blue;
  120. right:0;
  121. top:1.7em;
  122. box-sizing: content-box;
  123. z-index:100;
  124. }
  125. // appears on hover only on big screens
  126. @include col-mediaquery-min(3){
  127. &>section{
  128. max-height:0px;
  129. padding:0.01em 1em;
  130. transition-delay: 2s;
  131. position: absolute;
  132. width:11em;
  133. }
  134. @include hover{
  135. &>section{
  136. transition-delay: 0s;
  137. max-height:20em;
  138. padding:1em 1em;
  139. box-shadow: 0 0 10px #ccc;
  140. }
  141. }
  142. }
  143. .form-item{
  144. margin:0;
  145. position: relative;
  146. width:100%;
  147. &.form-item-name{
  148. margin:2px 0 0.5em 0;
  149. input{
  150. width:90%;
  151. padding:0;
  152. box-sizing: content-box;
  153. }
  154. }
  155. &.form-item-pass{
  156. margin:0 0 0.5em 0;
  157. input{
  158. width:90%;
  159. padding:0;
  160. box-sizing: content-box;
  161. }
  162. }
  163. &.form-item-persistent-login{
  164. font-size: 0.756em;
  165. label{
  166. vertical-align: top;
  167. }
  168. }
  169. }
  170. #edit-actions{
  171. margin:0;
  172. }
  173. .item-list{
  174. ul{
  175. margin:0;
  176. li{
  177. list-style: none;
  178. margin:0;
  179. a{
  180. font-size: 0.756em;
  181. }
  182. }
  183. }
  184. }
  185. span.login-message{
  186. color: red;
  187. font-size: 0.693em;
  188. line-height: 1.2;
  189. display: block;
  190. padding: 0 0 0.8em 0;
  191. }
  192. span.login-message[v-if="loginMessage"],
  193. span.register-message[v-if="registerMessage"]{
  194. display: none;
  195. }
  196. }
  197. // non-vue userblock
  198. #block-userblock{
  199. h2{display:none;}
  200. a{
  201. margin-right: 1em;
  202. }
  203. }
  204. // vue userblock
  205. #user-tools{
  206. padding-top: 0.06em;
  207. a.mdi-account{
  208. @extend %header-fs;
  209. cursor: pointer;
  210. span{
  211. @include col-mediaquery-min-max(3,5){
  212. display:none;
  213. }
  214. }
  215. }
  216. .mdi-logout::before {
  217. margin: -0.125em 0 0 0;
  218. vertical-align: top;
  219. }
  220. }
  221. // vue flaglist
  222. #user-flags{
  223. padding-left: 0.5em;
  224. margin-left: 0.5em;
  225. display: inline-block;
  226. vertical-align: top;
  227. position: relative;
  228. h2{
  229. @extend %header-fs;
  230. cursor: pointer;
  231. &:before{padding-right: 0.2em;}
  232. span{
  233. @include col-mediaquery-min-max(3,5){
  234. display:none;
  235. }
  236. }
  237. }
  238. ul{
  239. background-color: #fff;
  240. overflow: hidden;
  241. // margin:0 0 0 -1em;
  242. box-sizing:content-box;
  243. // outline: 1px solid blue;
  244. box-sizing: content-box;
  245. }
  246. // folders menu dropdown only for gig screens
  247. @include col-mediaquery-min(3){
  248. border-left: 1px solid #000;
  249. ul{
  250. transition: all 0.4s ease-in-out;
  251. transition-delay: 2s;
  252. z-index: 30;
  253. position: absolute;
  254. right:0;
  255. top:1.7em;
  256. width:11em;
  257. max-height:1px;
  258. padding:0.01em 1em;
  259. }
  260. @include hover{
  261. ul{
  262. transition-delay: 0s;
  263. max-height:50em;
  264. padding:1em 1em;
  265. box-shadow: 0 0 10px #ccc;
  266. }
  267. }
  268. }
  269. li{
  270. width:100%;
  271. // cursor: pointer;
  272. display: flex;
  273. flex-direction: row;
  274. align-items: baseline;
  275. flex-wrap: nowrap;
  276. h5{
  277. @extend %header-fs;
  278. cursor: pointer;
  279. font-weight: 700;
  280. span.length{
  281. font-weight: 300;
  282. }
  283. }
  284. span.mdi{
  285. font-size: 0.9em;
  286. }
  287. div.actions{
  288. padding-left:0.5em;
  289. span.mdi{
  290. cursor: pointer;
  291. color: #4e4d4d;
  292. }
  293. span.delete-btn{
  294. &.loading:before{
  295. animation: rotating 2s linear infinite;
  296. }
  297. }
  298. }
  299. @include col-mediaquery-min(3){
  300. div.actions{
  301. opacity:0;
  302. transition: opacity 0.3s ease-in-out;
  303. }
  304. @include hover{
  305. div.actions{
  306. opacity:1;
  307. }
  308. }
  309. }
  310. // small screens
  311. @include col-mediaquery-max(3){
  312. flex-direction: row-reverse;
  313. div.actions{
  314. padding-left: 0;
  315. padding-right: 0.5em;
  316. }
  317. }
  318. &.create-flag{
  319. margin-top: 0.2em;
  320. input{
  321. align-self: flex-end;
  322. border: 1px solid #bbb;
  323. border-radius:5px;
  324. width: calc(100% - 2em);
  325. font-size:0.8em;
  326. }
  327. span.add-btn{
  328. align-self: flex-end;
  329. color: #bbb;
  330. font-size: 1em;
  331. padding: 0 0 0 .5em;
  332. transition: all 0.2s ease-in-out;
  333. &.active{
  334. cursor: pointer;
  335. color:#1a1a1a;
  336. }
  337. &.loading:before{
  338. animation: rotating 2s linear infinite;
  339. }
  340. }
  341. }
  342. }
  343. }
  344. // menu
  345. #block-header{
  346. margin-right: 0.5em;
  347. padding-left: 0.5em;
  348. border-left: 1px solid #000;
  349. #block-header-menu{
  350. display:none;
  351. }
  352. // label[for="block-header-menu"]{
  353. // display:none;
  354. // }
  355. ul.menu{
  356. margin:0;
  357. li{
  358. padding:0;
  359. a{
  360. @extend %header-fs;
  361. }
  362. }
  363. }
  364. // @include col-mediaquery-max(3){
  365. ul.menu{
  366. li{
  367. display: inline-block;
  368. &:not(:first-of-type){
  369. margin-left: 0.3em;
  370. }
  371. }
  372. }
  373. // }
  374. @include col-mediaquery-max(3){
  375. // position: relative;
  376. //
  377. // label[for="block-header-menu"]{
  378. // display:block;
  379. // }
  380. // /* Toggle Show/Hide Menu */
  381. // // https://code-boxx.com/simple-responsive-pure-css-hamburger-menu/#sec-download
  382. // ul.menu { display: none; }
  383. // input:checked ~ ul.menu { display: block; }
  384. // ul.menu{
  385. // position: absolute;
  386. // width: 110px;
  387. // height: auto;
  388. // top: 18.9px;
  389. // right: 0;
  390. // background-color: white;
  391. // padding: 0.2em 0.5em;
  392. // margin-right: -0.5em;
  393. // z-index: 90;
  394. // text-align: right;
  395. // li{
  396. // display: block;
  397. // }
  398. // }
  399. ul.menu{
  400. text-align: right;
  401. li{
  402. display: block;
  403. a{
  404. display: block;
  405. padding: 0.2em 0;
  406. }
  407. }
  408. }
  409. }
  410. }
  411. #block-languageswitcher{
  412. text-align: right;
  413. position: relative;
  414. padding-right: 3px;
  415. h2{
  416. margin: 0.1em 0 0 0;
  417. font-size: 0.756em;
  418. font-weight: 400;
  419. padding:0.1em 0.4em 0.2em;
  420. border-radius: 3px;
  421. background-color: #444;
  422. color: #fff;
  423. display: inline-block;
  424. vertical-align: top;
  425. @include iconMDI('translate');
  426. width:12px;
  427. height:15px;
  428. overflow: hidden;
  429. }
  430. &>ul.links{
  431. // background-color: #fff;
  432. overflow: hidden;
  433. // display: inline-block;
  434. margin:0;
  435. box-sizing:content-box;
  436. // outline: 1px solid blue;
  437. // transition-delay: 2s;
  438. }
  439. @include col-mediaquery-min(3){
  440. &>ul.links{
  441. width:3.5em;
  442. position: absolute;
  443. top:17px;
  444. right:0;
  445. transition: all 0.4s ease-in-out;
  446. padding:0.01em 0;
  447. height:1px;
  448. }
  449. @include hover{
  450. &>ul.links{
  451. transition-delay: 0s;
  452. height:2em;
  453. padding:0.3em 0;
  454. // box-shadow: 0 0 10px #ccc;
  455. }
  456. }
  457. }
  458. @include col-mediaquery-max(3){
  459. h2{display: none;}
  460. }
  461. li{
  462. list-style: none;
  463. padding:0;
  464. display: inline-block;
  465. &.is-active{
  466. display:none;
  467. }
  468. a{
  469. margin: 0;
  470. font-size: 0.756em;
  471. font-weight: 400;
  472. padding:0.2em 0.4em;
  473. border-radius: 3px;
  474. background-color: #444;
  475. color: #fff;
  476. }
  477. }
  478. }
  479. // header bottom
  480. #header-bottom{
  481. // disable the default wrapper behaviour
  482. &:after{content: none;}
  483. // apply flex for normal layout
  484. display: flex;
  485. flex-direction: row;
  486. justify-content: space-between;
  487. #block-pagetitle{}
  488. #block-materiosapisearchblock{
  489. align-self: flex-end;
  490. }
  491. @include col-mediaquery-max(3){
  492. flex-direction: column;
  493. justify-content:center;
  494. #block-pagetitle{
  495. // width: max-content;
  496. width:100%;
  497. }
  498. #block-materiosapisearchblock{
  499. box-sizing: border-box;
  500. width:100%;
  501. }
  502. }
  503. @include col-mediaquery-max(4, landscape){
  504. #block-materiosapisearchblock{
  505. align-self: flex-start;
  506. }
  507. }
  508. }
  509. #block-pagetitle{
  510. // float: left;
  511. padding:1em 0;
  512. h2{
  513. margin:0;
  514. font-size: 1.512em;
  515. text-transform: capitalize;
  516. font-weight: 300;
  517. body.path-home & {
  518. display: none;
  519. }
  520. body:not(.path-home) & {
  521. padding:0.5em 1em;
  522. }
  523. body.path-blabla &,
  524. body.path-checkout & {
  525. color: #fff;
  526. background-color: $color-blabla;
  527. }
  528. body.path-showrooms & {
  529. color: #fff;
  530. background-color: $color-showrooms;
  531. }
  532. body.path-base &,
  533. body.path-thematique & {
  534. color: #fff;
  535. background-color: $color-base;
  536. }
  537. body.path-pricing & {
  538. color: #fff;
  539. background-color: $color-webshowroom;
  540. }
  541. body.path-webform & {
  542. color: #fff;
  543. background-color: $color-showrooms;
  544. }
  545. body.path-privacy-policy &,
  546. body.path-tos & {
  547. color: #fff;
  548. background-color: $color-main-text;
  549. }
  550. }
  551. @include col-mediaquery-max(3){
  552. body.path-frontpage &, body.path-home & {
  553. display: none;
  554. }
  555. padding: 1em 0 0;
  556. body.path-base &{
  557. h2{
  558. padding: 0.5em 1em 0!important;
  559. }
  560. }
  561. }
  562. @include col-mediaquery-max(4, landscape){
  563. padding:0 0 1em;
  564. h2{
  565. body:not(.path-home) & {
  566. padding:0 0.6em 0.1em;
  567. }
  568. }
  569. }
  570. }
  571. #block-materiosapisearchblock{
  572. // float:right;
  573. // display:inline-block;
  574. // box-shadow: 0 0 5px rgba(0,0,0,0.2);
  575. padding:0;
  576. #materio-sapi-search-form{
  577. display: grid;
  578. grid-template-columns: auto 25px;
  579. grid-template-rows: auto auto;
  580. row-gap: 0.2em;
  581. justify-items: stretch;
  582. .form-item, input.button{
  583. display: inline-block;
  584. margin: 0;
  585. }
  586. .form-item-search{
  587. grid-row: 1 / 1;
  588. grid-column: 1 / 1;
  589. position: relative;
  590. #edit-search{
  591. border:1px #BBB solid;
  592. border-radius: 14px;
  593. padding:0.3em;
  594. color:#666;
  595. width: 100%;
  596. box-sizing: border-box;
  597. }
  598. }
  599. fieldset#edit-filters{
  600. grid-row: 2 / 2;
  601. grid-column: 1 / span 2;
  602. border: none;
  603. padding: 0;
  604. >legend{
  605. line-height: 0.6;
  606. padding-bottom: 0.2em;
  607. width: 100%;
  608. text-align: right;
  609. span{
  610. cursor: pointer;
  611. font-size: 0.756em;
  612. color: #8f8f8f;
  613. }
  614. }
  615. > div.fieldset-wrapper{
  616. height: 0;
  617. overflow: hidden;
  618. }
  619. &.open >div.fieldset-wrapper{
  620. height: auto;
  621. overflow: visible;
  622. }
  623. .ss-main{
  624. font-size: 0.756em;
  625. .ss-single-selected{
  626. border-radius: 0.7em;
  627. &.ss-open-below{
  628. border-radius: 0.7em 0.7em 0 0.7em;
  629. }
  630. height:1.5em;
  631. border: none;
  632. padding: 0 0.5em;
  633. background-color: #eeeaea;
  634. span.placeholder{
  635. color: $color-main-text;
  636. line-height: 1;
  637. span.ss-disabled{
  638. color: #8f8f8f;
  639. }
  640. }
  641. span.ss-arrow span{
  642. border-color: #b1adad;
  643. }
  644. }
  645. .ss-content{
  646. width:auto;
  647. border: none;
  648. border-radius: 0.7em 0 0.7em 0.7em;
  649. &.ss-open{
  650. box-shadow: 0 0 10px #ccc;
  651. }
  652. right: 0;
  653. .ss-list{
  654. max-height: none;
  655. .ss-option{
  656. white-space: nowrap;
  657. text-align: right;
  658. }
  659. }
  660. }
  661. }
  662. }
  663. .button.form-submit{
  664. grid-row: 1 / 1;
  665. grid-column: 2 / 2;
  666. justify-self: end;
  667. align-self: center;
  668. border:0;
  669. text-indent: 50px;
  670. overflow: hidden;
  671. width:20px; height:20px;
  672. margin:0;
  673. // border-radius: 7px;
  674. background-image: url('../img/search.svg');
  675. background-position: center;
  676. background-repeat: no-repeat;
  677. background-size: contain;
  678. background-color: transparent
  679. }
  680. }
  681. @include col-mediaquery-max(3){
  682. body:not(.path-base) &{
  683. display: none;
  684. }
  685. padding: 0 1em 1em;
  686. background-color: $color-base;
  687. }
  688. }
  689. }
  690. // main
  691. aside.messages{
  692. padding: 0;
  693. }
  694. // content top
  695. // #content-top{
  696. // &:after{
  697. // content:"";
  698. // clear:both;
  699. // display: block;
  700. // }
  701. // }
  702. #main-content.loading{
  703. transition: all 0.3s ease-in-out;
  704. opacity: 0.5;
  705. pointer-events: none;
  706. }
  707. // ___ _ _ _ __ _
  708. // / __|___ _ _| |_ ___ _ _| |_ ___| | ___ / _| |_
  709. // | (__/ _ \ ' \ _/ -_) ' \ _|___| |__/ -_) _| _|
  710. // \___\___/_||_\__\___|_||_\__| |____\___|_| \__|
  711. #content-left{
  712. z-index: 5;
  713. box-sizing: content-box;
  714. max-width:1px;
  715. overflow-x: hidden;
  716. transition: all 0.3s ease-in-out;
  717. &.opened{
  718. max-width: 500px;
  719. padding: 0.3em;
  720. }
  721. >*{
  722. box-sizing: border-box;
  723. background-color: #fff;
  724. box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
  725. padding: 0.5em;
  726. }
  727. .flag-collection{
  728. >header{
  729. display: flex;
  730. flex-direction: row;
  731. justify-content: space-between;
  732. padding-bottom: $column_goutiere;
  733. h3{
  734. // flex-basis: calc(100% - 1em);
  735. }
  736. .mdi-close{
  737. // display: block;
  738. // flex-basis: 1em;
  739. cursor:pointer;
  740. align-self: flex-end;
  741. }
  742. }
  743. >ul{
  744. @include col-mediaquery-max(2){
  745. display:flex;
  746. flex-direction: row;
  747. flex-wrap: wrap;
  748. justify-content: space-between;
  749. }
  750. >li{
  751. margin:0 0 $column_goutiere 0;
  752. padding:0;
  753. article.card.minicard{
  754. width:$minicard_width;
  755. height:$minicard_height;
  756. margin:auto;
  757. >header{
  758. padding: 0.3em 0.3em 0.1em;
  759. h1{
  760. margin:0;
  761. }
  762. }
  763. >nav.tools{
  764. // top: auto;
  765. // bottom: 0;
  766. padding:0 0.2em;
  767. // background:transparent;
  768. .mdi.unflag{
  769. cursor: pointer;
  770. }
  771. .tool.samples{
  772. .tool-content{
  773. }
  774. }
  775. }
  776. }
  777. }
  778. }
  779. }
  780. }
  781. // __ _
  782. // / _|_ _ ___ _ _| |_
  783. // | _| '_/ _ \ ' \ _|
  784. // |_| |_| \___/_||_\__|
  785. @mixin btn{
  786. display: inline-block;
  787. font-size: 0.9em;
  788. font-weight: bold;
  789. padding: 0.7em 1em;
  790. margin-bottom: 0.3em;
  791. background-color: #fff;
  792. color: #000;
  793. border-radius: 5px;
  794. border: none;
  795. }
  796. article.node--type-frontpage{
  797. %front-col-field__label{
  798. font-size: 3.5em;
  799. line-height: 1;
  800. @include col-mediaquery-max(3){
  801. font-size: 2em;
  802. }
  803. }
  804. %front-col-description{
  805. font-size: 0.9em;
  806. line-height: 1.3;
  807. }
  808. %part-centered-layout{
  809. padding:1.5em 0;
  810. background-color: #fff;
  811. >div:nth-child(1){
  812. width:80%;
  813. margin: 0 auto;
  814. text-align: center;
  815. @include col-mediaquery-max(3){
  816. width:auto;
  817. padding:0 1em;
  818. text-align: left;
  819. }
  820. .field__label{
  821. @extend %front-col-field__label;
  822. }
  823. .field__item{
  824. @extend %front-col-description;
  825. }
  826. }
  827. }
  828. // %part-columned-layout{
  829. // display:grid;
  830. // grid-template-columns: 300px 1fr;
  831. // grid-column-gap: 2em;
  832. // padding:2em 1em;
  833. // >div:nth-child(1){
  834. // color: #fff;
  835. // grid-column: 1;
  836. // .field__label{
  837. // @extend %front-col-field__label;
  838. // }
  839. // .field__item{
  840. // @extend %front-col-description;
  841. // }
  842. // }
  843. // >div:nth-child(2){
  844. // grid-column: 2;
  845. // }
  846. // }
  847. %part-columned-layout{
  848. display:flex;
  849. flex-direction: row;
  850. flex-wrap: nowrap;
  851. >div:nth-child(1){
  852. flex: 0 0 $column_width * 2 + $column_goutiere;
  853. box-sizing: border-box;
  854. padding: 1em;
  855. color: #fff;
  856. .field__label{
  857. @extend %front-col-field__label;
  858. }
  859. .field__item{
  860. @extend %front-col-description;
  861. }
  862. }
  863. >div:nth-child(2){
  864. flex: 1 1 auto;
  865. box-sizing: border-box;
  866. padding: 1em 0.5em;
  867. }
  868. @include col-mediaquery-max(3){
  869. flex-direction: column;
  870. >div:nth-child(1){
  871. flex: 0 0 auto;
  872. // box-sizing: border-box;
  873. // padding: 1em;
  874. }
  875. >div:nth-child(2){
  876. // flex: 1 1 auto;
  877. // box-sizing: border-box;
  878. // padding: 1em 0.5em;
  879. }
  880. }
  881. }
  882. >h2{
  883. display: none;
  884. }
  885. .node__content{
  886. &>section{
  887. &.home-intro{
  888. @extend %part-centered-layout;
  889. .field__item{
  890. display: flex;
  891. flex-flow: row nowrap;
  892. justify-content: center;
  893. p{
  894. flex: 0 0 35%;
  895. max-width: $column_width * 2;
  896. padding:1em;
  897. box-sizing: border-box;
  898. }
  899. @include col-mediaquery-max(3){
  900. display: none;
  901. }
  902. }
  903. }
  904. &.home-database{
  905. background-color: $color-base;
  906. @extend %part-columned-layout;
  907. .field--name-field-a-database{
  908. // .field__label{
  909. // cursor: pointer;
  910. // }
  911. }
  912. .field--name-field-database-links{
  913. .field__item{
  914. display: inline-block;
  915. a{
  916. @include btn;
  917. background-color: #fff;
  918. color: $color-base;
  919. }
  920. }
  921. }
  922. .cards-list-home{
  923. position: relative;
  924. // max-height: (130px*1.4)*3;
  925. max-height: 580px;
  926. overflow-y: hidden;
  927. ul{
  928. width:100%;
  929. margin:0; padding:0;
  930. // display: grid;
  931. // grid-template-columns: repeat(auto-fill, minmax(50px, 130px));
  932. // grid-template-rows: 1fr;
  933. // grid-gap: 1em;
  934. // justify-content:start;
  935. display: flex;
  936. flex-flow: row wrap;
  937. justify-content: space-between;
  938. @include col-mediaquery-max(3){
  939. justify-content: space-around;
  940. }
  941. li{
  942. padding:0 0 $column_goutiere / 2 0;
  943. box-sizing: border-box;
  944. // padding-top: 140%;
  945. width: $column_width / 2;
  946. height: $card_height / 2;
  947. position: relative;
  948. list-style: none;
  949. margin:0;
  950. .card{
  951. // position:absolute;
  952. // top:0; bottom:0;
  953. // left:0; right:0;
  954. width: 100%;
  955. height: 100%;
  956. .field--name-field-short-description{
  957. font-size: 0.656em;
  958. line-height: 1.2;
  959. }
  960. }
  961. }
  962. }
  963. }
  964. }
  965. &.home-showrooms{
  966. background-color: $color-showrooms;
  967. @extend %part-columned-layout;
  968. .field--name-field-showrooms{}
  969. .field--name-field-showroom-links{
  970. .field__item{
  971. display: inline-block;
  972. a{
  973. @include btn;
  974. background-color: #fff;
  975. color: $color-showrooms;
  976. }
  977. }
  978. }
  979. .field--name-computed-showrooms-reference{
  980. overflow: hidden;
  981. position:relative;
  982. // height:550px;
  983. display: grid;
  984. grid-template-rows: 1fr;
  985. $bp: ($column_width + $column_goutiere )*7;
  986. @media only screen and (max-width: $bp){
  987. grid-template-columns: 1fr;
  988. >.field__item{
  989. grid-column: 1;
  990. }
  991. }
  992. @media only screen and (min-width: $bp + 1px){
  993. grid-template-columns: 1fr 1fr;
  994. grid-gap: 1em;
  995. >.field__item:nth-child(odd){
  996. grid-column: 1;
  997. }
  998. >.field__item:nth-child(even){
  999. grid-column: 2;
  1000. }
  1001. }
  1002. >.field__item{
  1003. grid-row: 1;
  1004. // position: absolute;
  1005. // top:0; left:0;
  1006. // width:100%; height:100%;
  1007. // overflow: hidden;
  1008. opacity: 0;
  1009. // transform: translateX(100%);
  1010. transition: all 2s ease-out;
  1011. &.active{
  1012. opacity: 1;
  1013. // transform: translateX(0);
  1014. // transition: all 0.3s ease-in-out;
  1015. }
  1016. .taxonomy-term{
  1017. position: relative;
  1018. width:100%; height:100%;
  1019. div.visuel{
  1020. width:100%;
  1021. padding-bottom: 5em;
  1022. img{
  1023. max-width: 100%;
  1024. height: auto;
  1025. }
  1026. }
  1027. section.text{
  1028. position: absolute;
  1029. bottom:0; left:0;
  1030. width:100%;
  1031. box-sizing:border-box;
  1032. padding:1em 0 0;
  1033. background-color:$color-showrooms;
  1034. color: #fff;
  1035. // >*{
  1036. // // display: inline-block;
  1037. // font-size: 0.9em;
  1038. // }
  1039. h2,p{
  1040. margin:0;
  1041. }
  1042. h2{
  1043. font-size: 2em;
  1044. }
  1045. .field--name-field-public-address{
  1046. br{
  1047. display:none;
  1048. }
  1049. span:not(:nth-last-of-type(1)) {
  1050. margin-right: 0.4em;
  1051. &:after{
  1052. padding-left: 0.5em;
  1053. content:"⋅"
  1054. }
  1055. }
  1056. }
  1057. .field--name-field-public-phone {
  1058. display: inline-block;
  1059. margin-right: 0.4em;
  1060. &:after{
  1061. padding-left: 0.5em;
  1062. content:"⋅"
  1063. }
  1064. }
  1065. .field--name-field-public-email {
  1066. display: inline-block;
  1067. }
  1068. }
  1069. }
  1070. }
  1071. }
  1072. }
  1073. &.home-blabla{
  1074. background-color: $color-blabla;
  1075. @extend %part-columned-layout;
  1076. .field--name-field-blabla-links{
  1077. .field__item{
  1078. display: inline-block;
  1079. a{
  1080. @include btn;
  1081. background-color: #fff;
  1082. color: $color-blabla;
  1083. }
  1084. }
  1085. }
  1086. .cards-list-home{
  1087. position: relative;
  1088. $bp: ($column_width*2 + $column_goutiere );
  1089. overflow-y: hidden;
  1090. max-height: 315px;
  1091. // @media only screen and (max-width: $bp * 6){
  1092. // max-height: 630px;
  1093. // }
  1094. // @media only screen and (min-width: ($bp * 6) + 1px){
  1095. // max-height: 310px;
  1096. // }
  1097. ul{
  1098. width:100%;
  1099. margin:0; padding:0;
  1100. // display: grid;
  1101. // grid-template-columns: repeat(auto-fill, minmax(80px, $column_width*2));
  1102. // // grid-template-rows: 1fr;
  1103. // grid-gap: 1em;
  1104. // justify-content:start;
  1105. display: flex;
  1106. flex-flow: row wrap;
  1107. justify-content: space-between;
  1108. li{
  1109. padding:0 0 $column_goutiere 0;
  1110. box-sizing: border-box;
  1111. // padding-top: 140%;
  1112. width: $column_width;
  1113. // height: $card_height / 2;
  1114. position: relative;
  1115. list-style: none;
  1116. margin:0;
  1117. // padding-top: 67.8%;
  1118. overflow: hidden;
  1119. .card{
  1120. // position:absolute;
  1121. // top:0; bottom:0;
  1122. // left:0; right:0;
  1123. width: 100%;
  1124. height: auto;
  1125. .field--name-title{
  1126. font-size: 0.756em;
  1127. line-height: 0.9;
  1128. }
  1129. }
  1130. }
  1131. }
  1132. @include col-mediaquery-max(3){
  1133. max-height: 386px;
  1134. ul{
  1135. justify-content: space-around;
  1136. li{
  1137. flex: 0 3 45%;
  1138. }
  1139. }
  1140. }
  1141. }
  1142. }
  1143. &.home-pricing{
  1144. @extend %part-centered-layout;
  1145. >h3{
  1146. @extend %front-col-field__label;
  1147. text-align: center;
  1148. text-transform: capitalize;
  1149. padding: 0.7em 0 0.3em 0;
  1150. @include col-mediaquery-max(3){
  1151. text-align: left;
  1152. padding: 0 0.4em;
  1153. }
  1154. }
  1155. .field--name-field-pricing-pitch{
  1156. text-align: center;
  1157. p{ margin:0;}
  1158. @include col-mediaquery-max(3){
  1159. text-align: left;
  1160. p{ padding: 0.5em 1em; }
  1161. }
  1162. }
  1163. .field--name-field-pricing{
  1164. // padding:2em 0;
  1165. display: flex;
  1166. flex-flow: row nowrap;
  1167. justify-content: center;
  1168. padding-bottom: 1em;
  1169. p{
  1170. flex: 0 0 $column_width * 2;
  1171. padding: 1em;
  1172. margin: 0;
  1173. text-align: center;
  1174. }
  1175. @include col-mediaquery-max(3){
  1176. flex-flow: column;
  1177. justify-content: flex-start;
  1178. p{
  1179. flex: 0 0 auto;
  1180. text-align: left;
  1181. padding: 0 1em 0.5em;
  1182. }
  1183. }
  1184. }
  1185. .field--name-computed-products-reference{
  1186. display: flex;
  1187. flex-flow: row nowrap;
  1188. @include col-mediaquery-max(5){
  1189. flex-flow: column;
  1190. justify-content: flex-start;
  1191. }
  1192. >.field__item{
  1193. flex:0 0 33%;
  1194. text-align: center;
  1195. padding: 2em 0;
  1196. color: #fff;
  1197. position: relative;
  1198. height:23em;
  1199. >article{
  1200. position: absolute;
  1201. top:50%; left:50%;
  1202. transform: translate(-50%, -50%);
  1203. width:80%;
  1204. }
  1205. .field--name-title{
  1206. @extend %front-col-field__label;
  1207. font-weight: 600;
  1208. line-height: 0.7;
  1209. padding-bottom: 0.1em;
  1210. text-align: center;
  1211. word-spacing: 30000px;
  1212. }
  1213. .field--name-body{
  1214. @extend %front-col-description;
  1215. padding:0.5em;
  1216. p{
  1217. margin: 0;
  1218. }
  1219. }
  1220. .field--name-variations{
  1221. >.field__item{
  1222. // text-align: center;
  1223. // display: table;
  1224. // width: 100%;
  1225. // &:last-child{
  1226. // margin: 0.1em 0 0;
  1227. // }
  1228. margin-top: 0.5em;
  1229. >div{
  1230. // display: flex;
  1231. // flex-direction: row;
  1232. // justify-content: center;
  1233. // align-items: center;
  1234. // display: table-row;
  1235. // height: 1em;
  1236. display: grid;
  1237. grid-template-columns: 50% 50%;
  1238. >*{
  1239. // height:2em;
  1240. // display: table-cell;
  1241. // vertical-align: middle;
  1242. align-self: center;
  1243. }
  1244. .field--name-field-description{
  1245. text-align: right;
  1246. // width: 55%;
  1247. // margin-right: 0.5em;
  1248. // min-width: 10em;
  1249. h4{
  1250. font-size: 1.512em;
  1251. font-weight: 800;
  1252. color: #fff;
  1253. white-space: nowrap;
  1254. line-height: 1;
  1255. }
  1256. p{
  1257. font-size: 0.882em;
  1258. line-height: 0.8;
  1259. margin: 0;
  1260. }
  1261. }
  1262. form{
  1263. text-align: left;
  1264. padding-left: 1em;
  1265. // position: relative;
  1266. .form-actions{
  1267. margin:0;
  1268. }
  1269. input.button--add-to-cart{
  1270. @include btn;
  1271. margin: 0;
  1272. }
  1273. }
  1274. }
  1275. }
  1276. }
  1277. a.btn{
  1278. @include btn;
  1279. background-color: #fff;
  1280. }
  1281. &:nth-child(1){
  1282. background-color: $color-base;
  1283. a.btn{
  1284. color: $color-base;
  1285. }
  1286. .field--name-variations{
  1287. .field__item{
  1288. >div{
  1289. input.button--add-to-cart{
  1290. color: $color-base;
  1291. }
  1292. }
  1293. }
  1294. }
  1295. }
  1296. &:nth-child(2){
  1297. background-color: $color-webshowroom;
  1298. a.btn{
  1299. color: $color-webshowroom;
  1300. }
  1301. .field--name-variations{
  1302. .field__item{
  1303. >div{
  1304. input.button--add-to-cart{
  1305. color: $color-webshowroom;
  1306. }
  1307. }
  1308. }
  1309. }
  1310. }
  1311. &:nth-child(3){
  1312. background-color: $color-showrooms;
  1313. a.btn{
  1314. color: $color-showrooms;
  1315. }
  1316. >article{
  1317. max-width: 345px;
  1318. }
  1319. }
  1320. @include col-mediaquery-max(5){
  1321. flex: 0 0 auto;
  1322. padding:0;
  1323. // height: auto;
  1324. >article{
  1325. }
  1326. }
  1327. }
  1328. }
  1329. }
  1330. }
  1331. }
  1332. }
  1333. // ___ _
  1334. // / __|__ _ _ _ __| |___
  1335. // | (__/ _` | '_/ _` (_-<
  1336. // \___\__,_|_| \__,_/__/
  1337. .infinite-loading-container{
  1338. .infinite-status-prompt{
  1339. i[class^="loading-"]{
  1340. width:15px; height:15px;
  1341. }
  1342. }
  1343. }
  1344. .cards-list{
  1345. position: relative;
  1346. .search-info{
  1347. font-size: 0.756em;
  1348. font-weight: 500;
  1349. margin: 0;
  1350. padding: 0 0 0.5em 0;
  1351. @include col-mediaquery-max(4, landscape){
  1352. display:none;
  1353. }
  1354. }
  1355. &>ul{
  1356. // outline: 1px green solid;
  1357. margin:0; padding:0;
  1358. width: calc(100% + #{$column_goutiere});
  1359. &>li{
  1360. list-style: none;
  1361. margin:0 $column_goutiere $column_goutiere 0; padding:0;
  1362. display: inline-block;
  1363. vertical-align: top;
  1364. }
  1365. }
  1366. @include col-mediaquery-max(3){
  1367. &>ul{
  1368. display: flex;
  1369. flex-flow: row wrap;
  1370. justify-content: space-around;
  1371. width:100%;
  1372. >li{
  1373. flex: 0 1 48%;
  1374. margin:0 0 0.5em 0;
  1375. filter: drop-shadow(0 0 3px #aaa);
  1376. >article{
  1377. width:100%;
  1378. height:auto;
  1379. box-shadow: none;
  1380. >section.images{
  1381. #base &{
  1382. height: auto;
  1383. }
  1384. >figure{
  1385. position: relative;
  1386. &:not(:first-child){
  1387. display:none;
  1388. }
  1389. img:not(.blank){
  1390. width:100%;
  1391. height:auto;
  1392. }
  1393. img.blank{
  1394. top:0; bottom:0; left:0; right:0;
  1395. }
  1396. }
  1397. }
  1398. }
  1399. }
  1400. }
  1401. }
  1402. }
  1403. article.card{
  1404. position: relative;
  1405. box-shadow: 0 0 5px rgba(0,0,0,0.2);
  1406. width:$column_width; height:$card_height;
  1407. &.article{
  1408. width:$column_width*2 + $column_goutiere; height:$card_height;
  1409. section.images{
  1410. a{
  1411. display:block;
  1412. }
  1413. }
  1414. }
  1415. &.minicard{
  1416. height:100px;
  1417. width:$minicard_width;
  1418. height:$minicard_height;
  1419. margin:auto;
  1420. >header{
  1421. padding: 0.3em 0.3em 0.1em;
  1422. cursor: pointer;
  1423. h1{
  1424. margin:0;
  1425. font-size: 1em;
  1426. }
  1427. h4{
  1428. margin:0;
  1429. line-height: 1.1;
  1430. margin-bottom: -0.4em;
  1431. }
  1432. span.ref{
  1433. line-height: 0.5;
  1434. }
  1435. }
  1436. >nav.tools{
  1437. // top: auto;
  1438. // bottom: 0;
  1439. padding:0 0.2em;
  1440. background:rgba(255,255,255, 0.8);
  1441. .mdi.unflag{
  1442. cursor: pointer;
  1443. }
  1444. .tool.samples{
  1445. @include hover{
  1446. .tool-content{
  1447. max-width:140px;
  1448. }
  1449. }
  1450. }
  1451. }
  1452. }
  1453. &.linkedmaterialcard{
  1454. width:$linkedmaterialcard_width;
  1455. height:$linkedmaterialcard_height;
  1456. >header{
  1457. padding: 0.3em 0.3em 0.1em;
  1458. cursor: pointer;
  1459. h1{
  1460. margin:0;
  1461. font-size: 1em;
  1462. }
  1463. h4{
  1464. margin:0;
  1465. line-height: 1.1;
  1466. margin-bottom: -0.4em;
  1467. }
  1468. span.ref{
  1469. line-height: 0.5;
  1470. }
  1471. }
  1472. >nav.tools{
  1473. top: auto;
  1474. bottom: 0;
  1475. padding:0 0.2em;
  1476. background:transparent;
  1477. .mdi.unflag{
  1478. cursor: pointer;
  1479. }
  1480. }
  1481. }
  1482. // &.card-small{
  1483. // width:100px; height:140px;
  1484. // }
  1485. // focused
  1486. // box-shadow: 0 0 7px rgba(0,0,0,0.9);
  1487. // &.article{
  1488. // width: $column_width * 2 + $column_goutiere;
  1489. //
  1490. // }
  1491. header{
  1492. position: absolute;
  1493. bottom:0;
  1494. z-index:10;
  1495. color: #000;
  1496. background-color: rgba(255,255,255,0.8);
  1497. padding: 0.3em 0.3em;
  1498. box-sizing:border-box;
  1499. width:100%;
  1500. h1, h4{ margin:0; padding:0; }
  1501. h1{
  1502. font-size: 1.3em;
  1503. font-weight: 700;
  1504. line-height: 0.85;
  1505. margin-bottom: 0.2em;
  1506. }
  1507. h4{
  1508. font-size: 0.882em;
  1509. font-weight: 300;
  1510. line-height: 1.1;
  1511. margin-bottom: -0.2em;
  1512. }
  1513. span.ref{
  1514. font-size: 0.693em;
  1515. font-weight: 300;
  1516. line-height: 1;
  1517. }
  1518. }
  1519. &.card-thematique header{
  1520. background-color: $color-base-transparent;
  1521. }
  1522. $navtool_width: 15px;
  1523. nav.tools{
  1524. position: absolute;
  1525. top: 0;
  1526. right: 0;
  1527. z-index: 21;
  1528. width: $navtool_width;
  1529. background-color: #fff;
  1530. box-sizing: content-box;
  1531. padding: 0.3em 0.1em;
  1532. >*{
  1533. overflow: visible;
  1534. position: relative;
  1535. span.btn{
  1536. overflow: hidden;
  1537. font-size: 0.882em;
  1538. }
  1539. .tool-content{
  1540. position: absolute;
  1541. top: 0px;
  1542. right: 100%;
  1543. // width: 5em;
  1544. width: $column_width - $navtool_width - 10px;
  1545. box-sizing: border-box;
  1546. padding: 0;
  1547. background-color: #fff;
  1548. box-shadow: -2px 3px 8px rgba(0, 0, 0, 0.5);
  1549. opacity: 0;
  1550. max-height: 0; max-width:0;
  1551. overflow: hidden;
  1552. transition: all 0.2s ease-in-out;
  1553. transition-delay: 0.1s;
  1554. }
  1555. @include hover{
  1556. .tool-content{
  1557. transition: all 0.3s ease-in-out;
  1558. opacity: 1;
  1559. padding: 0.3em;
  1560. max-height: 195px;
  1561. max-width:200px;
  1562. }
  1563. }
  1564. }
  1565. @include col-mediaquery-max(3){
  1566. width:23px;
  1567. >*{
  1568. >span.btn, >a{
  1569. font-size:1.2em;
  1570. }
  1571. }
  1572. }
  1573. .tool.flags{
  1574. .tool-content{
  1575. ul{
  1576. display: flex;
  1577. flex-flow: row wrap;
  1578. li{
  1579. padding:0 0.5em 0 0;
  1580. }
  1581. }
  1582. }
  1583. span.flag{
  1584. cursor: pointer;
  1585. font-size: 0.756em;
  1586. color: #bbb;
  1587. transition: color 0.3s ease-in-out;
  1588. @include hover{
  1589. color:#1a1a1a;
  1590. }
  1591. &.isActive{
  1592. color:#1a1a1a;
  1593. }
  1594. }
  1595. li.create-flag{
  1596. margin-top: 0.2em;
  1597. padding:0;
  1598. input{
  1599. align-self: flex-end;
  1600. border: 1px solid #bbb;
  1601. border-radius:5px;
  1602. width: calc(100% - 2em);
  1603. font-size:0.8em;
  1604. }
  1605. span.add-btn{
  1606. align-self: flex-end;
  1607. color: #bbb;
  1608. font-size: 1em;
  1609. // padding: 0 0 0 .5em;
  1610. transition: all 0.2s ease-in-out;
  1611. &.active{
  1612. cursor: pointer;
  1613. color:#1a1a1a;
  1614. }
  1615. &.loading:before{
  1616. animation: rotating 2s linear infinite;
  1617. }
  1618. }
  1619. }
  1620. }
  1621. .tool.samples{
  1622. .tool-content{
  1623. font-size: 0.756em;
  1624. ul li{
  1625. font-weight: bold;
  1626. span.showroom{
  1627. font-weight: 400;
  1628. }
  1629. }
  1630. }
  1631. }
  1632. opacity: 0;
  1633. transition: opacity 0.2s ease-in-out;
  1634. }
  1635. @include hover{
  1636. nav.tools{
  1637. opacity:1;
  1638. }
  1639. }
  1640. section.images{
  1641. position: relative;
  1642. &, *{width: 100%; height:100%;}
  1643. figure{
  1644. cursor: pointer;
  1645. margin:0;
  1646. position: absolute;
  1647. top:0; left:0;
  1648. // width: 100%; height:100%;
  1649. &:first-of-type{
  1650. z-index:5
  1651. }
  1652. transition: opacity 0.2s ease-in-out;
  1653. &.show{opacity: 1; z-index:6;}
  1654. &.hide{opacity: 0;}
  1655. img{
  1656. // width: 100%; height:100%;
  1657. &.blank{
  1658. position: absolute;
  1659. top:0; left:0;
  1660. z-index: 20;
  1661. }
  1662. }
  1663. }
  1664. }
  1665. // overwritnig card for card-medium (aka search-card)
  1666. &.search-card{
  1667. >header{
  1668. cursor: pointer;
  1669. }
  1670. }
  1671. // overwriting card for modal-card
  1672. &.modal-card{
  1673. display: flex;
  1674. flex-flow: row-reverse nowrap;
  1675. width: $modalcard_width;
  1676. height: $modalcard_height;
  1677. >.col{
  1678. flex-basis: 50%;
  1679. }
  1680. @include col-mediaquery-max(3, portrait){
  1681. flex-flow: column;
  1682. width: 100%;
  1683. height: 100%;
  1684. overflow-y: auto;
  1685. >.col-right{
  1686. flex:0 0 auto;
  1687. }
  1688. >.col-left{
  1689. flex:0 0 100%;
  1690. }
  1691. }
  1692. @include col-mediaquery-max(4, landscape){
  1693. // flex-flow: row-reverse ;
  1694. width: 100%;
  1695. height: 100%;
  1696. >.col-right{
  1697. height: 100%;
  1698. overflow-y: auto;
  1699. }
  1700. // >.col-left{
  1701. // flex:0 0 50%;
  1702. // }
  1703. }
  1704. section.col-right{
  1705. >*:not(nav.tools){
  1706. position: relative;
  1707. padding: 0.3em $navtool_width + 5px 0 0.5em;
  1708. box-sizing: border-box;
  1709. width: 100%;
  1710. }
  1711. >header{
  1712. bottom: auto;
  1713. }
  1714. span.label{
  1715. font-size: 0.693em;
  1716. font-weight: 500;
  1717. }
  1718. section.body{
  1719. p{
  1720. font-size: 0.693em;
  1721. font-weight: 300;
  1722. line-height: 1.35;
  1723. margin:0 0 0.3em;
  1724. }
  1725. }
  1726. .vsa-list{
  1727. padding:0;
  1728. border: none;
  1729. --vsa-heading-padding: 0 0;
  1730. --vsa-content-padding: 0 0 0.5em;
  1731. --vsa-default-icon-size: 0.3;
  1732. --vsa-border-width: 0;
  1733. --vsa-text-color: #{$color-main-text};
  1734. --vsa-highlight-color: #fff;
  1735. --vsa-bg-color: #fff;
  1736. .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 {
  1737. background-color: var(--vsa-text-color);
  1738. }
  1739. .vsa-item{
  1740. .vsa-item__heading{
  1741. button.vsa-item__trigger{
  1742. height:2em;
  1743. &:hover,
  1744. &:focus{
  1745. color: var(--vsa-text-color);
  1746. }
  1747. }
  1748. }
  1749. .vsa-item__content{}
  1750. &[data-vsa-active="false"]{
  1751. .vsa-item__heading{
  1752. padding-bottom: 0.2em;
  1753. margin-bottom: 0.2em;
  1754. border-bottom: 0.5px dotted $color-main-text;
  1755. }
  1756. }
  1757. }
  1758. }
  1759. section.linked-materials{
  1760. >ul{
  1761. display: flex;
  1762. flex-flow: row wrap;
  1763. justify-content: space-between;
  1764. >li{
  1765. flex-basis: 0 0 50%;
  1766. margin-bottom: 0.5em;
  1767. article.linkedmaterialcard{
  1768. }
  1769. }
  1770. }
  1771. }
  1772. nav.tools{
  1773. opacity: 1;
  1774. section.close{
  1775. span.btn.mdi-close{
  1776. cursor:pointer;
  1777. }
  1778. }
  1779. div.tool-content{
  1780. min-width: $column_width *2 - $navtool_width - 10px;
  1781. @include col-mediaquery-max(3){
  1782. min-width: 80vw;
  1783. }
  1784. }
  1785. }
  1786. section.tool.samples{
  1787. div.tool-content{
  1788. ul{
  1789. // display: flex;
  1790. // flex-flow: row wrap;
  1791. font-size: 0.756em;
  1792. font-weight: 300;
  1793. // line-height: 1.35;
  1794. li{
  1795. padding-right: 0.5em;
  1796. span.showroom{ font-weight: 500; }
  1797. }
  1798. }
  1799. }
  1800. }
  1801. section.tool.note{
  1802. @include hover{
  1803. div.tool-content{
  1804. max-height: 370px;
  1805. }
  1806. }
  1807. div.tool-content{
  1808. textarea,
  1809. textarea:focus,
  1810. textarea:focus-visible,
  1811. textarea:active{
  1812. resize:none;
  1813. width:99%;
  1814. height:350px;
  1815. margin:0;
  1816. padding:0.3em;
  1817. border:1px solid #ccc;
  1818. border-radius: 3px;
  1819. outline: none;
  1820. box-sizing: border-box;
  1821. }
  1822. }
  1823. }
  1824. // section.tool.industriels{
  1825. // div.tool-content{
  1826. // display: flex;
  1827. // flex-flow: row;
  1828. // >section{
  1829. // flex: 0 0 50%;
  1830. // h2{
  1831. // margin:0;
  1832. // font-size: 1em;
  1833. // line-height: 0.6;
  1834. // }
  1835. // p{
  1836. // margin: 0;
  1837. // font-size: 0.882em;
  1838. // }
  1839. // }
  1840. // }
  1841. // }
  1842. section.industriels{
  1843. display: flex;
  1844. flex-flow: row;
  1845. >section{
  1846. flex: 0 0 50%;
  1847. ul{
  1848. li{
  1849. padding:0.1em 0 .4em 0;
  1850. }
  1851. }
  1852. h2{
  1853. margin:0;
  1854. font-size: 1em;
  1855. line-height: 1;
  1856. }
  1857. p{
  1858. margin: 0;
  1859. font-size: 0.756em;
  1860. }
  1861. }
  1862. }
  1863. section.attachments{
  1864. a{
  1865. margin:0;
  1866. font-size: 0.882em;
  1867. line-height: 0.6;
  1868. span{
  1869. font-size: 0.8em
  1870. }
  1871. }
  1872. p{
  1873. margin: 0;
  1874. font-size: 0.882em;
  1875. }
  1876. }
  1877. }
  1878. }
  1879. }
  1880. .vm--modale-card{
  1881. position: relative;
  1882. }
  1883. // vuejs-modale hack as maxWidth and maxHeight does not work :(
  1884. @include col-mediaquery-min(3){
  1885. .vm--modale-card{
  1886. max-width: 850px;
  1887. max-height: 610px;
  1888. left: 50% !important;
  1889. top: 50% !important;
  1890. transform: translate(-50%, -50%) !important;
  1891. }
  1892. }
  1893. .vm--overlay{
  1894. background: rgba(0, 0, 0, 0.5)!important;
  1895. }
  1896. // _____ _ _ _
  1897. // |_ _| |_ ___ _ __ __ _| |_(_)__ _ _ _ ___
  1898. // | | | ' \/ -_) ' \/ _` | _| / _` | || / -_)
  1899. // |_| |_||_\___|_|_|_\__,_|\__|_\__, |\_,_\___|
  1900. // |_|
  1901. #main-content > article.thematique{
  1902. div.cols{
  1903. display: flex;
  1904. flex-direction: row;
  1905. flex-wrap: nowrap;
  1906. // @media only screen and (max-width: $small-bp) {
  1907. @include col-mediaquery-max(3){
  1908. flex-wrap: wrap;
  1909. }
  1910. // }
  1911. div.col-left{
  1912. padding: 0 $column_goutiere $column_goutiere 0;
  1913. flex: 0 0 $column_width * 2 + $column_goutiere;
  1914. }
  1915. div.col-right{}
  1916. }
  1917. div.col-left{
  1918. section.body{
  1919. background-color: $color-base;
  1920. padding: 0.5em 1em 1em;
  1921. }
  1922. section.visuel{
  1923. img{
  1924. width: 100%;
  1925. }
  1926. }
  1927. }
  1928. aside.linked-materials{
  1929. div.card-list{
  1930. >ul{
  1931. width:calc(100% + #{$column_goutiere});
  1932. >li{
  1933. display: inline-block;
  1934. vertical-align: top;
  1935. width:$column_width;
  1936. margin:0 $column_goutiere $column_goutiere 0;
  1937. }
  1938. }
  1939. }
  1940. h3.field__label{
  1941. font-size: 1em;
  1942. font-weight: 500;
  1943. margin: 2em 0 1em 0;
  1944. }
  1945. h1.title{
  1946. font-size: 1em;
  1947. font-weight: 400;
  1948. }
  1949. h3.ref{
  1950. font-size: 0.756em;
  1951. font-weight: 600;
  1952. }
  1953. h2.description{
  1954. font-size: 0.756em;
  1955. font-weight: 400;
  1956. }
  1957. }
  1958. }
  1959. // ___ _ _ _
  1960. // | _ ) |__ _| |__| |__ _
  1961. // | _ \ / _` | '_ \ / _` |
  1962. // |___/_\__,_|_.__/_\__,_|
  1963. #blabla{
  1964. }
  1965. #main-content > article.article{
  1966. // grid only on big screens
  1967. @include col-mediaquery-min(3){
  1968. div.cols{
  1969. display: grid;
  1970. grid-template-rows: 1fr;
  1971. grid-template-columns: repeat(6, 1fr);
  1972. grid-gap: 1em;
  1973. div.col-left{
  1974. grid-column: 1;
  1975. }
  1976. div.col-right{
  1977. grid-column: 2/6;
  1978. }
  1979. }
  1980. }
  1981. @include col-mediaquery-max(3){
  1982. div.cols{
  1983. padding:1em;
  1984. box-sizing: border-box;
  1985. .accroche{
  1986. figure{
  1987. width:100%;
  1988. }
  1989. }
  1990. }
  1991. }
  1992. section.accroche{
  1993. figure{
  1994. width:$column_width*2 + $column_goutiere;
  1995. margin:0 $column_goutiere 0 0;
  1996. img{
  1997. width:100%;
  1998. }
  1999. }
  2000. }
  2001. section.taxonomy{
  2002. margin:1em 0;
  2003. ul{
  2004. margin: 0;
  2005. }
  2006. li{
  2007. display:inline-block;
  2008. padding:0 0.5em 0 0;
  2009. }
  2010. }
  2011. div.gallery-wrapper{
  2012. .image{
  2013. display: inline-block;
  2014. width:$column_width;
  2015. margin:0 $column_goutiere $column_goutiere*0.6 0;
  2016. height:$card_height / 2;
  2017. background-size: cover;
  2018. }
  2019. @include col-mediaquery-max(3){
  2020. display: flex;
  2021. flex-flow: row wrap;
  2022. justify-content: space-between;
  2023. .image{
  2024. // width: auto; height: auto;
  2025. display: block;
  2026. flex: 0 1 48%;
  2027. margin: 0 0 $column_goutiere*0.6 0;
  2028. }
  2029. }
  2030. }
  2031. // section.videos{
  2032. // ul{
  2033. // margin:0; padding:0;
  2034. // li{
  2035. // margin:0; padding:0;
  2036. // display: inline-block;
  2037. // width:100%; overflow: hidden;
  2038. // }
  2039. // }
  2040. // }
  2041. // section.visuels{
  2042. // width:calc(100% + #{$column_goutiere});
  2043. // figure{
  2044. // position: relative;
  2045. // display: inline-block;
  2046. // vertical-align: top;
  2047. // width:$column_width*2 + $column_goutiere;
  2048. // margin:0 $column_goutiere $column_goutiere*0.6 0;
  2049. // img{
  2050. // width:100%;
  2051. // }
  2052. // caption{
  2053. // position: absolute; bottom: 0; left:0;
  2054. // box-sizing: border-box; width: 100%; padding:0.5em;
  2055. // background-color: $transparent-bg-blk; color: #fff;
  2056. // }
  2057. // }
  2058. // }
  2059. aside.linked-materials{
  2060. @include col-mediaquery-min(3){
  2061. ul{
  2062. width:calc(100% + #{$column_goutiere});
  2063. li{
  2064. display: inline-block;
  2065. vertical-align: top;
  2066. width:$column_width;
  2067. margin:0 $column_goutiere $column_goutiere 0;
  2068. }
  2069. }
  2070. }
  2071. h3.field__label{
  2072. font-size: 1em;
  2073. font-weight: 500;
  2074. margin: 2em 0 1em 0;
  2075. }
  2076. h1.title{
  2077. font-size: 1em;
  2078. font-weight: 400;
  2079. }
  2080. h3.ref{
  2081. font-size: 0.756em;
  2082. font-weight: 600;
  2083. }
  2084. h2.description{
  2085. font-size: 0.756em;
  2086. font-weight: 400;
  2087. }
  2088. }
  2089. nav.prevnext{
  2090. @include col-mediaquery-max(3){
  2091. padding: 0 1em;
  2092. }
  2093. &.bottom{
  2094. margin:2em 0;
  2095. }
  2096. ul{
  2097. padding:0;
  2098. margin:0;
  2099. display: grid;
  2100. grid-template-columns: 1fr 1fr;
  2101. }
  2102. li{
  2103. padding:0;
  2104. margin:0;
  2105. list-style: none;
  2106. a{
  2107. font-size: 0.756em;
  2108. font-weight: 700;
  2109. line-height: 1.3;
  2110. display: block;
  2111. position: relative;
  2112. padding: 0 1em;
  2113. }
  2114. &:nth-child(1){
  2115. grid-column: 1;
  2116. a:before{
  2117. content:'\021A4';
  2118. position: absolute;
  2119. left:0;
  2120. }
  2121. }
  2122. &:nth-child(2){
  2123. grid-column: 2;
  2124. text-align: right;
  2125. a:after{
  2126. content:'\021A6';
  2127. position: absolute;
  2128. right: 0;
  2129. }
  2130. }
  2131. }
  2132. }
  2133. }
  2134. // ___ _
  2135. // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
  2136. // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
  2137. // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
  2138. #showrooms{
  2139. width: calc(100% + #{$column_goutiere});
  2140. article.showroom{
  2141. width: $column_width * 2 + $column_goutiere;
  2142. display: inline-block;
  2143. vertical-align: top;
  2144. margin: 0 $column_goutiere $column_goutiere 0;
  2145. h1{
  2146. margin:0;
  2147. font-weight: 4;
  2148. }
  2149. p{ margin:0; }
  2150. figure{
  2151. margin:0;
  2152. img{
  2153. max-width: 100%;
  2154. }
  2155. }
  2156. }
  2157. }
  2158. // ___ _ _
  2159. // | _ \_ _(_)__(_)_ _ __ _
  2160. // | _/ '_| / _| | ' \/ _` |
  2161. // |_| |_| |_\__|_|_||_\__, |
  2162. // |___/
  2163. #main-content>#pricing,
  2164. #main-content .view-pricing-products .view-content{
  2165. display: flex;
  2166. flex-flow: row nowrap;
  2167. article.product,
  2168. .views-row{
  2169. flex:0 0 33%;
  2170. text-align: center;
  2171. padding: 2em 0;
  2172. >header{
  2173. padding-bottom: 1.3em;
  2174. }
  2175. >header h1,
  2176. .views-field-title{
  2177. font-size: 3.5em;
  2178. line-height: 0.6;
  2179. color: #fff;
  2180. text-align: center;
  2181. word-spacing: 30000px;
  2182. }
  2183. section.content, .views-field-body{
  2184. color: #fff;
  2185. .description{
  2186. font-size: 1em;
  2187. p{
  2188. margin: 0.3em;
  2189. }
  2190. }
  2191. }
  2192. aside{
  2193. // padding:1em 0;
  2194. .variation{
  2195. // display: flex;
  2196. // flex-flow: row nowrap;
  2197. // justify-content: center;
  2198. // align-items:stretch;
  2199. display: grid;
  2200. grid-template-columns: 50% 50%;
  2201. margin-top: 0.5em;
  2202. >*{
  2203. align-self: center;
  2204. }
  2205. div.variation-description{
  2206. // flex: 0 0 auto;
  2207. color: #fff;
  2208. text-align: right;
  2209. h4{
  2210. font-size: 1.5em;
  2211. font-weight: 800;
  2212. margin:0;
  2213. line-height: 1;
  2214. }
  2215. p{
  2216. margin:0;
  2217. line-height: 0.8;
  2218. }
  2219. }
  2220. div.actions{
  2221. text-align: left;
  2222. padding-left: 1em;
  2223. button{
  2224. @include btn;
  2225. background-color: #fff;
  2226. }
  2227. }
  2228. }
  2229. a.btn{
  2230. @include btn;
  2231. background-color: #fff;
  2232. }
  2233. }
  2234. &:nth-child(1){
  2235. background-color: $color-base;
  2236. aside .variation .actions button{
  2237. color: $color-base;
  2238. }
  2239. }
  2240. &:nth-child(2){
  2241. background-color: $color-webshowroom;
  2242. aside .variation .actions button{
  2243. color: $color-webshowroom;
  2244. }
  2245. }
  2246. &:nth-child(3){
  2247. background-color: $color-showrooms;
  2248. aside .variation .actions button,
  2249. a.btn{
  2250. color: $color-showrooms;
  2251. }
  2252. }
  2253. }
  2254. @include col-mediaquery-max(5){
  2255. flex-flow: column;
  2256. article.product,
  2257. .views-row{
  2258. flex:0 1 auto;
  2259. }
  2260. }
  2261. }
  2262. .modal{
  2263. position: relative;
  2264. }
  2265. // #pricing-modal-login-register{
  2266. // position: relative;
  2267. // width: 100%;
  2268. // text-align: left;
  2269. //
  2270. // .vm--modale-loginregister{
  2271. // }
  2272. #login-register{
  2273. padding: 1em;
  2274. box-sizing: content-box;
  2275. width: 100%;
  2276. h2{
  2277. margin: 0.4em 0 1.1em;
  2278. padding-right: 4em;
  2279. font-size: 1.2em;
  2280. font-weight: 300;
  2281. }
  2282. >div.wrapper{
  2283. display: flex;
  2284. flex-flow: row nowrap;
  2285. >section{
  2286. flex:0 0 50%;
  2287. form{
  2288. .form-item, .form-actions {
  2289. margin: 0.5em 0;
  2290. max-width: none;
  2291. }
  2292. .form-type-email,
  2293. .form-type-password,
  2294. .form-actions{
  2295. display:block;
  2296. }
  2297. input[type="email"],
  2298. input[type="password"]{
  2299. max-width: 11em;
  2300. }
  2301. &#user-login-form #edit-pass--description,
  2302. #edit-pass-pass1--description{
  2303. display: block;
  2304. max-width: 16em;
  2305. font-size: 0.693em;
  2306. }
  2307. span.login-message,
  2308. span.register-message{
  2309. color: red;
  2310. font-size: 0.693em;
  2311. line-height: 1.2;
  2312. display: block;
  2313. padding: 0.8em 0 0 0;
  2314. }
  2315. span.login-message[v-if="loginMessage"],
  2316. span.register-message[v-if="registerMessage"]{
  2317. display: none;
  2318. }
  2319. }
  2320. }
  2321. section.login{
  2322. form{
  2323. >div{
  2324. // display: block;
  2325. }
  2326. }
  2327. }
  2328. section.register{
  2329. }
  2330. @include col-mediaquery-max(3){
  2331. flex-flow: column;
  2332. >section{
  2333. flex:0 0 auto;
  2334. form{
  2335. input[type="email"],
  2336. input[type="password"]{
  2337. max-width: 90%;
  2338. width: 90%;
  2339. }
  2340. &#user-login-form #edit-pass--description,
  2341. #edit-pass-pass1--description{
  2342. max-width: 90%;
  2343. width: 90%;
  2344. }
  2345. }
  2346. &.login{
  2347. padding-bottom: 0.5em;
  2348. }
  2349. }
  2350. }
  2351. }
  2352. }
  2353. // @include col-mediaquery-max(3){
  2354. // height:100%;
  2355. // overflow-y: auto;
  2356. // #login-register{
  2357. // flex-flow: column;
  2358. // >section{
  2359. // flex:0 0 auto;
  2360. // form{
  2361. // input[type="email"],
  2362. // input[type="password"]{
  2363. // max-width: 90%;
  2364. // width: 90%;
  2365. // }
  2366. // &#user-login-form #edit-pass--description,
  2367. // #edit-pass-pass1--description{
  2368. // max-width: 90%;
  2369. // width: 90%;
  2370. // }
  2371. // }
  2372. // &.login{
  2373. // padding-bottom: 0.5em;
  2374. // }
  2375. // }
  2376. // }
  2377. // }
  2378. // @include col-mediaquery-max(4, landscape){
  2379. // h2{
  2380. // margin: 0 0 0.5em;
  2381. // }
  2382. // }
  2383. // }
  2384. #pricing{
  2385. @include col-mediaquery-max(3){
  2386. .overlay > .modal{
  2387. width:95%!important;
  2388. height:95%!important;
  2389. }
  2390. }
  2391. }
  2392. #main-content form.commerce-checkout-flow{
  2393. $w:3;
  2394. max-width: $column_width * $w + $column_goutiere * ($w - 1);
  2395. .layout-checkout-form{
  2396. display: flex;
  2397. flex-flow: column;
  2398. .layout-region-checkout-main{
  2399. // disable default style
  2400. width:100%;
  2401. float: none;
  2402. // apply custom style
  2403. order:2;
  2404. background-color: $color-webshowroom;
  2405. padding: 1em;
  2406. fieldset#edit-payment-information{
  2407. #edit-payment-information-add-payment-method{
  2408. // display: flex;
  2409. // flex-flow: column-reverse;
  2410. // #edit-payment-information-add-payment-method-payment-details{
  2411. // margin: 1em 0 0;
  2412. // }
  2413. }
  2414. }
  2415. label,
  2416. legend,
  2417. .description,
  2418. fieldset#edit-review-contact-information,
  2419. fieldset#edit-review-payment-information{
  2420. color: #fff;
  2421. }
  2422. fieldset{
  2423. border:none;
  2424. margin:0; padding:0;
  2425. legend{
  2426. font-size: 1.5em;
  2427. font-weight: 600;
  2428. margin-bottom: 0.5em;
  2429. }
  2430. }
  2431. $lw:10em;
  2432. .form-item{
  2433. margin:0 0 0.5em 0;
  2434. }
  2435. label{
  2436. display: inline-block;
  2437. font-weight: bold;
  2438. min-width: $lw;
  2439. }
  2440. input[type="text"]{
  2441. width:20em;
  2442. }
  2443. .stripe-form{
  2444. display: inline-block;
  2445. background-color: #fff;
  2446. color: #1A1A1A;
  2447. border-radius: 5px;
  2448. padding: 1em;
  2449. margin: 0 0 1em;
  2450. .form-item{
  2451. display: flex;
  2452. align-items: center;
  2453. flex-flow: row nowrap;
  2454. label{
  2455. color: #777;
  2456. }
  2457. .form-text{
  2458. background-color: #fff;
  2459. border-radius: 3px;
  2460. }
  2461. }
  2462. }
  2463. // .form-item-payment-information-billing-information-address-0-address-address-line2
  2464. .form-item-payment-information-add-payment-method-billing-information-address-0-address-address-line2{
  2465. padding-left:$lw + 0.25em;
  2466. }
  2467. // .form-item-payment-information-billing-information-copy-to-address-book
  2468. .form-item-payment-information-add-payment-method-billing-information-copy-to-address-book{
  2469. display: none;
  2470. }
  2471. }
  2472. .layout-region-checkout-secondary{
  2473. // disable default style
  2474. width:100%;
  2475. float: none;
  2476. // apply custom style
  2477. order: 1;
  2478. // display: flex;
  2479. // flex-flow: row nowrap;
  2480. // >.checkout-pane{
  2481. // flex: 0 0 50%;
  2482. // }
  2483. >h3{display:none;}
  2484. #edit-order-summary{
  2485. background-color: $color-base;
  2486. color:#fff;
  2487. padding:1em;
  2488. .view-commerce-checkout-order-summary{
  2489. display: flex;
  2490. flex-flow: row nowrap;
  2491. justify-content: space-between;
  2492. align-items: flex-end;
  2493. }
  2494. .field--name-product-id{
  2495. .field--name-title{
  2496. font-size: 2.5em;
  2497. font-weight: 800;
  2498. }
  2499. .field--name-body{
  2500. }
  2501. }
  2502. .field--name-title{
  2503. font-size: 1.5em;
  2504. font-weight: 600;
  2505. }
  2506. p{
  2507. margin:0;
  2508. }
  2509. }
  2510. #edit-coupon-redemption{
  2511. background-color: $color-showrooms;
  2512. padding:1em;
  2513. >.form-wrapper{
  2514. display: flex;
  2515. flex-flow: row;
  2516. align-items: center;
  2517. .form-item{
  2518. margin:0 0.5em 0 0;
  2519. label{
  2520. color: #fff;
  2521. font-size: 1.5em;
  2522. font-weight: 600;
  2523. margin-right: 0.5em;
  2524. }
  2525. input[type="text"]{
  2526. width: 7em;
  2527. }
  2528. }
  2529. input[type="submit"]{
  2530. background-color: #fff;
  2531. color: $color-showrooms;
  2532. border: none;
  2533. margin:0;
  2534. padding:0.1em 0.7em;
  2535. box-sizing: content-box;
  2536. height:2em;
  2537. font-weight: 800;
  2538. border-radius: 5px;
  2539. }
  2540. }
  2541. }
  2542. }
  2543. .layout-region-checkout-footer{
  2544. // disable default style
  2545. float: none;
  2546. width: 100%;
  2547. padding: 0;
  2548. // apply custom style
  2549. order: 3;
  2550. #edit-actions{
  2551. text-align: right;
  2552. }
  2553. input#edit-actions-next{
  2554. background-color: $color-blabla;
  2555. color: #fff;
  2556. border: none;
  2557. border-radius: 5px;
  2558. padding: 0.2em 0.4em 0.3em;
  2559. font-weight: 600;
  2560. font-size: 1.323em;
  2561. }
  2562. }
  2563. #edit-completion-message{
  2564. p.welcom{
  2565. font-size: 1.512em;
  2566. }
  2567. p.base{
  2568. a{
  2569. // @include btn;
  2570. // background-color: $color-base;
  2571. // color: #fff;
  2572. // font-size: 1.134em;
  2573. }
  2574. }
  2575. p.order{
  2576. }
  2577. }
  2578. #edit-order-summary{
  2579. background-color: $color-showrooms;
  2580. padding:1em;
  2581. }
  2582. .form-item-materio-commerce-agree-nominative-nominative-terms{
  2583. label{
  2584. max-width: 95%;
  2585. vertical-align: top;
  2586. }
  2587. }
  2588. }
  2589. }
  2590. form#user-pass{
  2591. input.form-email{
  2592. max-width: 95%;
  2593. }
  2594. }
  2595. #member-warning{
  2596. padding: 2em 4em;
  2597. text-align: center;
  2598. h2{
  2599. }
  2600. p{
  2601. }
  2602. a{
  2603. @include btn;
  2604. background-color: $color-webshowroom;
  2605. color: #fff;
  2606. }
  2607. }
  2608. #webform-submission-multi-joueur-add-form{
  2609. $w:3;
  2610. max-width: $column_width * $w + $column_goutiere * ($w - 1);
  2611. .form-item{
  2612. margin:0.5em 0;
  2613. }
  2614. $lw:10em;
  2615. label{
  2616. display: inline-block;
  2617. width:$lw;
  2618. color: #fff;
  2619. }
  2620. .webform-element-description{
  2621. color:#fff;
  2622. }
  2623. .form-item{
  2624. position: relative;
  2625. box-sizing: border-box;
  2626. }
  2627. .form-item.form-no-label input[type="text"]{
  2628. margin-left: $lw*1.04;
  2629. }
  2630. input[type="text"],
  2631. input[type="tel"],
  2632. input[type="email"]{
  2633. width: calc(95% - #{$lw});
  2634. }
  2635. input[type="submit"]{
  2636. @include btn;
  2637. }
  2638. .address--wrapper{
  2639. background-color: $color-webshowroom;
  2640. margin:0;
  2641. padding: 1em 1em 0;
  2642. }
  2643. .form-item-vat-number{
  2644. background-color: $color-webshowroom;
  2645. margin:0;
  2646. padding: 1em 1em 0.6em;
  2647. }
  2648. .form-item-phone{
  2649. background-color: $color-webshowroom;
  2650. margin:0;
  2651. padding: 0 1em 1em;
  2652. }
  2653. .js-form-item-email{
  2654. background-color: $color-webshowroom;
  2655. margin:0;
  2656. padding: 0 1em 1em;
  2657. }
  2658. .webform-type-webform-email-confirm{
  2659. background-color: $color-webshowroom;
  2660. margin:0;
  2661. padding: 0 1em 1em;
  2662. label{
  2663. width: 15em;
  2664. }
  2665. input[type="email"]{
  2666. width: calc(95% - 15em);
  2667. }
  2668. }
  2669. .form-item-collaborateur{
  2670. background-color: $color-base;
  2671. margin:0;
  2672. padding: 1em;
  2673. input[type="image"]{
  2674. background-color: #fff;
  2675. }
  2676. input[type="submit"]{
  2677. background-color: #fff;
  2678. color: $color-base;
  2679. }
  2680. }
  2681. .form-item-commentaires{
  2682. background-color: $color-blabla;
  2683. margin:0;
  2684. padding:1em;
  2685. }
  2686. #edit-actions{
  2687. // background-color: $color-showrooms;
  2688. // margin:0;
  2689. // padding: 1em;
  2690. text-align: right;
  2691. input[type="submit"]{
  2692. background-color: $color-blabla;
  2693. color: #fff;
  2694. }
  2695. }
  2696. }
  2697. // ___ _
  2698. // | __|__ ___| |_ ___ _ _
  2699. // | _/ _ \/ _ \ _/ -_) '_|
  2700. // |_|\___/\___/\__\___|_|
  2701. footer[role="contentinfo"]{
  2702. // body:not(.path-home) & {
  2703. // display:none;
  2704. // }
  2705. >.wrapper{
  2706. display:flex;
  2707. flex-flow: row nowrap;
  2708. >div{
  2709. flex: 1 1 auto;
  2710. align-self: center;
  2711. }
  2712. }
  2713. #footer-left{
  2714. #block-materiosimplenewssubscription{
  2715. form{
  2716. display: flex;
  2717. flex-flow: row nowrap;
  2718. align-items: center;
  2719. font-size: 0.756em;
  2720. >*{
  2721. margin-right: 0.5em;
  2722. }
  2723. .form-item,
  2724. .form-actions{
  2725. margin-top: 0.3em;
  2726. margin-bottom: 0.3em;
  2727. }
  2728. #edit-subscriptions{
  2729. display: flex;
  2730. flex-flow: row nowrap;
  2731. >*{
  2732. margin-right: 0.5em;
  2733. display: flex;
  2734. flex-flow: row nowrap;
  2735. align-items: center;
  2736. }
  2737. input{
  2738. margin-right: 0.3em;
  2739. }
  2740. }
  2741. #edit-mail-wrapper{
  2742. input[type="email"]{
  2743. width:10em;
  2744. }
  2745. }
  2746. #edit-actions--2{
  2747. input[type="submit"]{
  2748. border: none;
  2749. background: none;
  2750. background-color: $color-base;
  2751. border-radius: 5px;
  2752. color: #fff;
  2753. padding: 0.45em 1em;
  2754. font-weight: 700;
  2755. }
  2756. }
  2757. }
  2758. }
  2759. }
  2760. #footer-middle{
  2761. }
  2762. #footer-right{
  2763. text-align: right;
  2764. nav.block-menu.menu--footer{
  2765. display: inline-block;
  2766. font-size: 0.756em;
  2767. ul.menu{
  2768. padding:0; margin:0;
  2769. display: flex;
  2770. flex-flow: row nowrap;
  2771. li.menu-item{
  2772. padding: 0.5em;
  2773. }
  2774. }
  2775. }
  2776. }
  2777. }
  2778. .eu-cookie-compliance-banner{
  2779. .popup-content{
  2780. display: flex;
  2781. flex-flow: row nowrap;
  2782. font-size: 00.756em;
  2783. padding: 0.3em 0;
  2784. & > *{
  2785. flex: 1 1 auto;
  2786. margin:0;
  2787. align-self: center;
  2788. max-width: 70%;
  2789. }
  2790. button{
  2791. margin:0;
  2792. }
  2793. #popup-buttons{
  2794. text-align: right;
  2795. }
  2796. }
  2797. }
  2798. img.lazy{
  2799. &.loading{
  2800. // background-color: red;
  2801. }
  2802. }