_offresdeservices.scss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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. .view-display-id-block_1{
  75. margin: auto;
  76. }
  77. // bandeau filtes
  78. .view-filters{
  79. display: none;
  80. background: $white;
  81. }
  82. // grille offres
  83. .view-content{
  84. display: flex;
  85. flex-wrap: wrap;
  86. margin-top: 3rem;
  87. .views-row{
  88. width: 50%;
  89. .node-type-offre_de_service{
  90. // display: flex;
  91. // flex-direction: column;
  92. border: 2px solid $blue-light;
  93. padding: 1rem;
  94. height: fit-content;
  95. margin-bottom: 1rem;
  96. background-color: $white;
  97. margin-right: 1rem;
  98. height: 200px;
  99. div:first-of-type{
  100. display: grid;
  101. grid-template-columns: 1fr auto 1fr;
  102. grid-template-rows: repeat(6 auto);
  103. .field--name-field-type-de-protagoniste{
  104. grid-column: 1 / span 3;
  105. grid-row: 1;
  106. margin-bottom: 1rem;
  107. text-transform: uppercase;
  108. font-weight: 800;
  109. font-size: 00.8rem;
  110. }
  111. .field--name-field-photo{
  112. grid-column: 1;
  113. grid-row: 2 / span 6;
  114. margin-right: 1rem;
  115. max-height: 170px;
  116. img{
  117. max-width: 100%;
  118. object-fit: cover;
  119. height: auto;
  120. max-height: 95%;
  121. }
  122. }
  123. .field--name-field-prenom{
  124. grid-column: 2;
  125. grid-row: 2;
  126. padding-right: 0.5rem;
  127. text-transform: uppercase;
  128. font-weight: 800;
  129. font-size: 1rem;
  130. }
  131. .field--name-field-nom{
  132. grid-column: 3;
  133. grid-row: 2;
  134. text-transform: uppercase;
  135. font-weight: 800;
  136. font-size: 1rem;
  137. }
  138. .field--name-field-structure{
  139. grid-column: 2 / span 3;
  140. grid-row: 3;
  141. text-transform: uppercase;
  142. font-weight: 800;
  143. font-size: 0.8rem;
  144. }
  145. .field--name-title{
  146. grid-column: 2 / span 3;
  147. grid-row: 4;
  148. font-size: 1.3rem;
  149. a{
  150. color: $black;
  151. }
  152. }
  153. .field--name-field-localisation{
  154. grid-column: 2 / span 3;
  155. grid-row: 5;
  156. text-transform: uppercase;
  157. font-weight: 800;
  158. font-size: 00.8rem;
  159. }
  160. .field--name-field-date-de-proposition{
  161. display: inline-flex;
  162. grid-column: 2 / span 3;
  163. grid-row: 6;
  164. font-size: 0.8rem;
  165. padding-top: 1rem;
  166. justify-content: space-between;
  167. align-items: center;
  168. &::after{
  169. content: url("../images/pictos/noun_Arrow_3771902.svg");
  170. align-self: end;
  171. }
  172. }
  173. }
  174. }
  175. }
  176. }
  177. }
  178. }
  179. }
  180. }
  181. }
  182. }
  183. }