_programme.scss 29 KB

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