_offresdeservices.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. .offresdeservices{
  2. .layout-content{
  3. .region-content{
  4. #block-contenudelapageprincipale{
  5. background: url('../images/pictos/carre-contour-bleu_programme.svg');
  6. background-repeat: no-repeat;
  7. background-position-y: 20vh;
  8. max-width: 100vw;
  9. background-size: cover;
  10. span{
  11. padding-top: 3rem;
  12. padding-bottom: 3rem;
  13. vertical-align: middle;
  14. color: $white;
  15. h2{
  16. font-family: 'Source Code Pro';
  17. font-size: 2rem;
  18. font-weight: 800;
  19. color: $white;
  20. background-color: $blue-light;
  21. text-transform: uppercase;
  22. width: fit-content;
  23. margin-left: 10%;
  24. margin-top: 8rem;
  25. }
  26. }
  27. .layout--onecol{
  28. .block-region-content{
  29. display: grid;
  30. grid-template-columns: 1fr repeat(4, 2fr) 1fr;
  31. // texte présentation
  32. .block-config-pages-block{
  33. grid-column: 2 / span 3;
  34. // margin: 2rem;
  35. margin-top: 4rem;
  36. .field--name-field-introduction{
  37. margin: auto;
  38. background: $white;
  39. p{margin: 0;}
  40. }
  41. }
  42. // buton déposer une offre
  43. .block-block-content7dc5bc6b-f5ca-4815-b689-49382aafa2dc{
  44. grid-column: 5;
  45. margin-top: 4rem;
  46. background-color: $blue-light;
  47. height: fit-content;
  48. width: 80%;
  49. margin-left: 2rem;
  50. .field--name-field-lien{
  51. display: flex;
  52. flex-direction: column;
  53. margin-top: 2rem;
  54. margin-bottom: 2rem;
  55. margin-left: 1.5rem;
  56. margin-right: 1.5rem;
  57. text-align: center;
  58. a{
  59. font-weight: 800;
  60. color: $white;
  61. font-size: 1.3rem;
  62. }
  63. &:after{
  64. margin-left: auto;
  65. padding-top: 1rem;
  66. display: block;
  67. content:url("../images/pictos/noun_Arrow_3771902.svg")
  68. }
  69. }
  70. }
  71. // offres
  72. .block-views-blockoffres-de--block-1{
  73. grid-column: 2 / span 3;
  74. @media (max-width: 810px){
  75. grid-column: 2 / span 4;
  76. }
  77. .view-display-id-block_1{
  78. margin: auto;
  79. }
  80. // bandeau filtes
  81. .view-filters{
  82. display: none;
  83. background: $white;
  84. }
  85. // grille offres
  86. .view-content{
  87. display: flex;
  88. flex-wrap: wrap;
  89. margin-top: 3rem;
  90. .views-row{
  91. width: 50%;
  92. .node-type-offre_de_service{
  93. // display: flex;
  94. // flex-direction: column;
  95. border: 2px solid $blue-light;
  96. padding: 1rem;
  97. height: fit-content;
  98. margin-bottom: 1rem;
  99. background-color: $white;
  100. margin-right: 1rem;
  101. // height: 200px;
  102. div:first-of-type{
  103. display: grid;
  104. grid-template-columns: 1fr 1fr 1fr;
  105. grid-template-rows: repeat(6 auto);
  106. .field--name-field-type-de-protagoniste{
  107. grid-column: 1 / span 3;
  108. grid-row: 1;
  109. margin-bottom: 1rem;
  110. text-transform: uppercase;
  111. font-weight: 800;
  112. font-size: 00.8rem;
  113. }
  114. .field--name-field-photo{
  115. grid-column: 1;
  116. grid-row: 2 / span 6;
  117. margin-right: 1rem;
  118. max-height: 170px;
  119. img{
  120. max-width: 100%;
  121. object-fit: cover;
  122. height: auto;
  123. max-height: 95%;
  124. }
  125. }
  126. .field--name-field-prenom{
  127. grid-column: 2;
  128. grid-row: 2;
  129. padding-right: 0.5rem;
  130. text-transform: uppercase;
  131. font-weight: 800;
  132. font-size: 1rem;
  133. }
  134. .field--name-field-nom{
  135. grid-column: 3;
  136. grid-row: 2;
  137. text-transform: uppercase;
  138. font-weight: 800;
  139. font-size: 1rem;
  140. }
  141. .field--name-field-structure{
  142. grid-column: 2 / span 3;
  143. grid-row: 3;
  144. text-transform: uppercase;
  145. font-weight: 800;
  146. font-size: 0.8rem;
  147. }
  148. .field--name-title{
  149. grid-column: 2 / span 3;
  150. grid-row: 4;
  151. font-size: 1.3rem;
  152. a{
  153. color: $black;
  154. }
  155. }
  156. .field--name-field-localisation{
  157. grid-column: 2 / span 3;
  158. grid-row: 5;
  159. text-transform: uppercase;
  160. font-weight: 800;
  161. font-size: 00.8rem;
  162. }
  163. .field--name-field-date-de-proposition{
  164. display: inline-flex;
  165. grid-column: 2 / span 3;
  166. grid-row: 6;
  167. font-size: 0.8rem;
  168. padding-top: 1rem;
  169. justify-content: space-between;
  170. align-items: center;
  171. &::after{
  172. content: url("../images/pictos/noun_Arrow_3771902.svg");
  173. align-self: flex-end;
  174. }
  175. }
  176. }
  177. }
  178. }
  179. @media (max-width: 810px){
  180. flex-direction: column;
  181. .views-row{
  182. width: 100%;
  183. }
  184. }
  185. }
  186. }
  187. }
  188. }
  189. }
  190. }
  191. }
  192. }