_offre.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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. .title-contact{
  117. background: $blue-light;
  118. color: $white;
  119. text-transform: uppercase;
  120. font-weight: 900;
  121. font-size: 0.8rem;
  122. padding-top: 1rem;
  123. padding-left: 1rem;
  124. padding-right: 1rem;
  125. }
  126. .block-entity-fieldnodefield-courriel{
  127. background: $blue-light;
  128. color: $white;
  129. font-weight: 600;
  130. padding-left: 1rem;
  131. padding-right: 1rem;
  132. }
  133. .block-entity-fieldnodefield-telephone{
  134. background: $blue-light;
  135. color: $white;
  136. font-weight: 600;
  137. padding-left: 1rem;
  138. padding-right: 1rem;
  139. padding-bottom: 1rem;
  140. }
  141. .block-entity-fieldnodefield-fichiers{
  142. height: fit-content;
  143. border: 2px solid $blue-light;
  144. background-color: $white;
  145. margin-top: 1rem;
  146. }
  147. .field--name-field-fichiers{
  148. min-height: 4rem;
  149. background: $white;
  150. color: $blue-light;
  151. padding-left: 1rem;
  152. padding-top: 1rem;
  153. margin-bottom: 1rem;
  154. span:nth-of-type(2){
  155. display: none;
  156. }
  157. .file--mime-application-pdf{
  158. height: inherit;
  159. margin: auto;
  160. ::before{
  161. content: url("../images/pictos/noun_Download_file_307900.svg");
  162. min-width:50px;
  163. height: auto;
  164. padding-right: 1rem;
  165. }
  166. a{
  167. hyphens: auto;
  168. display: inline-flex;
  169. align-items: center;
  170. color: $blue-light;
  171. font-weight: 800;
  172. // max-width: 80px ;
  173. }
  174. }
  175. }
  176. .block-entity-fieldnodefield-liens{
  177. margin-top: 1rem;
  178. .field--name-field-liens{
  179. .field__item{
  180. margin: auto;
  181. height: fit-content;
  182. border: 2px solid $blue-light;
  183. min-height: 4rem;
  184. background: $white;
  185. color: $blue-light;
  186. padding-left: 1rem;
  187. padding-top: 1rem;
  188. margin-bottom: 1rem;
  189. }
  190. a{
  191. display: inline-flex;
  192. align-items: center;
  193. color: $blue-light;
  194. font-weight: 800;
  195. &::before{
  196. content: url("../images/pictos/noun_External Link_674151.svg");
  197. min-width: 50px;
  198. height: auto;
  199. padding-right: 1rem;
  200. }
  201. svg.ext{
  202. display: none;
  203. }
  204. }
  205. }
  206. }
  207. .block-entity-fieldnodefield-ress{
  208. margin-top: 3rem;
  209. .field--name-field-ress{
  210. .field__label{
  211. font-size: 0.8rem;
  212. color: $black;
  213. font-weight: 900;
  214. margin-bottom: 1rem;
  215. }
  216. .node-type-ressource{
  217. display: flex;
  218. flex-direction: column;
  219. border: 2px solid $blue-light;
  220. padding: 1rem;
  221. height: fit-content;
  222. margin-bottom: 1rem;
  223. background-color: $white;
  224. &:first-of-type{
  225. border-top: 1px solid $blue-light;
  226. padding-top: 1rem;
  227. &::after{
  228. content: url("../images/pictos/noun_Arrow_3771902.svg");
  229. align-self: end;
  230. }
  231. }
  232. .field--name-title{
  233. h2{
  234. margin: 0;
  235. }
  236. a{
  237. color: $black;
  238. font-size: 1.4rem;
  239. font-weight: 600;
  240. }
  241. }
  242. .field--name-field-auteur-s-{
  243. font-weight: 800;
  244. p{
  245. margin: 0;
  246. }
  247. .field__label{
  248. display:none;
  249. }
  250. }
  251. .field--name-field-edition{
  252. p{
  253. margin: 0;
  254. }
  255. .field__label{
  256. display:none;
  257. }
  258. }
  259. .field--name-field-images{
  260. display: none;
  261. width: 50%;
  262. img{
  263. width: 100%;
  264. height: auto;
  265. }
  266. }
  267. .field--name-field-type-de-ressource{
  268. display: inline-flex;
  269. margin-top: 2rem;
  270. background: $blue-dark;
  271. margin-right: 1rem;
  272. padding-left: 0.3rem;
  273. padding-right: 0.3rem;
  274. color: $white;
  275. font-weight: 800;
  276. vertical-align: middle;
  277. }
  278. }
  279. }
  280. }
  281. }
  282. }
  283. // }
  284. }