main.scss 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535
  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(3){
  1174. flex-flow: column;
  1175. justify-content: flex-start;
  1176. }
  1177. >.field__item{
  1178. flex:0 0 50%;
  1179. text-align: center;
  1180. padding: 2em 0;
  1181. a.btn{
  1182. @include btn;
  1183. background-color: #fff;
  1184. }
  1185. &:nth-child(1){
  1186. background-color: $color-base;
  1187. a.btn{
  1188. color: $color-base;
  1189. }
  1190. }
  1191. &:nth-child(2){
  1192. background-color: $color-webshowroom;
  1193. a.btn{
  1194. color: $color-webshowroom;
  1195. }
  1196. }
  1197. color: #fff;
  1198. position: relative;
  1199. height:18em;
  1200. >article{
  1201. position: absolute;
  1202. top:50%; left:50%;
  1203. transform: translate(-50%, -50%);
  1204. }
  1205. .field--name-title{
  1206. @extend %front-col-field__label;
  1207. font-weight: 600;
  1208. line-height: 0.7;
  1209. padding-bottom: 0.1em;
  1210. text-align: center;
  1211. word-spacing: 30000px;
  1212. }
  1213. .field--name-body{
  1214. @extend %front-col-description;
  1215. padding:0.5em;
  1216. p{
  1217. margin: 0;
  1218. }
  1219. }
  1220. @include col-mediaquery-max(3){
  1221. flex: 0 0 auto;
  1222. padding:0;
  1223. // height: auto;
  1224. >article{
  1225. }
  1226. }
  1227. }
  1228. }
  1229. }
  1230. }
  1231. }
  1232. }
  1233. // ___ _
  1234. // / __|__ _ _ _ __| |___
  1235. // | (__/ _` | '_/ _` (_-<
  1236. // \___\__,_|_| \__,_/__/
  1237. .infinite-loading-container{
  1238. .infinite-status-prompt{
  1239. i[class^="loading-"]{
  1240. width:15px; height:15px;
  1241. }
  1242. }
  1243. }
  1244. .cards-list{
  1245. position: relative;
  1246. .search-info{
  1247. font-size: 0.756em;
  1248. font-weight: 500;
  1249. margin: 0;
  1250. padding: 0 0 0.5em 0;
  1251. @include col-mediaquery-max(4, landscape){
  1252. display:none;
  1253. }
  1254. }
  1255. &>ul{
  1256. // outline: 1px green solid;
  1257. margin:0; padding:0;
  1258. width: calc(100% + #{$column_goutiere});
  1259. &>li{
  1260. list-style: none;
  1261. margin:0 $column_goutiere $column_goutiere 0; padding:0;
  1262. display: inline-block;
  1263. vertical-align: top;
  1264. }
  1265. }
  1266. @include col-mediaquery-max(3){
  1267. &>ul{
  1268. display: flex;
  1269. flex-flow: row wrap;
  1270. justify-content: space-around;
  1271. width:100%;
  1272. >li{
  1273. flex: 0 1 48%;
  1274. margin:0 0 0.5em 0;
  1275. filter: drop-shadow(0 0 3px #aaa);
  1276. >article{
  1277. width:100%;
  1278. height:auto;
  1279. box-shadow: none;
  1280. >section.images{
  1281. #base &{
  1282. height: auto;
  1283. }
  1284. >figure{
  1285. position: relative;
  1286. &:not(:first-child){
  1287. display:none;
  1288. }
  1289. img:not(.blank){
  1290. width:100%;
  1291. height:auto;
  1292. }
  1293. img.blank{
  1294. top:0; bottom:0; left:0; right:0;
  1295. }
  1296. }
  1297. }
  1298. }
  1299. }
  1300. }
  1301. }
  1302. }
  1303. article.card{
  1304. position: relative;
  1305. box-shadow: 0 0 5px rgba(0,0,0,0.2);
  1306. width:$column_width; height:$card_height;
  1307. &.article{
  1308. width:$column_width*2 + $column_goutiere; height:$card_height;
  1309. section.images{
  1310. a{
  1311. display:block;
  1312. }
  1313. }
  1314. }
  1315. &.minicard{
  1316. height:100px;
  1317. width:$minicard_width;
  1318. height:$minicard_height;
  1319. margin:auto;
  1320. >header{
  1321. padding: 0.3em 0.3em 0.1em;
  1322. cursor: pointer;
  1323. h1{
  1324. margin:0;
  1325. font-size: 1em;
  1326. }
  1327. h4{
  1328. margin:0;
  1329. line-height: 1.1;
  1330. margin-bottom: -0.4em;
  1331. }
  1332. span.ref{
  1333. line-height: 0.5;
  1334. }
  1335. }
  1336. >nav.tools{
  1337. // top: auto;
  1338. // bottom: 0;
  1339. padding:0 0.2em;
  1340. background:rgba(255,255,255, 0.8);
  1341. .mdi.unflag{
  1342. cursor: pointer;
  1343. }
  1344. .tool.samples{
  1345. @include hover{
  1346. .tool-content{
  1347. max-width:140px;
  1348. }
  1349. }
  1350. }
  1351. }
  1352. }
  1353. &.linkedmaterialcard{
  1354. width:$linkedmaterialcard_width;
  1355. height:$linkedmaterialcard_height;
  1356. >header{
  1357. padding: 0.3em 0.3em 0.1em;
  1358. cursor: pointer;
  1359. h1{
  1360. margin:0;
  1361. font-size: 1em;
  1362. }
  1363. h4{
  1364. margin:0;
  1365. line-height: 1.1;
  1366. margin-bottom: -0.4em;
  1367. }
  1368. span.ref{
  1369. line-height: 0.5;
  1370. }
  1371. }
  1372. >nav.tools{
  1373. top: auto;
  1374. bottom: 0;
  1375. padding:0 0.2em;
  1376. background:transparent;
  1377. .mdi.unflag{
  1378. cursor: pointer;
  1379. }
  1380. }
  1381. }
  1382. // &.card-small{
  1383. // width:100px; height:140px;
  1384. // }
  1385. // focused
  1386. // box-shadow: 0 0 7px rgba(0,0,0,0.9);
  1387. // &.article{
  1388. // width: $column_width * 2 + $column_goutiere;
  1389. //
  1390. // }
  1391. header{
  1392. position: absolute;
  1393. bottom:0;
  1394. z-index:10;
  1395. color: #000;
  1396. background-color: rgba(255,255,255,0.8);
  1397. padding: 0.3em 0.3em;
  1398. box-sizing:border-box;
  1399. width:100%;
  1400. h1, h4{ margin:0; padding:0; }
  1401. h1{
  1402. font-size: 1.3em;
  1403. font-weight: 700;
  1404. line-height: 0.85;
  1405. margin-bottom: 0.2em;
  1406. }
  1407. h4{
  1408. font-size: 0.882em;
  1409. font-weight: 300;
  1410. line-height: 1.1;
  1411. margin-bottom: -0.2em;
  1412. }
  1413. span.ref{
  1414. font-size: 0.693em;
  1415. font-weight: 300;
  1416. line-height: 1;
  1417. }
  1418. }
  1419. &.card-thematique header{
  1420. background-color: $color-base-transparent;
  1421. }
  1422. $navtool_width: 15px;
  1423. nav.tools{
  1424. position: absolute;
  1425. top: 0;
  1426. right: 0;
  1427. z-index: 21;
  1428. width: $navtool_width;
  1429. background-color: #fff;
  1430. box-sizing: content-box;
  1431. padding: 0.3em 0.1em;
  1432. >*{
  1433. overflow: visible;
  1434. position: relative;
  1435. span.btn{
  1436. overflow: hidden;
  1437. font-size: 0.882em;
  1438. }
  1439. .tool-content{
  1440. position: absolute;
  1441. top: 0px;
  1442. right: 100%;
  1443. // width: 5em;
  1444. width: $column_width - $navtool_width - 10px;
  1445. box-sizing: border-box;
  1446. padding: 0;
  1447. background-color: #fff;
  1448. box-shadow: -2px 3px 8px rgba(0, 0, 0, 0.5);
  1449. opacity: 0;
  1450. max-height: 0; max-width:0;
  1451. overflow: hidden;
  1452. transition: all 0.2s ease-in-out;
  1453. transition-delay: 0.1s;
  1454. }
  1455. @include hover{
  1456. .tool-content{
  1457. transition: all 0.3s ease-in-out;
  1458. opacity: 1;
  1459. padding: 0.3em;
  1460. max-height: 195px;
  1461. max-width:200px;
  1462. }
  1463. }
  1464. }
  1465. @include col-mediaquery-max(3){
  1466. width:23px;
  1467. >*{
  1468. >span.btn, >a{
  1469. font-size:1.2em;
  1470. }
  1471. }
  1472. }
  1473. .tool.flags{
  1474. .tool-content{
  1475. ul{
  1476. display: flex;
  1477. flex-flow: row wrap;
  1478. li{
  1479. padding:0 0.5em 0 0;
  1480. }
  1481. }
  1482. }
  1483. span.flag{
  1484. cursor: pointer;
  1485. font-size: 0.756em;
  1486. color: #bbb;
  1487. transition: color 0.3s ease-in-out;
  1488. @include hover{
  1489. color:#1a1a1a;
  1490. }
  1491. &.isActive{
  1492. color:#1a1a1a;
  1493. }
  1494. }
  1495. li.create-flag{
  1496. margin-top: 0.2em;
  1497. padding:0;
  1498. input{
  1499. align-self: flex-end;
  1500. border: 1px solid #bbb;
  1501. border-radius:5px;
  1502. width: calc(100% - 2em);
  1503. font-size:0.8em;
  1504. }
  1505. span.add-btn{
  1506. align-self: flex-end;
  1507. color: #bbb;
  1508. font-size: 1em;
  1509. // padding: 0 0 0 .5em;
  1510. transition: all 0.2s ease-in-out;
  1511. &.active{
  1512. cursor: pointer;
  1513. color:#1a1a1a;
  1514. }
  1515. &.loading:before{
  1516. animation: rotating 2s linear infinite;
  1517. }
  1518. }
  1519. }
  1520. }
  1521. .tool.samples{
  1522. .tool-content{
  1523. font-size: 0.756em;
  1524. ul li{
  1525. font-weight: bold;
  1526. span.showroom{
  1527. font-weight: 400;
  1528. }
  1529. }
  1530. }
  1531. }
  1532. opacity: 0;
  1533. transition: opacity 0.2s ease-in-out;
  1534. }
  1535. @include hover{
  1536. nav.tools{
  1537. opacity:1;
  1538. }
  1539. }
  1540. section.images{
  1541. position: relative;
  1542. &, *{width: 100%; height:100%;}
  1543. figure{
  1544. cursor: pointer;
  1545. margin:0;
  1546. position: absolute;
  1547. top:0; left:0;
  1548. // width: 100%; height:100%;
  1549. &:first-of-type{
  1550. z-index:5
  1551. }
  1552. transition: opacity 0.2s ease-in-out;
  1553. &.show{opacity: 1; z-index:6;}
  1554. &.hide{opacity: 0;}
  1555. img{
  1556. // width: 100%; height:100%;
  1557. &.blank{
  1558. position: absolute;
  1559. top:0; left:0;
  1560. z-index: 20;
  1561. }
  1562. }
  1563. }
  1564. }
  1565. // overwritnig card for card-medium (aka search-card)
  1566. &.search-card{
  1567. >header{
  1568. cursor: pointer;
  1569. }
  1570. }
  1571. // overwriting card for modal-card
  1572. &.modal-card{
  1573. display: flex;
  1574. flex-flow: row-reverse nowrap;
  1575. width: $modalcard_width;
  1576. height: $modalcard_height;
  1577. >.col{
  1578. flex-basis: 50%;
  1579. }
  1580. @include col-mediaquery-max(3, portrait){
  1581. flex-flow: column;
  1582. width: 100%;
  1583. height: 100%;
  1584. overflow-y: auto;
  1585. >.col-right{
  1586. flex:0 0 auto;
  1587. }
  1588. >.col-left{
  1589. flex:0 0 100%;
  1590. }
  1591. }
  1592. @include col-mediaquery-max(4, landscape){
  1593. // flex-flow: row-reverse ;
  1594. width: 100%;
  1595. height: 100%;
  1596. >.col-right{
  1597. height: 100%;
  1598. overflow-y: auto;
  1599. }
  1600. // >.col-left{
  1601. // flex:0 0 50%;
  1602. // }
  1603. }
  1604. section.col-right{
  1605. >*:not(nav.tools){
  1606. position: relative;
  1607. padding: 0.3em $navtool_width + 5px 0 0.5em;
  1608. box-sizing: border-box;
  1609. width: 100%;
  1610. }
  1611. >header{
  1612. bottom: auto;
  1613. }
  1614. span.label{
  1615. font-size: 0.693em;
  1616. font-weight: 500;
  1617. }
  1618. section.body{
  1619. p{
  1620. font-size: 0.693em;
  1621. font-weight: 300;
  1622. line-height: 1.35;
  1623. margin:0 0 0.3em;
  1624. }
  1625. }
  1626. .vsa-list{
  1627. padding:0;
  1628. border: none;
  1629. --vsa-heading-padding: 0 0;
  1630. --vsa-content-padding: 0 0 0.5em;
  1631. --vsa-default-icon-size: 0.3;
  1632. --vsa-border-width: 0;
  1633. --vsa-text-color: #{$color-main-text};
  1634. --vsa-highlight-color: #fff;
  1635. --vsa-bg-color: #fff;
  1636. .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 {
  1637. background-color: var(--vsa-text-color);
  1638. }
  1639. .vsa-item{
  1640. .vsa-item__heading{
  1641. button.vsa-item__trigger{
  1642. height:2em;
  1643. &:hover,
  1644. &:focus{
  1645. color: var(--vsa-text-color);
  1646. }
  1647. }
  1648. }
  1649. .vsa-item__content{}
  1650. &[data-vsa-active="false"]{
  1651. .vsa-item__heading{
  1652. padding-bottom: 0.2em;
  1653. margin-bottom: 0.2em;
  1654. border-bottom: 0.5px dotted $color-main-text;
  1655. }
  1656. }
  1657. }
  1658. }
  1659. section.linked-materials{
  1660. >ul{
  1661. display: flex;
  1662. flex-flow: row wrap;
  1663. justify-content: space-between;
  1664. >li{
  1665. flex-basis: 0 0 50%;
  1666. margin-bottom: 0.5em;
  1667. article.linkedmaterialcard{
  1668. }
  1669. }
  1670. }
  1671. }
  1672. nav.tools{
  1673. opacity: 1;
  1674. section.close{
  1675. span.btn.mdi-close{
  1676. cursor:pointer;
  1677. }
  1678. }
  1679. div.tool-content{
  1680. min-width: $column_width *2 - $navtool_width - 10px;
  1681. @include col-mediaquery-max(3){
  1682. min-width: 80vw;
  1683. }
  1684. }
  1685. }
  1686. section.tool.samples{
  1687. div.tool-content{
  1688. ul{
  1689. // display: flex;
  1690. // flex-flow: row wrap;
  1691. font-size: 0.756em;
  1692. font-weight: 300;
  1693. // line-height: 1.35;
  1694. li{
  1695. padding-right: 0.5em;
  1696. span.showroom{ font-weight: 500; }
  1697. }
  1698. }
  1699. }
  1700. }
  1701. section.tool.note{
  1702. @include hover{
  1703. div.tool-content{
  1704. max-height: 370px;
  1705. }
  1706. }
  1707. div.tool-content{
  1708. textarea,
  1709. textarea:focus,
  1710. textarea:focus-visible,
  1711. textarea:active{
  1712. resize:none;
  1713. width:99%;
  1714. height:350px;
  1715. margin:0;
  1716. padding:0.3em;
  1717. border:1px solid #ccc;
  1718. border-radius: 3px;
  1719. outline: none;
  1720. box-sizing: border-box;
  1721. }
  1722. }
  1723. }
  1724. // section.tool.industriels{
  1725. // div.tool-content{
  1726. // display: flex;
  1727. // flex-flow: row;
  1728. // >section{
  1729. // flex: 0 0 50%;
  1730. // h2{
  1731. // margin:0;
  1732. // font-size: 1em;
  1733. // line-height: 0.6;
  1734. // }
  1735. // p{
  1736. // margin: 0;
  1737. // font-size: 0.882em;
  1738. // }
  1739. // }
  1740. // }
  1741. // }
  1742. section.industriels{
  1743. display: flex;
  1744. flex-flow: row;
  1745. >section{
  1746. flex: 0 0 50%;
  1747. ul{
  1748. li{
  1749. padding:0.1em 0 .4em 0;
  1750. }
  1751. }
  1752. h2{
  1753. margin:0;
  1754. font-size: 1em;
  1755. line-height: 1;
  1756. }
  1757. p{
  1758. margin: 0;
  1759. font-size: 0.756em;
  1760. }
  1761. }
  1762. }
  1763. section.attachments{
  1764. a{
  1765. margin:0;
  1766. font-size: 0.882em;
  1767. line-height: 0.6;
  1768. span{
  1769. font-size: 0.8em
  1770. }
  1771. }
  1772. p{
  1773. margin: 0;
  1774. font-size: 0.882em;
  1775. }
  1776. }
  1777. }
  1778. }
  1779. }
  1780. .vm--modale-card{
  1781. position: relative;
  1782. }
  1783. // vuejs-modale hack as maxWidth and maxHeight does not work :(
  1784. @include col-mediaquery-min(3){
  1785. .vm--modale-card{
  1786. max-width: 850px;
  1787. max-height: 610px;
  1788. left: 50% !important;
  1789. top: 50% !important;
  1790. transform: translate(-50%, -50%) !important;
  1791. }
  1792. }
  1793. .vm--overlay{
  1794. background: rgba(0, 0, 0, 0.5)!important;
  1795. }
  1796. // _____ _ _ _
  1797. // |_ _| |_ ___ _ __ __ _| |_(_)__ _ _ _ ___
  1798. // | | | ' \/ -_) ' \/ _` | _| / _` | || / -_)
  1799. // |_| |_||_\___|_|_|_\__,_|\__|_\__, |\_,_\___|
  1800. // |_|
  1801. #main-content > article.thematique{
  1802. div.cols{
  1803. display: flex;
  1804. flex-direction: row;
  1805. flex-wrap: nowrap;
  1806. // @media only screen and (max-width: $small-bp) {
  1807. @include col-mediaquery-max(3){
  1808. flex-wrap: wrap;
  1809. }
  1810. // }
  1811. div.col-left{
  1812. padding: 0 $column_goutiere $column_goutiere 0;
  1813. flex: 0 0 $column_width * 2 + $column_goutiere;
  1814. }
  1815. div.col-right{}
  1816. }
  1817. div.col-left{
  1818. section.body{
  1819. background-color: $color-base;
  1820. padding: 0.5em 1em 1em;
  1821. }
  1822. section.visuel{
  1823. img{
  1824. width: 100%;
  1825. }
  1826. }
  1827. }
  1828. aside.linked-materials{
  1829. div.card-list{
  1830. >ul{
  1831. width:calc(100% + #{$column_goutiere});
  1832. >li{
  1833. display: inline-block;
  1834. vertical-align: top;
  1835. width:$column_width;
  1836. margin:0 $column_goutiere $column_goutiere 0;
  1837. }
  1838. }
  1839. }
  1840. h3.field__label{
  1841. font-size: 1em;
  1842. font-weight: 500;
  1843. margin: 2em 0 1em 0;
  1844. }
  1845. h1.title{
  1846. font-size: 1em;
  1847. font-weight: 400;
  1848. }
  1849. h3.ref{
  1850. font-size: 0.756em;
  1851. font-weight: 600;
  1852. }
  1853. h2.description{
  1854. font-size: 0.756em;
  1855. font-weight: 400;
  1856. }
  1857. }
  1858. }
  1859. // ___ _ _ _
  1860. // | _ ) |__ _| |__| |__ _
  1861. // | _ \ / _` | '_ \ / _` |
  1862. // |___/_\__,_|_.__/_\__,_|
  1863. #blabla{
  1864. }
  1865. #main-content > article.article{
  1866. // grid only on big screens
  1867. @include col-mediaquery-min(3){
  1868. div.cols{
  1869. display: grid;
  1870. grid-template-rows: 1fr;
  1871. grid-template-columns: repeat(6, 1fr);
  1872. grid-gap: 1em;
  1873. div.col-left{
  1874. grid-column: 1;
  1875. }
  1876. div.col-right{
  1877. grid-column: 2/6;
  1878. }
  1879. }
  1880. }
  1881. @include col-mediaquery-max(3){
  1882. div.cols{
  1883. padding:1em;
  1884. box-sizing: border-box;
  1885. .accroche{
  1886. figure{
  1887. width:100%;
  1888. }
  1889. }
  1890. }
  1891. }
  1892. section.accroche{
  1893. figure{
  1894. width:$column_width*2 + $column_goutiere;
  1895. margin:0 $column_goutiere 0 0;
  1896. img{
  1897. width:100%;
  1898. }
  1899. }
  1900. }
  1901. section.taxonomy{
  1902. margin:1em 0;
  1903. ul{
  1904. margin: 0;
  1905. }
  1906. li{
  1907. display:inline-block;
  1908. padding:0 0.5em 0 0;
  1909. }
  1910. }
  1911. div.gallery-wrapper{
  1912. .image{
  1913. display: inline-block;
  1914. width:$column_width;
  1915. margin:0 $column_goutiere $column_goutiere*0.6 0;
  1916. height:$card_height / 2;
  1917. background-size: cover;
  1918. }
  1919. @include col-mediaquery-max(3){
  1920. display: flex;
  1921. flex-flow: row wrap;
  1922. justify-content: space-between;
  1923. .image{
  1924. // width: auto; height: auto;
  1925. display: block;
  1926. flex: 0 1 48%;
  1927. margin: 0 0 $column_goutiere*0.6 0;
  1928. }
  1929. }
  1930. }
  1931. // section.videos{
  1932. // ul{
  1933. // margin:0; padding:0;
  1934. // li{
  1935. // margin:0; padding:0;
  1936. // display: inline-block;
  1937. // width:100%; overflow: hidden;
  1938. // }
  1939. // }
  1940. // }
  1941. // section.visuels{
  1942. // width:calc(100% + #{$column_goutiere});
  1943. // figure{
  1944. // position: relative;
  1945. // display: inline-block;
  1946. // vertical-align: top;
  1947. // width:$column_width*2 + $column_goutiere;
  1948. // margin:0 $column_goutiere $column_goutiere*0.6 0;
  1949. // img{
  1950. // width:100%;
  1951. // }
  1952. // caption{
  1953. // position: absolute; bottom: 0; left:0;
  1954. // box-sizing: border-box; width: 100%; padding:0.5em;
  1955. // background-color: $transparent-bg-blk; color: #fff;
  1956. // }
  1957. // }
  1958. // }
  1959. aside.linked-materials{
  1960. @include col-mediaquery-min(3){
  1961. ul{
  1962. width:calc(100% + #{$column_goutiere});
  1963. li{
  1964. display: inline-block;
  1965. vertical-align: top;
  1966. width:$column_width;
  1967. margin:0 $column_goutiere $column_goutiere 0;
  1968. }
  1969. }
  1970. }
  1971. h3.field__label{
  1972. font-size: 1em;
  1973. font-weight: 500;
  1974. margin: 2em 0 1em 0;
  1975. }
  1976. h1.title{
  1977. font-size: 1em;
  1978. font-weight: 400;
  1979. }
  1980. h3.ref{
  1981. font-size: 0.756em;
  1982. font-weight: 600;
  1983. }
  1984. h2.description{
  1985. font-size: 0.756em;
  1986. font-weight: 400;
  1987. }
  1988. }
  1989. nav.prevnext{
  1990. @include col-mediaquery-max(3){
  1991. padding: 0 1em;
  1992. }
  1993. &.bottom{
  1994. margin:2em 0;
  1995. }
  1996. ul{
  1997. padding:0;
  1998. margin:0;
  1999. display: grid;
  2000. grid-template-columns: 1fr 1fr;
  2001. }
  2002. li{
  2003. padding:0;
  2004. margin:0;
  2005. list-style: none;
  2006. a{
  2007. font-size: 0.756em;
  2008. font-weight: 700;
  2009. line-height: 1.3;
  2010. display: block;
  2011. position: relative;
  2012. padding: 0 1em;
  2013. }
  2014. &:nth-child(1){
  2015. grid-column: 1;
  2016. a:before{
  2017. content:'\021A4';
  2018. position: absolute;
  2019. left:0;
  2020. }
  2021. }
  2022. &:nth-child(2){
  2023. grid-column: 2;
  2024. text-align: right;
  2025. a:after{
  2026. content:'\021A6';
  2027. position: absolute;
  2028. right: 0;
  2029. }
  2030. }
  2031. }
  2032. }
  2033. }
  2034. // ___ _
  2035. // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
  2036. // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
  2037. // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
  2038. #showrooms{
  2039. width: calc(100% + #{$column_goutiere});
  2040. article.showroom{
  2041. width: $column_width * 2 + $column_goutiere;
  2042. display: inline-block;
  2043. vertical-align: top;
  2044. margin: 0 $column_goutiere $column_goutiere 0;
  2045. h1{
  2046. margin:0;
  2047. font-weight: 4;
  2048. }
  2049. p{ margin:0; }
  2050. figure{
  2051. margin:0;
  2052. img{
  2053. max-width: 100%;
  2054. }
  2055. }
  2056. }
  2057. }
  2058. // ___ _ _
  2059. // | _ \_ _(_)__(_)_ _ __ _
  2060. // | _/ '_| / _| | ' \/ _` |
  2061. // |_| |_| |_\__|_|_||_\__, |
  2062. // |___/
  2063. #main-content>#pricing,
  2064. #main-content .view-pricing-products .view-content{
  2065. display: flex;
  2066. flex-flow: row nowrap;
  2067. article.product,
  2068. .views-row{
  2069. flex:0 0 50%;
  2070. text-align: center;
  2071. padding: 2em 0;
  2072. >header{
  2073. padding-bottom: 1.3em;
  2074. }
  2075. >header h1,
  2076. .views-field-title{
  2077. font-size: 4em;
  2078. line-height: 0.6;
  2079. color: #fff;
  2080. text-align: center;
  2081. word-spacing: 30000px;
  2082. }
  2083. section.content, .views-field-body{
  2084. color: #fff;
  2085. .description{
  2086. font-size: 1.134em;
  2087. p{
  2088. margin: 0.3em;
  2089. }
  2090. }
  2091. }
  2092. aside{
  2093. padding:1em 0;
  2094. .variation{
  2095. display: flex;
  2096. flex-flow: row nowrap;
  2097. justify-content: center;
  2098. align-items:flex-end;
  2099. div.variation-description{
  2100. flex: 0 0 6.7em;
  2101. font-size: 2.012em;
  2102. font-weight: 800;
  2103. color: #fff;
  2104. p{
  2105. margin:0;
  2106. text-align: left;
  2107. }
  2108. }
  2109. button{
  2110. @include btn;
  2111. background-color: #fff;
  2112. }
  2113. }
  2114. }
  2115. &:nth-child(1){
  2116. background-color: $color-base;
  2117. aside .variation button{
  2118. color: $color-base;
  2119. }
  2120. }
  2121. &:nth-child(2){
  2122. background-color: $color-webshowroom;
  2123. aside .variation button{
  2124. color: $color-webshowroom;
  2125. }
  2126. }
  2127. }
  2128. @include col-mediaquery-max(3){
  2129. flex-flow: column;
  2130. article.product,
  2131. .views-row{
  2132. flex:0 1 auto;
  2133. }
  2134. }
  2135. }
  2136. .modal{
  2137. position: relative;
  2138. }
  2139. #pricing-modal-login-register{
  2140. position: relative;
  2141. width: 100%;
  2142. text-align: left;
  2143. h2{
  2144. margin: 0.4em 0 1.1em;
  2145. padding-right: 4em;
  2146. font-size: 1.2em;
  2147. font-weight: 300;
  2148. }
  2149. #login-register{
  2150. width: 100%;
  2151. display: flex;
  2152. flex-flow: row nowrap;
  2153. >section{
  2154. flex:0 0 250px;
  2155. form{
  2156. .form-item, .form-actions {
  2157. margin: 0.5em 0;
  2158. max-width: none;
  2159. }
  2160. .form-type-email,
  2161. .form-type-password,
  2162. .form-actions{
  2163. display:block;
  2164. }
  2165. input[type="email"],
  2166. input[type="password"]{
  2167. max-width: 11em;
  2168. }
  2169. &#user-login-form #edit-pass--description,
  2170. #edit-pass-pass1--description{
  2171. display: block;
  2172. max-width: 16em;
  2173. font-size: 0.693em;
  2174. }
  2175. span.login-message,
  2176. span.register-message{
  2177. color: red;
  2178. font-size: 0.693em;
  2179. line-height: 1.2;
  2180. display: block;
  2181. padding: 0.8em 0 0 0;
  2182. }
  2183. span.login-message[v-if="loginMessage"],
  2184. span.register-message[v-if="registerMessage"]{
  2185. display: none;
  2186. }
  2187. }
  2188. }
  2189. section.login{
  2190. form{
  2191. >div{
  2192. // display: block;
  2193. }
  2194. }
  2195. }
  2196. section.register{
  2197. }
  2198. }
  2199. }
  2200. #main-content form.commerce-checkout-flow{
  2201. $w:3;
  2202. max-width: $column_width * $w + $column_goutiere * ($w - 1);
  2203. .layout-checkout-form{
  2204. display: flex;
  2205. flex-flow: column;
  2206. .layout-region-checkout-main{
  2207. // disable default style
  2208. width:100%;
  2209. float: none;
  2210. // apply custom style
  2211. order:2;
  2212. background-color: $color-webshowroom;
  2213. padding: 1em;
  2214. label,
  2215. legend,
  2216. fieldset#edit-review-contact-information,
  2217. fieldset#edit-review-payment-information{
  2218. color: #fff;
  2219. }
  2220. fieldset{
  2221. border:none;
  2222. margin:0; padding:0;
  2223. legend{
  2224. font-size: 1.5em;
  2225. font-weight: 600;
  2226. margin-bottom: 0.5em;
  2227. }
  2228. }
  2229. $lw:10em;
  2230. .form-item{
  2231. margin:0 0 0.5em 0;
  2232. }
  2233. label{
  2234. display: inline-block;
  2235. font-weight: bold;
  2236. min-width: $lw;
  2237. }
  2238. input[type="text"]{
  2239. width:20em;
  2240. }
  2241. .stripe-form{
  2242. display: inline-block;
  2243. background-color: #fff;
  2244. color: #1A1A1A;
  2245. border-radius: 5px;
  2246. padding: 1em;
  2247. margin: 0 0 1em;
  2248. .form-item{
  2249. display: flex;
  2250. align-items: center;
  2251. flex-flow: row nowrap;
  2252. label{
  2253. color: #777;
  2254. }
  2255. .form-text{
  2256. background-color: #fff;
  2257. border-radius: 3px;
  2258. }
  2259. }
  2260. }
  2261. // .form-item-payment-information-billing-information-address-0-address-address-line2
  2262. .form-item-payment-information-add-payment-method-billing-information-address-0-address-address-line2{
  2263. padding-left:$lw + 0.25em;
  2264. }
  2265. // .form-item-payment-information-billing-information-copy-to-address-book
  2266. .form-item-payment-information-add-payment-method-billing-information-copy-to-address-book{
  2267. display: none;
  2268. }
  2269. }
  2270. .layout-region-checkout-secondary{
  2271. // disable default style
  2272. width:100%;
  2273. float: none;
  2274. // apply custom style
  2275. order: 1;
  2276. // display: flex;
  2277. // flex-flow: row nowrap;
  2278. // >.checkout-pane{
  2279. // flex: 0 0 50%;
  2280. // }
  2281. >h3{display:none;}
  2282. #edit-order-summary{
  2283. background-color: $color-base;
  2284. color:#fff;
  2285. padding:1em;
  2286. .view-commerce-checkout-order-summary{
  2287. display: flex;
  2288. flex-flow: row nowrap;
  2289. justify-content: space-between;
  2290. align-items: flex-end;
  2291. }
  2292. .field--name-product-id{
  2293. .field--name-title{
  2294. font-size: 2.5em;
  2295. font-weight: 800;
  2296. }
  2297. .field--name-body{
  2298. }
  2299. }
  2300. .field--name-title{
  2301. font-size: 1.5em;
  2302. font-weight: 600;
  2303. }
  2304. p{
  2305. margin:0;
  2306. }
  2307. }
  2308. #edit-coupon-redemption{
  2309. background-color: $color-showrooms;
  2310. padding:1em;
  2311. >.form-wrapper{
  2312. display: flex;
  2313. flex-flow: row;
  2314. align-items: center;
  2315. .form-item{
  2316. margin:0 0.5em 0 0;
  2317. label{
  2318. color: #fff;
  2319. font-size: 1.5em;
  2320. font-weight: 600;
  2321. margin-right: 0.5em;
  2322. }
  2323. input[type="text"]{
  2324. width: 7em;
  2325. }
  2326. }
  2327. input[type="submit"]{
  2328. background-color: #fff;
  2329. color: $color-showrooms;
  2330. border: none;
  2331. margin:0;
  2332. padding:0.1em 0.7em;
  2333. box-sizing: content-box;
  2334. height:2em;
  2335. font-weight: 800;
  2336. border-radius: 5px;
  2337. }
  2338. }
  2339. }
  2340. }
  2341. .layout-region-checkout-footer{
  2342. // disable default style
  2343. float: none;
  2344. width: 100%;
  2345. padding: 0;
  2346. // apply custom style
  2347. order: 3;
  2348. #edit-actions{
  2349. text-align: right;
  2350. }
  2351. input#edit-actions-next{
  2352. background-color: $color-blabla;
  2353. color: #fff;
  2354. border: none;
  2355. border-radius: 5px;
  2356. padding: 0.2em 0.4em 0.3em;
  2357. font-weight: 600;
  2358. font-size: 1.323em;
  2359. }
  2360. }
  2361. }
  2362. }
  2363. form#user-pass{
  2364. input.form-email{
  2365. max-width: 95%;
  2366. }
  2367. }
  2368. // ___ _
  2369. // | __|__ ___| |_ ___ _ _
  2370. // | _/ _ \/ _ \ _/ -_) '_|
  2371. // |_|\___/\___/\__\___|_|
  2372. footer[role="contentinfo"]{
  2373. body:not(.path-home) & {
  2374. display:none;
  2375. }
  2376. #block-materiosimplenewssubscription{
  2377. form{
  2378. display: flex;
  2379. flex-flow: row nowrap;
  2380. align-items: center;
  2381. font-size: 0.756em;
  2382. >*{
  2383. margin-right: 0.5em;
  2384. }
  2385. #edit-subscriptions{
  2386. display: flex;
  2387. flex-flow: row nowrap;
  2388. >*{
  2389. margin-right: 0.5em;
  2390. display: flex;
  2391. flex-flow: row nowrap;
  2392. align-items: center;
  2393. }
  2394. input{
  2395. margin-right: 0.3em;
  2396. }
  2397. }
  2398. #edit-mail-wrapper{
  2399. input[type="email"]{
  2400. width:10em;
  2401. }
  2402. }
  2403. #edit-actions--2{
  2404. input[type="submit"]{
  2405. border: none;
  2406. background: none;
  2407. background-color: $color-base;
  2408. border-radius: 5px;
  2409. color: #fff;
  2410. padding: 0.7em 1em;
  2411. font-weight: 700;
  2412. }
  2413. }
  2414. }
  2415. }
  2416. }