_globals.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. body{
  2. font-family: "trueno" !important;
  3. font-size: $font-normal ;
  4. font-weight: 300;
  5. line-height: 1.5;
  6. // background: $bck-col;
  7. &.path-node{
  8. &.programme-1{
  9. #node\:title,.field_sous_titre,.field_intro{
  10. color: $col-1;
  11. }
  12. article{
  13. h2,h3,h4,h5,h6,.field_titre,.field_type_de_ressource{
  14. color: $col-1;
  15. }
  16. }
  17. }
  18. &.programme-2{
  19. #node\:title,.field_sous_titre,.field_intro{
  20. color: $col-2;
  21. }
  22. article{
  23. h2,h3,h4,h5,h6,.field_titre,.field_type_de_ressource{
  24. color: $col-2;
  25. }
  26. }
  27. }
  28. &.programme-3{
  29. #node\:title,.field_sous_titre,.field_intro{
  30. color: $col-eur;
  31. }
  32. article{
  33. h2,h3,h4,h5,h6,.field_titre,.field_type_de_ressource{
  34. color: $col-eur;
  35. }
  36. }
  37. }
  38. &.programme-4{
  39. #node\:title,.field_sous_titre,.field_intro{
  40. color: $col-1;
  41. }
  42. article{
  43. h2,h3,h4,h5,h6,.field_titre,.field_type_de_ressource{
  44. color: $col-1;
  45. }
  46. }
  47. }
  48. &.programme-5{
  49. #node\:title,.field_sous_titre,.field_intro{
  50. color: $col-mond;
  51. }
  52. article{
  53. h2,h3,h4,h5,h6,.field_titre,.field_type_de_ressource{
  54. color: $col-mond;
  55. }
  56. }
  57. }
  58. &.programme-6{
  59. #node\:title,.field_sous_titre,.field_intro{
  60. color: $col-ter;
  61. }
  62. article{
  63. h2,h3,h4,h5,h6,.field_titre,.field_type_de_ressource{
  64. color: $col-ter;
  65. }
  66. }
  67. }
  68. &.programme-7{
  69. #node\:title,.field_sous_titre,.field_intro{
  70. color: $col-met;
  71. }
  72. article{
  73. h2,h3,h4,h5,h6,.field_titre,.field_type_de_ressource{
  74. color: $col-met;
  75. }
  76. }
  77. }
  78. &.programme-883{
  79. #node\:title,.field_sous_titre,.field_intro{
  80. color: $col-transition;
  81. }
  82. article{
  83. h2,h3,h4,h5,h6,.field_titre,.field_type_de_ressource{
  84. color: $col-transition;
  85. }
  86. }
  87. }
  88. }
  89. }
  90. main{
  91. h2{
  92. text-transform: uppercase;
  93. font-family: 'duke';
  94. font-size: $font-extra;
  95. }
  96. }
  97. a{
  98. color:inherit;
  99. }
  100. strong, b{
  101. font-weight: 600;
  102. }
  103. i, em{
  104. font-style: italic;
  105. }
  106. // slick carrousel
  107. .slick-track{
  108. display: flex;
  109. align-items: center;
  110. }
  111. .slick-arrow{
  112. font-size: 0;
  113. background: center / 40% no-repeat url(../../images/fleche.svg);
  114. @include breakpoint(small down) {
  115. background: center / 100% no-repeat url(../../images/fleche.svg);
  116. }
  117. }
  118. .slick-arrow{
  119. position: absolute;
  120. height: 100%;
  121. cursor: pointer;
  122. z-index: 100;
  123. // background-color: white;
  124. opacity: 0.2;
  125. transition: opacity 250ms;
  126. width: 10%;
  127. &:hover{
  128. opacity: .5;
  129. }
  130. }
  131. .slick-next{
  132. right: 0;
  133. top: 0;
  134. }
  135. .slick-prev{
  136. -moz-transform: rotate(180deg);
  137. -webkit-transform: rotate(180deg);
  138. -o-transform: rotate(180deg);
  139. -ms-transform: rotate(180deg);
  140. transform: rotate(180deg);
  141. }
  142. // end carousel
  143. .block-region-first{
  144. #node\:field_programme{
  145. .field_programme{
  146. *{
  147. background: none !important;
  148. }
  149. }
  150. }
  151. }
  152. .footer_bottom_right_container{
  153. .ext{
  154. display: none;
  155. }
  156. }
  157. //map
  158. .leaflet-marker-icon{
  159. // padding: .5rem;
  160. a{
  161. text-decoration: none;
  162. color: white;
  163. display: block;
  164. padding: .6rem;
  165. font-weight: 600;
  166. font-size: 0;
  167. border-radius: 50%;
  168. transition: all 250ms;
  169. &:hover{
  170. background: white;
  171. font-size: $font-small;
  172. transition: all 250ms;
  173. border-radius: 0;
  174. }
  175. }
  176. .programme-1{
  177. background: $col-1;
  178. &:hover{
  179. color: $col-1;
  180. }
  181. }
  182. .programme-2{
  183. background: $col-2;
  184. &:hover{
  185. color: $col-2;
  186. }
  187. }
  188. .programme-3{
  189. background: $col-eur;
  190. &:hover{
  191. color: $col-eur;
  192. }
  193. }
  194. .programme-4{
  195. background: $col-1;
  196. &:hover{
  197. color: $col-1;
  198. }
  199. }
  200. .programme-5{
  201. background: $col-mond;
  202. &:hover{
  203. color: $col-mond;
  204. }
  205. }
  206. .programme-6{
  207. background: $col-ter;
  208. &:hover{
  209. color: $col-ter;
  210. }
  211. }
  212. .programme-7{
  213. background: $col-met;
  214. &:hover{
  215. color: $col-met;
  216. }
  217. }
  218. .programme-883{
  219. background: $col-transition;
  220. &:hover{
  221. color: $col-transition;
  222. }
  223. }
  224. }
  225. //end map