main.scss 64 KB

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