main.scss 63 KB

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