_themes.scss 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971
  1. .page-node-type-theme, .page-node-type-projet{
  2. ///// copy menu left
  3. .block-region-first{
  4. .field_programme{
  5. display: none;
  6. }
  7. #programme_toc-block_10{
  8. .views-row{
  9. padding-left: 1rem;
  10. }
  11. }
  12. @include breakpoint(small down) {
  13. text-align: center;
  14. }
  15. position: absolute;
  16. top: 0;
  17. left: 0;
  18. width: 22%;
  19. padding: 1rem 1.5rem ;
  20. .prog-ressources-link{
  21. font-family: "duke";
  22. font-size: $font-large;
  23. cursor: pointer;
  24. transition: all 250ms;
  25. text-decoration: none;
  26. &:hover{
  27. padding: 0 0 0 .3rem;
  28. }
  29. }
  30. div[id=""] {
  31. @include breakpoint(small down) {
  32. display: none;
  33. }
  34. }
  35. .views-element-container{
  36. @include breakpoint(small down) {
  37. display: block;
  38. // &:not(:first-child){
  39. // margin-left: 1rem;
  40. // }
  41. }
  42. header{
  43. font-family: "duke";
  44. font-size: $font-large;
  45. text-transform: uppercase;
  46. cursor: pointer;
  47. transition: all 250ms;
  48. line-height: 1.1;
  49. margin-bottom: .5rem;
  50. &:hover{
  51. padding: 0 0 0 .3rem;
  52. }
  53. }
  54. .views-row, .view-grouping{
  55. display: none;
  56. padding: 0 0 0 1.2rem;
  57. margin-bottom: .5rem;
  58. a{
  59. text-decoration: none;
  60. &:hover{
  61. text-decoration: underline;
  62. }
  63. }
  64. }
  65. .views-row{
  66. padding: 0;
  67. }
  68. }
  69. }
  70. /////fin copy menu left
  71. .field_logo{
  72. display: block;
  73. }
  74. .field_programme>div{
  75. &.programme-1{
  76. background: $col-1;
  77. }
  78. &.programme-2{
  79. background: $col-2;
  80. }
  81. &.programme-3{
  82. background: $col-eur;
  83. }
  84. &.programme-4{
  85. background: $col-1;
  86. }
  87. &.programme-5{
  88. background: $col-mond;
  89. }
  90. &.programme-6{
  91. background: $col-ter;
  92. }
  93. &.programme-7{
  94. background: $col-met;
  95. }
  96. }
  97. // .block-region-first{
  98. // padding: 1rem;
  99. // .field_programme{
  100. // background: black !important;
  101. // font-weight: 600;
  102. // a{
  103. // text-decoration: none;
  104. // &:hover{
  105. // text-decoration: underline;
  106. // }
  107. // }
  108. // }
  109. // }
  110. .block-region-third{
  111. margin-top: 20rem;
  112. #node\:field_equipes{
  113. // visibility: hidden;
  114. }
  115. #node\:field_evenements_lies{
  116. article{
  117. display: grid;
  118. >div{
  119. //vgrid-row: 1;
  120. text-transform: none;
  121. color: #fff !important;
  122. background: none;
  123. font-size: .6rem;
  124. margin: 0;
  125. padding: .1rem 1rem;
  126. }
  127. }
  128. }
  129. }
  130. .block-region-second{
  131. #node\:title:before{
  132. clear: both;
  133. display: block;
  134. width: 100%;
  135. font-size: $font-small;
  136. text-transform: uppercase;
  137. margin-bottom: .8rem;
  138. }
  139. ///
  140. .field_programme{
  141. display: flex;
  142. flex-wrap: wrap;
  143. margin-bottom: 1rem;
  144. a{
  145. text-decoration: none;
  146. }
  147. div{
  148. display: inline-block;
  149. color: white;
  150. font-weight: 600;
  151. padding: .3rem .5rem;
  152. margin-right: .5rem;
  153. margin-bottom: .5rem;
  154. }
  155. }
  156. ///
  157. #node\:title{
  158. margin: 0;
  159. font-size: $font-large;
  160. line-height: 1.3;
  161. font-weight: 600;
  162. margin-bottom: 1rem;
  163. }
  164. #node\:field_image,.field_diaporama{
  165. width: 150%;
  166. margin-bottom: 1rem;
  167. max-height: 22rem;
  168. overflow: hidden;
  169. @include breakpoint(small down) {
  170. width: 100%;
  171. }
  172. img{
  173. width: 100%;
  174. margin-top: -10%;
  175. }
  176. }
  177. .body{
  178. font-size: $font-medium;
  179. height: 15rem;
  180. overflow: hidden;
  181. position: relative;
  182. -webkit-transition: all 250ms ease;
  183. -moz-transition: all 250ms ease;
  184. -o-transition: all 250ms ease;
  185. transition: all 250ms ease;
  186. footer{
  187. position:absolute;
  188. bottom:0;
  189. left:0;
  190. z-index: 1;
  191. width: 100%;
  192. text-align: center;
  193. a{
  194. display: inline-block;
  195. margin: 0 auto;
  196. background: black;
  197. color: white;
  198. cursor:pointer;
  199. font-family: "trueno";
  200. font-weight: 500;
  201. padding: .3rem .5rem;
  202. font-size: $font-small;
  203. text-decoration: none;
  204. text-transform: uppercase;
  205. &:hover{
  206. color:black;
  207. background: white;
  208. }
  209. }
  210. }
  211. }
  212. .body:after{
  213. content: "";
  214. opacity: 1;
  215. position: absolute;
  216. top: 0; bottom: 0; left: -15px; right: -15px;
  217. box-shadow: inset $bck-col 0 -2rem 2rem;
  218. }
  219. .body_open{
  220. height: auto !important;
  221. padding: 0 0 1.8rem 0;
  222. &:after{
  223. opacity: 0;
  224. -webkit-transition: all 250ms ease;
  225. -moz-transition: all 250ms ease;
  226. -o-transition: all 250ms ease;
  227. transition: all 250ms ease;
  228. }
  229. -webkit-transition: all 250ms ease;
  230. -moz-transition: all 250ms ease;
  231. -o-transition: all 250ms ease;
  232. transition: all 250ms ease;
  233. }
  234. .body_open:after{
  235. display: none;
  236. }
  237. .field_textes{
  238. //*****////
  239. .paragraph{
  240. // border-top: 1px solid black;
  241. border-bottom: 3px dotted gray;
  242. padding: 1rem 0;
  243. .field_titre{
  244. font-size: $font-big;
  245. font-weight: 600;
  246. text-transform: initial;
  247. cursor: pointer;
  248. display: grid;
  249. grid-template-columns: 95% 5%;
  250. align-content: center;
  251. // margin-top: 1rem;
  252. }
  253. .field_titre:after{
  254. content: '▼';
  255. -webkit-transition: all 250ms ease;
  256. -moz-transition: all 250ms ease;
  257. -o-transition: all 250ms ease;
  258. transition: all 250ms ease;
  259. align-self: center;
  260. justify-self: center;
  261. }
  262. .rotate:after{
  263. transform: rotate(180deg);
  264. -webkit-transition: all 250ms ease;
  265. -moz-transition: all 250ms ease;
  266. -o-transition: all 250ms ease;
  267. transition: all 250ms ease;
  268. }
  269. .field_texte{
  270. height: auto;
  271. position: relative;
  272. h2{
  273. text-transform: inherit;
  274. }
  275. p{
  276. margin-top: .5rem;
  277. }
  278. -webkit-transition: all 250ms ease;
  279. -moz-transition: all 250ms ease;
  280. -o-transition: all 250ms ease;
  281. transition: all 250ms ease;
  282. }
  283. .crop{
  284. height: 0;
  285. overflow: hidden;
  286. display: none;
  287. -webkit-transition: all 250ms ease;
  288. -moz-transition: all 250ms ease;
  289. -o-transition: all 250ms ease;
  290. transition: all 250ms ease;
  291. }
  292. }
  293. }
  294. }
  295. .block-region-bottom{
  296. #node\:field_projets_lies, #node\:field_themes_lies, #node\:field_comparatifs_associes{
  297. h2{
  298. text-align: center;
  299. }
  300. .field_projets_lies, .field_themes_lies, .field_comparatifs_associes {
  301. margin-top: 1rem;
  302. display: grid;
  303. grid-template-columns: repeat(5, 1fr);
  304. column-gap: 1rem;
  305. padding: 0 10%;
  306. }
  307. article{
  308. margin-bottom: 1.6rem;
  309. .body{
  310. display: none;
  311. }
  312. }
  313. }
  314. }
  315. // #node\:field_equipes{
  316. // padding: 1rem 0;
  317. // border-bottom: 3px dotted gray;
  318. // h2{
  319. // cursor: pointer;
  320. // display: grid;
  321. // grid-template-columns: 95% 5%;
  322. // align-content: center;
  323. // font-family: "trueno";
  324. // font-size: 1rem;
  325. // font-weight: 600;
  326. // text-transform: initial;
  327. // // text-align: center;
  328. // }
  329. // h2:after{
  330. // content: '▼';
  331. // -webkit-transition: all 250ms ease;
  332. // -moz-transition: all 250ms ease;
  333. // -o-transition: all 250ms ease;
  334. // transition: all 250ms ease;
  335. // align-self: center;
  336. // justify-self: center;
  337. // font-size: $font-big;
  338. // }
  339. // .rotate:after{
  340. // transform: rotate(180deg);
  341. // -webkit-transition: all 250ms ease;
  342. // -moz-transition: all 250ms ease;
  343. // -o-transition: all 250ms ease;
  344. // transition: all 250ms ease;
  345. // }
  346. // .field_equipes{
  347. // display: none;
  348. // .paragraph{
  349. // display: grid;
  350. // .field_membres{
  351. // grid-row: 2;
  352. // // >div:first-child{
  353. // // display: none;
  354. // // }
  355. // .paragraph{
  356. // display: grid;
  357. // grid-template-columns: auto 1fr;
  358. // .field_nom{
  359. // grid-column: 2;
  360. // grid-row: 1;
  361. // padding-left: .3rem;
  362. // display: inline-block;
  363. // width: auto;
  364. // font-weight: 500;
  365. // >div:first-child{
  366. // display: none;
  367. // }
  368. // div:nth-of-type(2){
  369. // display: inline-block;
  370. // width: auto;
  371. // }
  372. // }
  373. // .field_prenom{
  374. // grid-column: 1;
  375. // grid-row: 1;
  376. // display: inline-block;
  377. // font-weight: 500;
  378. // >div:first-child{
  379. // display: none;
  380. // }
  381. // div:nth-of-type(2){
  382. // display: inline-block;
  383. // width: auto;
  384. // }
  385. // }
  386. // .field_fonction{
  387. // grid-column: 1 / span 2;
  388. // >div:first-child{
  389. // display: none;
  390. // }
  391. // }
  392. // margin-bottom: .3rem;
  393. // }
  394. // margin-bottom: .5rem;
  395. // }
  396. // .field_type_equipe{
  397. // grid-row: 1;
  398. // font-weight: 600;
  399. // font-size: $font-medium;
  400. // margin-bottom: .5rem;
  401. // div:first-child{
  402. // display: none;
  403. // }
  404. // }
  405. // }
  406. // }
  407. // }
  408. #node\:field_partenaires{
  409. h2{
  410. // color: black;
  411. font-family: "trueno";
  412. font-size: 1rem;
  413. font-weight: 600;
  414. text-transform: initial;
  415. margin-top: 1rem;
  416. padding: .4rem 0;
  417. border-bottom: 3px dotted gray;
  418. cursor: pointer;
  419. display: grid;
  420. grid-template-columns: 95% 5%;
  421. text-transform: initial;
  422. }
  423. h2:after{
  424. content: '▼';
  425. -webkit-transition: all 250ms ease;
  426. -moz-transition: all 250ms ease;
  427. -o-transition: all 250ms ease;
  428. transition: all 250ms ease;
  429. align-self: center;
  430. justify-self: center;
  431. font-size: $font-big;
  432. }
  433. .rotate:after{
  434. transform: rotate(180deg);
  435. -webkit-transition: all 250ms ease;
  436. -moz-transition: all 250ms ease;
  437. -o-transition: all 250ms ease;
  438. transition: all 250ms ease;
  439. }
  440. .field_partenaires{
  441. display: none;
  442. align-items: center;
  443. justify-items: center;
  444. // grid-template-columns: repeat(5 , 1fr);
  445. grid-template-columns: repeat(2 , 1fr);
  446. .paragraph{
  447. .field_logo_partenaire{
  448. div:first-child{
  449. display: none;
  450. }
  451. grid-column: 1;
  452. grid-row: 1;
  453. img{
  454. max-width: 80%;
  455. }
  456. }
  457. .field_nom_partenaire{
  458. display: none;
  459. div:first-child{
  460. display: none;
  461. }
  462. grid-column: 2;
  463. grid-row: 1;
  464. }
  465. }
  466. }
  467. }
  468. &.programme-1{
  469. .block-region-second{
  470. h2,h3,h4,h5,h6,.field_titre{
  471. color: $col-1;
  472. }
  473. }
  474. }
  475. &.programme-2{
  476. .block-region-second{
  477. h2,h3,h4,h5,h6,.field_titre{
  478. color: $col-2;
  479. }
  480. }
  481. }
  482. &.programme-3{
  483. .block-region-second{
  484. h2,h3,h4,h5,h6,.field_titre{
  485. color: $col-eur;
  486. }
  487. }
  488. }
  489. &.programme-4{
  490. .block-region-second{
  491. h2,h3,h4,h5,h6,.field_titre{
  492. color: $col-1;
  493. }
  494. }
  495. }
  496. &.programme-5{
  497. .block-region-second{
  498. h2,h3,h4,h5,h6,.field_titre{
  499. color: $col-mond;
  500. }
  501. }
  502. }
  503. &.programme-6{
  504. .block-region-second{
  505. h2,h3,h4,h5,h6,.field_titre{
  506. color: $col-ter;
  507. }
  508. }
  509. }
  510. &.programme-7{
  511. .block-region-second{
  512. h2,h3,h4,h5,h6,.field_titre{
  513. color: $col-met;
  514. }
  515. }
  516. }
  517. // font-size: $font-small;
  518. //temp hidden
  519. .computed_projets_references, .computed_themes_references{
  520. display: none;
  521. }
  522. }
  523. .page-node-type-projet{
  524. #node\:title:before{
  525. content: "ville";
  526. }
  527. .field_projets_lies, .field_themes_lies, .field_comparatifs_associes{
  528. article{
  529. display: grid;
  530. h2{
  531. grid-row: 2;
  532. text-align: left !important;
  533. text-transform: none !important;
  534. line-height: 1.3;
  535. margin: .5rem 0 0 0;
  536. font-size: $font-normal;
  537. font-weight: 400;
  538. a{
  539. text-decoration: none;
  540. &:hover{
  541. text-decoration: underline;
  542. }
  543. }
  544. }
  545. .field_diaporama {
  546. position: relative;
  547. width: 100%;
  548. overflow: hidden;
  549. margin-top: -.5rem;
  550. z-index: -1;
  551. a{
  552. position: absolute;
  553. height: 100%;
  554. width: 100%;
  555. object-fit: cover;
  556. img{
  557. height: 100% ;
  558. width: 100%;
  559. object-fit: cover;
  560. }
  561. }
  562. }
  563. .field_diaporama:after {
  564. content: "";
  565. display: block;
  566. padding-top: 100%;
  567. }
  568. .field_programme{
  569. text-transform: uppercase;
  570. font-weight: 600;
  571. grid-column: 1;
  572. grid-row: 1;
  573. margin-bottom: -.5rem;
  574. color: #fff;
  575. display: grid;
  576. grid-template-columns: 1fr 1fr;
  577. grid-gap: 10px;
  578. z-index: 100;
  579. position: relative;
  580. div{
  581. padding: .02rem .3rem;
  582. }
  583. a{
  584. text-decoration: none;
  585. }
  586. }
  587. //// prog color
  588. &.programme-1{
  589. h2{
  590. color: $col-1 !important;
  591. }
  592. .field_programme{
  593. background: $col-1 ;
  594. }
  595. }
  596. &.programme-2{
  597. h2{
  598. color: $col-2 !important;
  599. }
  600. .field_programme{
  601. background: $col-2 ;
  602. }
  603. }
  604. &.programme-3{
  605. h2{
  606. color: $col-eur !important;
  607. }
  608. .field_programme{
  609. background: $col-eur ;
  610. }
  611. }
  612. &.programme-4{
  613. h2{
  614. color: $col-1;
  615. }
  616. .field_programme{
  617. background:$col-1 ;
  618. }
  619. }
  620. &.programme-5{
  621. h2{
  622. color: $col-mond !important;
  623. }
  624. .field_programme{
  625. background: $col-mond ;
  626. }
  627. }
  628. &.programme-6{
  629. h2{
  630. color: $col-ter !important;
  631. }
  632. .field_programme{
  633. background: $col-ter ;
  634. }
  635. }
  636. &.programme-7{
  637. h2{
  638. color: $col-met !important;
  639. }
  640. .field_programme{
  641. background: $col-met ;
  642. }
  643. }
  644. }
  645. }
  646. }
  647. .page-node-type-theme{
  648. #node\:title:before{
  649. content: "thème";
  650. }
  651. #node\:field_equipes{
  652. h2{
  653. color: white !important;
  654. text-align: left !important;
  655. cursor: pointer;
  656. }
  657. }
  658. .block-region-third{
  659. #node\:field_partenaires{
  660. h2{
  661. border:none;
  662. font-family: trueno;
  663. font-size: .8rem;
  664. font-weight: 600;
  665. margin-top: 0;
  666. padding: .4rem 0.5rem;
  667. display: block;
  668. &:after{
  669. display:none;
  670. }
  671. }
  672. .field_partenaires{
  673. display: grid;
  674. }
  675. }
  676. }
  677. .field_projets_lies, .field_themes_lies{
  678. article{
  679. display: grid;
  680. h2{
  681. grid-row: 2;
  682. text-align: left !important;
  683. text-transform: none !important;
  684. line-height: 1.3;
  685. margin: .5rem 0 0 0;
  686. font-size: $font-normal;
  687. font-weight: 400;
  688. a{
  689. text-decoration: none;
  690. &:hover{
  691. text-decoration: underline;
  692. }
  693. }
  694. }
  695. .field_diaporama {
  696. position: relative;
  697. width: 100%;
  698. overflow: hidden;
  699. margin-top: -.5rem;
  700. z-index: -1;
  701. a{
  702. position: absolute;
  703. height: 100%;
  704. width: 100%;
  705. object-fit: cover;
  706. img{
  707. height: 100% ;
  708. width: 100%;
  709. object-fit: cover;
  710. }
  711. }
  712. }
  713. .field_diaporama:after {
  714. content: "";
  715. display: block;
  716. padding-top: 100%;
  717. }
  718. .field_programme{
  719. text-transform: uppercase;
  720. display: inline-block;
  721. font-weight: 600;
  722. padding: .02rem .3rem;
  723. grid-column: 1;
  724. grid-row: 1;
  725. z-index: 1;
  726. margin-bottom: -.5rem;
  727. margin-left: .2rem;
  728. color: white;
  729. a{
  730. text-decoration: none;
  731. }
  732. }
  733. //// prog color
  734. &.programme-1{
  735. h2{
  736. color: $col-1 !important;
  737. }
  738. .field_programme{
  739. background: $col-1 ;
  740. }
  741. }
  742. &.programme-2{
  743. h2{
  744. color: $col-2 !important;
  745. }
  746. .field_programme{
  747. background: $col-2 ;
  748. }
  749. }
  750. &.programme-3{
  751. h2{
  752. color: $col-eur !important;
  753. }
  754. .field_programme{
  755. background: $col-eur ;
  756. }
  757. }
  758. &.programme-4{
  759. h2{
  760. color: $col-1;
  761. }
  762. .field_programme{
  763. background:$col-1 ;
  764. }
  765. }
  766. &.programme-5{
  767. h2{
  768. color: $col-mond !important;
  769. }
  770. .field_programme{
  771. background: $col-mond ;
  772. }
  773. }
  774. &.programme-6{
  775. h2{
  776. color: $col-ter !important;
  777. }
  778. .field_programme{
  779. background: $col-ter ;
  780. }
  781. }
  782. &.programme-7{
  783. h2{
  784. color: $col-met !important;
  785. }
  786. .field_programme{
  787. background: $col-met ;
  788. }
  789. }
  790. }
  791. }
  792. #node\:field_ressources_liees{
  793. background: $trame;
  794. // h2{
  795. // text-align: center;
  796. // }
  797. &>h2{
  798. text-align: center;
  799. }
  800. // .field_ressources_liees{
  801. // background: $trame;
  802. // }
  803. article{
  804. a{
  805. text-decoration: none;
  806. }
  807. // display:grid !important;
  808. // grid-template-columns: 1fr 1fr;
  809. h2{
  810. grid-column: 2;
  811. grid-row: 1;
  812. text-align:left;
  813. }
  814. &>div{
  815. display: grid !important;
  816. grid-template-columns: 1fr 1fr;
  817. align-items: center;
  818. background: #fff;
  819. position: relative;
  820. height: auto;
  821. padding: 1rem;
  822. background-clip: content-box;
  823. }
  824. .field_type_de_ressource{
  825. grid-column: 2;
  826. }
  827. .field_sous_titre{
  828. grid-column: 2;
  829. }
  830. ///////
  831. .field_image{
  832. grid-row: 2 / span 3;
  833. // margin-top: -1.5rem;
  834. z-index: 0;
  835. padding: .5rem;
  836. }
  837. div{
  838. margin-bottom: .5rem;
  839. }
  840. h2{
  841. font-weight: 400;
  842. grid-row: 3 / span 1;
  843. grid-column: 2;
  844. font-style: italic;
  845. text-transform: none;
  846. }
  847. .field_type_de_ressource{
  848. font-weight: 400;
  849. }
  850. .field_sous_titre{
  851. grid-row: 4 / span 1;
  852. }
  853. .field_programme{
  854. &>div{
  855. display: inline-block;
  856. width: auto;
  857. padding: .3rem .5rem;
  858. }
  859. padding-left: .5rem !important;
  860. grid-row: 1 / span 1;
  861. grid-column: 1 / span 2;
  862. text-transform: uppercase;
  863. margin-top: -.5rem;
  864. &>div{
  865. font-weight: 600;
  866. display: inline-block;
  867. width: auto;
  868. color: white;
  869. padding: .02rem .3rem;
  870. // margin-bottom: 1rem;
  871. }
  872. }
  873. }
  874. }
  875. }