main.scss 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136
  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. body.path-thematique & {
  317. color: #fff;
  318. background-color: $color-base;
  319. }
  320. }
  321. }
  322. #block-materiosapisearchblock{
  323. float:right;
  324. display:inline-block;
  325. // box-shadow: 0 0 5px rgba(0,0,0,0.2);
  326. padding:0;
  327. #materio-sapi-search-form{
  328. .form-item, input.button{
  329. display: inline-block;
  330. }
  331. #edit-search{
  332. border:1px #BBB solid;
  333. border-radius: 14px;
  334. padding:0.3em;
  335. color:#666;
  336. }
  337. #edit-submit{
  338. border:0;
  339. text-indent: 50px;
  340. overflow: hidden;
  341. width:20px; height:20px;
  342. margin:0;
  343. // border-radius: 7px;
  344. background-image: url('../img/search.png');
  345. background-position: center;
  346. background-repeat: no-repeat;
  347. background-size: contain;
  348. }
  349. }
  350. }
  351. }
  352. // main
  353. aside.messages{
  354. padding: 0;
  355. }
  356. // content top
  357. // #content-top{
  358. // &:after{
  359. // content:"";
  360. // clear:both;
  361. // display: block;
  362. // }
  363. // }
  364. // ___ _ _ _ __ _
  365. // / __|___ _ _| |_ ___ _ _| |_ ___| | ___ / _| |_
  366. // | (__/ _ \ ' \ _/ -_) ' \ _|___| |__/ -_) _| _|
  367. // \___\___/_||_\__\___|_||_\__| |____\___|_| \__|
  368. #content-left{
  369. z-index: 5;
  370. box-sizing: content-box;
  371. max-width:1px;
  372. overflow-x: hidden;
  373. transition: all 0.3s ease-in-out;
  374. &.opened{
  375. max-width: 500px;
  376. padding: 0.3em;
  377. }
  378. >*{
  379. box-sizing: border-box;
  380. background-color: #fff;
  381. box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
  382. padding: 0.5em;
  383. }
  384. .flag-collection{
  385. >header{
  386. display: flex;
  387. flex-direction: row;
  388. justify-content: space-between;
  389. padding-bottom: $column_goutiere;
  390. h3{
  391. // flex-basis: calc(100% - 1em);
  392. }
  393. .mdi-close{
  394. // display: block;
  395. // flex-basis: 1em;
  396. cursor:pointer;
  397. align-self: flex-end;
  398. }
  399. }
  400. >ul{
  401. >li{
  402. margin:0 0 $column_goutiere 0;
  403. padding:0;
  404. article.card.minicard{
  405. width:$minicard_width;
  406. height:$minicard_height;
  407. margin:auto;
  408. >header{
  409. padding: 0.3em 0.3em 0.1em;
  410. h1{
  411. margin:0;
  412. }
  413. }
  414. >nav.tools{
  415. top: auto;
  416. bottom: 0;
  417. padding:0 0.2em;
  418. background:transparent;
  419. .mdi.unflag{
  420. cursor: pointer;
  421. }
  422. }
  423. }
  424. }
  425. }
  426. }
  427. }
  428. // __ _
  429. // / _|_ _ ___ _ _| |_
  430. // | _| '_/ _ \ ' \ _|
  431. // |_| |_| \___/_||_\__|
  432. article.node--type-frontpage{
  433. %front-col-field__label{
  434. font-size: 3.5em;
  435. line-height: 1;
  436. }
  437. %front-col-descritpion{
  438. font-size: 0.9em;
  439. line-height: 1.3;
  440. }
  441. %part-centered-layout{
  442. padding:1.5em 0;
  443. background-color: #fff;
  444. >div:nth-child(1){
  445. width:80%;
  446. margin: 0 auto;
  447. text-align: center;
  448. .field__label{
  449. @extend %front-col-field__label;
  450. }
  451. .field__item{
  452. @extend %front-col-descritpion;
  453. }
  454. }
  455. }
  456. %part-columned-layout{
  457. display:grid;
  458. grid-template-columns: 300px 1fr;
  459. grid-column-gap: 2em;
  460. padding:2em 1em;
  461. >div:nth-child(1){
  462. color: #fff;
  463. grid-column: 1;
  464. .field__label{
  465. @extend %front-col-field__label;
  466. }
  467. .field__item{
  468. @extend %front-col-descritpion;
  469. }
  470. }
  471. >div:nth-child(2){
  472. grid-column: 2;
  473. }
  474. }
  475. .node__content{
  476. &>section{
  477. &.home-intro{
  478. @extend %part-centered-layout;
  479. }
  480. &.home-database{
  481. background-color: $color-base;
  482. @extend %part-columned-layout;
  483. .field--name-field-a-database{}
  484. .cards-list-home{
  485. position: relative;
  486. // max-height: (130px*1.4)*3;
  487. max-height: 580px;
  488. overflow-y: hidden;
  489. ul{
  490. width:100%;
  491. margin:0; padding:0;
  492. display: grid;
  493. grid-template-columns: repeat(auto-fill, minmax(50px, 130px));
  494. grid-template-rows: 1fr;
  495. grid-gap: 1em;
  496. justify-content:start;
  497. li{
  498. position: relative;
  499. list-style: none;
  500. margin:0; padding:0;
  501. padding-top: 140%;
  502. .card{
  503. position:absolute;
  504. top:0; bottom:0;
  505. left:0; right:0;
  506. width: auto;
  507. height: auto;
  508. .field--name-field-short-description{
  509. font-size: 0.756em;
  510. line-height: 0.9;
  511. }
  512. }
  513. }
  514. }
  515. }
  516. }
  517. &.home-showrooms{
  518. background-color: $color-showrooms;
  519. @extend %part-columned-layout;
  520. .field--name-field-showrooms{
  521. }
  522. .field--name-computed-showrooms-reference{
  523. position:relative;
  524. // height:550px;
  525. display: grid;
  526. grid-template-rows: 1fr;
  527. $bp: ($column_width + $column_goutiere )*7;
  528. @media only screen and (max-width: $bp){
  529. grid-template-columns: 1fr;
  530. >.field__item{
  531. grid-column: 1;
  532. }
  533. }
  534. @media only screen and (min-width: $bp + 1px){
  535. grid-template-columns: 1fr 1fr;
  536. grid-gap: 1em;
  537. >.field__item:nth-child(odd){
  538. grid-column: 1;
  539. }
  540. >.field__item:nth-child(even){
  541. grid-column: 2;
  542. }
  543. }
  544. >.field__item{
  545. grid-row: 1;
  546. // position: absolute;
  547. // top:0; left:0;
  548. // width:100%; height:100%;
  549. // overflow: hidden;
  550. .taxonomy-term{
  551. position: relative;
  552. width:100%; height:100%;
  553. div.visuel{
  554. width:100%;
  555. padding-bottom: 10em;
  556. img{
  557. max-width: 100%;
  558. height: auto;
  559. }
  560. }
  561. section.text{
  562. position: absolute;
  563. bottom:0; left:0;
  564. width:100%;
  565. box-sizing:border-box;
  566. padding:1em 0;
  567. background-color:$color-showrooms;
  568. color: #fff;
  569. >*{
  570. // display: inline-block;
  571. font-size: 0.9em;
  572. }
  573. h2,p{
  574. margin:0;
  575. }
  576. }
  577. }
  578. }
  579. }
  580. }
  581. &.home-blabla{
  582. background-color: $color-blabla;
  583. @extend %part-columned-layout;
  584. .cards-list-home{
  585. position: relative;
  586. $bp: ($column_width*2 + $column_goutiere );
  587. overflow-y: hidden;
  588. @media only screen and (max-width: $bp * 6){
  589. max-height: 630px;
  590. }
  591. @media only screen and (min-width: ($bp * 6) + 1px){
  592. max-height: 310px;
  593. }
  594. ul{
  595. width:100%;
  596. margin:0; padding:0;
  597. display: grid;
  598. grid-template-columns: repeat(auto-fill, minmax(80px, $column_width*2));
  599. // grid-template-rows: 1fr;
  600. grid-gap: 1em;
  601. justify-content:start;
  602. li{
  603. position: relative;
  604. list-style: none;
  605. margin:0; padding:0;
  606. padding-top: 67.8%;
  607. overflow: hidden;
  608. .card{
  609. position:absolute;
  610. top:0; bottom:0;
  611. left:0; right:0;
  612. width: auto;
  613. height: auto;
  614. .field--name-title{
  615. font-size: 0.756em;
  616. line-height: 0.9;
  617. }
  618. }
  619. }
  620. }
  621. }
  622. }
  623. &.home-pricing{
  624. @extend %part-centered-layout;
  625. }
  626. }
  627. }
  628. }
  629. // ___ _
  630. // / __|__ _ _ _ __| |___
  631. // | (__/ _` | '_/ _` (_-<
  632. // \___\__,_|_| \__,_/__/
  633. .infinite-loading-container{
  634. .infinite-status-prompt{
  635. i[class^="loading-"]{
  636. width:15px; height:15px;
  637. }
  638. }
  639. }
  640. .cards-list{
  641. position: relative;
  642. .search-info{
  643. font-size: 0.756em;
  644. font-weight: 500;
  645. margin: 0;
  646. padding: 0 0 0.5em 0;
  647. }
  648. &>ul{
  649. // outline: 1px green solid;
  650. margin:0; padding:0;
  651. width: calc(100% + #{$column_goutiere});
  652. &>li{
  653. list-style: none;
  654. margin:0 $column_goutiere $column_goutiere 0; padding:0;
  655. display: inline-block;
  656. vertical-align: top;
  657. }
  658. }
  659. }
  660. article.card{
  661. position: relative;
  662. box-shadow: 0 0 5px rgba(0,0,0,0.2);
  663. width:$column_width; height:$card_height;
  664. &.article{
  665. width:$column_width*2 + $column_goutiere; height:$card_height;
  666. }
  667. &.minicard{
  668. height:100px;
  669. }
  670. // &.card-small{
  671. // width:100px; height:140px;
  672. // }
  673. // focused
  674. // box-shadow: 0 0 7px rgba(0,0,0,0.9);
  675. // &.article{
  676. // width: $column_width * 2 + $column_goutiere;
  677. //
  678. // }
  679. header{
  680. position: absolute;
  681. bottom:0;
  682. z-index:10;
  683. color: #000;
  684. background-color: rgba(255,255,255,0.8);
  685. padding: 0.3em 0.3em;
  686. box-sizing:border-box;
  687. width:100%;
  688. h1, h4{ margin:0; padding:0; }
  689. h1{
  690. font-size: 1.3em;
  691. font-weight: 700;
  692. line-height: 0.85;
  693. margin-bottom: 0.2em;
  694. }
  695. h4{
  696. font-size: 0.882em;
  697. font-weight: 300;
  698. line-height: 1;
  699. // margin-bottom: 0.1em;
  700. }
  701. span.ref{
  702. font-size: 0.693em;
  703. font-weight: 300;
  704. line-height: 1;
  705. }
  706. }
  707. &.card-thematique header{
  708. background-color: $color-base-transparent;
  709. }
  710. nav.tools{
  711. position: absolute;
  712. top: 0;
  713. right: 0;
  714. z-index: 21;
  715. $toolbar_width: 15px;
  716. width: $toolbar_width;
  717. background-color: #fff;
  718. box-sizing: content-box;
  719. padding: 0.3em 0.1em;
  720. >*{
  721. overflow: visible;
  722. position: relative;
  723. span.btn{
  724. overflow: hidden;
  725. font-size: 0.882em;
  726. }
  727. .tool-content{
  728. position: absolute;
  729. top: 0px;
  730. right: 100%;
  731. // width: 5em;
  732. width: $column_width - $toolbar_width - 10px;
  733. box-sizing: border-box;
  734. padding: 0.3em;
  735. background-color: #fff;
  736. box-shadow: -2px 3px 4px rgba(0, 0, 0, 0.2);
  737. opacity: 0;
  738. max-height: 0; max-width:0;
  739. overflow: hidden;
  740. transition: all 0.2s ease-in-out;
  741. }
  742. &:hover{
  743. .tool-content{
  744. transition: all 0.3s ease-in-out;
  745. opacity: 1;
  746. max-height: 195px;
  747. max-width:200px;
  748. }
  749. }
  750. }
  751. .tool.flags{
  752. .tool-content{
  753. ul{
  754. display: flex;
  755. flex-flow: row wrap;
  756. li{
  757. padding:0 0.5em 0 0;
  758. }
  759. }
  760. }
  761. span.flag{
  762. cursor: pointer;
  763. font-size: 0.756em;
  764. color: #bbb;
  765. transition: color 0.3s ease-in-out;
  766. &:hover, &.isActive{
  767. color:#1a1a1a;
  768. }
  769. }
  770. }
  771. opacity: 0;
  772. transition: opacity 0.2s ease-in-out;
  773. }
  774. &:hover{
  775. nav.tools{
  776. opacity:1;
  777. }
  778. }
  779. section.images{
  780. position: relative;
  781. &, *{width: 100%; height:100%;}
  782. figure{
  783. cursor: pointer;
  784. margin:0;
  785. position: absolute;
  786. top:0; left:0;
  787. // width: 100%; height:100%;
  788. &:first-of-type{
  789. z-index:5
  790. }
  791. transition: opacity 0.2s ease-in-out;
  792. &.show{opacity: 1; z-index:6;}
  793. &.hide{opacity: 0;}
  794. img{
  795. // width: 100%; height:100%;
  796. &.blank{
  797. position: absolute;
  798. top:0; left:0;
  799. z-index: 20;
  800. }
  801. }
  802. }
  803. }
  804. // overwritnig card for card-medium (aka search-card)
  805. &.search-card{
  806. >header{
  807. cursor: pointer;
  808. }
  809. }
  810. // overwriting card for modal-card
  811. &.modal-card{
  812. display: flex;
  813. flex-flow: row-reverse nowrap;
  814. width: $modalcard_width;
  815. height: $modalcard_height;
  816. >.col{
  817. flex-basis: 50%;
  818. }
  819. section.col-right{
  820. >*:not(nav.tools){
  821. position: relative;
  822. padding: 0.5em;
  823. box-sizing: border-box;
  824. width: 100%;
  825. }
  826. header{
  827. bottom: auto;
  828. }
  829. section.samples{
  830. ul{
  831. display: flex;
  832. flex-flow: row wrap;
  833. font-size: 0.882em;
  834. font-weight: 300;
  835. // line-height: 1.35;
  836. li{
  837. padding-right: 0.5em;
  838. span.showroom{ font-weight: 500; }
  839. }
  840. }
  841. }
  842. section.body{
  843. p{
  844. font-size: 0.882em;
  845. font-weight: 300;
  846. line-height: 1.35;
  847. }
  848. }
  849. nav.tools{
  850. opacity: 1;
  851. section.close{
  852. span.btn.mdi-close{
  853. cursor:pointer;
  854. }
  855. }
  856. }
  857. }
  858. }
  859. }
  860. // _____ _ _ _
  861. // |_ _| |_ ___ _ __ __ _| |_(_)__ _ _ _ ___
  862. // | | | ' \/ -_) ' \/ _` | _| / _` | || / -_)
  863. // |_| |_||_\___|_|_|_\__,_|\__|_\__, |\_,_\___|
  864. // |_|
  865. #main-content > article.thematique{
  866. div.cols{
  867. display: grid;
  868. grid-template-rows: 1fr;
  869. grid-template-columns: repeat(12, 1fr);
  870. grid-gap: 1em;
  871. div.col-left{
  872. grid-column: 1;
  873. }
  874. div.col-right{
  875. grid-column: 2/12;
  876. }
  877. }
  878. div.col-left section.body{
  879. background-color: $color-base;
  880. padding: 0.5em 1em 1em;
  881. width:$column_width*2 + $column_goutiere;
  882. }
  883. aside.linked-materials{
  884. ul{
  885. width:calc(100% + #{$column_goutiere});
  886. li{
  887. display: inline-block;
  888. vertical-align: top;
  889. width:$column_width;
  890. margin:0 $column_goutiere $column_goutiere 0;
  891. }
  892. }
  893. h3.field__label{
  894. font-size: 1em;
  895. font-weight: 500;
  896. margin: 2em 0 1em 0;
  897. }
  898. h1.title{
  899. font-size: 1em;
  900. font-weight: 400;
  901. }
  902. h3.ref{
  903. font-size: 0.756em;
  904. font-weight: 600;
  905. }
  906. h2.description{
  907. font-size: 0.756em;
  908. font-weight: 400;
  909. }
  910. }
  911. }
  912. // ___ _ _ _
  913. // | _ ) |__ _| |__| |__ _
  914. // | _ \ / _` | '_ \ / _` |
  915. // |___/_\__,_|_.__/_\__,_|
  916. #blabla{
  917. }
  918. #main-content > article.article{
  919. div.cols{
  920. display: grid;
  921. grid-template-rows: 1fr;
  922. grid-template-columns: repeat(6, 1fr);
  923. grid-gap: 1em;
  924. div.col-left{
  925. grid-column: 1;
  926. }
  927. div.col-right{
  928. grid-column: 2/6;
  929. }
  930. }
  931. section.accroche{
  932. figure{
  933. width:$column_width*2 + $column_goutiere;
  934. margin:0 $column_goutiere 0 0;
  935. img{
  936. width:100%;
  937. }
  938. }
  939. }
  940. section.taxonomy{
  941. margin:1em 0;
  942. ul{
  943. margin: 0;
  944. }
  945. li{
  946. display:inline-block;
  947. padding:0 0.5em 0 0;
  948. }
  949. }
  950. div.gallery-wrapper{
  951. .image{
  952. display: inline-block;
  953. width:$column_width;
  954. margin:0 $column_goutiere $column_goutiere*0.6 0;
  955. height:$card_height / 2;
  956. background-size: cover;
  957. }
  958. }
  959. // section.videos{
  960. // ul{
  961. // margin:0; padding:0;
  962. // li{
  963. // margin:0; padding:0;
  964. // display: inline-block;
  965. // width:100%; overflow: hidden;
  966. // }
  967. // }
  968. // }
  969. // section.visuels{
  970. // width:calc(100% + #{$column_goutiere});
  971. // figure{
  972. // position: relative;
  973. // display: inline-block;
  974. // vertical-align: top;
  975. // width:$column_width*2 + $column_goutiere;
  976. // margin:0 $column_goutiere $column_goutiere*0.6 0;
  977. // img{
  978. // width:100%;
  979. // }
  980. // caption{
  981. // position: absolute; bottom: 0; left:0;
  982. // box-sizing: border-box; width: 100%; padding:0.5em;
  983. // background-color: $transparent-bg-blk; color: #fff;
  984. // }
  985. // }
  986. // }
  987. aside.linked-materials{
  988. ul{
  989. width:calc(100% + #{$column_goutiere});
  990. li{
  991. display: inline-block;
  992. vertical-align: top;
  993. width:$column_width;
  994. margin:0 $column_goutiere $column_goutiere 0;
  995. }
  996. }
  997. h3.field__label{
  998. font-size: 1em;
  999. font-weight: 500;
  1000. margin: 2em 0 1em 0;
  1001. }
  1002. h1.title{
  1003. font-size: 1em;
  1004. font-weight: 400;
  1005. }
  1006. h3.ref{
  1007. font-size: 0.756em;
  1008. font-weight: 600;
  1009. }
  1010. h2.description{
  1011. font-size: 0.756em;
  1012. font-weight: 400;
  1013. }
  1014. }
  1015. nav.prevnext{
  1016. &.bottom{
  1017. margin:2em 0;
  1018. }
  1019. ul{
  1020. padding:0;
  1021. margin:0;
  1022. display: grid;
  1023. grid-template-columns: 1fr 1fr;
  1024. }
  1025. li{
  1026. padding:0;
  1027. margin:0;
  1028. list-style: none;
  1029. a{
  1030. font-size: 0.756em;
  1031. font-weight: 700;
  1032. }
  1033. &:nth-child(1){
  1034. grid-column: 1;
  1035. a:before{
  1036. content:'< ';
  1037. }
  1038. }
  1039. &:nth-child(2){
  1040. grid-column: 2;
  1041. text-align: right;
  1042. a:after{
  1043. content:' >';
  1044. }
  1045. }
  1046. }
  1047. }
  1048. }
  1049. // ___ _
  1050. // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
  1051. // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
  1052. // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
  1053. #showrooms{
  1054. width: calc(100% + #{$column_goutiere});
  1055. article.showroom{
  1056. width: $column_width * 2 + $column_goutiere;
  1057. display: inline-block;
  1058. vertical-align: top;
  1059. margin: 0 $column_goutiere $column_goutiere 0;
  1060. h1{
  1061. margin:0;
  1062. font-weight: 4;
  1063. }
  1064. p{ margin:0; }
  1065. figure{
  1066. margin:0;
  1067. img{
  1068. max-width: 100%;
  1069. }
  1070. }
  1071. }
  1072. }