main.scss 21 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018
  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. margin:0;
  780. position: absolute;
  781. top:0; left:0;
  782. // width: 100%; height:100%;
  783. &:first-of-type{
  784. z-index:5
  785. }
  786. img{
  787. // width: 100%; height:100%;
  788. &.blank{
  789. position: absolute;
  790. top:0; left:0;
  791. z-index: 20;
  792. }
  793. }
  794. }
  795. }
  796. }
  797. // ___ _ _ _
  798. // | _ ) |__ _| |__| |__ _
  799. // | _ \ / _` | '_ \ / _` |
  800. // |___/_\__,_|_.__/_\__,_|
  801. #blabla{
  802. }
  803. #main-content > article.article{
  804. div.cols{
  805. display: grid;
  806. grid-template-rows: 1fr;
  807. grid-template-columns: repeat(6, 1fr);
  808. grid-gap: 1em;
  809. div.col-left{
  810. grid-column: 1;
  811. }
  812. div.col-right{
  813. grid-column: 2/6;
  814. }
  815. }
  816. section.accroche{
  817. figure{
  818. width:$column_width*2 + $column_goutiere;
  819. margin:0 $column_goutiere 0 0;
  820. img{
  821. width:100%;
  822. }
  823. }
  824. }
  825. section.taxonomy{
  826. margin:1em 0;
  827. ul{
  828. margin: 0;
  829. }
  830. li{
  831. display:inline-block;
  832. padding:0 0.5em 0 0;
  833. }
  834. }
  835. div.gallery-wrapper{
  836. .image{
  837. display: inline-block;
  838. width:$column_width;
  839. margin:0 $column_goutiere $column_goutiere*0.6 0;
  840. height:$card_height / 2;
  841. background-size: cover;
  842. }
  843. }
  844. // section.videos{
  845. // ul{
  846. // margin:0; padding:0;
  847. // li{
  848. // margin:0; padding:0;
  849. // display: inline-block;
  850. // width:100%; overflow: hidden;
  851. // }
  852. // }
  853. // }
  854. // section.visuels{
  855. // width:calc(100% + #{$column_goutiere});
  856. // figure{
  857. // position: relative;
  858. // display: inline-block;
  859. // vertical-align: top;
  860. // width:$column_width*2 + $column_goutiere;
  861. // margin:0 $column_goutiere $column_goutiere*0.6 0;
  862. // img{
  863. // width:100%;
  864. // }
  865. // caption{
  866. // position: absolute; bottom: 0; left:0;
  867. // box-sizing: border-box; width: 100%; padding:0.5em;
  868. // background-color: $transparent-bg-blk; color: #fff;
  869. // }
  870. // }
  871. // }
  872. aside.linked-materials{
  873. ul{
  874. width:calc(100% + #{$column_goutiere});
  875. li{
  876. display: inline-block;
  877. vertical-align: top;
  878. width:$column_width;
  879. margin:0 $column_goutiere 0 0;
  880. }
  881. }
  882. h3.field__label{
  883. font-size: 1em;
  884. font-weight: 500;
  885. margin: 2em 0 1em 0;
  886. }
  887. h1.title{
  888. font-size: 1em;
  889. font-weight: 400;
  890. }
  891. h3.ref{
  892. font-size: 0.756em;
  893. font-weight: 600;
  894. }
  895. h2.description{
  896. font-size: 0.756em;
  897. font-weight: 400;
  898. }
  899. }
  900. nav.prevnext{
  901. &.bottom{
  902. margin:2em 0;
  903. }
  904. ul{
  905. padding:0;
  906. margin:0;
  907. display: grid;
  908. grid-template-columns: 1fr 1fr;
  909. }
  910. li{
  911. padding:0;
  912. margin:0;
  913. list-style: none;
  914. a{
  915. font-size: 0.756em;
  916. font-weight: 700;
  917. }
  918. &:nth-child(1){
  919. grid-column: 1;
  920. a:before{
  921. content:'< ';
  922. }
  923. }
  924. &:nth-child(2){
  925. grid-column: 2;
  926. text-align: right;
  927. a:after{
  928. content:' >';
  929. }
  930. }
  931. }
  932. }
  933. }
  934. // ___ _
  935. // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
  936. // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
  937. // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
  938. #showrooms{
  939. width: calc(100% + #{$column_goutiere});
  940. article.showroom{
  941. width: $column_width * 2 + $column_goutiere;
  942. display: inline-block;
  943. vertical-align: top;
  944. margin: 0 $column_goutiere $column_goutiere 0;
  945. h1{
  946. margin:0;
  947. font-weight: 4;
  948. }
  949. p{ margin:0; }
  950. figure{
  951. margin:0;
  952. img{
  953. max-width: 100%;
  954. }
  955. }
  956. }
  957. }