main.scss 22 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079
  1. @import './base/reset';
  2. @import './base/variables';
  3. @import './base/colors';
  4. @import './base/grid';
  5. @import './base/layout';
  6. @import './base/animations';
  7. @import './base/fonts';
  8. html{
  9. // background-color: red;
  10. }
  11. aside.messages{
  12. border:none;
  13. }
  14. // _ _ _
  15. // | || |___ __ _ __| |___ _ _
  16. // | __ / -_) _` / _` / -_) '_|
  17. // |_||_\___\__,_\__,_\___|_|
  18. header[role="banner"]{
  19. padding:0.2em 0 0 0;
  20. %header-fs{
  21. font-size: 0.9em;
  22. // line-height: 1;
  23. font-weight: 400;
  24. }
  25. #block-sitebranding{
  26. h1{
  27. margin:0;
  28. line-height: 1;
  29. }
  30. }
  31. #block-userlogin{
  32. position: relative;
  33. // width:8em;
  34. padding:0 1em;
  35. overflow: visible;
  36. h2{
  37. @extend %header-fs;
  38. line-height: 1.38;
  39. margin: 0;
  40. }
  41. &>section{
  42. background-color: #fff;
  43. overflow: hidden;
  44. width:11em;
  45. height:1px;
  46. padding:0.01em 1em;
  47. // margin:0 0 0 -1em;
  48. box-sizing:content-box;
  49. transition: all 0.4s ease-in-out;
  50. // outline: 1px solid blue;
  51. transition-delay: 2s;
  52. position: absolute;
  53. right:0;
  54. top:1.7em;
  55. box-sizing: content-box;
  56. }
  57. &:hover{
  58. &>section{
  59. transition-delay: 0s;
  60. height:12em;
  61. padding:1em 1em;
  62. box-shadow: 0 0 10px #ccc;
  63. }
  64. }
  65. .form-item{
  66. margin:0;
  67. position: relative;
  68. width:100%;
  69. &.form-item-name{
  70. margin:2px 0 0.5em 0;
  71. input{
  72. width:90%;
  73. padding:0;
  74. box-sizing: content-box;
  75. }
  76. }
  77. &.form-item-pass{
  78. margin:0 0 0.5em 0;
  79. input{
  80. width:90%;
  81. padding:0;
  82. box-sizing: content-box;
  83. }
  84. }
  85. &.form-item-persistent-login{
  86. font-size: 0.756em;
  87. label{
  88. vertical-align: top;
  89. }
  90. }
  91. }
  92. #edit-actions{
  93. margin:0;
  94. }
  95. .item-list{
  96. ul{
  97. margin:0;
  98. li{
  99. list-style: none;
  100. margin:0;
  101. a{
  102. font-size: 0.756em;
  103. }
  104. }
  105. }
  106. }
  107. }
  108. // non-vue userblock
  109. #block-userblock{
  110. h2{display:none;}
  111. a{
  112. margin-right: 1em;
  113. }
  114. }
  115. // vue userblock
  116. #user-tools{
  117. padding-top: 0.06em;
  118. h4{
  119. @extend %header-fs;
  120. cursor: pointer;
  121. }
  122. .mdi-logout::before {
  123. margin: -0.125em 0 0 0;
  124. vertical-align: top;
  125. }
  126. }
  127. // vue flaglist
  128. #user-flags{
  129. border-left: 1px solid #000;
  130. padding-left: 0.5em;
  131. margin-left: 0.5em;
  132. display: inline-block;
  133. vertical-align: top;
  134. position: relative;
  135. h2{
  136. @extend %header-fs;
  137. cursor: pointer;
  138. &:before{padding-right: 0.2em;}
  139. }
  140. ul{
  141. background-color: #fff;
  142. overflow: hidden;
  143. width:11em;
  144. max-height:1px;
  145. padding:0.01em 1em;
  146. // margin:0 0 0 -1em;
  147. box-sizing:content-box;
  148. transition: all 0.4s ease-in-out;
  149. // outline: 1px solid blue;
  150. transition-delay: 2s;
  151. position: absolute;
  152. right:0;
  153. top:1.7em;
  154. box-sizing: content-box;
  155. z-index: 30;
  156. }
  157. &:hover{
  158. ul{
  159. transition-delay: 0s;
  160. max-height:50em;
  161. padding:1em 1em;
  162. box-shadow: 0 0 10px #ccc;
  163. }
  164. }
  165. li{
  166. width:100%;
  167. // cursor: pointer;
  168. display: flex;
  169. flex-direction: row;
  170. align-items: baseline;
  171. flex-wrap: nowrap;
  172. h5{
  173. @extend %header-fs;
  174. cursor: pointer;
  175. }
  176. span.mdi{
  177. font-size: 0.9em;
  178. }
  179. div.actions{
  180. opacity:0;
  181. transition: opacity 0.3s ease-in-out;
  182. padding-left:0.5em;
  183. span.mdi{
  184. cursor: pointer;
  185. color: #4e4d4d;
  186. }
  187. span.delete-btn{
  188. &.loading:before{
  189. animation: rotating 2s linear infinite;
  190. }
  191. }
  192. }
  193. &:hover{
  194. div.actions{
  195. opacity:1;
  196. }
  197. }
  198. &.create-flag{
  199. margin-top: 0.2em;
  200. input{
  201. align-self: flex-end;
  202. border: 1px solid #bbb;
  203. border-radius:5px;
  204. width: calc(100% - 2em);
  205. font-size:0.8em;
  206. }
  207. span.add-btn{
  208. align-self: flex-end;
  209. color: #bbb;
  210. font-size: 1em;
  211. padding: 0 0 0 .5em;
  212. transition: all 0.2s ease-in-out;
  213. &.active{
  214. cursor: pointer;
  215. color:#1a1a1a;
  216. }
  217. &.loading:before{
  218. animation: rotating 2s linear infinite;
  219. }
  220. }
  221. }
  222. }
  223. }
  224. // menu
  225. #block-header{
  226. margin-right: 1em;
  227. padding-left: 1em;
  228. border-left: 1px solid #000;
  229. ul.menu{
  230. margin:0;
  231. li{
  232. padding:0;
  233. display: inline-block;
  234. &:not(:first-of-type){
  235. margin-left: 0.5em;
  236. }
  237. a{
  238. @extend %header-fs;
  239. }
  240. }
  241. }
  242. }
  243. #block-languageswitcher{
  244. text-align: right;
  245. h2{
  246. margin: 0.1em 0 0 0;
  247. font-size: 0.756em;
  248. font-weight: 400;
  249. padding:0.1em 0.4em 0.2em;
  250. border-radius: 3px;
  251. background-color: #444;
  252. color: #fff;
  253. display: inline-block;
  254. vertical-align: top;
  255. }
  256. &>ul.links{
  257. // background-color: #fff;
  258. overflow: hidden;
  259. width:3.5em;
  260. // display: inline-block;
  261. height:1px;
  262. padding:0.01em 0;
  263. margin:0;
  264. box-sizing:content-box;
  265. transition: all 0.4s ease-in-out;
  266. // outline: 1px solid blue;
  267. // transition-delay: 2s;
  268. }
  269. &:hover{
  270. &>ul.links{
  271. transition-delay: 0s;
  272. height:2em;
  273. padding:0.3em 0;
  274. // box-shadow: 0 0 10px #ccc;
  275. }
  276. }
  277. li{
  278. list-style: none;
  279. padding:0;
  280. display: inline-block;
  281. &.is-active{
  282. display:none;
  283. }
  284. a{
  285. margin: 0;
  286. font-size: 0.756em;
  287. font-weight: 400;
  288. padding:0.2em 0.4em;
  289. border-radius: 3px;
  290. background-color: #444;
  291. color: #fff;
  292. }
  293. }
  294. }
  295. // header bottom
  296. #block-pagetitle{
  297. float: left;
  298. padding:1em 0;
  299. h2{
  300. margin:0;
  301. font-size: 1.512em;
  302. text-transform: capitalize;
  303. font-weight: 300;
  304. body:not(.path-home) & {
  305. padding:0.5em 1em;
  306. }
  307. body.path-blabla & {
  308. color: #fff;
  309. background-color: $color-blabla;
  310. }
  311. body.path-showrooms & {
  312. color: #fff;
  313. background-color: $color-showrooms;
  314. }
  315. body.path-base & {
  316. color: #fff;
  317. background-color: $color-base;
  318. }
  319. }
  320. }
  321. #block-materiosapisearchblock{
  322. float:right;
  323. display:inline-block;
  324. // box-shadow: 0 0 5px rgba(0,0,0,0.2);
  325. padding:0;
  326. #materio-sapi-search-form{
  327. .form-item, input.button{
  328. display: inline-block;
  329. }
  330. #edit-search{
  331. border:1px #BBB solid;
  332. border-radius: 14px;
  333. padding:0.3em;
  334. color:#666;
  335. }
  336. #edit-submit{
  337. border:0;
  338. text-indent: 50px;
  339. overflow: hidden;
  340. width:20px; height:20px;
  341. margin:0;
  342. // border-radius: 7px;
  343. background-image: url('../img/search.png');
  344. background-position: center;
  345. background-repeat: no-repeat;
  346. background-size: contain;
  347. }
  348. }
  349. }
  350. }
  351. // main
  352. aside.messages{
  353. padding: 0;
  354. }
  355. // content top
  356. // #content-top{
  357. // &:after{
  358. // content:"";
  359. // clear:both;
  360. // display: block;
  361. // }
  362. // }
  363. // ___ _ _ _ __ _
  364. // / __|___ _ _| |_ ___ _ _| |_ ___| | ___ / _| |_
  365. // | (__/ _ \ ' \ _/ -_) ' \ _|___| |__/ -_) _| _|
  366. // \___\___/_||_\__\___|_||_\__| |____\___|_| \__|
  367. #content-left{
  368. z-index: 5;
  369. box-sizing: content-box;
  370. max-width:1px;
  371. overflow-x: hidden;
  372. transition: all 0.3s ease-in-out;
  373. &.opened{
  374. max-width: 500px;
  375. padding: 0.3em;
  376. }
  377. >*{
  378. box-sizing: border-box;
  379. background-color: #fff;
  380. box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
  381. padding: 0.5em;
  382. }
  383. .flag-collection{
  384. >header{
  385. display: flex;
  386. flex-direction: row;
  387. justify-content: space-between;
  388. padding-bottom: $column_goutiere;
  389. h3{
  390. // flex-basis: calc(100% - 1em);
  391. }
  392. .mdi-close{
  393. // display: block;
  394. // flex-basis: 1em;
  395. cursor:pointer;
  396. align-self: flex-end;
  397. }
  398. }
  399. >ul{
  400. >li{
  401. margin:0 0 $column_goutiere 0;
  402. padding:0;
  403. article.card.minicard{
  404. width:$minicard_width;
  405. height:$minicard_height;
  406. margin:auto;
  407. >header{
  408. padding: 0.3em 0.3em 0.1em;
  409. h1{
  410. margin:0;
  411. }
  412. }
  413. >nav.tools{
  414. top: auto;
  415. bottom: 0;
  416. padding:0 0.2em;
  417. background:transparent;
  418. .mdi.unflag{
  419. cursor: pointer;
  420. }
  421. }
  422. }
  423. }
  424. }
  425. }
  426. }
  427. // __ _
  428. // / _|_ _ ___ _ _| |_
  429. // | _| '_/ _ \ ' \ _|
  430. // |_| |_| \___/_||_\__|
  431. article.node--type-frontpage{
  432. %front-col-field__label{
  433. font-size: 3.5em;
  434. line-height: 1;
  435. }
  436. %front-col-descritpion{
  437. font-size: 0.9em;
  438. line-height: 1.3;
  439. }
  440. %part-centered-layout{
  441. padding:1.5em 0;
  442. background-color: #fff;
  443. >div:nth-child(1){
  444. width:80%;
  445. margin: 0 auto;
  446. text-align: center;
  447. .field__label{
  448. @extend %front-col-field__label;
  449. }
  450. .field__item{
  451. @extend %front-col-descritpion;
  452. }
  453. }
  454. }
  455. %part-columned-layout{
  456. display:grid;
  457. grid-template-columns: 300px 1fr;
  458. grid-column-gap: 2em;
  459. padding:2em 1em;
  460. >div:nth-child(1){
  461. color: #fff;
  462. grid-column: 1;
  463. .field__label{
  464. @extend %front-col-field__label;
  465. }
  466. .field__item{
  467. @extend %front-col-descritpion;
  468. }
  469. }
  470. >div:nth-child(2){
  471. grid-column: 2;
  472. }
  473. }
  474. .node__content{
  475. &>section{
  476. &.home-intro{
  477. @extend %part-centered-layout;
  478. }
  479. &.home-database{
  480. background-color: $color-base;
  481. @extend %part-columned-layout;
  482. .field--name-field-a-database{}
  483. .cards-list-home{
  484. position: relative;
  485. // max-height: (130px*1.4)*3;
  486. max-height: 580px;
  487. overflow-y: hidden;
  488. ul{
  489. width:100%;
  490. margin:0; padding:0;
  491. display: grid;
  492. grid-template-columns: repeat(auto-fill, minmax(50px, 130px));
  493. grid-template-rows: 1fr;
  494. grid-gap: 1em;
  495. justify-content:start;
  496. li{
  497. position: relative;
  498. list-style: none;
  499. margin:0; padding:0;
  500. padding-top: 140%;
  501. .card{
  502. position:absolute;
  503. top:0; bottom:0;
  504. left:0; right:0;
  505. width: auto;
  506. height: auto;
  507. .field--name-field-short-description{
  508. font-size: 0.756em;
  509. line-height: 0.9;
  510. }
  511. }
  512. }
  513. }
  514. }
  515. }
  516. &.home-showrooms{
  517. background-color: $color-showrooms;
  518. @extend %part-columned-layout;
  519. .field--name-field-showrooms{
  520. }
  521. .field--name-computed-showrooms-reference{
  522. position:relative;
  523. // height:550px;
  524. display: grid;
  525. grid-template-rows: 1fr;
  526. $bp: ($column_width + $column_goutiere )*7;
  527. @media only screen and (max-width: $bp){
  528. grid-template-columns: 1fr;
  529. >.field__item{
  530. grid-column: 1;
  531. }
  532. }
  533. @media only screen and (min-width: $bp + 1px){
  534. grid-template-columns: 1fr 1fr;
  535. grid-gap: 1em;
  536. >.field__item:nth-child(odd){
  537. grid-column: 1;
  538. }
  539. >.field__item:nth-child(even){
  540. grid-column: 2;
  541. }
  542. }
  543. >.field__item{
  544. grid-row: 1;
  545. // position: absolute;
  546. // top:0; left:0;
  547. // width:100%; height:100%;
  548. // overflow: hidden;
  549. .taxonomy-term{
  550. position: relative;
  551. width:100%; height:100%;
  552. div.visuel{
  553. width:100%;
  554. padding-bottom: 10em;
  555. img{
  556. max-width: 100%;
  557. height: auto;
  558. }
  559. }
  560. section.text{
  561. position: absolute;
  562. bottom:0; left:0;
  563. width:100%;
  564. box-sizing:border-box;
  565. padding:1em 0;
  566. background-color:$color-showrooms;
  567. color: #fff;
  568. >*{
  569. // display: inline-block;
  570. font-size: 0.9em;
  571. }
  572. h2,p{
  573. margin:0;
  574. }
  575. }
  576. }
  577. }
  578. }
  579. }
  580. &.home-blabla{
  581. background-color: $color-blabla;
  582. @extend %part-columned-layout;
  583. .cards-list-home{
  584. position: relative;
  585. $bp: ($column_width*2 + $column_goutiere );
  586. overflow-y: hidden;
  587. @media only screen and (max-width: $bp * 6){
  588. max-height: 630px;
  589. }
  590. @media only screen and (min-width: ($bp * 6) + 1px){
  591. max-height: 310px;
  592. }
  593. ul{
  594. width:100%;
  595. margin:0; padding:0;
  596. display: grid;
  597. grid-template-columns: repeat(auto-fill, minmax(80px, $column_width*2));
  598. // grid-template-rows: 1fr;
  599. grid-gap: 1em;
  600. justify-content:start;
  601. li{
  602. position: relative;
  603. list-style: none;
  604. margin:0; padding:0;
  605. padding-top: 67.8%;
  606. overflow: hidden;
  607. .card{
  608. position:absolute;
  609. top:0; bottom:0;
  610. left:0; right:0;
  611. width: auto;
  612. height: auto;
  613. .field--name-title{
  614. font-size: 0.756em;
  615. line-height: 0.9;
  616. }
  617. }
  618. }
  619. }
  620. }
  621. }
  622. &.home-pricing{
  623. @extend %part-centered-layout;
  624. }
  625. }
  626. }
  627. }
  628. // ___ _
  629. // / __|__ _ _ _ __| |___
  630. // | (__/ _` | '_/ _` (_-<
  631. // \___\__,_|_| \__,_/__/
  632. .infinite-loading-container{
  633. .infinite-status-prompt{
  634. i[class^="loading-"]{
  635. width:15px; height:15px;
  636. }
  637. }
  638. }
  639. .cards-list{
  640. position: relative;
  641. .search-info{
  642. font-size: 0.756em;
  643. font-weight: 500;
  644. margin: 0;
  645. padding: 0 0 0.5em 0;
  646. }
  647. &>ul{
  648. // outline: 1px green solid;
  649. margin:0; padding:0;
  650. width: calc(100% + #{$column_goutiere});
  651. &>li{
  652. list-style: none;
  653. margin:0 $column_goutiere $column_goutiere 0; padding:0;
  654. display: inline-block;
  655. vertical-align: top;
  656. }
  657. }
  658. }
  659. article.card{
  660. position: relative;
  661. box-shadow: 0 0 5px rgba(0,0,0,0.2);
  662. width:$column_width; height:$card_height;
  663. &.article{
  664. width:$column_width*2 + $column_goutiere; height:$card_height;
  665. }
  666. &.minicard{
  667. height:100px;
  668. }
  669. // &.card-small{
  670. // width:100px; height:140px;
  671. // }
  672. // focused
  673. // box-shadow: 0 0 7px rgba(0,0,0,0.9);
  674. // &.article{
  675. // width: $column_width * 2 + $column_goutiere;
  676. //
  677. // }
  678. header{
  679. position: absolute;
  680. bottom:0;
  681. z-index:10;
  682. color: #000;
  683. background-color: rgba(255,255,255,0.8);
  684. padding: 0.3em 0.3em;
  685. box-sizing:border-box;
  686. width:100%;
  687. h1, h4{ margin:0; padding:0; }
  688. h1{
  689. font-size: 1.3em;
  690. font-weight: 700;
  691. line-height: 0.85;
  692. margin-bottom: 0.2em;
  693. }
  694. h4{
  695. font-size: 0.882em;
  696. font-weight: 300;
  697. line-height: 1;
  698. // margin-bottom: 0.1em;
  699. }
  700. span.ref{
  701. font-size: 0.693em;
  702. font-weight: 300;
  703. line-height: 1;
  704. }
  705. }
  706. nav.tools{
  707. position: absolute;
  708. top: 0;
  709. right: 0;
  710. z-index: 21;
  711. $toolbar_width: 15px;
  712. width: $toolbar_width;
  713. background-color: #fff;
  714. box-sizing: content-box;
  715. padding: 0.3em 0.1em;
  716. >*{
  717. overflow: visible;
  718. position: relative;
  719. span.btn{
  720. overflow: hidden;
  721. font-size: 0.882em;
  722. }
  723. .tool-content{
  724. position: absolute;
  725. top: 0px;
  726. right: 100%;
  727. // width: 5em;
  728. width: $column_width - $toolbar_width - 10px;
  729. box-sizing: border-box;
  730. padding: 0.3em;
  731. background-color: #fff;
  732. box-shadow: -2px 3px 4px rgba(0, 0, 0, 0.2);
  733. opacity: 0;
  734. max-height: 0; max-width:0;
  735. overflow: hidden;
  736. transition: all 0.2s ease-in-out;
  737. }
  738. &:hover{
  739. .tool-content{
  740. transition: all 0.3s ease-in-out;
  741. opacity: 1;
  742. max-height: 195px;
  743. max-width:200px;
  744. }
  745. }
  746. }
  747. .tool.flags{
  748. .tool-content{
  749. ul{
  750. display: flex;
  751. flex-flow: row wrap;
  752. li{
  753. padding:0 0.5em 0 0;
  754. }
  755. }
  756. }
  757. span.flag{
  758. cursor: pointer;
  759. font-size: 0.756em;
  760. color: #bbb;
  761. transition: color 0.3s ease-in-out;
  762. &:hover, &.isActive{
  763. color:#1a1a1a;
  764. }
  765. }
  766. }
  767. opacity: 0;
  768. transition: opacity 0.2s ease-in-out;
  769. }
  770. &:hover{
  771. nav.tools{
  772. opacity:1;
  773. }
  774. }
  775. section.images{
  776. position: relative;
  777. &, *{width: 100%; height:100%;}
  778. figure{
  779. cursor: pointer;
  780. margin:0;
  781. position: absolute;
  782. top:0; left:0;
  783. // width: 100%; height:100%;
  784. &:first-of-type{
  785. z-index:5
  786. }
  787. transition: opacity 0.2s ease-in-out;
  788. &.show{opacity: 1; z-index:6;}
  789. &.hide{opacity: 0;}
  790. img{
  791. // width: 100%; height:100%;
  792. &.blank{
  793. position: absolute;
  794. top:0; left:0;
  795. z-index: 20;
  796. }
  797. }
  798. }
  799. }
  800. // overwritnig card for card-medium (aka search-card)
  801. &.search-card{
  802. >header{
  803. cursor: pointer;
  804. }
  805. }
  806. // overwriting card for modal-card
  807. &.modal-card{
  808. display: flex;
  809. flex-flow: row-reverse nowrap;
  810. width: $modalcard_width;
  811. height: $modalcard_height;
  812. >.col{
  813. flex-basis: 50%;
  814. }
  815. section.col-right{
  816. >*:not(nav.tools){
  817. position: relative;
  818. padding: 0.5em;
  819. box-sizing: border-box;
  820. width: 100%;
  821. }
  822. header{
  823. bottom: auto;
  824. }
  825. section.samples{
  826. ul{
  827. display: flex;
  828. flex-flow: row wrap;
  829. font-size: 0.882em;
  830. font-weight: 300;
  831. // line-height: 1.35;
  832. li{
  833. padding-right: 0.5em;
  834. span.showroom{ font-weight: 500; }
  835. }
  836. }
  837. }
  838. section.body{
  839. p{
  840. font-size: 0.882em;
  841. font-weight: 300;
  842. line-height: 1.35;
  843. }
  844. }
  845. nav.tools{
  846. opacity: 1;
  847. section.close{
  848. span.btn.mdi-close{
  849. cursor:pointer;
  850. }
  851. }
  852. }
  853. }
  854. }
  855. }
  856. // ___ _ _ _
  857. // | _ ) |__ _| |__| |__ _
  858. // | _ \ / _` | '_ \ / _` |
  859. // |___/_\__,_|_.__/_\__,_|
  860. #blabla{
  861. }
  862. #main-content > article.article{
  863. div.cols{
  864. display: grid;
  865. grid-template-rows: 1fr;
  866. grid-template-columns: repeat(6, 1fr);
  867. grid-gap: 1em;
  868. div.col-left{
  869. grid-column: 1;
  870. }
  871. div.col-right{
  872. grid-column: 2/6;
  873. }
  874. }
  875. section.accroche{
  876. figure{
  877. width:$column_width*2 + $column_goutiere;
  878. margin:0 $column_goutiere 0 0;
  879. img{
  880. width:100%;
  881. }
  882. }
  883. }
  884. section.taxonomy{
  885. margin:1em 0;
  886. ul{
  887. margin: 0;
  888. }
  889. li{
  890. display:inline-block;
  891. padding:0 0.5em 0 0;
  892. }
  893. }
  894. div.gallery-wrapper{
  895. .image{
  896. display: inline-block;
  897. width:$column_width;
  898. margin:0 $column_goutiere $column_goutiere*0.6 0;
  899. height:$card_height / 2;
  900. background-size: cover;
  901. }
  902. }
  903. // section.videos{
  904. // ul{
  905. // margin:0; padding:0;
  906. // li{
  907. // margin:0; padding:0;
  908. // display: inline-block;
  909. // width:100%; overflow: hidden;
  910. // }
  911. // }
  912. // }
  913. // section.visuels{
  914. // width:calc(100% + #{$column_goutiere});
  915. // figure{
  916. // position: relative;
  917. // display: inline-block;
  918. // vertical-align: top;
  919. // width:$column_width*2 + $column_goutiere;
  920. // margin:0 $column_goutiere $column_goutiere*0.6 0;
  921. // img{
  922. // width:100%;
  923. // }
  924. // caption{
  925. // position: absolute; bottom: 0; left:0;
  926. // box-sizing: border-box; width: 100%; padding:0.5em;
  927. // background-color: $transparent-bg-blk; color: #fff;
  928. // }
  929. // }
  930. // }
  931. aside.linked-materials{
  932. ul{
  933. width:calc(100% + #{$column_goutiere});
  934. li{
  935. display: inline-block;
  936. vertical-align: top;
  937. width:$column_width;
  938. margin:0 $column_goutiere 0 0;
  939. }
  940. }
  941. h3.field__label{
  942. font-size: 1em;
  943. font-weight: 500;
  944. margin: 2em 0 1em 0;
  945. }
  946. h1.title{
  947. font-size: 1em;
  948. font-weight: 400;
  949. }
  950. h3.ref{
  951. font-size: 0.756em;
  952. font-weight: 600;
  953. }
  954. h2.description{
  955. font-size: 0.756em;
  956. font-weight: 400;
  957. }
  958. }
  959. nav.prevnext{
  960. &.bottom{
  961. margin:2em 0;
  962. }
  963. ul{
  964. padding:0;
  965. margin:0;
  966. display: grid;
  967. grid-template-columns: 1fr 1fr;
  968. }
  969. li{
  970. padding:0;
  971. margin:0;
  972. list-style: none;
  973. a{
  974. font-size: 0.756em;
  975. font-weight: 700;
  976. }
  977. &:nth-child(1){
  978. grid-column: 1;
  979. a:before{
  980. content:'< ';
  981. }
  982. }
  983. &:nth-child(2){
  984. grid-column: 2;
  985. text-align: right;
  986. a:after{
  987. content:' >';
  988. }
  989. }
  990. }
  991. }
  992. }
  993. // ___ _
  994. // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
  995. // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
  996. // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
  997. #showrooms{
  998. width: calc(100% + #{$column_goutiere});
  999. article.showroom{
  1000. width: $column_width * 2 + $column_goutiere;
  1001. display: inline-block;
  1002. vertical-align: top;
  1003. margin: 0 $column_goutiere $column_goutiere 0;
  1004. h1{
  1005. margin:0;
  1006. font-weight: 4;
  1007. }
  1008. p{ margin:0; }
  1009. figure{
  1010. margin:0;
  1011. img{
  1012. max-width: 100%;
  1013. }
  1014. }
  1015. }
  1016. }