_offresdeservices.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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 rgb(199, 215, 74);
  96. // border: 2px solid $blue-light;
  97. padding: 1rem;
  98. height: fit-content;
  99. margin-bottom: 1rem;
  100. background-color: $white;
  101. margin-right: 1rem;
  102. // height: 200px;
  103. div:first-of-type{
  104. display: grid;
  105. grid-template-columns: 1fr 1fr 1fr;
  106. grid-template-rows: repeat(6 auto);
  107. .field--name-field-type-de-protagoniste{
  108. grid-column: 1 / span 3;
  109. grid-row: 1;
  110. margin-bottom: 1rem;
  111. text-transform: uppercase;
  112. font-weight: 800;
  113. font-size: 00.8rem;
  114. }
  115. .field--name-field-photo{
  116. grid-column: 1;
  117. grid-row: 2 / span 6;
  118. margin-right: 1rem;
  119. max-height: 170px;
  120. img{
  121. max-width: 100%;
  122. object-fit: cover;
  123. height: auto;
  124. max-height: 95%;
  125. }
  126. }
  127. .field--name-field-prenom{
  128. grid-column: 2;
  129. grid-row: 2;
  130. padding-right: 0.5rem;
  131. text-transform: uppercase;
  132. font-weight: 800;
  133. font-size: 1rem;
  134. }
  135. .field--name-field-nom{
  136. grid-column: 3;
  137. grid-row: 2;
  138. text-transform: uppercase;
  139. font-weight: 800;
  140. font-size: 1rem;
  141. }
  142. .field--name-field-structure{
  143. grid-column: 2 / span 3;
  144. grid-row: 3;
  145. text-transform: uppercase;
  146. font-weight: 800;
  147. font-size: 0.8rem;
  148. }
  149. .field--name-title{
  150. grid-column: 2 / span 3;
  151. grid-row: 4;
  152. font-size: 1.3rem;
  153. a{
  154. color: $black;
  155. }
  156. }
  157. .field--name-field-localisation{
  158. grid-column: 2 / span 3;
  159. grid-row: 5;
  160. text-transform: uppercase;
  161. font-weight: 800;
  162. font-size: 00.8rem;
  163. }
  164. .field--name-field-date-de-proposition{
  165. display: inline-flex;
  166. grid-column: 2 / span 3;
  167. grid-row: 6;
  168. font-size: 0.8rem;
  169. padding-top: 1rem;
  170. justify-content: space-between;
  171. align-items: center;
  172. &::after{
  173. content: url("../images/pictos/noun_Arrow_3771902.svg");
  174. align-self: flex-end;
  175. }
  176. }
  177. }
  178. }
  179. .type-de-protagoniste-5{
  180. border: 2px solid rgb(255, 0, 15);
  181. }
  182. .type-de-protagoniste-6{
  183. border: 2px solid rgb(160, 26, 39);
  184. }
  185. .type-de-protagoniste-7{
  186. border: 2px solid rgb(199, 215, 74);
  187. }
  188. .type-de-protagoniste-8{
  189. border: 2px solid rgb(255, 100, 83);
  190. .type-de-protagoniste-9{
  191. border: 2px solid rgb(111, 109, 125);
  192. }
  193. }
  194. @media (max-width: 810px){
  195. flex-direction: column;
  196. .views-row{
  197. width: 100%;
  198. }
  199. }
  200. }
  201. }
  202. }
  203. }
  204. }
  205. }
  206. }
  207. }
  208. }