_offre.scss 12 KB

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