main.scss 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009
  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. background-color: #fff;
  1697. // width: 100%; height:100%;
  1698. &:first-of-type{
  1699. z-index:5
  1700. }
  1701. transition: opacity 0.2s ease-in-out;
  1702. &.show{opacity: 1; z-index:6;}
  1703. &.hide{opacity: 0;}
  1704. img{
  1705. // width: 100%; height:100%;
  1706. &.blank{
  1707. position: absolute;
  1708. top:0; left:0;
  1709. z-index: 20;
  1710. }
  1711. }
  1712. }
  1713. }
  1714. // overwritnig card for card-medium (aka search-card)
  1715. &.search-card{
  1716. >header{
  1717. cursor: pointer;
  1718. }
  1719. }
  1720. // overwriting card for modal-card
  1721. &.modal-card{
  1722. display: flex;
  1723. flex-flow: row-reverse nowrap;
  1724. width: $modalcard_width;
  1725. height: $modalcard_height;
  1726. >.col{
  1727. flex-basis: 50%;
  1728. }
  1729. @include col-mediaquery-max(3, portrait){
  1730. flex-flow: column;
  1731. width: 100%;
  1732. height: 100%;
  1733. overflow-y: auto;
  1734. >.col-right{
  1735. flex:0 0 auto;
  1736. }
  1737. >.col-left{
  1738. flex:0 0 100%;
  1739. }
  1740. }
  1741. @include col-mediaquery-max(4, landscape){
  1742. // flex-flow: row-reverse ;
  1743. width: 100%;
  1744. height: 100%;
  1745. >.col-right{
  1746. height: 100%;
  1747. overflow-y: auto;
  1748. }
  1749. // >.col-left{
  1750. // flex:0 0 50%;
  1751. // }
  1752. }
  1753. section.col-right{
  1754. >*:not(nav.tools){
  1755. position: relative;
  1756. padding: 0.3em $navtool_width + 5px 0 0.5em;
  1757. box-sizing: border-box;
  1758. width: 100%;
  1759. }
  1760. >header{
  1761. bottom: auto;
  1762. }
  1763. span.label{
  1764. font-size: 0.693em;
  1765. font-weight: 500;
  1766. }
  1767. section.body{
  1768. p{
  1769. font-size: 0.693em;
  1770. font-weight: 300;
  1771. line-height: 1.35;
  1772. margin:0 0 0.3em;
  1773. }
  1774. }
  1775. .vsa-list{
  1776. padding:0;
  1777. border: none;
  1778. --vsa-heading-padding: 0 0;
  1779. --vsa-content-padding: 0 0 0.5em;
  1780. --vsa-default-icon-size: 0.3;
  1781. --vsa-border-width: 0;
  1782. --vsa-text-color: #{$color-main-text};
  1783. --vsa-highlight-color: #fff;
  1784. --vsa-bg-color: #fff;
  1785. .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 {
  1786. background-color: var(--vsa-text-color);
  1787. }
  1788. .vsa-item{
  1789. .vsa-item__heading{
  1790. button.vsa-item__trigger{
  1791. height:2em;
  1792. &:hover,
  1793. &:focus{
  1794. color: var(--vsa-text-color);
  1795. }
  1796. }
  1797. }
  1798. .vsa-item__content{}
  1799. &[data-vsa-active="false"]{
  1800. .vsa-item__heading{
  1801. padding-bottom: 0.2em;
  1802. margin-bottom: 0.2em;
  1803. border-bottom: 0.5px dotted $color-main-text;
  1804. }
  1805. }
  1806. }
  1807. }
  1808. section.linked-materials{
  1809. >ul{
  1810. display: flex;
  1811. flex-flow: row wrap;
  1812. justify-content: space-between;
  1813. >li{
  1814. flex-basis: 0 0 50%;
  1815. margin-bottom: 0.5em;
  1816. article.linkedmaterialcard{
  1817. }
  1818. }
  1819. }
  1820. }
  1821. nav.tools{
  1822. opacity: 1;
  1823. section.close{
  1824. span.btn.mdi-close{
  1825. cursor:pointer;
  1826. }
  1827. }
  1828. div.tool-content{
  1829. min-width: $column_width *2 - $navtool_width - 10px;
  1830. @include col-mediaquery-max(3){
  1831. min-width: 80vw;
  1832. }
  1833. }
  1834. }
  1835. section.tool.samples{
  1836. div.tool-content{
  1837. ul{
  1838. // display: flex;
  1839. // flex-flow: row wrap;
  1840. font-size: 0.756em;
  1841. font-weight: 300;
  1842. // line-height: 1.35;
  1843. li{
  1844. padding-right: 0.5em;
  1845. span.showroom{ font-weight: 500; }
  1846. }
  1847. }
  1848. }
  1849. }
  1850. section.tool.note{
  1851. @include hover{
  1852. div.tool-content{
  1853. max-height: 370px;
  1854. }
  1855. }
  1856. div.tool-content{
  1857. textarea,
  1858. textarea:focus,
  1859. textarea:focus-visible,
  1860. textarea:active{
  1861. resize:none;
  1862. width:99%;
  1863. height:350px;
  1864. margin:0;
  1865. padding:0.3em;
  1866. border:1px solid #ccc;
  1867. border-radius: 3px;
  1868. outline: none;
  1869. box-sizing: border-box;
  1870. }
  1871. }
  1872. }
  1873. // section.tool.industriels{
  1874. // div.tool-content{
  1875. // display: flex;
  1876. // flex-flow: row;
  1877. // >section{
  1878. // flex: 0 0 50%;
  1879. // h2{
  1880. // margin:0;
  1881. // font-size: 1em;
  1882. // line-height: 0.6;
  1883. // }
  1884. // p{
  1885. // margin: 0;
  1886. // font-size: 0.882em;
  1887. // }
  1888. // }
  1889. // }
  1890. // }
  1891. section.industriels{
  1892. display: flex;
  1893. flex-flow: row;
  1894. >section{
  1895. flex: 0 0 50%;
  1896. ul{
  1897. li{
  1898. padding:0.1em 0 .4em 0;
  1899. }
  1900. }
  1901. h2{
  1902. margin:0;
  1903. font-size: 1em;
  1904. line-height: 1;
  1905. }
  1906. p{
  1907. margin: 0;
  1908. font-size: 0.756em;
  1909. }
  1910. }
  1911. }
  1912. section.attachments{
  1913. a{
  1914. margin:0;
  1915. font-size: 0.882em;
  1916. line-height: 0.6;
  1917. span{
  1918. font-size: 0.8em
  1919. }
  1920. }
  1921. p{
  1922. margin: 0;
  1923. font-size: 0.882em;
  1924. }
  1925. }
  1926. }
  1927. }
  1928. }
  1929. .vm--modale-card{
  1930. position: relative;
  1931. }
  1932. // vuejs-modale hack as maxWidth and maxHeight does not work :(
  1933. @include col-mediaquery-min(3){
  1934. .vm--modale-card{
  1935. max-width: 850px;
  1936. max-height: 610px;
  1937. left: 50% !important;
  1938. top: 50% !important;
  1939. transform: translate(-50%, -50%) !important;
  1940. }
  1941. }
  1942. .vm--overlay{
  1943. background: rgba(0, 0, 0, 0.5)!important;
  1944. }
  1945. // _____ _ _ _
  1946. // |_ _| |_ ___ _ __ __ _| |_(_)__ _ _ _ ___
  1947. // | | | ' \/ -_) ' \/ _` | _| / _` | || / -_)
  1948. // |_| |_||_\___|_|_|_\__,_|\__|_\__, |\_,_\___|
  1949. // |_|
  1950. #main-content > article.thematique{
  1951. div.cols{
  1952. display: flex;
  1953. flex-direction: row;
  1954. flex-wrap: nowrap;
  1955. // @media only screen and (max-width: $small-bp) {
  1956. @include col-mediaquery-max(3){
  1957. flex-wrap: wrap;
  1958. }
  1959. // }
  1960. div.col-left{
  1961. padding: 0 $column_goutiere $column_goutiere 0;
  1962. flex: 0 0 $column_width * 2 + $column_goutiere;
  1963. }
  1964. div.col-right{}
  1965. }
  1966. div.col-left{
  1967. section.body{
  1968. background-color: $color-base;
  1969. padding: 0.5em 1em 1em;
  1970. }
  1971. section.visuel{
  1972. img{
  1973. width: 100%;
  1974. }
  1975. }
  1976. }
  1977. aside.linked-materials{
  1978. div.card-list{
  1979. >ul{
  1980. width:calc(100% + #{$column_goutiere});
  1981. >li{
  1982. display: inline-block;
  1983. vertical-align: top;
  1984. width:$column_width;
  1985. margin:0 $column_goutiere $column_goutiere 0;
  1986. }
  1987. }
  1988. }
  1989. h3.field__label{
  1990. font-size: 1em;
  1991. font-weight: 500;
  1992. margin: 2em 0 1em 0;
  1993. }
  1994. h1.title{
  1995. font-size: 1em;
  1996. font-weight: 400;
  1997. }
  1998. h3.ref{
  1999. font-size: 0.756em;
  2000. font-weight: 600;
  2001. }
  2002. h2.description{
  2003. font-size: 0.756em;
  2004. font-weight: 400;
  2005. }
  2006. }
  2007. }
  2008. // ___ _ _ _
  2009. // | _ ) |__ _| |__| |__ _
  2010. // | _ \ / _` | '_ \ / _` |
  2011. // |___/_\__,_|_.__/_\__,_|
  2012. #blabla{
  2013. }
  2014. #main-content > article.article{
  2015. // grid only on big screens
  2016. @include col-mediaquery-min(3){
  2017. div.cols{
  2018. display: grid;
  2019. grid-template-rows: 1fr;
  2020. grid-template-columns: repeat(6, 1fr);
  2021. grid-gap: 1em;
  2022. div.col-left{
  2023. grid-column: 1;
  2024. }
  2025. div.col-right{
  2026. grid-column: 2/6;
  2027. }
  2028. }
  2029. }
  2030. @include col-mediaquery-max(3){
  2031. div.cols{
  2032. padding:1em;
  2033. box-sizing: border-box;
  2034. .accroche{
  2035. figure{
  2036. width:100%;
  2037. }
  2038. }
  2039. }
  2040. }
  2041. section.accroche{
  2042. figure{
  2043. width:$column_width*2 + $column_goutiere;
  2044. margin:0 $column_goutiere 0 0;
  2045. img{
  2046. width:100%;
  2047. }
  2048. }
  2049. }
  2050. section.taxonomy{
  2051. margin:1em 0;
  2052. ul{
  2053. margin: 0;
  2054. }
  2055. li{
  2056. display:inline-block;
  2057. padding:0 0.5em 0 0;
  2058. }
  2059. }
  2060. div.gallery-wrapper{
  2061. .image{
  2062. display: inline-block;
  2063. width:$column_width;
  2064. margin:0 $column_goutiere $column_goutiere*0.6 0;
  2065. height:$card_height / 2;
  2066. background-size: cover;
  2067. }
  2068. @include col-mediaquery-max(3){
  2069. display: flex;
  2070. flex-flow: row wrap;
  2071. justify-content: space-between;
  2072. .image{
  2073. // width: auto; height: auto;
  2074. display: block;
  2075. flex: 0 1 48%;
  2076. margin: 0 0 $column_goutiere*0.6 0;
  2077. }
  2078. }
  2079. }
  2080. // section.videos{
  2081. // ul{
  2082. // margin:0; padding:0;
  2083. // li{
  2084. // margin:0; padding:0;
  2085. // display: inline-block;
  2086. // width:100%; overflow: hidden;
  2087. // }
  2088. // }
  2089. // }
  2090. // section.visuels{
  2091. // width:calc(100% + #{$column_goutiere});
  2092. // figure{
  2093. // position: relative;
  2094. // display: inline-block;
  2095. // vertical-align: top;
  2096. // width:$column_width*2 + $column_goutiere;
  2097. // margin:0 $column_goutiere $column_goutiere*0.6 0;
  2098. // img{
  2099. // width:100%;
  2100. // }
  2101. // caption{
  2102. // position: absolute; bottom: 0; left:0;
  2103. // box-sizing: border-box; width: 100%; padding:0.5em;
  2104. // background-color: $transparent-bg-blk; color: #fff;
  2105. // }
  2106. // }
  2107. // }
  2108. aside.linked-materials{
  2109. @include col-mediaquery-min(3){
  2110. ul{
  2111. width:calc(100% + #{$column_goutiere});
  2112. li{
  2113. display: inline-block;
  2114. vertical-align: top;
  2115. width:$column_width;
  2116. margin:0 $column_goutiere $column_goutiere 0;
  2117. }
  2118. }
  2119. }
  2120. h3.field__label{
  2121. font-size: 1em;
  2122. font-weight: 500;
  2123. margin: 2em 0 1em 0;
  2124. }
  2125. h1.title{
  2126. font-size: 1em;
  2127. font-weight: 400;
  2128. }
  2129. h3.ref{
  2130. font-size: 0.756em;
  2131. font-weight: 600;
  2132. }
  2133. h2.description{
  2134. font-size: 0.756em;
  2135. font-weight: 400;
  2136. }
  2137. }
  2138. nav.prevnext{
  2139. @include col-mediaquery-max(3){
  2140. padding: 0 1em;
  2141. }
  2142. &.bottom{
  2143. margin:2em 0;
  2144. }
  2145. ul{
  2146. padding:0;
  2147. margin:0;
  2148. display: grid;
  2149. grid-template-columns: 1fr 1fr;
  2150. }
  2151. li{
  2152. padding:0;
  2153. margin:0;
  2154. list-style: none;
  2155. a{
  2156. font-size: 0.756em;
  2157. font-weight: 700;
  2158. line-height: 1.3;
  2159. display: block;
  2160. position: relative;
  2161. padding: 0 1em;
  2162. }
  2163. &:nth-child(1){
  2164. grid-column: 1;
  2165. a:before{
  2166. content:'\021A4';
  2167. position: absolute;
  2168. left:0;
  2169. }
  2170. }
  2171. &:nth-child(2){
  2172. grid-column: 2;
  2173. text-align: right;
  2174. a:after{
  2175. content:'\021A6';
  2176. position: absolute;
  2177. right: 0;
  2178. }
  2179. }
  2180. }
  2181. }
  2182. }
  2183. // ___ _
  2184. // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
  2185. // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
  2186. // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
  2187. #showrooms{
  2188. width: calc(100% + #{$column_goutiere});
  2189. article.showroom{
  2190. width: $column_width * 2 + $column_goutiere;
  2191. display: inline-block;
  2192. vertical-align: top;
  2193. margin: 0 $column_goutiere $column_goutiere 0;
  2194. h1{
  2195. margin:0;
  2196. font-weight: 4;
  2197. }
  2198. p{ margin:0; }
  2199. figure{
  2200. margin:0;
  2201. img{
  2202. max-width: 100%;
  2203. }
  2204. }
  2205. }
  2206. }
  2207. // ___ _ _
  2208. // | _ \_ _(_)__(_)_ _ __ _
  2209. // | _/ '_| / _| | ' \/ _` |
  2210. // |_| |_| |_\__|_|_||_\__, |
  2211. // |___/
  2212. #main-content>#pricing,
  2213. #main-content .view-pricing-products .view-content{
  2214. display: flex;
  2215. flex-flow: row nowrap;
  2216. article.product,
  2217. .views-row{
  2218. flex:0 0 33%;
  2219. text-align: center;
  2220. padding: 2em 0;
  2221. >header{
  2222. padding-bottom: 1.3em;
  2223. }
  2224. >header h1,
  2225. .views-field-title{
  2226. font-size: 3.5em;
  2227. line-height: 0.6;
  2228. color: #fff;
  2229. text-align: center;
  2230. word-spacing: 30000px;
  2231. }
  2232. section.content, .views-field-body{
  2233. color: #fff;
  2234. .description{
  2235. font-size: 1em;
  2236. p{
  2237. margin: 0.3em;
  2238. }
  2239. }
  2240. }
  2241. aside{
  2242. // padding:1em 0;
  2243. .variation{
  2244. // display: flex;
  2245. // flex-flow: row nowrap;
  2246. // justify-content: center;
  2247. // align-items:stretch;
  2248. display: grid;
  2249. grid-template-columns: 50% 50%;
  2250. margin-top: 0.5em;
  2251. >*{
  2252. align-self: center;
  2253. }
  2254. div.variation-description{
  2255. // flex: 0 0 auto;
  2256. color: #fff;
  2257. text-align: right;
  2258. h4{
  2259. font-size: 1.5em;
  2260. font-weight: 800;
  2261. margin:0;
  2262. line-height: 1;
  2263. }
  2264. p{
  2265. margin:0;
  2266. line-height: 0.8;
  2267. }
  2268. }
  2269. div.actions{
  2270. text-align: left;
  2271. padding-left: 1em;
  2272. button{
  2273. @include btn;
  2274. background-color: #fff;
  2275. }
  2276. }
  2277. }
  2278. a.btn{
  2279. @include btn;
  2280. background-color: #fff;
  2281. }
  2282. }
  2283. &:nth-child(1){
  2284. background-color: $color-base;
  2285. aside .variation .actions button{
  2286. color: $color-base;
  2287. }
  2288. }
  2289. &:nth-child(2){
  2290. background-color: $color-webshowroom;
  2291. aside .variation .actions button{
  2292. color: $color-webshowroom;
  2293. }
  2294. }
  2295. &:nth-child(3){
  2296. background-color: $color-showrooms;
  2297. aside .variation .actions button,
  2298. a.btn{
  2299. color: $color-showrooms;
  2300. }
  2301. }
  2302. }
  2303. @include col-mediaquery-max(5){
  2304. flex-flow: column;
  2305. article.product,
  2306. .views-row{
  2307. flex:0 1 auto;
  2308. }
  2309. }
  2310. }
  2311. .modal{
  2312. position: relative;
  2313. }
  2314. // #pricing-modal-login-register{
  2315. // position: relative;
  2316. // width: 100%;
  2317. // text-align: left;
  2318. //
  2319. // .vm--modale-loginregister{
  2320. // }
  2321. #login-register{
  2322. padding: 1em;
  2323. box-sizing: content-box;
  2324. width: 100%;
  2325. h2{
  2326. margin: 0.4em 0 1.1em;
  2327. padding-right: 4em;
  2328. font-size: 1.2em;
  2329. font-weight: 300;
  2330. }
  2331. >div.wrapper{
  2332. display: flex;
  2333. flex-flow: row nowrap;
  2334. >section{
  2335. flex:0 0 50%;
  2336. form{
  2337. .form-item, .form-actions {
  2338. margin: 0.5em 0;
  2339. max-width: none;
  2340. }
  2341. .form-type-email,
  2342. .form-type-password,
  2343. .form-actions{
  2344. display:block;
  2345. }
  2346. input[type="email"],
  2347. input[type="password"]{
  2348. max-width: 11em;
  2349. }
  2350. &#user-login-form #edit-pass--description,
  2351. #edit-pass-pass1--description{
  2352. display: block;
  2353. max-width: 16em;
  2354. font-size: 0.693em;
  2355. }
  2356. span.login-message,
  2357. span.register-message{
  2358. color: red;
  2359. font-size: 0.693em;
  2360. line-height: 1.2;
  2361. display: block;
  2362. padding: 0.8em 0 0 0;
  2363. }
  2364. span.login-message[v-if="loginMessage"],
  2365. span.register-message[v-if="registerMessage"]{
  2366. display: none;
  2367. }
  2368. }
  2369. }
  2370. section.login{
  2371. form{
  2372. >div{
  2373. // display: block;
  2374. }
  2375. }
  2376. }
  2377. section.register{
  2378. }
  2379. @include col-mediaquery-max(3){
  2380. flex-flow: column;
  2381. >section{
  2382. flex:0 0 auto;
  2383. form{
  2384. input[type="email"],
  2385. input[type="password"]{
  2386. max-width: 90%;
  2387. width: 90%;
  2388. }
  2389. &#user-login-form #edit-pass--description,
  2390. #edit-pass-pass1--description{
  2391. max-width: 90%;
  2392. width: 90%;
  2393. }
  2394. }
  2395. &.login{
  2396. padding-bottom: 0.5em;
  2397. }
  2398. }
  2399. }
  2400. }
  2401. }
  2402. // @include col-mediaquery-max(3){
  2403. // height:100%;
  2404. // overflow-y: auto;
  2405. // #login-register{
  2406. // flex-flow: column;
  2407. // >section{
  2408. // flex:0 0 auto;
  2409. // form{
  2410. // input[type="email"],
  2411. // input[type="password"]{
  2412. // max-width: 90%;
  2413. // width: 90%;
  2414. // }
  2415. // &#user-login-form #edit-pass--description,
  2416. // #edit-pass-pass1--description{
  2417. // max-width: 90%;
  2418. // width: 90%;
  2419. // }
  2420. // }
  2421. // &.login{
  2422. // padding-bottom: 0.5em;
  2423. // }
  2424. // }
  2425. // }
  2426. // }
  2427. // @include col-mediaquery-max(4, landscape){
  2428. // h2{
  2429. // margin: 0 0 0.5em;
  2430. // }
  2431. // }
  2432. // }
  2433. #pricing{
  2434. @include col-mediaquery-max(3){
  2435. .overlay > .modal{
  2436. width:95%!important;
  2437. height:95%!important;
  2438. }
  2439. }
  2440. }
  2441. #main-content form.commerce-checkout-flow{
  2442. $w:3;
  2443. max-width: $column_width * $w + $column_goutiere * ($w - 1);
  2444. .layout-checkout-form{
  2445. display: flex;
  2446. flex-flow: column;
  2447. .layout-region-checkout-main{
  2448. // disable default style
  2449. width:100%;
  2450. float: none;
  2451. // apply custom style
  2452. order:2;
  2453. background-color: $color-webshowroom;
  2454. padding: 1em;
  2455. fieldset#edit-payment-information{
  2456. #edit-payment-information-add-payment-method{
  2457. // display: flex;
  2458. // flex-flow: column-reverse;
  2459. // #edit-payment-information-add-payment-method-payment-details{
  2460. // margin: 1em 0 0;
  2461. // }
  2462. }
  2463. }
  2464. label,
  2465. legend,
  2466. .description,
  2467. fieldset#edit-review-contact-information,
  2468. fieldset#edit-review-payment-information{
  2469. color: #fff;
  2470. }
  2471. fieldset{
  2472. border:none;
  2473. margin:0; padding:0;
  2474. legend{
  2475. font-size: 1.5em;
  2476. font-weight: 600;
  2477. margin-bottom: 0.5em;
  2478. }
  2479. }
  2480. $lw:10em;
  2481. .form-item{
  2482. margin:0 0 0.5em 0;
  2483. }
  2484. label{
  2485. display: inline-block;
  2486. font-weight: bold;
  2487. min-width: $lw;
  2488. }
  2489. input[type="text"]{
  2490. width:20em;
  2491. }
  2492. .stripe-form{
  2493. display: inline-block;
  2494. background-color: #fff;
  2495. color: #1A1A1A;
  2496. border-radius: 5px;
  2497. padding: 1em;
  2498. margin: 0 0 1em;
  2499. .form-item{
  2500. display: flex;
  2501. align-items: center;
  2502. flex-flow: row nowrap;
  2503. label{
  2504. color: #777;
  2505. }
  2506. .form-text{
  2507. background-color: #fff;
  2508. border-radius: 3px;
  2509. }
  2510. }
  2511. }
  2512. // .form-item-payment-information-billing-information-address-0-address-address-line2
  2513. .form-item-payment-information-add-payment-method-billing-information-address-0-address-address-line2{
  2514. padding-left:$lw + 0.25em;
  2515. }
  2516. // .form-item-payment-information-billing-information-copy-to-address-book
  2517. .form-item-payment-information-add-payment-method-billing-information-copy-to-address-book{
  2518. display: none;
  2519. }
  2520. }
  2521. .layout-region-checkout-secondary{
  2522. // disable default style
  2523. width:100%;
  2524. float: none;
  2525. // apply custom style
  2526. order: 1;
  2527. // display: flex;
  2528. // flex-flow: row nowrap;
  2529. // >.checkout-pane{
  2530. // flex: 0 0 50%;
  2531. // }
  2532. >h3{display:none;}
  2533. #edit-order-summary{
  2534. background-color: $color-base;
  2535. color:#fff;
  2536. padding:1em;
  2537. .view-commerce-checkout-order-summary{
  2538. display: flex;
  2539. flex-flow: row nowrap;
  2540. justify-content: space-between;
  2541. align-items: flex-end;
  2542. }
  2543. .field--name-product-id{
  2544. .field--name-title{
  2545. font-size: 2.5em;
  2546. font-weight: 800;
  2547. }
  2548. .field--name-body{
  2549. }
  2550. }
  2551. .field--name-title{
  2552. font-size: 1.5em;
  2553. font-weight: 600;
  2554. }
  2555. p{
  2556. margin:0;
  2557. }
  2558. }
  2559. #edit-coupon-redemption{
  2560. background-color: $color-showrooms;
  2561. padding:1em;
  2562. >.form-wrapper{
  2563. display: flex;
  2564. flex-flow: row;
  2565. align-items: center;
  2566. .form-item{
  2567. margin:0 0.5em 0 0;
  2568. label{
  2569. color: #fff;
  2570. font-size: 1.5em;
  2571. font-weight: 600;
  2572. margin-right: 0.5em;
  2573. }
  2574. input[type="text"]{
  2575. width: 7em;
  2576. }
  2577. }
  2578. input[type="submit"]{
  2579. background-color: #fff;
  2580. color: $color-showrooms;
  2581. border: none;
  2582. margin:0;
  2583. padding:0.1em 0.7em;
  2584. box-sizing: content-box;
  2585. height:2em;
  2586. font-weight: 800;
  2587. border-radius: 5px;
  2588. }
  2589. }
  2590. }
  2591. }
  2592. .layout-region-checkout-footer{
  2593. // disable default style
  2594. float: none;
  2595. width: 100%;
  2596. padding: 0;
  2597. // apply custom style
  2598. order: 3;
  2599. #edit-actions{
  2600. text-align: right;
  2601. }
  2602. input#edit-actions-next{
  2603. background-color: $color-blabla;
  2604. color: #fff;
  2605. border: none;
  2606. border-radius: 5px;
  2607. padding: 0.2em 0.4em 0.3em;
  2608. font-weight: 600;
  2609. font-size: 1.323em;
  2610. }
  2611. }
  2612. #edit-completion-message{
  2613. p.welcom{
  2614. font-size: 1.512em;
  2615. }
  2616. p.base{
  2617. a{
  2618. // @include btn;
  2619. // background-color: $color-base;
  2620. // color: #fff;
  2621. // font-size: 1.134em;
  2622. }
  2623. }
  2624. p.order{
  2625. }
  2626. }
  2627. #edit-order-summary{
  2628. background-color: $color-showrooms;
  2629. padding:1em;
  2630. }
  2631. .form-item-materio-commerce-agree-nominative-nominative-terms{
  2632. label{
  2633. max-width: 95%;
  2634. vertical-align: top;
  2635. }
  2636. }
  2637. }
  2638. }
  2639. form#user-pass{
  2640. input.form-email{
  2641. max-width: 95%;
  2642. }
  2643. }
  2644. #member-warning{
  2645. padding: 2em 4em;
  2646. text-align: center;
  2647. h2{
  2648. }
  2649. p{
  2650. }
  2651. a{
  2652. @include btn;
  2653. background-color: $color-webshowroom;
  2654. color: #fff;
  2655. }
  2656. }
  2657. #webform-submission-multi-joueur-add-form{
  2658. $w:3;
  2659. max-width: $column_width * $w + $column_goutiere * ($w - 1);
  2660. .form-item{
  2661. margin:0.5em 0;
  2662. }
  2663. $lw:10em;
  2664. label{
  2665. display: inline-block;
  2666. width:$lw;
  2667. color: #fff;
  2668. }
  2669. .webform-element-description{
  2670. color:#fff;
  2671. }
  2672. .form-item{
  2673. position: relative;
  2674. box-sizing: border-box;
  2675. }
  2676. .form-item.form-no-label input[type="text"]{
  2677. margin-left: $lw*1.04;
  2678. }
  2679. input[type="text"],
  2680. input[type="tel"],
  2681. input[type="email"]{
  2682. width: calc(95% - #{$lw});
  2683. }
  2684. input[type="submit"]{
  2685. @include btn;
  2686. }
  2687. .address--wrapper{
  2688. background-color: $color-webshowroom;
  2689. margin:0;
  2690. padding: 1em 1em 0;
  2691. }
  2692. .form-item-vat-number{
  2693. background-color: $color-webshowroom;
  2694. margin:0;
  2695. padding: 1em 1em 0.6em;
  2696. }
  2697. .form-item-phone{
  2698. background-color: $color-webshowroom;
  2699. margin:0;
  2700. padding: 0 1em 1em;
  2701. }
  2702. .js-form-item-email{
  2703. background-color: $color-webshowroom;
  2704. margin:0;
  2705. padding: 0 1em 1em;
  2706. }
  2707. .webform-type-webform-email-confirm{
  2708. background-color: $color-webshowroom;
  2709. margin:0;
  2710. padding: 0 1em 1em;
  2711. label{
  2712. width: 15em;
  2713. }
  2714. input[type="email"]{
  2715. width: calc(95% - 15em);
  2716. }
  2717. }
  2718. .form-item-collaborateur{
  2719. background-color: $color-base;
  2720. margin:0;
  2721. padding: 1em;
  2722. input[type="image"]{
  2723. background-color: #fff;
  2724. }
  2725. input[type="submit"]{
  2726. background-color: #fff;
  2727. color: $color-base;
  2728. }
  2729. }
  2730. .form-item-commentaires{
  2731. background-color: $color-blabla;
  2732. margin:0;
  2733. padding:1em;
  2734. }
  2735. #edit-actions{
  2736. // background-color: $color-showrooms;
  2737. // margin:0;
  2738. // padding: 1em;
  2739. text-align: right;
  2740. input[type="submit"]{
  2741. background-color: $color-blabla;
  2742. color: #fff;
  2743. }
  2744. }
  2745. }
  2746. form#get-email {
  2747. padding:1em;
  2748. width:100%;
  2749. box-sizing: border-box;
  2750. max-width: 450px;
  2751. input[type="email"]{
  2752. max-width: 95%;
  2753. }
  2754. div#edit-actions{
  2755. text-align: right;
  2756. }
  2757. input[type="submit"]{
  2758. @include btn;
  2759. background-color: $color-base;
  2760. color: #fff;
  2761. margin: 0;
  2762. }
  2763. }
  2764. // ___ _
  2765. // | __|__ ___| |_ ___ _ _
  2766. // | _/ _ \/ _ \ _/ -_) '_|
  2767. // |_|\___/\___/\__\___|_|
  2768. footer[role="contentinfo"]{
  2769. // body:not(.path-home) & {
  2770. // display:none;
  2771. // }
  2772. >.wrapper{
  2773. display:flex;
  2774. flex-flow: row nowrap;
  2775. >div{
  2776. flex: 1 1 auto;
  2777. align-self: center;
  2778. }
  2779. }
  2780. #footer-left{
  2781. #block-materiosimplenewssubscription{
  2782. form{
  2783. display: flex;
  2784. flex-flow: row nowrap;
  2785. align-items: center;
  2786. font-size: 0.756em;
  2787. >*{
  2788. margin-right: 0.5em;
  2789. }
  2790. .form-item,
  2791. .form-actions{
  2792. margin-top: 0.3em;
  2793. margin-bottom: 0.3em;
  2794. }
  2795. #edit-subscriptions{
  2796. display: flex;
  2797. flex-flow: row nowrap;
  2798. >*{
  2799. margin-right: 0.5em;
  2800. display: flex;
  2801. flex-flow: row nowrap;
  2802. align-items: center;
  2803. }
  2804. input{
  2805. margin-right: 0.3em;
  2806. }
  2807. }
  2808. #edit-mail-wrapper{
  2809. input[type="email"]{
  2810. width:10em;
  2811. }
  2812. }
  2813. #edit-actions--2{
  2814. input[type="submit"]{
  2815. border: none;
  2816. background: none;
  2817. background-color: $color-base;
  2818. border-radius: 5px;
  2819. color: #fff;
  2820. padding: 0.45em 1em;
  2821. font-weight: 700;
  2822. }
  2823. }
  2824. }
  2825. }
  2826. }
  2827. #footer-middle{
  2828. }
  2829. #footer-right{
  2830. text-align: right;
  2831. nav.block-menu.menu--footer{
  2832. display: inline-block;
  2833. font-size: 0.756em;
  2834. ul.menu{
  2835. padding:0; margin:0;
  2836. display: flex;
  2837. flex-flow: row nowrap;
  2838. li.menu-item{
  2839. padding: 0.5em;
  2840. }
  2841. }
  2842. }
  2843. }
  2844. }
  2845. .eu-cookie-compliance-banner{
  2846. .popup-content{
  2847. display: flex;
  2848. flex-flow: row nowrap;
  2849. font-size: 00.756em;
  2850. padding: 0.3em 0;
  2851. & > *{
  2852. flex: 1 1 auto;
  2853. margin:0;
  2854. align-self: center;
  2855. max-width: 70%;
  2856. }
  2857. button{
  2858. margin:0;
  2859. }
  2860. #popup-buttons{
  2861. text-align: right;
  2862. }
  2863. }
  2864. }
  2865. img.lazy{
  2866. &.loading{
  2867. // background-color: red;
  2868. }
  2869. }
  2870. #better-messages-default{
  2871. max-width: 90%;
  2872. }