main.scss 53 KB

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