_programme.scss 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. .page-node-type-programme{
  2. #projets-block_2{
  3. position: relative;
  4. .main_logo{
  5. z-index: 10;
  6. height: 7.2rem;
  7. width: 100%;
  8. position: absolute;
  9. // background: red;
  10. // margin: -5rem 0 3rem 0;
  11. top:0;
  12. left: 0;
  13. }
  14. }
  15. &.programme-1{
  16. article{
  17. h2,h3,h4,h5,h6{
  18. color: $col-1;
  19. }
  20. }
  21. .main_logo{
  22. background: center / contain no-repeat url(../images/POPSU_1.svg);
  23. }
  24. }
  25. &.programme-2{
  26. article{
  27. h2,h3,h4,h5,h6{
  28. color: $col-2;
  29. }
  30. }
  31. .main_logo{
  32. background: center / contain no-repeat url(../images/POPSU_2.svg);
  33. }
  34. }
  35. &.programme-3{
  36. article{
  37. h2,h3,h4,h5,h6{
  38. color: $col-eur;
  39. }
  40. }
  41. .main_logo{
  42. background: center / contain no-repeat url(../images/POPSU_Europe.svg);
  43. }
  44. }
  45. &.programme-4{
  46. article{
  47. h2,h3,h4,h5,h6{
  48. color: $col-met;
  49. }
  50. }
  51. .main_logo{
  52. background: center / contain no-repeat url(../images/POPSU_logo.svg);
  53. }
  54. }
  55. &.programme-5{
  56. article{
  57. h2,h3,h4,h5,h6{
  58. color: $col-mond;
  59. }
  60. }
  61. .main_logo{
  62. background: center / contain no-repeat url(../images/POPSU_monde.svg);
  63. }
  64. }
  65. &.programme-6{
  66. article{
  67. h2,h3,h4,h5,h6{
  68. color: $col-ter;
  69. }
  70. }
  71. .main_logo{
  72. background: center / contain no-repeat url(../images/POPSU_territoires.svg);
  73. }
  74. }
  75. &.programme-7{
  76. article{
  77. h2,h3,h4,h5,h6{
  78. color: $col-met;
  79. }
  80. }
  81. .main_logo{
  82. background: center / contain no-repeat url(../images/POPSU_metropoles.svg);
  83. }
  84. }
  85. .layout-content{
  86. position: relative;
  87. }
  88. .layout__region--top{
  89. max-height: 30%;
  90. grid-column: 1 / span 3;
  91. }
  92. .block-region-first{
  93. position: absolute;
  94. top: 0;
  95. left: 0;
  96. z-index: 10;
  97. width: 25%;
  98. padding: 1rem 1.5rem ;
  99. .prog-ressources-link{
  100. font-family: "duke";
  101. font-size: $font-large;
  102. cursor: pointer;
  103. transition: all 250ms;
  104. text-decoration: none;
  105. &:hover{
  106. padding: 0 0 0 .3rem;
  107. }
  108. }
  109. .views-element-container{
  110. header{
  111. font-family: "duke";
  112. font-size: $font-large;
  113. cursor: pointer;
  114. transition: all 250ms;
  115. &:hover{
  116. padding: 0 0 0 .3rem;
  117. }
  118. }
  119. .views-row{
  120. display: none;
  121. padding: 0 0 0 1.2rem;
  122. margin-bottom: .5rem;
  123. a{
  124. text-decoration: none;
  125. &:hover{
  126. text-decoration: underline;
  127. }
  128. }
  129. }
  130. }
  131. }
  132. .block-region-third{
  133. margin-top: -7rem;
  134. z-index: 20;
  135. position: relative;
  136. #evenements-block_1{
  137. background-color: black;
  138. margin-bottom: 3rem;
  139. h2{
  140. color: white;
  141. }
  142. }
  143. .programme-1{
  144. background: $col-1;
  145. }
  146. .programme-2{
  147. background: $col-2;
  148. }
  149. .programme-3{
  150. background: $col-eur;
  151. }
  152. .programme-4{
  153. background: $col-met;
  154. }
  155. .programme-5{
  156. background: $col-mond;
  157. }
  158. .programme-6{
  159. background: $col-ter;
  160. }
  161. .programme-7{
  162. background: $col-met;
  163. }
  164. .views-row{
  165. padding: 1rem 0;
  166. &:last-of-type{
  167. margin-bottom: 1rem;
  168. }
  169. }
  170. .views-field{
  171. color: white;
  172. padding: 0 1rem;
  173. font-weight: 500;
  174. // &:last-of-type{
  175. // margin-bottom: 1rem;
  176. // }
  177. .views-field-field-type-de-ressource{
  178. text-transform: uppercase;
  179. margin-bottom: .2rem;
  180. }
  181. .views-field-title{
  182. font-style: italic;
  183. }
  184. .views-field-field-sous-titre{
  185. font-weight: 400;
  186. }
  187. a{
  188. text-decoration: none;
  189. &:hover{
  190. text-decoration: underline;
  191. }
  192. }
  193. }
  194. }
  195. article{
  196. // font-size: $font-small;
  197. h2:first-child{
  198. display: none;
  199. }
  200. .body{
  201. font-size: $font-medium;
  202. }
  203. }
  204. .block-region-bottom{
  205. background: $trame;
  206. h2{
  207. text-align: center;
  208. }
  209. .item-list{
  210. .slick-slide{
  211. margin: 0 1rem;
  212. }
  213. .slick-arrow{
  214. position: absolute;
  215. height: 100%;
  216. cursor: pointer;
  217. z-index: 100;
  218. // background-color: white;
  219. opacity: 0.2;
  220. transition: opacity 250ms;
  221. width: 10%;
  222. &:hover{
  223. opacity: .5;
  224. }
  225. }
  226. .slick-next{
  227. right: 0;
  228. top: 0;
  229. }
  230. .views-field:not(.views-field-field-image){
  231. width: 80%;
  232. }
  233. li{
  234. display: grid !important;
  235. grid-template-columns: 1fr 1fr;
  236. align-items: center;
  237. background: white;
  238. position: relative;
  239. height: auto;
  240. padding: 1rem;
  241. background-clip: content-box;
  242. }
  243. .views-field-field-image{
  244. grid-row: 1 / span 4;
  245. // margin-top: -3.5rem;
  246. z-index: 0;
  247. padding: .5rem;
  248. }
  249. .views-field:not(.views-field-field-image){
  250. background: transparent;
  251. width: auto;
  252. margin-left: 0;
  253. padding-left: 0;
  254. }
  255. .views-field-field-sous-titre{
  256. grid-column: 2 / span 1;
  257. }
  258. .views-field-field-type-de-ressource{
  259. grid-column: 2 / span 1;
  260. }
  261. .views-field-title{
  262. font-weight: 600;
  263. grid-row: 3 / span 1;
  264. grid-column: 2 / span 1;
  265. }
  266. .views-field-view-node{
  267. // padding-top: 1rem;
  268. // grid-column: 1;
  269. // grid-row: 1;
  270. grid-row: 2 / span 1;
  271. grid-column: 2 / span 1;
  272. }
  273. .views-field-field-programme{
  274. .field-content{
  275. display: inline-block;
  276. width: auto;
  277. background-color: black !important;
  278. padding: .3rem .5rem;
  279. }
  280. padding-left: .5rem !important;
  281. grid-row: 1 / span 1;
  282. grid-column: 1 / span 2;
  283. text-transform: uppercase;
  284. margin-top: -.5rem;
  285. .field-content{
  286. font-weight: 600;
  287. display: inline-block;
  288. width: auto;
  289. color: white;
  290. padding: .02rem .3rem;
  291. // margin-bottom: 1rem;
  292. }
  293. }
  294. }
  295. footer{
  296. background-color: transparent;
  297. text-align: center;
  298. padding: 1rem;
  299. a{
  300. display: inline-block;
  301. margin: 0 auto;
  302. background: black;
  303. color: white;
  304. font-family: "trueno";
  305. font-weight: 500;
  306. padding: .5rem 1.5rem;
  307. font-size: $font-normal;
  308. text-decoration: none;
  309. }
  310. }
  311. }
  312. }