main.scss 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694
  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. }
  541. @include col-mediaquery-max(3){
  542. body.path-frontpage &, body.path-home & {
  543. display: none;
  544. }
  545. padding: 1em 0 0;
  546. body.path-base &{
  547. h2{
  548. padding: 0.5em 1em 0!important;
  549. }
  550. }
  551. }
  552. @include col-mediaquery-max(4, landscape){
  553. padding:0 0 1em;
  554. h2{
  555. body:not(.path-home) & {
  556. padding:0 0.6em 0.1em;
  557. }
  558. }
  559. }
  560. }
  561. #block-materiosapisearchblock{
  562. // float:right;
  563. // display:inline-block;
  564. // box-shadow: 0 0 5px rgba(0,0,0,0.2);
  565. padding:0;
  566. #materio-sapi-search-form{
  567. display: grid;
  568. grid-template-columns: auto 25px;
  569. grid-template-rows: auto auto;
  570. row-gap: 0.2em;
  571. justify-items: stretch;
  572. .form-item, input.button{
  573. display: inline-block;
  574. margin: 0;
  575. }
  576. .form-item-search{
  577. grid-row: 1 / 1;
  578. grid-column: 1 / 1;
  579. position: relative;
  580. #edit-search{
  581. border:1px #BBB solid;
  582. border-radius: 14px;
  583. padding:0.3em;
  584. color:#666;
  585. width: 100%;
  586. box-sizing: border-box;
  587. }
  588. }
  589. fieldset#edit-filters{
  590. grid-row: 2 / 2;
  591. grid-column: 1 / span 2;
  592. border: none;
  593. padding: 0;
  594. >legend{
  595. line-height: 0.6;
  596. padding-bottom: 0.2em;
  597. width: 100%;
  598. text-align: right;
  599. span{
  600. cursor: pointer;
  601. font-size: 0.756em;
  602. color: #8f8f8f;
  603. }
  604. }
  605. > div.fieldset-wrapper{
  606. height: 0;
  607. overflow: hidden;
  608. }
  609. &.open >div.fieldset-wrapper{
  610. height: auto;
  611. overflow: visible;
  612. }
  613. .ss-main{
  614. font-size: 0.756em;
  615. .ss-single-selected{
  616. border-radius: 0.7em;
  617. &.ss-open-below{
  618. border-radius: 0.7em 0.7em 0 0.7em;
  619. }
  620. height:1.5em;
  621. border: none;
  622. padding: 0 0.5em;
  623. background-color: #eeeaea;
  624. span.placeholder{
  625. color: $color-main-text;
  626. line-height: 1;
  627. span.ss-disabled{
  628. color: #8f8f8f;
  629. }
  630. }
  631. span.ss-arrow span{
  632. border-color: #b1adad;
  633. }
  634. }
  635. .ss-content{
  636. width:auto;
  637. border: none;
  638. border-radius: 0.7em 0 0.7em 0.7em;
  639. &.ss-open{
  640. box-shadow: 0 0 10px #ccc;
  641. }
  642. right: 0;
  643. .ss-list{
  644. max-height: none;
  645. .ss-option{
  646. white-space: nowrap;
  647. text-align: right;
  648. }
  649. }
  650. }
  651. }
  652. }
  653. .button.form-submit{
  654. grid-row: 1 / 1;
  655. grid-column: 2 / 2;
  656. justify-self: end;
  657. align-self: center;
  658. border:0;
  659. text-indent: 50px;
  660. overflow: hidden;
  661. width:20px; height:20px;
  662. margin:0;
  663. // border-radius: 7px;
  664. background-image: url('../img/search.svg');
  665. background-position: center;
  666. background-repeat: no-repeat;
  667. background-size: contain;
  668. background-color: transparent
  669. }
  670. }
  671. @include col-mediaquery-max(3){
  672. body:not(.path-base) &{
  673. display: none;
  674. }
  675. padding: 0 1em 1em;
  676. background-color: $color-base;
  677. }
  678. }
  679. }
  680. // main
  681. aside.messages{
  682. padding: 0;
  683. }
  684. // content top
  685. // #content-top{
  686. // &:after{
  687. // content:"";
  688. // clear:both;
  689. // display: block;
  690. // }
  691. // }
  692. // ___ _ _ _ __ _
  693. // / __|___ _ _| |_ ___ _ _| |_ ___| | ___ / _| |_
  694. // | (__/ _ \ ' \ _/ -_) ' \ _|___| |__/ -_) _| _|
  695. // \___\___/_||_\__\___|_||_\__| |____\___|_| \__|
  696. #content-left{
  697. z-index: 5;
  698. box-sizing: content-box;
  699. max-width:1px;
  700. overflow-x: hidden;
  701. transition: all 0.3s ease-in-out;
  702. &.opened{
  703. max-width: 500px;
  704. padding: 0.3em;
  705. }
  706. >*{
  707. box-sizing: border-box;
  708. background-color: #fff;
  709. box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
  710. padding: 0.5em;
  711. }
  712. .flag-collection{
  713. >header{
  714. display: flex;
  715. flex-direction: row;
  716. justify-content: space-between;
  717. padding-bottom: $column_goutiere;
  718. h3{
  719. // flex-basis: calc(100% - 1em);
  720. }
  721. .mdi-close{
  722. // display: block;
  723. // flex-basis: 1em;
  724. cursor:pointer;
  725. align-self: flex-end;
  726. }
  727. }
  728. >ul{
  729. @include col-mediaquery-max(2){
  730. display:flex;
  731. flex-direction: row;
  732. flex-wrap: wrap;
  733. justify-content: space-between;
  734. }
  735. >li{
  736. margin:0 0 $column_goutiere 0;
  737. padding:0;
  738. article.card.minicard{
  739. width:$minicard_width;
  740. height:$minicard_height;
  741. margin:auto;
  742. >header{
  743. padding: 0.3em 0.3em 0.1em;
  744. h1{
  745. margin:0;
  746. }
  747. }
  748. >nav.tools{
  749. // top: auto;
  750. // bottom: 0;
  751. padding:0 0.2em;
  752. // background:transparent;
  753. .mdi.unflag{
  754. cursor: pointer;
  755. }
  756. .tool.samples{
  757. .tool-content{
  758. }
  759. }
  760. }
  761. }
  762. }
  763. }
  764. }
  765. }
  766. // __ _
  767. // / _|_ _ ___ _ _| |_
  768. // | _| '_/ _ \ ' \ _|
  769. // |_| |_| \___/_||_\__|
  770. @mixin btn{
  771. display: inline-block;
  772. font-size: 0.9em;
  773. font-weight: bold;
  774. padding: 0.7em 1em;
  775. margin-bottom: 0.3em;
  776. background-color: #fff;
  777. color: #000;
  778. border-radius: 5px;
  779. border: none;
  780. }
  781. article.node--type-frontpage{
  782. %front-col-field__label{
  783. font-size: 3.5em;
  784. line-height: 1;
  785. @include col-mediaquery-max(3){
  786. font-size: 2em;
  787. }
  788. }
  789. %front-col-description{
  790. font-size: 0.9em;
  791. line-height: 1.3;
  792. }
  793. %part-centered-layout{
  794. padding:1.5em 0;
  795. background-color: #fff;
  796. >div:nth-child(1){
  797. width:80%;
  798. margin: 0 auto;
  799. text-align: center;
  800. @include col-mediaquery-max(3){
  801. width:auto;
  802. padding:0 1em;
  803. text-align: left;
  804. }
  805. .field__label{
  806. @extend %front-col-field__label;
  807. }
  808. .field__item{
  809. @extend %front-col-description;
  810. }
  811. }
  812. }
  813. // %part-columned-layout{
  814. // display:grid;
  815. // grid-template-columns: 300px 1fr;
  816. // grid-column-gap: 2em;
  817. // padding:2em 1em;
  818. // >div:nth-child(1){
  819. // color: #fff;
  820. // grid-column: 1;
  821. // .field__label{
  822. // @extend %front-col-field__label;
  823. // }
  824. // .field__item{
  825. // @extend %front-col-description;
  826. // }
  827. // }
  828. // >div:nth-child(2){
  829. // grid-column: 2;
  830. // }
  831. // }
  832. %part-columned-layout{
  833. display:flex;
  834. flex-direction: row;
  835. flex-wrap: nowrap;
  836. >div:nth-child(1){
  837. flex: 0 0 $column_width * 2 + $column_goutiere;
  838. box-sizing: border-box;
  839. padding: 1em;
  840. color: #fff;
  841. .field__label{
  842. @extend %front-col-field__label;
  843. }
  844. .field__item{
  845. @extend %front-col-description;
  846. }
  847. }
  848. >div:nth-child(2){
  849. flex: 1 1 auto;
  850. box-sizing: border-box;
  851. padding: 1em 0.5em;
  852. }
  853. @include col-mediaquery-max(3){
  854. flex-direction: column;
  855. >div:nth-child(1){
  856. flex: 0 0 auto;
  857. // box-sizing: border-box;
  858. // padding: 1em;
  859. }
  860. >div:nth-child(2){
  861. // flex: 1 1 auto;
  862. // box-sizing: border-box;
  863. // padding: 1em 0.5em;
  864. }
  865. }
  866. }
  867. >h2{
  868. display: none;
  869. }
  870. .node__content{
  871. &>section{
  872. &.home-intro{
  873. @extend %part-centered-layout;
  874. .field__item{
  875. display: flex;
  876. flex-flow: row nowrap;
  877. justify-content: center;
  878. p{
  879. flex: 0 0 35%;
  880. max-width: $column_width * 2;
  881. padding:1em;
  882. box-sizing: border-box;
  883. }
  884. @include col-mediaquery-max(3){
  885. display: none;
  886. }
  887. }
  888. }
  889. &.home-database{
  890. background-color: $color-base;
  891. @extend %part-columned-layout;
  892. .field--name-field-a-database{
  893. // .field__label{
  894. // cursor: pointer;
  895. // }
  896. }
  897. .field--name-field-database-links{
  898. .field__item{
  899. display: inline-block;
  900. a{
  901. @include btn;
  902. background-color: #fff;
  903. color: $color-base;
  904. }
  905. }
  906. }
  907. .cards-list-home{
  908. position: relative;
  909. // max-height: (130px*1.4)*3;
  910. max-height: 580px;
  911. overflow-y: hidden;
  912. ul{
  913. width:100%;
  914. margin:0; padding:0;
  915. // display: grid;
  916. // grid-template-columns: repeat(auto-fill, minmax(50px, 130px));
  917. // grid-template-rows: 1fr;
  918. // grid-gap: 1em;
  919. // justify-content:start;
  920. display: flex;
  921. flex-flow: row wrap;
  922. justify-content: space-between;
  923. @include col-mediaquery-max(3){
  924. justify-content: space-around;
  925. }
  926. li{
  927. padding:0 0 $column_goutiere / 2 0;
  928. box-sizing: border-box;
  929. // padding-top: 140%;
  930. width: $column_width / 2;
  931. height: $card_height / 2;
  932. position: relative;
  933. list-style: none;
  934. margin:0;
  935. .card{
  936. // position:absolute;
  937. // top:0; bottom:0;
  938. // left:0; right:0;
  939. width: 100%;
  940. height: 100%;
  941. .field--name-field-short-description{
  942. font-size: 0.656em;
  943. line-height: 1.2;
  944. }
  945. }
  946. }
  947. }
  948. }
  949. }
  950. &.home-showrooms{
  951. background-color: $color-showrooms;
  952. @extend %part-columned-layout;
  953. .field--name-field-showrooms{}
  954. .field--name-field-showroom-links{
  955. .field__item{
  956. display: inline-block;
  957. a{
  958. @include btn;
  959. background-color: #fff;
  960. color: $color-showrooms;
  961. }
  962. }
  963. }
  964. .field--name-computed-showrooms-reference{
  965. overflow: hidden;
  966. position:relative;
  967. // height:550px;
  968. display: grid;
  969. grid-template-rows: 1fr;
  970. $bp: ($column_width + $column_goutiere )*7;
  971. @media only screen and (max-width: $bp){
  972. grid-template-columns: 1fr;
  973. >.field__item{
  974. grid-column: 1;
  975. }
  976. }
  977. @media only screen and (min-width: $bp + 1px){
  978. grid-template-columns: 1fr 1fr;
  979. grid-gap: 1em;
  980. >.field__item:nth-child(odd){
  981. grid-column: 1;
  982. }
  983. >.field__item:nth-child(even){
  984. grid-column: 2;
  985. }
  986. }
  987. >.field__item{
  988. grid-row: 1;
  989. // position: absolute;
  990. // top:0; left:0;
  991. // width:100%; height:100%;
  992. // overflow: hidden;
  993. opacity: 0;
  994. // transform: translateX(100%);
  995. transition: all 2s ease-out;
  996. &.active{
  997. opacity: 1;
  998. // transform: translateX(0);
  999. // transition: all 0.3s ease-in-out;
  1000. }
  1001. .taxonomy-term{
  1002. position: relative;
  1003. width:100%; height:100%;
  1004. div.visuel{
  1005. width:100%;
  1006. padding-bottom: 5em;
  1007. img{
  1008. max-width: 100%;
  1009. height: auto;
  1010. }
  1011. }
  1012. section.text{
  1013. position: absolute;
  1014. bottom:0; left:0;
  1015. width:100%;
  1016. box-sizing:border-box;
  1017. padding:1em 0 0;
  1018. background-color:$color-showrooms;
  1019. color: #fff;
  1020. // >*{
  1021. // // display: inline-block;
  1022. // font-size: 0.9em;
  1023. // }
  1024. h2,p{
  1025. margin:0;
  1026. }
  1027. h2{
  1028. font-size: 2em;
  1029. }
  1030. .field--name-field-public-address{
  1031. br{
  1032. display:none;
  1033. }
  1034. span:not(:nth-last-of-type(1)) {
  1035. margin-right: 0.4em;
  1036. &:after{
  1037. padding-left: 0.5em;
  1038. content:"⋅"
  1039. }
  1040. }
  1041. }
  1042. .field--name-field-public-phone {
  1043. display: inline-block;
  1044. margin-right: 0.4em;
  1045. &:after{
  1046. padding-left: 0.5em;
  1047. content:"⋅"
  1048. }
  1049. }
  1050. .field--name-field-public-email {
  1051. display: inline-block;
  1052. }
  1053. }
  1054. }
  1055. }
  1056. }
  1057. }
  1058. &.home-blabla{
  1059. background-color: $color-blabla;
  1060. @extend %part-columned-layout;
  1061. .field--name-field-blabla-links{
  1062. .field__item{
  1063. display: inline-block;
  1064. a{
  1065. @include btn;
  1066. background-color: #fff;
  1067. color: $color-blabla;
  1068. }
  1069. }
  1070. }
  1071. .cards-list-home{
  1072. position: relative;
  1073. $bp: ($column_width*2 + $column_goutiere );
  1074. overflow-y: hidden;
  1075. max-height: 315px;
  1076. // @media only screen and (max-width: $bp * 6){
  1077. // max-height: 630px;
  1078. // }
  1079. // @media only screen and (min-width: ($bp * 6) + 1px){
  1080. // max-height: 310px;
  1081. // }
  1082. ul{
  1083. width:100%;
  1084. margin:0; padding:0;
  1085. // display: grid;
  1086. // grid-template-columns: repeat(auto-fill, minmax(80px, $column_width*2));
  1087. // // grid-template-rows: 1fr;
  1088. // grid-gap: 1em;
  1089. // justify-content:start;
  1090. display: flex;
  1091. flex-flow: row wrap;
  1092. justify-content: space-between;
  1093. li{
  1094. padding:0 0 $column_goutiere 0;
  1095. box-sizing: border-box;
  1096. // padding-top: 140%;
  1097. width: $column_width;
  1098. // height: $card_height / 2;
  1099. position: relative;
  1100. list-style: none;
  1101. margin:0;
  1102. // padding-top: 67.8%;
  1103. overflow: hidden;
  1104. .card{
  1105. // position:absolute;
  1106. // top:0; bottom:0;
  1107. // left:0; right:0;
  1108. width: 100%;
  1109. height: auto;
  1110. .field--name-title{
  1111. font-size: 0.756em;
  1112. line-height: 0.9;
  1113. }
  1114. }
  1115. }
  1116. }
  1117. @include col-mediaquery-max(3){
  1118. max-height: 386px;
  1119. ul{
  1120. justify-content: space-around;
  1121. li{
  1122. flex: 0 3 45%;
  1123. }
  1124. }
  1125. }
  1126. }
  1127. }
  1128. &.home-pricing{
  1129. @extend %part-centered-layout;
  1130. >h3{
  1131. @extend %front-col-field__label;
  1132. text-align: center;
  1133. text-transform: capitalize;
  1134. padding: 0.7em 0 0.3em 0;
  1135. @include col-mediaquery-max(3){
  1136. text-align: left;
  1137. padding: 0 0.4em;
  1138. }
  1139. }
  1140. .field--name-field-pricing-pitch{
  1141. text-align: center;
  1142. p{ margin:0;}
  1143. @include col-mediaquery-max(3){
  1144. text-align: left;
  1145. p{ padding: 0.5em 1em; }
  1146. }
  1147. }
  1148. .field--name-field-pricing{
  1149. // padding:2em 0;
  1150. display: flex;
  1151. flex-flow: row nowrap;
  1152. justify-content: center;
  1153. padding-bottom: 1em;
  1154. p{
  1155. flex: 0 0 $column_width * 2;
  1156. padding: 1em;
  1157. margin: 0;
  1158. text-align: center;
  1159. }
  1160. @include col-mediaquery-max(3){
  1161. flex-flow: column;
  1162. justify-content: flex-start;
  1163. p{
  1164. flex: 0 0 auto;
  1165. text-align: left;
  1166. padding: 0 1em 0.5em;
  1167. }
  1168. }
  1169. }
  1170. .field--name-computed-products-reference{
  1171. display: flex;
  1172. flex-flow: row nowrap;
  1173. @include col-mediaquery-max(5){
  1174. flex-flow: column;
  1175. justify-content: flex-start;
  1176. }
  1177. >.field__item{
  1178. flex:0 0 33%;
  1179. text-align: center;
  1180. padding: 2em 0;
  1181. color: #fff;
  1182. position: relative;
  1183. height:23em;
  1184. >article{
  1185. position: absolute;
  1186. top:50%; left:50%;
  1187. transform: translate(-50%, -50%);
  1188. width:80%;
  1189. }
  1190. .field--name-title{
  1191. @extend %front-col-field__label;
  1192. font-weight: 600;
  1193. line-height: 0.7;
  1194. padding-bottom: 0.1em;
  1195. text-align: center;
  1196. word-spacing: 30000px;
  1197. }
  1198. .field--name-body{
  1199. @extend %front-col-description;
  1200. padding:0.5em;
  1201. p{
  1202. margin: 0;
  1203. }
  1204. }
  1205. .field--name-variations{
  1206. .field__item{
  1207. >div{
  1208. display: flex;
  1209. flex-direction: row;
  1210. justify-content: center;
  1211. align-items: baseline;
  1212. .form-actions,p{
  1213. margin:0;
  1214. }
  1215. .field--name-field-description{
  1216. margin-right: 0.5em;
  1217. p{
  1218. font-size: 1.512em;
  1219. font-weight: 800;
  1220. color: #fff;
  1221. white-space: nowrap;
  1222. text-align: right;
  1223. }
  1224. }
  1225. input.button--add-to-cart{
  1226. @include btn;
  1227. }
  1228. }
  1229. }
  1230. }
  1231. a.btn{
  1232. @include btn;
  1233. background-color: #fff;
  1234. }
  1235. &:nth-child(1){
  1236. background-color: $color-base;
  1237. a.btn{
  1238. color: $color-base;
  1239. }
  1240. .field--name-variations{
  1241. .field__item{
  1242. >div{
  1243. input.button--add-to-cart{
  1244. color: $color-base;
  1245. }
  1246. }
  1247. }
  1248. }
  1249. }
  1250. &:nth-child(2){
  1251. background-color: $color-webshowroom;
  1252. a.btn{
  1253. color: $color-webshowroom;
  1254. }
  1255. .field--name-variations{
  1256. .field__item{
  1257. >div{
  1258. input.button--add-to-cart{
  1259. color: $color-webshowroom;
  1260. }
  1261. }
  1262. }
  1263. }
  1264. }
  1265. &:nth-child(3){
  1266. background-color: $color-showrooms;
  1267. a.btn{
  1268. color: $color-showrooms;
  1269. }
  1270. >article{
  1271. max-width: 345px;
  1272. }
  1273. }
  1274. @include col-mediaquery-max(5){
  1275. flex: 0 0 auto;
  1276. padding:0;
  1277. // height: auto;
  1278. >article{
  1279. }
  1280. }
  1281. }
  1282. }
  1283. }
  1284. }
  1285. }
  1286. }
  1287. // ___ _
  1288. // / __|__ _ _ _ __| |___
  1289. // | (__/ _` | '_/ _` (_-<
  1290. // \___\__,_|_| \__,_/__/
  1291. .infinite-loading-container{
  1292. .infinite-status-prompt{
  1293. i[class^="loading-"]{
  1294. width:15px; height:15px;
  1295. }
  1296. }
  1297. }
  1298. .cards-list{
  1299. position: relative;
  1300. .search-info{
  1301. font-size: 0.756em;
  1302. font-weight: 500;
  1303. margin: 0;
  1304. padding: 0 0 0.5em 0;
  1305. @include col-mediaquery-max(4, landscape){
  1306. display:none;
  1307. }
  1308. }
  1309. &>ul{
  1310. // outline: 1px green solid;
  1311. margin:0; padding:0;
  1312. width: calc(100% + #{$column_goutiere});
  1313. &>li{
  1314. list-style: none;
  1315. margin:0 $column_goutiere $column_goutiere 0; padding:0;
  1316. display: inline-block;
  1317. vertical-align: top;
  1318. }
  1319. }
  1320. @include col-mediaquery-max(3){
  1321. &>ul{
  1322. display: flex;
  1323. flex-flow: row wrap;
  1324. justify-content: space-around;
  1325. width:100%;
  1326. >li{
  1327. flex: 0 1 48%;
  1328. margin:0 0 0.5em 0;
  1329. filter: drop-shadow(0 0 3px #aaa);
  1330. >article{
  1331. width:100%;
  1332. height:auto;
  1333. box-shadow: none;
  1334. >section.images{
  1335. #base &{
  1336. height: auto;
  1337. }
  1338. >figure{
  1339. position: relative;
  1340. &:not(:first-child){
  1341. display:none;
  1342. }
  1343. img:not(.blank){
  1344. width:100%;
  1345. height:auto;
  1346. }
  1347. img.blank{
  1348. top:0; bottom:0; left:0; right:0;
  1349. }
  1350. }
  1351. }
  1352. }
  1353. }
  1354. }
  1355. }
  1356. }
  1357. article.card{
  1358. position: relative;
  1359. box-shadow: 0 0 5px rgba(0,0,0,0.2);
  1360. width:$column_width; height:$card_height;
  1361. &.article{
  1362. width:$column_width*2 + $column_goutiere; height:$card_height;
  1363. section.images{
  1364. a{
  1365. display:block;
  1366. }
  1367. }
  1368. }
  1369. &.minicard{
  1370. height:100px;
  1371. width:$minicard_width;
  1372. height:$minicard_height;
  1373. margin:auto;
  1374. >header{
  1375. padding: 0.3em 0.3em 0.1em;
  1376. cursor: pointer;
  1377. h1{
  1378. margin:0;
  1379. font-size: 1em;
  1380. }
  1381. h4{
  1382. margin:0;
  1383. line-height: 1.1;
  1384. margin-bottom: -0.4em;
  1385. }
  1386. span.ref{
  1387. line-height: 0.5;
  1388. }
  1389. }
  1390. >nav.tools{
  1391. // top: auto;
  1392. // bottom: 0;
  1393. padding:0 0.2em;
  1394. background:rgba(255,255,255, 0.8);
  1395. .mdi.unflag{
  1396. cursor: pointer;
  1397. }
  1398. .tool.samples{
  1399. @include hover{
  1400. .tool-content{
  1401. max-width:140px;
  1402. }
  1403. }
  1404. }
  1405. }
  1406. }
  1407. &.linkedmaterialcard{
  1408. width:$linkedmaterialcard_width;
  1409. height:$linkedmaterialcard_height;
  1410. >header{
  1411. padding: 0.3em 0.3em 0.1em;
  1412. cursor: pointer;
  1413. h1{
  1414. margin:0;
  1415. font-size: 1em;
  1416. }
  1417. h4{
  1418. margin:0;
  1419. line-height: 1.1;
  1420. margin-bottom: -0.4em;
  1421. }
  1422. span.ref{
  1423. line-height: 0.5;
  1424. }
  1425. }
  1426. >nav.tools{
  1427. top: auto;
  1428. bottom: 0;
  1429. padding:0 0.2em;
  1430. background:transparent;
  1431. .mdi.unflag{
  1432. cursor: pointer;
  1433. }
  1434. }
  1435. }
  1436. // &.card-small{
  1437. // width:100px; height:140px;
  1438. // }
  1439. // focused
  1440. // box-shadow: 0 0 7px rgba(0,0,0,0.9);
  1441. // &.article{
  1442. // width: $column_width * 2 + $column_goutiere;
  1443. //
  1444. // }
  1445. header{
  1446. position: absolute;
  1447. bottom:0;
  1448. z-index:10;
  1449. color: #000;
  1450. background-color: rgba(255,255,255,0.8);
  1451. padding: 0.3em 0.3em;
  1452. box-sizing:border-box;
  1453. width:100%;
  1454. h1, h4{ margin:0; padding:0; }
  1455. h1{
  1456. font-size: 1.3em;
  1457. font-weight: 700;
  1458. line-height: 0.85;
  1459. margin-bottom: 0.2em;
  1460. }
  1461. h4{
  1462. font-size: 0.882em;
  1463. font-weight: 300;
  1464. line-height: 1.1;
  1465. margin-bottom: -0.2em;
  1466. }
  1467. span.ref{
  1468. font-size: 0.693em;
  1469. font-weight: 300;
  1470. line-height: 1;
  1471. }
  1472. }
  1473. &.card-thematique header{
  1474. background-color: $color-base-transparent;
  1475. }
  1476. $navtool_width: 15px;
  1477. nav.tools{
  1478. position: absolute;
  1479. top: 0;
  1480. right: 0;
  1481. z-index: 21;
  1482. width: $navtool_width;
  1483. background-color: #fff;
  1484. box-sizing: content-box;
  1485. padding: 0.3em 0.1em;
  1486. >*{
  1487. overflow: visible;
  1488. position: relative;
  1489. span.btn{
  1490. overflow: hidden;
  1491. font-size: 0.882em;
  1492. }
  1493. .tool-content{
  1494. position: absolute;
  1495. top: 0px;
  1496. right: 100%;
  1497. // width: 5em;
  1498. width: $column_width - $navtool_width - 10px;
  1499. box-sizing: border-box;
  1500. padding: 0;
  1501. background-color: #fff;
  1502. box-shadow: -2px 3px 8px rgba(0, 0, 0, 0.5);
  1503. opacity: 0;
  1504. max-height: 0; max-width:0;
  1505. overflow: hidden;
  1506. transition: all 0.2s ease-in-out;
  1507. transition-delay: 0.1s;
  1508. }
  1509. @include hover{
  1510. .tool-content{
  1511. transition: all 0.3s ease-in-out;
  1512. opacity: 1;
  1513. padding: 0.3em;
  1514. max-height: 195px;
  1515. max-width:200px;
  1516. }
  1517. }
  1518. }
  1519. @include col-mediaquery-max(3){
  1520. width:23px;
  1521. >*{
  1522. >span.btn, >a{
  1523. font-size:1.2em;
  1524. }
  1525. }
  1526. }
  1527. .tool.flags{
  1528. .tool-content{
  1529. ul{
  1530. display: flex;
  1531. flex-flow: row wrap;
  1532. li{
  1533. padding:0 0.5em 0 0;
  1534. }
  1535. }
  1536. }
  1537. span.flag{
  1538. cursor: pointer;
  1539. font-size: 0.756em;
  1540. color: #bbb;
  1541. transition: color 0.3s ease-in-out;
  1542. @include hover{
  1543. color:#1a1a1a;
  1544. }
  1545. &.isActive{
  1546. color:#1a1a1a;
  1547. }
  1548. }
  1549. li.create-flag{
  1550. margin-top: 0.2em;
  1551. padding:0;
  1552. input{
  1553. align-self: flex-end;
  1554. border: 1px solid #bbb;
  1555. border-radius:5px;
  1556. width: calc(100% - 2em);
  1557. font-size:0.8em;
  1558. }
  1559. span.add-btn{
  1560. align-self: flex-end;
  1561. color: #bbb;
  1562. font-size: 1em;
  1563. // padding: 0 0 0 .5em;
  1564. transition: all 0.2s ease-in-out;
  1565. &.active{
  1566. cursor: pointer;
  1567. color:#1a1a1a;
  1568. }
  1569. &.loading:before{
  1570. animation: rotating 2s linear infinite;
  1571. }
  1572. }
  1573. }
  1574. }
  1575. .tool.samples{
  1576. .tool-content{
  1577. font-size: 0.756em;
  1578. ul li{
  1579. font-weight: bold;
  1580. span.showroom{
  1581. font-weight: 400;
  1582. }
  1583. }
  1584. }
  1585. }
  1586. opacity: 0;
  1587. transition: opacity 0.2s ease-in-out;
  1588. }
  1589. @include hover{
  1590. nav.tools{
  1591. opacity:1;
  1592. }
  1593. }
  1594. section.images{
  1595. position: relative;
  1596. &, *{width: 100%; height:100%;}
  1597. figure{
  1598. cursor: pointer;
  1599. margin:0;
  1600. position: absolute;
  1601. top:0; left:0;
  1602. // width: 100%; height:100%;
  1603. &:first-of-type{
  1604. z-index:5
  1605. }
  1606. transition: opacity 0.2s ease-in-out;
  1607. &.show{opacity: 1; z-index:6;}
  1608. &.hide{opacity: 0;}
  1609. img{
  1610. // width: 100%; height:100%;
  1611. &.blank{
  1612. position: absolute;
  1613. top:0; left:0;
  1614. z-index: 20;
  1615. }
  1616. }
  1617. }
  1618. }
  1619. // overwritnig card for card-medium (aka search-card)
  1620. &.search-card{
  1621. >header{
  1622. cursor: pointer;
  1623. }
  1624. }
  1625. // overwriting card for modal-card
  1626. &.modal-card{
  1627. display: flex;
  1628. flex-flow: row-reverse nowrap;
  1629. width: $modalcard_width;
  1630. height: $modalcard_height;
  1631. >.col{
  1632. flex-basis: 50%;
  1633. }
  1634. @include col-mediaquery-max(3, portrait){
  1635. flex-flow: column;
  1636. width: 100%;
  1637. height: 100%;
  1638. overflow-y: auto;
  1639. >.col-right{
  1640. flex:0 0 auto;
  1641. }
  1642. >.col-left{
  1643. flex:0 0 100%;
  1644. }
  1645. }
  1646. @include col-mediaquery-max(4, landscape){
  1647. // flex-flow: row-reverse ;
  1648. width: 100%;
  1649. height: 100%;
  1650. >.col-right{
  1651. height: 100%;
  1652. overflow-y: auto;
  1653. }
  1654. // >.col-left{
  1655. // flex:0 0 50%;
  1656. // }
  1657. }
  1658. section.col-right{
  1659. >*:not(nav.tools){
  1660. position: relative;
  1661. padding: 0.3em $navtool_width + 5px 0 0.5em;
  1662. box-sizing: border-box;
  1663. width: 100%;
  1664. }
  1665. >header{
  1666. bottom: auto;
  1667. }
  1668. span.label{
  1669. font-size: 0.693em;
  1670. font-weight: 500;
  1671. }
  1672. section.body{
  1673. p{
  1674. font-size: 0.693em;
  1675. font-weight: 300;
  1676. line-height: 1.35;
  1677. margin:0 0 0.3em;
  1678. }
  1679. }
  1680. .vsa-list{
  1681. padding:0;
  1682. border: none;
  1683. --vsa-heading-padding: 0 0;
  1684. --vsa-content-padding: 0 0 0.5em;
  1685. --vsa-default-icon-size: 0.3;
  1686. --vsa-border-width: 0;
  1687. --vsa-text-color: #{$color-main-text};
  1688. --vsa-highlight-color: #fff;
  1689. --vsa-bg-color: #fff;
  1690. .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 {
  1691. background-color: var(--vsa-text-color);
  1692. }
  1693. .vsa-item{
  1694. .vsa-item__heading{
  1695. button.vsa-item__trigger{
  1696. height:2em;
  1697. &:hover,
  1698. &:focus{
  1699. color: var(--vsa-text-color);
  1700. }
  1701. }
  1702. }
  1703. .vsa-item__content{}
  1704. &[data-vsa-active="false"]{
  1705. .vsa-item__heading{
  1706. padding-bottom: 0.2em;
  1707. margin-bottom: 0.2em;
  1708. border-bottom: 0.5px dotted $color-main-text;
  1709. }
  1710. }
  1711. }
  1712. }
  1713. section.linked-materials{
  1714. >ul{
  1715. display: flex;
  1716. flex-flow: row wrap;
  1717. justify-content: space-between;
  1718. >li{
  1719. flex-basis: 0 0 50%;
  1720. margin-bottom: 0.5em;
  1721. article.linkedmaterialcard{
  1722. }
  1723. }
  1724. }
  1725. }
  1726. nav.tools{
  1727. opacity: 1;
  1728. section.close{
  1729. span.btn.mdi-close{
  1730. cursor:pointer;
  1731. }
  1732. }
  1733. div.tool-content{
  1734. min-width: $column_width *2 - $navtool_width - 10px;
  1735. @include col-mediaquery-max(3){
  1736. min-width: 80vw;
  1737. }
  1738. }
  1739. }
  1740. section.tool.samples{
  1741. div.tool-content{
  1742. ul{
  1743. // display: flex;
  1744. // flex-flow: row wrap;
  1745. font-size: 0.756em;
  1746. font-weight: 300;
  1747. // line-height: 1.35;
  1748. li{
  1749. padding-right: 0.5em;
  1750. span.showroom{ font-weight: 500; }
  1751. }
  1752. }
  1753. }
  1754. }
  1755. section.tool.note{
  1756. @include hover{
  1757. div.tool-content{
  1758. max-height: 370px;
  1759. }
  1760. }
  1761. div.tool-content{
  1762. textarea,
  1763. textarea:focus,
  1764. textarea:focus-visible,
  1765. textarea:active{
  1766. resize:none;
  1767. width:99%;
  1768. height:350px;
  1769. margin:0;
  1770. padding:0.3em;
  1771. border:1px solid #ccc;
  1772. border-radius: 3px;
  1773. outline: none;
  1774. box-sizing: border-box;
  1775. }
  1776. }
  1777. }
  1778. // section.tool.industriels{
  1779. // div.tool-content{
  1780. // display: flex;
  1781. // flex-flow: row;
  1782. // >section{
  1783. // flex: 0 0 50%;
  1784. // h2{
  1785. // margin:0;
  1786. // font-size: 1em;
  1787. // line-height: 0.6;
  1788. // }
  1789. // p{
  1790. // margin: 0;
  1791. // font-size: 0.882em;
  1792. // }
  1793. // }
  1794. // }
  1795. // }
  1796. section.industriels{
  1797. display: flex;
  1798. flex-flow: row;
  1799. >section{
  1800. flex: 0 0 50%;
  1801. ul{
  1802. li{
  1803. padding:0.1em 0 .4em 0;
  1804. }
  1805. }
  1806. h2{
  1807. margin:0;
  1808. font-size: 1em;
  1809. line-height: 1;
  1810. }
  1811. p{
  1812. margin: 0;
  1813. font-size: 0.756em;
  1814. }
  1815. }
  1816. }
  1817. section.attachments{
  1818. a{
  1819. margin:0;
  1820. font-size: 0.882em;
  1821. line-height: 0.6;
  1822. span{
  1823. font-size: 0.8em
  1824. }
  1825. }
  1826. p{
  1827. margin: 0;
  1828. font-size: 0.882em;
  1829. }
  1830. }
  1831. }
  1832. }
  1833. }
  1834. .vm--modale-card{
  1835. position: relative;
  1836. }
  1837. // vuejs-modale hack as maxWidth and maxHeight does not work :(
  1838. @include col-mediaquery-min(3){
  1839. .vm--modale-card{
  1840. max-width: 850px;
  1841. max-height: 610px;
  1842. left: 50% !important;
  1843. top: 50% !important;
  1844. transform: translate(-50%, -50%) !important;
  1845. }
  1846. }
  1847. .vm--overlay{
  1848. background: rgba(0, 0, 0, 0.5)!important;
  1849. }
  1850. // _____ _ _ _
  1851. // |_ _| |_ ___ _ __ __ _| |_(_)__ _ _ _ ___
  1852. // | | | ' \/ -_) ' \/ _` | _| / _` | || / -_)
  1853. // |_| |_||_\___|_|_|_\__,_|\__|_\__, |\_,_\___|
  1854. // |_|
  1855. #main-content > article.thematique{
  1856. div.cols{
  1857. display: flex;
  1858. flex-direction: row;
  1859. flex-wrap: nowrap;
  1860. // @media only screen and (max-width: $small-bp) {
  1861. @include col-mediaquery-max(3){
  1862. flex-wrap: wrap;
  1863. }
  1864. // }
  1865. div.col-left{
  1866. padding: 0 $column_goutiere $column_goutiere 0;
  1867. flex: 0 0 $column_width * 2 + $column_goutiere;
  1868. }
  1869. div.col-right{}
  1870. }
  1871. div.col-left{
  1872. section.body{
  1873. background-color: $color-base;
  1874. padding: 0.5em 1em 1em;
  1875. }
  1876. section.visuel{
  1877. img{
  1878. width: 100%;
  1879. }
  1880. }
  1881. }
  1882. aside.linked-materials{
  1883. div.card-list{
  1884. >ul{
  1885. width:calc(100% + #{$column_goutiere});
  1886. >li{
  1887. display: inline-block;
  1888. vertical-align: top;
  1889. width:$column_width;
  1890. margin:0 $column_goutiere $column_goutiere 0;
  1891. }
  1892. }
  1893. }
  1894. h3.field__label{
  1895. font-size: 1em;
  1896. font-weight: 500;
  1897. margin: 2em 0 1em 0;
  1898. }
  1899. h1.title{
  1900. font-size: 1em;
  1901. font-weight: 400;
  1902. }
  1903. h3.ref{
  1904. font-size: 0.756em;
  1905. font-weight: 600;
  1906. }
  1907. h2.description{
  1908. font-size: 0.756em;
  1909. font-weight: 400;
  1910. }
  1911. }
  1912. }
  1913. // ___ _ _ _
  1914. // | _ ) |__ _| |__| |__ _
  1915. // | _ \ / _` | '_ \ / _` |
  1916. // |___/_\__,_|_.__/_\__,_|
  1917. #blabla{
  1918. }
  1919. #main-content > article.article{
  1920. // grid only on big screens
  1921. @include col-mediaquery-min(3){
  1922. div.cols{
  1923. display: grid;
  1924. grid-template-rows: 1fr;
  1925. grid-template-columns: repeat(6, 1fr);
  1926. grid-gap: 1em;
  1927. div.col-left{
  1928. grid-column: 1;
  1929. }
  1930. div.col-right{
  1931. grid-column: 2/6;
  1932. }
  1933. }
  1934. }
  1935. @include col-mediaquery-max(3){
  1936. div.cols{
  1937. padding:1em;
  1938. box-sizing: border-box;
  1939. .accroche{
  1940. figure{
  1941. width:100%;
  1942. }
  1943. }
  1944. }
  1945. }
  1946. section.accroche{
  1947. figure{
  1948. width:$column_width*2 + $column_goutiere;
  1949. margin:0 $column_goutiere 0 0;
  1950. img{
  1951. width:100%;
  1952. }
  1953. }
  1954. }
  1955. section.taxonomy{
  1956. margin:1em 0;
  1957. ul{
  1958. margin: 0;
  1959. }
  1960. li{
  1961. display:inline-block;
  1962. padding:0 0.5em 0 0;
  1963. }
  1964. }
  1965. div.gallery-wrapper{
  1966. .image{
  1967. display: inline-block;
  1968. width:$column_width;
  1969. margin:0 $column_goutiere $column_goutiere*0.6 0;
  1970. height:$card_height / 2;
  1971. background-size: cover;
  1972. }
  1973. @include col-mediaquery-max(3){
  1974. display: flex;
  1975. flex-flow: row wrap;
  1976. justify-content: space-between;
  1977. .image{
  1978. // width: auto; height: auto;
  1979. display: block;
  1980. flex: 0 1 48%;
  1981. margin: 0 0 $column_goutiere*0.6 0;
  1982. }
  1983. }
  1984. }
  1985. // section.videos{
  1986. // ul{
  1987. // margin:0; padding:0;
  1988. // li{
  1989. // margin:0; padding:0;
  1990. // display: inline-block;
  1991. // width:100%; overflow: hidden;
  1992. // }
  1993. // }
  1994. // }
  1995. // section.visuels{
  1996. // width:calc(100% + #{$column_goutiere});
  1997. // figure{
  1998. // position: relative;
  1999. // display: inline-block;
  2000. // vertical-align: top;
  2001. // width:$column_width*2 + $column_goutiere;
  2002. // margin:0 $column_goutiere $column_goutiere*0.6 0;
  2003. // img{
  2004. // width:100%;
  2005. // }
  2006. // caption{
  2007. // position: absolute; bottom: 0; left:0;
  2008. // box-sizing: border-box; width: 100%; padding:0.5em;
  2009. // background-color: $transparent-bg-blk; color: #fff;
  2010. // }
  2011. // }
  2012. // }
  2013. aside.linked-materials{
  2014. @include col-mediaquery-min(3){
  2015. ul{
  2016. width:calc(100% + #{$column_goutiere});
  2017. li{
  2018. display: inline-block;
  2019. vertical-align: top;
  2020. width:$column_width;
  2021. margin:0 $column_goutiere $column_goutiere 0;
  2022. }
  2023. }
  2024. }
  2025. h3.field__label{
  2026. font-size: 1em;
  2027. font-weight: 500;
  2028. margin: 2em 0 1em 0;
  2029. }
  2030. h1.title{
  2031. font-size: 1em;
  2032. font-weight: 400;
  2033. }
  2034. h3.ref{
  2035. font-size: 0.756em;
  2036. font-weight: 600;
  2037. }
  2038. h2.description{
  2039. font-size: 0.756em;
  2040. font-weight: 400;
  2041. }
  2042. }
  2043. nav.prevnext{
  2044. @include col-mediaquery-max(3){
  2045. padding: 0 1em;
  2046. }
  2047. &.bottom{
  2048. margin:2em 0;
  2049. }
  2050. ul{
  2051. padding:0;
  2052. margin:0;
  2053. display: grid;
  2054. grid-template-columns: 1fr 1fr;
  2055. }
  2056. li{
  2057. padding:0;
  2058. margin:0;
  2059. list-style: none;
  2060. a{
  2061. font-size: 0.756em;
  2062. font-weight: 700;
  2063. line-height: 1.3;
  2064. display: block;
  2065. position: relative;
  2066. padding: 0 1em;
  2067. }
  2068. &:nth-child(1){
  2069. grid-column: 1;
  2070. a:before{
  2071. content:'\021A4';
  2072. position: absolute;
  2073. left:0;
  2074. }
  2075. }
  2076. &:nth-child(2){
  2077. grid-column: 2;
  2078. text-align: right;
  2079. a:after{
  2080. content:'\021A6';
  2081. position: absolute;
  2082. right: 0;
  2083. }
  2084. }
  2085. }
  2086. }
  2087. }
  2088. // ___ _
  2089. // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
  2090. // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
  2091. // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
  2092. #showrooms{
  2093. width: calc(100% + #{$column_goutiere});
  2094. article.showroom{
  2095. width: $column_width * 2 + $column_goutiere;
  2096. display: inline-block;
  2097. vertical-align: top;
  2098. margin: 0 $column_goutiere $column_goutiere 0;
  2099. h1{
  2100. margin:0;
  2101. font-weight: 4;
  2102. }
  2103. p{ margin:0; }
  2104. figure{
  2105. margin:0;
  2106. img{
  2107. max-width: 100%;
  2108. }
  2109. }
  2110. }
  2111. }
  2112. // ___ _ _
  2113. // | _ \_ _(_)__(_)_ _ __ _
  2114. // | _/ '_| / _| | ' \/ _` |
  2115. // |_| |_| |_\__|_|_||_\__, |
  2116. // |___/
  2117. #main-content>#pricing,
  2118. #main-content .view-pricing-products .view-content{
  2119. display: flex;
  2120. flex-flow: row nowrap;
  2121. article.product,
  2122. .views-row{
  2123. flex:0 0 33%;
  2124. text-align: center;
  2125. padding: 2em 0;
  2126. >header{
  2127. padding-bottom: 1.3em;
  2128. }
  2129. >header h1,
  2130. .views-field-title{
  2131. font-size: 3.5em;
  2132. line-height: 0.6;
  2133. color: #fff;
  2134. text-align: center;
  2135. word-spacing: 30000px;
  2136. }
  2137. section.content, .views-field-body{
  2138. color: #fff;
  2139. .description{
  2140. font-size: 1em;
  2141. p{
  2142. margin: 0.3em;
  2143. }
  2144. }
  2145. }
  2146. aside{
  2147. padding:1em 0;
  2148. .variation{
  2149. display: flex;
  2150. flex-flow: row nowrap;
  2151. justify-content: center;
  2152. align-items:stretch;
  2153. div.variation-description{
  2154. flex: 0 0 6.7em;
  2155. font-size: 1.5em;
  2156. font-weight: 800;
  2157. color: #fff;
  2158. p{
  2159. margin:0;
  2160. text-align: right;
  2161. padding-right: 0.5em;
  2162. padding-top: 0.1em;
  2163. }
  2164. }
  2165. button{
  2166. @include btn;
  2167. background-color: #fff;
  2168. }
  2169. }
  2170. a.btn{
  2171. @include btn;
  2172. background-color: #fff;
  2173. }
  2174. }
  2175. &:nth-child(1){
  2176. background-color: $color-base;
  2177. aside .variation button{
  2178. color: $color-base;
  2179. }
  2180. }
  2181. &:nth-child(2){
  2182. background-color: $color-webshowroom;
  2183. aside .variation button{
  2184. color: $color-webshowroom;
  2185. }
  2186. }
  2187. &:nth-child(3){
  2188. background-color: $color-showrooms;
  2189. aside .variation button,
  2190. a.btn{
  2191. color: $color-showrooms;
  2192. }
  2193. }
  2194. }
  2195. @include col-mediaquery-max(5){
  2196. flex-flow: column;
  2197. article.product,
  2198. .views-row{
  2199. flex:0 1 auto;
  2200. }
  2201. }
  2202. }
  2203. .modal{
  2204. position: relative;
  2205. }
  2206. // #pricing-modal-login-register{
  2207. // position: relative;
  2208. // width: 100%;
  2209. // text-align: left;
  2210. //
  2211. // .vm--modale-loginregister{
  2212. // }
  2213. #login-register{
  2214. padding: 1em;
  2215. box-sizing: content-box;
  2216. width: 100%;
  2217. h2{
  2218. margin: 0.4em 0 1.1em;
  2219. padding-right: 4em;
  2220. font-size: 1.2em;
  2221. font-weight: 300;
  2222. }
  2223. >div.wrapper{
  2224. display: flex;
  2225. flex-flow: row nowrap;
  2226. >section{
  2227. flex:0 0 50%;
  2228. form{
  2229. .form-item, .form-actions {
  2230. margin: 0.5em 0;
  2231. max-width: none;
  2232. }
  2233. .form-type-email,
  2234. .form-type-password,
  2235. .form-actions{
  2236. display:block;
  2237. }
  2238. input[type="email"],
  2239. input[type="password"]{
  2240. max-width: 11em;
  2241. }
  2242. &#user-login-form #edit-pass--description,
  2243. #edit-pass-pass1--description{
  2244. display: block;
  2245. max-width: 16em;
  2246. font-size: 0.693em;
  2247. }
  2248. span.login-message,
  2249. span.register-message{
  2250. color: red;
  2251. font-size: 0.693em;
  2252. line-height: 1.2;
  2253. display: block;
  2254. padding: 0.8em 0 0 0;
  2255. }
  2256. span.login-message[v-if="loginMessage"],
  2257. span.register-message[v-if="registerMessage"]{
  2258. display: none;
  2259. }
  2260. }
  2261. }
  2262. section.login{
  2263. form{
  2264. >div{
  2265. // display: block;
  2266. }
  2267. }
  2268. }
  2269. section.register{
  2270. }
  2271. @include col-mediaquery-max(3){
  2272. flex-flow: column;
  2273. >section{
  2274. flex:0 0 auto;
  2275. form{
  2276. input[type="email"],
  2277. input[type="password"]{
  2278. max-width: 90%;
  2279. width: 90%;
  2280. }
  2281. &#user-login-form #edit-pass--description,
  2282. #edit-pass-pass1--description{
  2283. max-width: 90%;
  2284. width: 90%;
  2285. }
  2286. }
  2287. &.login{
  2288. padding-bottom: 0.5em;
  2289. }
  2290. }
  2291. }
  2292. }
  2293. }
  2294. // @include col-mediaquery-max(3){
  2295. // height:100%;
  2296. // overflow-y: auto;
  2297. // #login-register{
  2298. // flex-flow: column;
  2299. // >section{
  2300. // flex:0 0 auto;
  2301. // form{
  2302. // input[type="email"],
  2303. // input[type="password"]{
  2304. // max-width: 90%;
  2305. // width: 90%;
  2306. // }
  2307. // &#user-login-form #edit-pass--description,
  2308. // #edit-pass-pass1--description{
  2309. // max-width: 90%;
  2310. // width: 90%;
  2311. // }
  2312. // }
  2313. // &.login{
  2314. // padding-bottom: 0.5em;
  2315. // }
  2316. // }
  2317. // }
  2318. // }
  2319. // @include col-mediaquery-max(4, landscape){
  2320. // h2{
  2321. // margin: 0 0 0.5em;
  2322. // }
  2323. // }
  2324. // }
  2325. #pricing{
  2326. @include col-mediaquery-max(3){
  2327. .overlay > .modal{
  2328. width:95%!important;
  2329. height:95%!important;
  2330. }
  2331. }
  2332. }
  2333. #main-content form.commerce-checkout-flow{
  2334. $w:3;
  2335. max-width: $column_width * $w + $column_goutiere * ($w - 1);
  2336. .layout-checkout-form{
  2337. display: flex;
  2338. flex-flow: column;
  2339. .layout-region-checkout-main{
  2340. // disable default style
  2341. width:100%;
  2342. float: none;
  2343. // apply custom style
  2344. order:2;
  2345. background-color: $color-webshowroom;
  2346. padding: 1em;
  2347. fieldset#edit-payment-information{
  2348. #edit-payment-information-add-payment-method{
  2349. // display: flex;
  2350. // flex-flow: column-reverse;
  2351. // #edit-payment-information-add-payment-method-payment-details{
  2352. // margin: 1em 0 0;
  2353. // }
  2354. }
  2355. }
  2356. label,
  2357. legend,
  2358. .description,
  2359. fieldset#edit-review-contact-information,
  2360. fieldset#edit-review-payment-information{
  2361. color: #fff;
  2362. }
  2363. fieldset{
  2364. border:none;
  2365. margin:0; padding:0;
  2366. legend{
  2367. font-size: 1.5em;
  2368. font-weight: 600;
  2369. margin-bottom: 0.5em;
  2370. }
  2371. }
  2372. $lw:10em;
  2373. .form-item{
  2374. margin:0 0 0.5em 0;
  2375. }
  2376. label{
  2377. display: inline-block;
  2378. font-weight: bold;
  2379. min-width: $lw;
  2380. }
  2381. input[type="text"]{
  2382. width:20em;
  2383. }
  2384. .stripe-form{
  2385. display: inline-block;
  2386. background-color: #fff;
  2387. color: #1A1A1A;
  2388. border-radius: 5px;
  2389. padding: 1em;
  2390. margin: 0 0 1em;
  2391. .form-item{
  2392. display: flex;
  2393. align-items: center;
  2394. flex-flow: row nowrap;
  2395. label{
  2396. color: #777;
  2397. }
  2398. .form-text{
  2399. background-color: #fff;
  2400. border-radius: 3px;
  2401. }
  2402. }
  2403. }
  2404. // .form-item-payment-information-billing-information-address-0-address-address-line2
  2405. .form-item-payment-information-add-payment-method-billing-information-address-0-address-address-line2{
  2406. padding-left:$lw + 0.25em;
  2407. }
  2408. // .form-item-payment-information-billing-information-copy-to-address-book
  2409. .form-item-payment-information-add-payment-method-billing-information-copy-to-address-book{
  2410. display: none;
  2411. }
  2412. }
  2413. .layout-region-checkout-secondary{
  2414. // disable default style
  2415. width:100%;
  2416. float: none;
  2417. // apply custom style
  2418. order: 1;
  2419. // display: flex;
  2420. // flex-flow: row nowrap;
  2421. // >.checkout-pane{
  2422. // flex: 0 0 50%;
  2423. // }
  2424. >h3{display:none;}
  2425. #edit-order-summary{
  2426. background-color: $color-base;
  2427. color:#fff;
  2428. padding:1em;
  2429. .view-commerce-checkout-order-summary{
  2430. display: flex;
  2431. flex-flow: row nowrap;
  2432. justify-content: space-between;
  2433. align-items: flex-end;
  2434. }
  2435. .field--name-product-id{
  2436. .field--name-title{
  2437. font-size: 2.5em;
  2438. font-weight: 800;
  2439. }
  2440. .field--name-body{
  2441. }
  2442. }
  2443. .field--name-title{
  2444. font-size: 1.5em;
  2445. font-weight: 600;
  2446. }
  2447. p{
  2448. margin:0;
  2449. }
  2450. }
  2451. #edit-coupon-redemption{
  2452. background-color: $color-showrooms;
  2453. padding:1em;
  2454. >.form-wrapper{
  2455. display: flex;
  2456. flex-flow: row;
  2457. align-items: center;
  2458. .form-item{
  2459. margin:0 0.5em 0 0;
  2460. label{
  2461. color: #fff;
  2462. font-size: 1.5em;
  2463. font-weight: 600;
  2464. margin-right: 0.5em;
  2465. }
  2466. input[type="text"]{
  2467. width: 7em;
  2468. }
  2469. }
  2470. input[type="submit"]{
  2471. background-color: #fff;
  2472. color: $color-showrooms;
  2473. border: none;
  2474. margin:0;
  2475. padding:0.1em 0.7em;
  2476. box-sizing: content-box;
  2477. height:2em;
  2478. font-weight: 800;
  2479. border-radius: 5px;
  2480. }
  2481. }
  2482. }
  2483. }
  2484. .layout-region-checkout-footer{
  2485. // disable default style
  2486. float: none;
  2487. width: 100%;
  2488. padding: 0;
  2489. // apply custom style
  2490. order: 3;
  2491. #edit-actions{
  2492. text-align: right;
  2493. }
  2494. input#edit-actions-next{
  2495. background-color: $color-blabla;
  2496. color: #fff;
  2497. border: none;
  2498. border-radius: 5px;
  2499. padding: 0.2em 0.4em 0.3em;
  2500. font-weight: 600;
  2501. font-size: 1.323em;
  2502. }
  2503. }
  2504. }
  2505. }
  2506. form#user-pass{
  2507. input.form-email{
  2508. max-width: 95%;
  2509. }
  2510. }
  2511. #member-warning{
  2512. padding: 2em 4em;
  2513. text-align: center;
  2514. h2{
  2515. }
  2516. p{
  2517. }
  2518. a{
  2519. @include btn;
  2520. background-color: $color-webshowroom;
  2521. color: #fff;
  2522. }
  2523. }
  2524. // ___ _
  2525. // | __|__ ___| |_ ___ _ _
  2526. // | _/ _ \/ _ \ _/ -_) '_|
  2527. // |_|\___/\___/\__\___|_|
  2528. footer[role="contentinfo"]{
  2529. body:not(.path-home) & {
  2530. display:none;
  2531. }
  2532. #block-materiosimplenewssubscription{
  2533. form{
  2534. display: flex;
  2535. flex-flow: row nowrap;
  2536. align-items: center;
  2537. font-size: 0.756em;
  2538. >*{
  2539. margin-right: 0.5em;
  2540. }
  2541. #edit-subscriptions{
  2542. display: flex;
  2543. flex-flow: row nowrap;
  2544. >*{
  2545. margin-right: 0.5em;
  2546. display: flex;
  2547. flex-flow: row nowrap;
  2548. align-items: center;
  2549. }
  2550. input{
  2551. margin-right: 0.3em;
  2552. }
  2553. }
  2554. #edit-mail-wrapper{
  2555. input[type="email"]{
  2556. width:10em;
  2557. }
  2558. }
  2559. #edit-actions--2{
  2560. input[type="submit"]{
  2561. border: none;
  2562. background: none;
  2563. background-color: $color-base;
  2564. border-radius: 5px;
  2565. color: #fff;
  2566. padding: 0.45em 1em;
  2567. font-weight: 700;
  2568. }
  2569. }
  2570. }
  2571. }
  2572. }