main.scss 59 KB

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