_page--node.scss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. .page-node-type-programme{
  2. .layout-content{
  3. position: relative;
  4. }
  5. .layout__region--top{
  6. max-height: 30%;
  7. grid-column: 1 / span 3;
  8. }
  9. .block-region-first{
  10. position: absolute;
  11. top: 0;
  12. left: 0;
  13. z-index: 10;
  14. width: 25%;
  15. padding: 1rem 1.5rem ;
  16. .views-element-container{
  17. header{
  18. font-family: duke;
  19. font-size: $font-large;
  20. cursor: pointer;
  21. transition: all 250ms;
  22. &:hover{
  23. padding: 0 0 0 .3rem;
  24. }
  25. }
  26. .views-row{
  27. display: none;
  28. padding: 0 0 0 1.2rem;
  29. margin-bottom: .5rem;
  30. a{
  31. text-decoration: none;
  32. &:hover{
  33. text-decoration: underline;
  34. }
  35. }
  36. }
  37. }
  38. }
  39. .block-region-third{
  40. margin-top: -7rem;
  41. z-index: 20;
  42. position: relative;
  43. #evenements-block_1{
  44. background-color: brown;
  45. margin-bottom: 3rem;
  46. }
  47. .item-list{
  48. background-color:white;
  49. color: brown;
  50. padding: 1rem 0;
  51. li{
  52. margin-bottom: 1rem;
  53. font-weight: 500;
  54. .views-field-field-type-de-ressource{
  55. text-transform: uppercase;
  56. margin-bottom: .2rem;
  57. }
  58. .views-field-title{
  59. font-style: italic;
  60. a{
  61. text-decoration: none;
  62. &:hover{
  63. text-decoration: underline;
  64. }
  65. }
  66. }
  67. .views-field-field-sous-titre{
  68. font-weight: 400;
  69. }
  70. }
  71. }
  72. }
  73. .block-region-bottom{
  74. background: $trame;
  75. h2{
  76. text-align: center;
  77. }
  78. .item-list{
  79. .slick-slide{
  80. margin: 0 1rem;
  81. }
  82. .slick-arrow{
  83. position: absolute;
  84. height: 100%;
  85. cursor: pointer;
  86. z-index: 100;
  87. background-color: white;
  88. opacity: 0;
  89. transition: opacity 250ms;
  90. width: 10%;
  91. &:hover{
  92. opacity: .5;
  93. }
  94. }
  95. .slick-next{
  96. right: 0;
  97. top: 0;
  98. }
  99. .views-field:not(.views-field-field-image){
  100. width: 80%;
  101. }
  102. li{
  103. display: grid !important;
  104. grid-template-columns: 1fr 1fr;
  105. align-items: center;
  106. background: white;
  107. position: relative;
  108. height: auto;
  109. padding: 1rem;
  110. background-clip: content-box;
  111. }
  112. .views-field-field-image{
  113. grid-row: 3 / span 2;
  114. margin-top: -1.5rem;
  115. z-index: 0;
  116. padding: .5rem;
  117. }
  118. .views-field:not(.views-field-field-image){
  119. background: transparent;
  120. width: auto;
  121. margin-left: 0;
  122. padding-left: 0;
  123. }
  124. .views-field-title{
  125. font-weight: 600;
  126. grid-row: 3 / span 1;
  127. grid-column: 2 / span 1;
  128. }
  129. .views-field-view-node{
  130. // padding-top: 1rem;
  131. // grid-column: 1;
  132. // grid-row: 1;
  133. grid-row: 2 / span 1;
  134. grid-column: 2 / span 1;
  135. }
  136. .views-field-field-programme{
  137. .field-content{
  138. display: inline-block;
  139. width: auto;
  140. background-color: blue !important;
  141. padding: .3rem .5rem;
  142. }
  143. padding-left: .5rem !important;
  144. grid-row: 1 / span 1;
  145. grid-column: 1 / span 2;
  146. text-transform: uppercase;
  147. margin-top: -.5rem;
  148. .field-content{
  149. font-weight: 600;
  150. display: inline-block;
  151. width: auto;
  152. color: white;
  153. padding: .02rem .3rem;
  154. // margin-bottom: 1rem;
  155. }
  156. }
  157. }
  158. footer{
  159. background-color: transparent;
  160. text-align: center;
  161. padding: 1rem;
  162. a{
  163. display: inline-block;
  164. margin: 0 auto;
  165. background: black;
  166. color: white;
  167. font-family: "duke";
  168. font-weight: 400;
  169. padding: .5rem 1.5rem;
  170. font-size: $font-medium;
  171. text-decoration: none;
  172. }
  173. }
  174. }
  175. }