_offre.scss 11 KB

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