_offre.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. .page-node-type-offre-de-service{
  2. background: url('../images/pictos/carre-contour-bleu-offre.svg');
  3. background-repeat: no-repeat;
  4. background-position-y: 7rem;
  5. max-width: 100vw;
  6. background-size: contain;
  7. // #block-contenudelapageprincipale{
  8. .layout__region--top{
  9. .block-region-top{
  10. margin-top: 2rem;
  11. margin-left: 13%;
  12. display: grid;
  13. grid-template-columns: auto auto 1fr;
  14. grid-template-rows: repeat(6 auto);
  15. .block-entity-fieldnodefield-photo{
  16. width: fit-content;
  17. grid-column: 1;
  18. grid-row: 1 / span 6;
  19. width: 250px;
  20. height: 250px;
  21. margin-right: 2rem;
  22. img{
  23. width: 100%;
  24. height: auto;
  25. }
  26. }
  27. .block-entity-fieldnodefield-type-de-protagoniste{
  28. background: $white;
  29. width: fit-content;
  30. grid-column: 2 /span 3;
  31. grid-row: 1;
  32. text-transform: uppercase;
  33. color: rgb(160, 26, 39);
  34. font-weight: 900;
  35. font-size: 0.8rem;
  36. }
  37. .block-entity-fieldnodefield-prenom{
  38. background: $white;
  39. width: fit-content;
  40. grid-column: 2;
  41. grid-row: 2;
  42. padding-right: 0.5rem;
  43. text-transform: uppercase;
  44. font-weight: 900;
  45. font-size: 1.5rem;
  46. }
  47. .block-entity-fieldnodefield-nom{
  48. background: $white;
  49. width: fit-content;
  50. grid-column: 3;
  51. grid-row: 2;
  52. text-transform: uppercase;
  53. font-weight: 900;
  54. font-size: 1.5rem;
  55. }
  56. .block-entity-fieldnodefield-structure{
  57. background: $white;
  58. width: fit-content;
  59. grid-column: 2 / span 3;
  60. grid-row: 3;
  61. text-transform: uppercase;
  62. font-weight: 800;
  63. font-size: 0.8rem;
  64. margin-top: 0.5rem;
  65. &::after{
  66. content:url('data:image/svg+xml,<svg width="160" height="30" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="rgb(0,158,227)" stroke-width="3"/></svg>');
  67. }
  68. }
  69. .block-entity-fieldnodetitle{
  70. background: $white;
  71. width: fit-content;
  72. grid-column: 2 / span 3;
  73. grid-row: 4;
  74. font-size: 2.5rem;
  75. font-family: "Source Code Pro";
  76. a{
  77. color: $black;
  78. }
  79. }
  80. .block-entity-fieldnodefield-localisation{
  81. background: $white;
  82. width: fit-content;
  83. grid-column: 2 / span 3;
  84. grid-row: 5;
  85. text-transform: uppercase;
  86. font-weight: 800;
  87. font-size: 00.8rem;
  88. }
  89. .block-entity-fieldnodefield-date-de-proposition{
  90. background: $white;
  91. width: fit-content;
  92. grid-column: 2 / span 3;
  93. grid-row: 6;
  94. font-size: 0.8rem;
  95. padding-top: 1rem;
  96. }
  97. }
  98. }
  99. .layout__region--second{ // paragraphe texte
  100. margin-top: 3rem;
  101. margin-left: 20%;
  102. margin-right: 2rem;
  103. .block-entity-fieldnodebody{
  104. .field--type-text-with-summary{
  105. background: $white;
  106. p{ margin: 0;}
  107. }
  108. }
  109. }
  110. .layout__region--third{ // colone de droite fichiers et ressources liées
  111. margin-top: 3rem;
  112. .block-region-third{
  113. display: flex;
  114. flex-direction: column;
  115. width: 70%;
  116. .block-entity-fieldnodefield-courriel{
  117. background: $blue-light;
  118. color: $white;
  119. font-weight: 600;
  120. padding-top: 1rem;
  121. padding-left: 1rem;
  122. padding-right: 1rem;
  123. }
  124. .block-entity-fieldnodefield-telephone{
  125. background: $blue-light;
  126. color: $white;
  127. font-weight: 600;
  128. padding-left: 1rem;
  129. padding-right: 1rem;
  130. padding-bottom: 1rem;
  131. }
  132. .block-entity-fieldnodefield-fichiers{
  133. height: fit-content;
  134. border: 2px solid $blue-light;
  135. background-color: $white;
  136. margin-top: 1rem;
  137. }
  138. .field--name-field-fichiers{
  139. min-height: 4rem;
  140. background: $white;
  141. color: $blue-light;
  142. padding-left: 1rem;
  143. padding-top: 1rem;
  144. margin-bottom: 1rem;
  145. span:nth-of-type(2){
  146. display: none;
  147. }
  148. .file--mime-application-pdf{
  149. height: inherit;
  150. margin: auto;
  151. ::before{
  152. content: url("../images/pictos/noun_Download_file_307900.svg");
  153. min-width:50px;
  154. height: auto;
  155. padding-right: 1rem;
  156. }
  157. a{
  158. hyphens: auto;
  159. display: inline-flex;
  160. align-items: center;
  161. color: $blue-light;
  162. font-weight: 800;
  163. // max-width: 80px ;
  164. }
  165. }
  166. }
  167. .block-entity-fieldnodefield-liens{
  168. margin-top: 1rem;
  169. .field--name-field-liens{
  170. .field__item{
  171. margin: auto;
  172. height: fit-content;
  173. border: 2px solid $blue-light;
  174. min-height: 4rem;
  175. background: $white;
  176. color: $blue-light;
  177. padding-left: 1rem;
  178. padding-top: 1rem;
  179. margin-bottom: 1rem;
  180. }
  181. a{
  182. display: inline-flex;
  183. align-items: center;
  184. color: $blue-light;
  185. font-weight: 800;
  186. &::before{
  187. content: url("../images/pictos/noun_External Link_674151.svg");
  188. min-width: 50px;
  189. height: auto;
  190. padding-right: 1rem;
  191. }
  192. svg.ext{
  193. display: none;
  194. }
  195. }
  196. }
  197. }
  198. .block-entity-fieldnodefield-ress{
  199. margin-top: 3rem;
  200. .field--name-field-ress{
  201. .field__label{
  202. font-size: 0.8rem;
  203. color: $black;
  204. font-weight: 900;
  205. margin-bottom: 1rem;
  206. }
  207. .node-type-ressource{
  208. display: flex;
  209. flex-direction: column;
  210. border: 2px solid $blue-light;
  211. padding: 1rem;
  212. height: fit-content;
  213. margin-bottom: 1rem;
  214. background-color: $white;
  215. &:first-of-type{
  216. border-top: 1px solid $blue-light;
  217. padding-top: 1rem;
  218. &::after{
  219. content: url("../images/pictos/noun_Arrow_3771902.svg");
  220. align-self: end;
  221. }
  222. }
  223. .field--name-title{
  224. h2{
  225. margin: 0;
  226. }
  227. a{
  228. color: $black;
  229. font-size: 1.4rem;
  230. font-weight: 600;
  231. }
  232. }
  233. .field--name-field-auteur-s-{
  234. font-weight: 800;
  235. p{
  236. margin: 0;
  237. }
  238. .field__label{
  239. display:none;
  240. }
  241. }
  242. .field--name-field-edition{
  243. p{
  244. margin: 0;
  245. }
  246. .field__label{
  247. display:none;
  248. }
  249. }
  250. .field--name-field-images{
  251. display: none;
  252. width: 50%;
  253. img{
  254. width: 100%;
  255. height: auto;
  256. }
  257. }
  258. .field--name-field-type-de-ressource{
  259. display: inline-flex;
  260. margin-top: 2rem;
  261. background: $blue-dark;
  262. margin-right: 1rem;
  263. padding-left: 0.3rem;
  264. padding-right: 0.3rem;
  265. color: $white;
  266. font-weight: 800;
  267. vertical-align: middle;
  268. }
  269. }
  270. }
  271. }
  272. }
  273. }
  274. // }
  275. }