main.scss 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097
  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. .field--name-purchased-entity,
  1316. .field--name-quantity{
  1317. display: none;
  1318. }
  1319. .form-actions{
  1320. margin:0;
  1321. }
  1322. input.button--add-to-cart{
  1323. @include btn;
  1324. margin: 0;
  1325. }
  1326. }
  1327. }
  1328. }
  1329. }
  1330. a.btn{
  1331. @include btn;
  1332. background-color: #fff;
  1333. }
  1334. &:nth-child(1){
  1335. background-color: $color-base;
  1336. a.btn{
  1337. color: $color-base;
  1338. }
  1339. .field--name-variations{
  1340. .field__item{
  1341. >div{
  1342. input.button--add-to-cart{
  1343. color: $color-base;
  1344. }
  1345. }
  1346. }
  1347. }
  1348. }
  1349. &:nth-child(2){
  1350. background-color: $color-webshowroom;
  1351. a.btn{
  1352. color: $color-webshowroom;
  1353. }
  1354. .field--name-variations{
  1355. .field__item{
  1356. >div{
  1357. input.button--add-to-cart{
  1358. color: $color-webshowroom;
  1359. }
  1360. }
  1361. }
  1362. }
  1363. }
  1364. &:nth-child(3){
  1365. background-color: $color-showrooms;
  1366. a.btn{
  1367. color: $color-showrooms;
  1368. }
  1369. >article{
  1370. max-width: 345px;
  1371. }
  1372. }
  1373. @include col-mediaquery-max(5){
  1374. flex: 0 0 auto;
  1375. padding:0;
  1376. // height: auto;
  1377. >article{
  1378. }
  1379. }
  1380. }
  1381. }
  1382. }
  1383. }
  1384. }
  1385. }
  1386. // ___ _
  1387. // / __|__ _ _ _ __| |___
  1388. // | (__/ _` | '_/ _` (_-<
  1389. // \___\__,_|_| \__,_/__/
  1390. .infinite-loading-container{
  1391. .infinite-status-prompt{
  1392. i[class^="loading-"]{
  1393. width:15px; height:15px;
  1394. }
  1395. }
  1396. }
  1397. .cards-list{
  1398. position: relative;
  1399. .search-info{
  1400. font-size: 0.756em;
  1401. font-weight: 500;
  1402. margin: 0;
  1403. padding: 0 0 0.5em 0;
  1404. @include col-mediaquery-max(4, landscape){
  1405. display:none;
  1406. }
  1407. }
  1408. &>ul{
  1409. // outline: 1px green solid;
  1410. margin:0; padding:0;
  1411. width: calc(100% + #{$column_goutiere});
  1412. &>li{
  1413. list-style: none;
  1414. margin:0 $column_goutiere $column_goutiere 0; padding:0;
  1415. display: inline-block;
  1416. vertical-align: top;
  1417. }
  1418. }
  1419. @include col-mediaquery-max(3){
  1420. &>ul{
  1421. display: flex;
  1422. flex-flow: row wrap;
  1423. justify-content: space-around;
  1424. width:100%;
  1425. >li{
  1426. flex: 0 1 48%;
  1427. margin:0 0 0.5em 0;
  1428. filter: drop-shadow(0 0 3px #aaa);
  1429. >article{
  1430. width:100%;
  1431. height:auto;
  1432. box-shadow: none;
  1433. >section.images{
  1434. #base &{
  1435. height: auto;
  1436. }
  1437. >figure{
  1438. position: relative;
  1439. &:not(:first-child){
  1440. display:none;
  1441. }
  1442. img:not(.blank){
  1443. width:100%;
  1444. height:auto;
  1445. }
  1446. img.blank{
  1447. top:0; bottom:0; left:0; right:0;
  1448. }
  1449. }
  1450. }
  1451. }
  1452. }
  1453. }
  1454. }
  1455. }
  1456. article.card{
  1457. position: relative;
  1458. box-shadow: 0 0 5px rgba(0,0,0,0.2);
  1459. width:$column_width; height:$card_height;
  1460. &.article{
  1461. width:$column_width*2 + $column_goutiere; height:$card_height;
  1462. section.images{
  1463. a{
  1464. display:block;
  1465. }
  1466. }
  1467. }
  1468. &.minicard{
  1469. height:100px;
  1470. width:$minicard_width;
  1471. height:$minicard_height;
  1472. margin:auto;
  1473. >header{
  1474. padding: 0.3em 0.3em 0.1em;
  1475. cursor: pointer;
  1476. h1{
  1477. margin:0;
  1478. font-size: 1em;
  1479. }
  1480. h4{
  1481. margin:0;
  1482. line-height: 1.1;
  1483. margin-bottom: -0.4em;
  1484. }
  1485. span.ref{
  1486. line-height: 0.5;
  1487. }
  1488. }
  1489. >nav.tools{
  1490. // top: auto;
  1491. // bottom: 0;
  1492. padding:0 0.2em;
  1493. background:rgba(255,255,255, 0.8);
  1494. .mdi.unflag{
  1495. cursor: pointer;
  1496. }
  1497. .tool.samples{
  1498. @include hover{
  1499. .tool-content{
  1500. max-width:140px;
  1501. }
  1502. }
  1503. }
  1504. }
  1505. }
  1506. &.linkedmaterialcard{
  1507. width:$linkedmaterialcard_width;
  1508. height:$linkedmaterialcard_height;
  1509. >header{
  1510. padding: 0.3em 0.3em 0.1em;
  1511. cursor: pointer;
  1512. h1{
  1513. margin:0;
  1514. font-size: 1em;
  1515. }
  1516. h4{
  1517. margin:0;
  1518. line-height: 1.1;
  1519. margin-bottom: -0.4em;
  1520. }
  1521. span.ref{
  1522. line-height: 0.5;
  1523. }
  1524. }
  1525. >nav.tools{
  1526. top: auto;
  1527. bottom: 0;
  1528. padding:0 0.2em;
  1529. background:transparent;
  1530. .mdi.unflag{
  1531. cursor: pointer;
  1532. }
  1533. }
  1534. }
  1535. // &.card-small{
  1536. // width:100px; height:140px;
  1537. // }
  1538. // focused
  1539. // box-shadow: 0 0 7px rgba(0,0,0,0.9);
  1540. // &.article{
  1541. // width: $column_width * 2 + $column_goutiere;
  1542. //
  1543. // }
  1544. header{
  1545. position: absolute;
  1546. bottom:0;
  1547. z-index:10;
  1548. color: #000;
  1549. background-color: rgba(255,255,255,0.8);
  1550. padding: 0.3em 0.3em;
  1551. box-sizing:border-box;
  1552. width:100%;
  1553. h1, h4{ margin:0; padding:0; }
  1554. h1{
  1555. font-size: 1.3em;
  1556. font-weight: 700;
  1557. line-height: 0.85;
  1558. margin-bottom: 0.2em;
  1559. }
  1560. h4{
  1561. font-size: 0.882em;
  1562. font-weight: 300;
  1563. line-height: 1.1;
  1564. margin-bottom: -0.2em;
  1565. }
  1566. span.ref{
  1567. font-size: 0.693em;
  1568. font-weight: 300;
  1569. line-height: 1;
  1570. }
  1571. }
  1572. &.card-thematique header{
  1573. background-color: $color-base-transparent;
  1574. }
  1575. $navtool_width: 15px;
  1576. nav.tools{
  1577. position: absolute;
  1578. top: 0;
  1579. right: 0;
  1580. z-index: 21;
  1581. width: $navtool_width;
  1582. background-color: #fff;
  1583. box-sizing: content-box;
  1584. padding: 0.3em 0.1em;
  1585. >*{
  1586. overflow: visible;
  1587. position: relative;
  1588. span.btn{
  1589. overflow: hidden;
  1590. font-size: 0.882em;
  1591. }
  1592. .tool-content{
  1593. position: absolute;
  1594. top: 0px;
  1595. right: 100%;
  1596. // width: 5em;
  1597. width: $column_width - $navtool_width - 10px;
  1598. box-sizing: border-box;
  1599. padding: 0;
  1600. background-color: #fff;
  1601. box-shadow: -2px 3px 8px rgba(0, 0, 0, 0.5);
  1602. opacity: 0;
  1603. max-height: 0; max-width:0;
  1604. overflow: hidden;
  1605. transition: all 0.2s ease-in-out;
  1606. transition-delay: 0.1s;
  1607. }
  1608. @include hover{
  1609. .tool-content{
  1610. transition: all 0.3s ease-in-out;
  1611. opacity: 1;
  1612. padding: 0.3em;
  1613. max-height: 195px;
  1614. max-width:200px;
  1615. }
  1616. }
  1617. }
  1618. @include col-mediaquery-max(3){
  1619. width:23px;
  1620. >*{
  1621. >span.btn, >a{
  1622. font-size:1.2em;
  1623. }
  1624. }
  1625. }
  1626. .tool.flags{
  1627. .tool-content{
  1628. ul{
  1629. display: flex;
  1630. flex-flow: row wrap;
  1631. li{
  1632. padding:0 0.5em 0 0;
  1633. }
  1634. }
  1635. }
  1636. span.flag{
  1637. cursor: pointer;
  1638. font-size: 0.756em;
  1639. color: #bbb;
  1640. transition: color 0.3s ease-in-out;
  1641. @include hover{
  1642. color:#1a1a1a;
  1643. }
  1644. &.isActive{
  1645. color:#1a1a1a;
  1646. }
  1647. }
  1648. li.create-flag{
  1649. margin-top: 0.2em;
  1650. padding:0;
  1651. input{
  1652. align-self: flex-end;
  1653. border: 1px solid #bbb;
  1654. border-radius:5px;
  1655. width: calc(100% - 2em);
  1656. font-size:0.8em;
  1657. }
  1658. span.add-btn{
  1659. align-self: flex-end;
  1660. color: #bbb;
  1661. font-size: 1em;
  1662. // padding: 0 0 0 .5em;
  1663. transition: all 0.2s ease-in-out;
  1664. &.active{
  1665. cursor: pointer;
  1666. color:#1a1a1a;
  1667. }
  1668. &.loading:before{
  1669. animation: rotating 2s linear infinite;
  1670. }
  1671. }
  1672. }
  1673. }
  1674. .tool.samples{
  1675. .tool-content{
  1676. font-size: 0.756em;
  1677. ul li{
  1678. font-weight: bold;
  1679. span.showroom{
  1680. font-weight: 400;
  1681. }
  1682. }
  1683. }
  1684. }
  1685. opacity: 0;
  1686. transition: opacity 0.2s ease-in-out;
  1687. }
  1688. @include hover{
  1689. nav.tools{
  1690. opacity:1;
  1691. }
  1692. }
  1693. section.images{
  1694. position: relative;
  1695. &, *{width: 100%; height:100%;}
  1696. figure{
  1697. cursor: pointer;
  1698. margin:0;
  1699. position: absolute;
  1700. top:0; left:0;
  1701. background-color: #fff;
  1702. // width: 100%; height:100%;
  1703. &:first-of-type{
  1704. z-index:5
  1705. }
  1706. transition: opacity 0.2s ease-in-out;
  1707. &.show{opacity: 1; z-index:6;}
  1708. &.hide{opacity: 0;}
  1709. img{
  1710. // width: 100%; height:100%;
  1711. &.blank{
  1712. position: absolute;
  1713. top:0; left:0;
  1714. z-index: 20;
  1715. }
  1716. }
  1717. }
  1718. }
  1719. // overwritnig card for card-medium (aka search-card)
  1720. &.search-card{
  1721. >header{
  1722. cursor: pointer;
  1723. }
  1724. }
  1725. // overwriting card for modal-card
  1726. &.modal-card{
  1727. display: flex;
  1728. flex-flow: row-reverse nowrap;
  1729. width: $modalcard_width;
  1730. height: $modalcard_height;
  1731. >.col{
  1732. flex-basis: 50%;
  1733. }
  1734. @include col-mediaquery-max(3, portrait){
  1735. flex-flow: column;
  1736. width: 100%;
  1737. height: 100%;
  1738. overflow-y: auto;
  1739. >.col-right{
  1740. flex:0 0 auto;
  1741. }
  1742. >.col-left{
  1743. flex:0 0 100%;
  1744. }
  1745. }
  1746. @include col-mediaquery-max(4, landscape){
  1747. // flex-flow: row-reverse ;
  1748. width: 100%;
  1749. height: 100%;
  1750. >.col-right{
  1751. height: 100%;
  1752. overflow-y: auto;
  1753. }
  1754. // >.col-left{
  1755. // flex:0 0 50%;
  1756. // }
  1757. }
  1758. section.col-right{
  1759. >*:not(nav.tools){
  1760. position: relative;
  1761. padding: 0.3em $navtool_width + 5px 0 0.5em;
  1762. box-sizing: border-box;
  1763. width: 100%;
  1764. }
  1765. >header{
  1766. bottom: auto;
  1767. }
  1768. span.label{
  1769. font-size: 0.693em;
  1770. font-weight: 500;
  1771. }
  1772. section.body{
  1773. p{
  1774. font-size: 0.693em;
  1775. font-weight: 300;
  1776. line-height: 1.35;
  1777. margin:0 0 0.3em;
  1778. }
  1779. }
  1780. .vsa-list{
  1781. padding:0;
  1782. border: none;
  1783. --vsa-heading-padding: 0 0;
  1784. --vsa-content-padding: 0 0 0.5em;
  1785. --vsa-default-icon-size: 0.3;
  1786. --vsa-border-width: 0;
  1787. --vsa-text-color: #{$color-main-text};
  1788. --vsa-highlight-color: #fff;
  1789. --vsa-bg-color: #fff;
  1790. .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 {
  1791. background-color: var(--vsa-text-color);
  1792. }
  1793. .vsa-item{
  1794. .vsa-item__heading{
  1795. button.vsa-item__trigger{
  1796. height:2em;
  1797. &:hover,
  1798. &:focus{
  1799. color: var(--vsa-text-color);
  1800. }
  1801. }
  1802. }
  1803. .vsa-item__content{}
  1804. &[data-vsa-active="false"]{
  1805. .vsa-item__heading{
  1806. padding-bottom: 0.2em;
  1807. margin-bottom: 0.2em;
  1808. border-bottom: 0.5px dotted $color-main-text;
  1809. }
  1810. }
  1811. }
  1812. }
  1813. section.linked-materials{
  1814. >ul{
  1815. display: flex;
  1816. flex-flow: row wrap;
  1817. justify-content: space-between;
  1818. >li{
  1819. flex-basis: 0 0 50%;
  1820. margin-bottom: 0.5em;
  1821. article.linkedmaterialcard{
  1822. }
  1823. }
  1824. }
  1825. }
  1826. nav.tools{
  1827. opacity: 1;
  1828. section.close{
  1829. span.btn.mdi-close{
  1830. cursor:pointer;
  1831. }
  1832. }
  1833. div.tool-content{
  1834. min-width: $column_width *2 - $navtool_width - 10px;
  1835. @include col-mediaquery-max(3){
  1836. min-width: 80vw;
  1837. }
  1838. }
  1839. }
  1840. section.tool.samples{
  1841. div.tool-content{
  1842. ul{
  1843. // display: flex;
  1844. // flex-flow: row wrap;
  1845. font-size: 0.756em;
  1846. font-weight: 300;
  1847. // line-height: 1.35;
  1848. li{
  1849. padding-right: 0.5em;
  1850. span.showroom{ font-weight: 500; }
  1851. }
  1852. }
  1853. }
  1854. }
  1855. section.tool.note{
  1856. @include hover{
  1857. div.tool-content{
  1858. max-height: 370px;
  1859. }
  1860. }
  1861. div.tool-content{
  1862. textarea,
  1863. textarea:focus,
  1864. textarea:focus-visible,
  1865. textarea:active{
  1866. resize:none;
  1867. width:99%;
  1868. height:350px;
  1869. margin:0;
  1870. padding:0.3em;
  1871. border:1px solid #ccc;
  1872. border-radius: 3px;
  1873. outline: none;
  1874. box-sizing: border-box;
  1875. }
  1876. }
  1877. }
  1878. // section.tool.industriels{
  1879. // div.tool-content{
  1880. // display: flex;
  1881. // flex-flow: row;
  1882. // >section{
  1883. // flex: 0 0 50%;
  1884. // h2{
  1885. // margin:0;
  1886. // font-size: 1em;
  1887. // line-height: 0.6;
  1888. // }
  1889. // p{
  1890. // margin: 0;
  1891. // font-size: 0.882em;
  1892. // }
  1893. // }
  1894. // }
  1895. // }
  1896. section.industriels{
  1897. display: flex;
  1898. flex-flow: row;
  1899. >section{
  1900. flex: 0 0 50%;
  1901. ul{
  1902. li{
  1903. padding:0.1em 0 .4em 0;
  1904. }
  1905. }
  1906. h2{
  1907. margin:0;
  1908. font-size: 1em;
  1909. line-height: 1;
  1910. }
  1911. p{
  1912. margin: 0;
  1913. font-size: 0.756em;
  1914. }
  1915. }
  1916. }
  1917. section.attachments{
  1918. a{
  1919. margin:0;
  1920. font-size: 0.882em;
  1921. line-height: 0.6;
  1922. span{
  1923. font-size: 0.8em
  1924. }
  1925. }
  1926. p{
  1927. margin: 0;
  1928. font-size: 0.882em;
  1929. }
  1930. }
  1931. }
  1932. }
  1933. }
  1934. .vm--modale-card{
  1935. position: relative;
  1936. }
  1937. // vuejs-modale hack as maxWidth and maxHeight does not work :(
  1938. @include col-mediaquery-min(3){
  1939. .vm--modale-card{
  1940. max-width: 850px;
  1941. max-height: 610px;
  1942. left: 50% !important;
  1943. top: 50% !important;
  1944. transform: translate(-50%, -50%) !important;
  1945. }
  1946. }
  1947. .vm--overlay{
  1948. background: rgba(0, 0, 0, 0.5)!important;
  1949. }
  1950. // _____ _ _ _
  1951. // |_ _| |_ ___ _ __ __ _| |_(_)__ _ _ _ ___
  1952. // | | | ' \/ -_) ' \/ _` | _| / _` | || / -_)
  1953. // |_| |_||_\___|_|_|_\__,_|\__|_\__, |\_,_\___|
  1954. // |_|
  1955. #main-content > article.thematique{
  1956. div.cols{
  1957. display: flex;
  1958. flex-direction: row;
  1959. flex-wrap: nowrap;
  1960. // @media only screen and (max-width: $small-bp) {
  1961. @include col-mediaquery-max(3){
  1962. flex-wrap: wrap;
  1963. }
  1964. // }
  1965. div.col-left{
  1966. padding: 0 $column_goutiere $column_goutiere 0;
  1967. flex: 0 0 $column_width * 2 + $column_goutiere;
  1968. }
  1969. div.col-right{}
  1970. }
  1971. div.col-left{
  1972. section.body{
  1973. background-color: $color-base;
  1974. padding: 0.5em 1em 1em;
  1975. }
  1976. section.visuel{
  1977. img{
  1978. width: 100%;
  1979. }
  1980. }
  1981. }
  1982. aside.linked-materials{
  1983. div.card-list{
  1984. >ul{
  1985. width:calc(100% + #{$column_goutiere});
  1986. >li{
  1987. display: inline-block;
  1988. vertical-align: top;
  1989. width:$column_width;
  1990. margin:0 $column_goutiere $column_goutiere 0;
  1991. }
  1992. }
  1993. }
  1994. h3.field__label{
  1995. font-size: 1em;
  1996. font-weight: 500;
  1997. margin: 2em 0 1em 0;
  1998. }
  1999. h1.title{
  2000. font-size: 1em;
  2001. font-weight: 400;
  2002. }
  2003. h3.ref{
  2004. font-size: 0.756em;
  2005. font-weight: 600;
  2006. }
  2007. h2.description{
  2008. font-size: 0.756em;
  2009. font-weight: 400;
  2010. }
  2011. }
  2012. }
  2013. // ___ _ _ _
  2014. // | _ ) |__ _| |__| |__ _
  2015. // | _ \ / _` | '_ \ / _` |
  2016. // |___/_\__,_|_.__/_\__,_|
  2017. #blabla{
  2018. }
  2019. #main-content > article.article{
  2020. // grid only on big screens
  2021. @include col-mediaquery-min(3){
  2022. div.cols{
  2023. display: grid;
  2024. grid-template-rows: 1fr;
  2025. grid-template-columns: repeat(6, 1fr);
  2026. grid-gap: 1em;
  2027. div.col-left{
  2028. grid-column: 1;
  2029. }
  2030. div.col-right{
  2031. grid-column: 2/6;
  2032. }
  2033. }
  2034. }
  2035. @include col-mediaquery-max(3){
  2036. div.cols{
  2037. padding:1em;
  2038. box-sizing: border-box;
  2039. .accroche{
  2040. figure{
  2041. width:100%;
  2042. }
  2043. }
  2044. }
  2045. }
  2046. section.accroche{
  2047. figure{
  2048. width:$column_width*2 + $column_goutiere;
  2049. margin:0 $column_goutiere 0 0;
  2050. img{
  2051. width:100%;
  2052. }
  2053. }
  2054. }
  2055. section.taxonomy{
  2056. margin:1em 0;
  2057. ul{
  2058. margin: 0;
  2059. }
  2060. li{
  2061. display:inline-block;
  2062. padding:0 0.5em 0 0;
  2063. }
  2064. }
  2065. div.gallery-wrapper{
  2066. .image{
  2067. display: inline-block;
  2068. width:$column_width;
  2069. margin:0 $column_goutiere $column_goutiere*0.6 0;
  2070. height:$card_height / 2;
  2071. background-size: cover;
  2072. }
  2073. @include col-mediaquery-max(3){
  2074. display: flex;
  2075. flex-flow: row wrap;
  2076. justify-content: space-between;
  2077. .image{
  2078. // width: auto; height: auto;
  2079. display: block;
  2080. flex: 0 1 48%;
  2081. margin: 0 0 $column_goutiere*0.6 0;
  2082. }
  2083. }
  2084. }
  2085. // section.videos{
  2086. // ul{
  2087. // margin:0; padding:0;
  2088. // li{
  2089. // margin:0; padding:0;
  2090. // display: inline-block;
  2091. // width:100%; overflow: hidden;
  2092. // }
  2093. // }
  2094. // }
  2095. // section.visuels{
  2096. // width:calc(100% + #{$column_goutiere});
  2097. // figure{
  2098. // position: relative;
  2099. // display: inline-block;
  2100. // vertical-align: top;
  2101. // width:$column_width*2 + $column_goutiere;
  2102. // margin:0 $column_goutiere $column_goutiere*0.6 0;
  2103. // img{
  2104. // width:100%;
  2105. // }
  2106. // caption{
  2107. // position: absolute; bottom: 0; left:0;
  2108. // box-sizing: border-box; width: 100%; padding:0.5em;
  2109. // background-color: $transparent-bg-blk; color: #fff;
  2110. // }
  2111. // }
  2112. // }
  2113. aside.linked-materials{
  2114. @include col-mediaquery-min(3){
  2115. ul{
  2116. width:calc(100% + #{$column_goutiere});
  2117. li{
  2118. display: inline-block;
  2119. vertical-align: top;
  2120. width:$column_width;
  2121. margin:0 $column_goutiere $column_goutiere 0;
  2122. }
  2123. }
  2124. }
  2125. h3.field__label{
  2126. font-size: 1em;
  2127. font-weight: 500;
  2128. margin: 2em 0 1em 0;
  2129. }
  2130. h1.title{
  2131. font-size: 1em;
  2132. font-weight: 400;
  2133. }
  2134. h3.ref{
  2135. font-size: 0.756em;
  2136. font-weight: 600;
  2137. }
  2138. h2.description{
  2139. font-size: 0.756em;
  2140. font-weight: 400;
  2141. }
  2142. }
  2143. nav.prevnext{
  2144. @include col-mediaquery-max(3){
  2145. padding: 0 1em;
  2146. }
  2147. &.bottom{
  2148. margin:2em 0;
  2149. }
  2150. ul{
  2151. padding:0;
  2152. margin:0;
  2153. display: grid;
  2154. grid-template-columns: 1fr 1fr;
  2155. }
  2156. li{
  2157. padding:0;
  2158. margin:0;
  2159. list-style: none;
  2160. a{
  2161. font-size: 0.756em;
  2162. font-weight: 700;
  2163. line-height: 1.3;
  2164. display: block;
  2165. position: relative;
  2166. padding: 0 1em;
  2167. }
  2168. &:nth-child(1){
  2169. grid-column: 1;
  2170. a:before{
  2171. content:'\021A4';
  2172. position: absolute;
  2173. left:0;
  2174. }
  2175. }
  2176. &:nth-child(2){
  2177. grid-column: 2;
  2178. text-align: right;
  2179. a:after{
  2180. content:'\021A6';
  2181. position: absolute;
  2182. right: 0;
  2183. }
  2184. }
  2185. }
  2186. }
  2187. }
  2188. // ___ _
  2189. // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
  2190. // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
  2191. // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
  2192. #showrooms{
  2193. width: calc(100% + #{$column_goutiere});
  2194. article.showroom{
  2195. width: $column_width * 2 + $column_goutiere;
  2196. display: inline-block;
  2197. vertical-align: top;
  2198. margin: 0 $column_goutiere $column_goutiere 0;
  2199. h1{
  2200. margin:0;
  2201. font-weight: 4;
  2202. }
  2203. p{ margin:0; }
  2204. figure{
  2205. margin:0;
  2206. img{
  2207. max-width: 100%;
  2208. }
  2209. }
  2210. }
  2211. }
  2212. // ___ _ _
  2213. // | _ \_ _(_)__(_)_ _ __ _
  2214. // | _/ '_| / _| | ' \/ _` |
  2215. // |_| |_| |_\__|_|_||_\__, |
  2216. // |___/
  2217. #main-content>#pricing,
  2218. #main-content .view-pricing-products .view-content{
  2219. display: flex;
  2220. flex-flow: row nowrap;
  2221. article.product,
  2222. .views-row{
  2223. flex:0 0 33%;
  2224. text-align: center;
  2225. padding: 2em 0;
  2226. >header{
  2227. padding-bottom: 1.3em;
  2228. }
  2229. >header h1,
  2230. .views-field-title{
  2231. font-size: 3.5em;
  2232. line-height: 0.6;
  2233. color: #fff;
  2234. text-align: center;
  2235. word-spacing: 30000px;
  2236. }
  2237. section.content, .views-field-body{
  2238. color: #fff;
  2239. .description{
  2240. font-size: 1em;
  2241. p{
  2242. margin: 0.3em;
  2243. }
  2244. }
  2245. }
  2246. aside{
  2247. // padding:1em 0;
  2248. .variation{
  2249. // display: flex;
  2250. // flex-flow: row nowrap;
  2251. // justify-content: center;
  2252. // align-items:stretch;
  2253. display: grid;
  2254. grid-template-columns: 50% 50%;
  2255. margin-top: 0.5em;
  2256. >*{
  2257. align-self: center;
  2258. }
  2259. div.variation-description{
  2260. // flex: 0 0 auto;
  2261. color: #fff;
  2262. text-align: right;
  2263. h4{
  2264. font-size: 1.5em;
  2265. font-weight: 800;
  2266. margin:0;
  2267. line-height: 1;
  2268. }
  2269. p{
  2270. margin:0;
  2271. line-height: 0.8;
  2272. }
  2273. }
  2274. div.actions{
  2275. text-align: left;
  2276. padding-left: 1em;
  2277. button{
  2278. @include btn;
  2279. background-color: #fff;
  2280. }
  2281. }
  2282. }
  2283. a.btn{
  2284. @include btn;
  2285. background-color: #fff;
  2286. }
  2287. }
  2288. &:nth-child(1){
  2289. background-color: $color-base;
  2290. aside .variation .actions button{
  2291. color: $color-base;
  2292. }
  2293. }
  2294. &:nth-child(2){
  2295. background-color: $color-webshowroom;
  2296. aside .variation .actions button{
  2297. color: $color-webshowroom;
  2298. }
  2299. }
  2300. &:nth-child(3){
  2301. background-color: $color-showrooms;
  2302. aside .variation .actions button,
  2303. a.btn{
  2304. color: $color-showrooms;
  2305. }
  2306. }
  2307. }
  2308. @include col-mediaquery-max(5){
  2309. flex-flow: column;
  2310. article.product,
  2311. .views-row{
  2312. flex:0 1 auto;
  2313. }
  2314. }
  2315. }
  2316. .modal{
  2317. position: relative;
  2318. }
  2319. // #pricing-modal-login-register{
  2320. // position: relative;
  2321. // width: 100%;
  2322. // text-align: left;
  2323. //
  2324. // .vm--modale-loginregister{
  2325. // }
  2326. #login-register{
  2327. padding: 1em;
  2328. box-sizing: content-box;
  2329. width: 100%;
  2330. h2{
  2331. margin: 0.4em 0 1.1em;
  2332. padding-right: 4em;
  2333. font-size: 1.2em;
  2334. font-weight: 300;
  2335. }
  2336. >div.wrapper{
  2337. display: flex;
  2338. flex-flow: row nowrap;
  2339. >section{
  2340. flex:0 0 50%;
  2341. form{
  2342. .form-item, .form-actions {
  2343. margin: 0.5em 0;
  2344. max-width: none;
  2345. }
  2346. .form-type-email,
  2347. .form-type-password,
  2348. .form-actions{
  2349. display:block;
  2350. }
  2351. input[type="email"],
  2352. input[type="password"]{
  2353. max-width: 11em;
  2354. }
  2355. &#user-login-form #edit-pass--description,
  2356. #edit-pass-pass1--description{
  2357. display: block;
  2358. max-width: 16em;
  2359. font-size: 0.693em;
  2360. }
  2361. span.login-message,
  2362. span.register-message{
  2363. color: red;
  2364. font-size: 0.693em;
  2365. line-height: 1.2;
  2366. display: block;
  2367. padding: 0.8em 0 0 0;
  2368. }
  2369. span.login-message[v-if="loginMessage"],
  2370. span.register-message[v-if="registerMessage"]{
  2371. display: none;
  2372. }
  2373. }
  2374. }
  2375. section.login{
  2376. form{
  2377. >div{
  2378. // display: block;
  2379. }
  2380. }
  2381. }
  2382. section.register{
  2383. }
  2384. @include col-mediaquery-max(3){
  2385. flex-flow: column;
  2386. >section{
  2387. flex:0 0 auto;
  2388. form{
  2389. input[type="email"],
  2390. input[type="password"]{
  2391. max-width: 90%;
  2392. width: 90%;
  2393. }
  2394. &#user-login-form #edit-pass--description,
  2395. #edit-pass-pass1--description{
  2396. max-width: 90%;
  2397. width: 90%;
  2398. }
  2399. }
  2400. &.login{
  2401. padding-bottom: 0.5em;
  2402. }
  2403. }
  2404. }
  2405. }
  2406. }
  2407. // @include col-mediaquery-max(3){
  2408. // height:100%;
  2409. // overflow-y: auto;
  2410. // #login-register{
  2411. // flex-flow: column;
  2412. // >section{
  2413. // flex:0 0 auto;
  2414. // form{
  2415. // input[type="email"],
  2416. // input[type="password"]{
  2417. // max-width: 90%;
  2418. // width: 90%;
  2419. // }
  2420. // &#user-login-form #edit-pass--description,
  2421. // #edit-pass-pass1--description{
  2422. // max-width: 90%;
  2423. // width: 90%;
  2424. // }
  2425. // }
  2426. // &.login{
  2427. // padding-bottom: 0.5em;
  2428. // }
  2429. // }
  2430. // }
  2431. // }
  2432. // @include col-mediaquery-max(4, landscape){
  2433. // h2{
  2434. // margin: 0 0 0.5em;
  2435. // }
  2436. // }
  2437. // }
  2438. #pricing{
  2439. @include col-mediaquery-max(3){
  2440. .overlay > .modal{
  2441. width:95%!important;
  2442. height:95%!important;
  2443. }
  2444. }
  2445. }
  2446. #main-content form.commerce-checkout-flow{
  2447. $w:3;
  2448. max-width: $column_width * $w + $column_goutiere * ($w - 1);
  2449. .layout-checkout-form{
  2450. display: flex;
  2451. flex-flow: column;
  2452. .layout-region-checkout-main{
  2453. // disable default style
  2454. width:100%;
  2455. float: none;
  2456. // apply custom style
  2457. order:2;
  2458. background-color: $color-webshowroom;
  2459. padding: 1em;
  2460. fieldset#edit-payment-information{
  2461. #edit-payment-information-add-payment-method{
  2462. // display: flex;
  2463. // flex-flow: column-reverse;
  2464. // #edit-payment-information-add-payment-method-payment-details{
  2465. // margin: 1em 0 0;
  2466. // }
  2467. }
  2468. }
  2469. label,
  2470. legend,
  2471. .description,
  2472. fieldset#edit-review-contact-information,
  2473. fieldset#edit-review-payment-information{
  2474. color: #fff;
  2475. }
  2476. fieldset{
  2477. border:none;
  2478. margin:0; padding:0;
  2479. legend{
  2480. font-size: 1.5em;
  2481. font-weight: 600;
  2482. margin-bottom: 0.5em;
  2483. }
  2484. }
  2485. $lw:10em;
  2486. .form-item{
  2487. margin:0 0 0.5em 0;
  2488. }
  2489. label{
  2490. display: inline-block;
  2491. font-weight: bold;
  2492. min-width: $lw;
  2493. }
  2494. input[type="text"]{
  2495. width:20em;
  2496. }
  2497. .stripe-form{
  2498. display: inline-block;
  2499. background-color: #fff;
  2500. color: #1A1A1A;
  2501. border-radius: 5px;
  2502. padding: 1em;
  2503. margin: 0 0 1em;
  2504. .form-item{
  2505. display: flex;
  2506. align-items: center;
  2507. flex-flow: row nowrap;
  2508. label{
  2509. color: #777;
  2510. }
  2511. .form-text{
  2512. background-color: #fff;
  2513. border-radius: 3px;
  2514. }
  2515. }
  2516. }
  2517. // .form-item-payment-information-billing-information-address-0-address-address-line2
  2518. .form-item-payment-information-add-payment-method-billing-information-address-0-address-address-line2{
  2519. padding-left:$lw + 0.25em;
  2520. }
  2521. // .form-item-payment-information-billing-information-copy-to-address-book
  2522. .form-item-payment-information-add-payment-method-billing-information-copy-to-address-book{
  2523. display: none;
  2524. }
  2525. }
  2526. .layout-region-checkout-secondary{
  2527. // disable default style
  2528. width:100%;
  2529. float: none;
  2530. // apply custom style
  2531. order: 1;
  2532. // display: flex;
  2533. // flex-flow: row nowrap;
  2534. // >.checkout-pane{
  2535. // flex: 0 0 50%;
  2536. // }
  2537. >h3{display:none;}
  2538. #edit-order-summary{
  2539. background-color: $color-base;
  2540. color:#fff;
  2541. padding:1em;
  2542. .view-commerce-checkout-order-summary{
  2543. display: flex;
  2544. flex-flow: row nowrap;
  2545. justify-content: space-between;
  2546. align-items: flex-end;
  2547. }
  2548. .field--name-product-id{
  2549. .field--name-title{
  2550. font-size: 2.5em;
  2551. font-weight: 800;
  2552. }
  2553. .field--name-body{
  2554. }
  2555. }
  2556. .field--name-title{
  2557. font-size: 1.5em;
  2558. font-weight: 600;
  2559. }
  2560. p{
  2561. margin:0;
  2562. }
  2563. }
  2564. #edit-coupon-redemption{
  2565. background-color: $color-showrooms;
  2566. padding:1em;
  2567. >.form-wrapper{
  2568. display: flex;
  2569. flex-flow: row;
  2570. align-items: center;
  2571. .form-item{
  2572. margin:0 0.5em 0 0;
  2573. label{
  2574. color: #fff;
  2575. font-size: 1.5em;
  2576. font-weight: 600;
  2577. margin-right: 0.5em;
  2578. }
  2579. input[type="text"]{
  2580. width: 7em;
  2581. }
  2582. }
  2583. input[type="submit"]{
  2584. background-color: #fff;
  2585. color: $color-showrooms;
  2586. border: none;
  2587. margin:0;
  2588. padding:0.1em 0.7em;
  2589. box-sizing: content-box;
  2590. height:2em;
  2591. font-weight: 800;
  2592. border-radius: 5px;
  2593. }
  2594. }
  2595. }
  2596. }
  2597. .layout-region-checkout-footer{
  2598. // disable default style
  2599. float: none;
  2600. width: 100%;
  2601. padding: 0;
  2602. // apply custom style
  2603. order: 3;
  2604. #edit-actions{
  2605. text-align: right;
  2606. }
  2607. input#edit-actions-next{
  2608. background-color: $color-blabla;
  2609. color: #fff;
  2610. border: none;
  2611. border-radius: 5px;
  2612. padding: 0.2em 0.4em 0.3em;
  2613. font-weight: 600;
  2614. font-size: 1.323em;
  2615. }
  2616. }
  2617. #edit-completion-message{
  2618. p.welcom{
  2619. font-size: 1.512em;
  2620. }
  2621. p.base{
  2622. a{
  2623. // @include btn;
  2624. // background-color: $color-base;
  2625. // color: #fff;
  2626. // font-size: 1.134em;
  2627. }
  2628. }
  2629. p.order{
  2630. }
  2631. }
  2632. #edit-order-summary{
  2633. background-color: $color-showrooms;
  2634. padding:1em;
  2635. }
  2636. .form-item-materio-commerce-agree-nominative-nominative-terms{
  2637. label{
  2638. max-width: 95%;
  2639. vertical-align: top;
  2640. }
  2641. }
  2642. }
  2643. }
  2644. form#user-pass{
  2645. input.form-email{
  2646. max-width: 95%;
  2647. }
  2648. }
  2649. #member-warning{
  2650. padding: 2em 4em;
  2651. text-align: center;
  2652. h2{
  2653. }
  2654. p{
  2655. }
  2656. a{
  2657. @include btn;
  2658. background-color: $color-webshowroom;
  2659. color: #fff;
  2660. }
  2661. }
  2662. #webform-submission-multi-joueur-add-form{
  2663. $w:3;
  2664. max-width: $column_width * $w + $column_goutiere * ($w - 1);
  2665. .form-item{
  2666. margin:0.5em 0;
  2667. }
  2668. $lw:10em;
  2669. label{
  2670. display: inline-block;
  2671. width:$lw;
  2672. color: #fff;
  2673. }
  2674. .webform-element-description{
  2675. color:#fff;
  2676. }
  2677. .form-item{
  2678. position: relative;
  2679. box-sizing: border-box;
  2680. }
  2681. .form-item.form-no-label input[type="text"]{
  2682. margin-left: $lw*1.04;
  2683. }
  2684. input[type="text"],
  2685. input[type="tel"],
  2686. input[type="email"]{
  2687. width: calc(95% - #{$lw});
  2688. }
  2689. input[type="submit"]{
  2690. @include btn;
  2691. }
  2692. .address--wrapper{
  2693. background-color: $color-webshowroom;
  2694. margin:0;
  2695. padding: 1em 1em 0;
  2696. }
  2697. .form-item-vat-number{
  2698. background-color: $color-webshowroom;
  2699. margin:0;
  2700. padding: 1em 1em 0.6em;
  2701. }
  2702. .form-item-phone{
  2703. background-color: $color-webshowroom;
  2704. margin:0;
  2705. padding: 0 1em 1em;
  2706. }
  2707. .js-form-item-email{
  2708. background-color: $color-webshowroom;
  2709. margin:0;
  2710. padding: 0 1em 1em;
  2711. }
  2712. .webform-type-webform-email-confirm{
  2713. background-color: $color-webshowroom;
  2714. margin:0;
  2715. padding: 0 1em 1em;
  2716. label{
  2717. width: 15em;
  2718. }
  2719. input[type="email"]{
  2720. width: calc(95% - 15em);
  2721. }
  2722. }
  2723. .form-item-collaborateur{
  2724. background-color: $color-base;
  2725. margin:0;
  2726. padding: 1em;
  2727. input[type="image"]{
  2728. background-color: #fff;
  2729. }
  2730. input[type="submit"]{
  2731. background-color: #fff;
  2732. color: $color-base;
  2733. }
  2734. }
  2735. .form-item-commentaires{
  2736. background-color: $color-blabla;
  2737. margin:0;
  2738. padding:1em;
  2739. }
  2740. #edit-actions{
  2741. // background-color: $color-showrooms;
  2742. // margin:0;
  2743. // padding: 1em;
  2744. text-align: right;
  2745. input[type="submit"]{
  2746. background-color: $color-blabla;
  2747. color: #fff;
  2748. }
  2749. }
  2750. }
  2751. form#get-email {
  2752. padding:1em;
  2753. width:100%;
  2754. box-sizing: border-box;
  2755. max-width: 450px;
  2756. input[type="email"]{
  2757. max-width: 95%;
  2758. }
  2759. div#edit-actions{
  2760. text-align: right;
  2761. }
  2762. input[type="submit"]{
  2763. @include btn;
  2764. background-color: $color-base;
  2765. color: #fff;
  2766. margin: 0;
  2767. }
  2768. }
  2769. // ___ _
  2770. // | __|__ ___| |_ ___ _ _
  2771. // | _/ _ \/ _ \ _/ -_) '_|
  2772. // |_|\___/\___/\__\___|_|
  2773. footer[role="contentinfo"]{
  2774. // body:not(.path-home) & {
  2775. // display:none;
  2776. // }
  2777. body.path-base & {
  2778. display: none;
  2779. }
  2780. >.wrapper{
  2781. display:flex;
  2782. flex-flow: row nowrap;
  2783. >div{
  2784. flex: 1 1 auto;
  2785. align-self: center;
  2786. }
  2787. }
  2788. #footer-left{
  2789. // !! OLD
  2790. #block-materiosimplenewssubscription{
  2791. form{
  2792. display: flex;
  2793. flex-flow: row nowrap;
  2794. align-items: center;
  2795. font-size: 0.756em;
  2796. >*{
  2797. margin-right: 0.5em;
  2798. }
  2799. .form-item,
  2800. .form-actions{
  2801. margin-top: 0.3em;
  2802. margin-bottom: 0.3em;
  2803. }
  2804. #edit-subscriptions{
  2805. display: flex;
  2806. flex-flow: row nowrap;
  2807. >*{
  2808. margin-right: 0.5em;
  2809. display: flex;
  2810. flex-flow: row nowrap;
  2811. align-items: center;
  2812. }
  2813. input{
  2814. margin-right: 0.3em;
  2815. }
  2816. }
  2817. #edit-mail-wrapper{
  2818. input[type="email"]{
  2819. width:10em;
  2820. }
  2821. }
  2822. #edit-actions--2{
  2823. input[type="submit"]{
  2824. border: none;
  2825. background: none;
  2826. background-color: $color-base;
  2827. border-radius: 5px;
  2828. color: #fff;
  2829. padding: 0.45em 1em;
  2830. font-weight: 700;
  2831. }
  2832. }
  2833. }
  2834. }
  2835. #block-simplenewssubscription{
  2836. display: flex;
  2837. flex-flow: row nowrap;
  2838. align-items: center;
  2839. font-size: 0.756em;
  2840. >*{
  2841. margin: 0;
  2842. margin-right: 0.5em;
  2843. }
  2844. h2{ font-size: inherit;}
  2845. form{
  2846. display: flex;
  2847. flex-flow: row nowrap;
  2848. align-items: center;
  2849. >*{
  2850. margin-right: 0.5em;
  2851. }
  2852. .form-item,
  2853. .form-actions{
  2854. margin-top: 0.3em;
  2855. margin-bottom: 0.3em;
  2856. }
  2857. #edit-subscriptions-wrapper{
  2858. display: none;
  2859. }
  2860. #edit-mail-wrapper{
  2861. .description{
  2862. display: none;
  2863. }
  2864. }
  2865. }
  2866. }
  2867. }
  2868. #footer-middle{
  2869. }
  2870. #footer-right{
  2871. text-align: right;
  2872. font-size: 0.756em;
  2873. // nav.block-menu.menu--footer{
  2874. // display: inline-block;
  2875. // font-size: 0.756em;
  2876. // ul.menu{
  2877. // padding:0; margin:0;
  2878. // display: flex;
  2879. // flex-flow: row nowrap;
  2880. // li.menu-item{
  2881. // padding: 0.5em;
  2882. // }
  2883. // }
  2884. // }
  2885. }
  2886. }
  2887. .eu-cookie-compliance-banner{
  2888. .popup-content{
  2889. display: flex;
  2890. flex-flow: row nowrap;
  2891. font-size: 00.756em;
  2892. padding: 0.3em 0;
  2893. & > *{
  2894. flex: 1 1 auto;
  2895. margin:0;
  2896. align-self: center;
  2897. max-width: 70%;
  2898. }
  2899. button{
  2900. margin:0;
  2901. }
  2902. #popup-buttons{
  2903. text-align: right;
  2904. }
  2905. }
  2906. }
  2907. img.lazy{
  2908. &.loading{
  2909. // background-color: red;
  2910. }
  2911. }
  2912. #better-messages-default{
  2913. max-width: 90%;
  2914. }
  2915. #auth_box #user-login-form{
  2916. span.login-message{
  2917. display: none;
  2918. }
  2919. input[type="email"],
  2920. input[type="password"]{
  2921. max-width: 95%;
  2922. }
  2923. }
  2924. form#user-form {
  2925. max-width: 800px;
  2926. label {
  2927. display: inline-block;
  2928. width: 14em;
  2929. font-weight: bold;
  2930. }
  2931. input{
  2932. width: 16em;
  2933. }
  2934. .description{
  2935. padding: 1em 0;
  2936. max-width: 35em;
  2937. }
  2938. details{
  2939. border: none;
  2940. }
  2941. .form-item-pass-pass2{
  2942. margin-top: 1em;
  2943. }
  2944. .js-password-confirm-message{
  2945. padding-top: 0.5em;
  2946. }
  2947. .password-strength{
  2948. padding-top: 0.5em;
  2949. width: 30em;
  2950. display: flex;
  2951. flex-flow: row-reverse;
  2952. >div{
  2953. flex: 0 0 50%;
  2954. }
  2955. }
  2956. }