_offre.scss 12 KB

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