_offre.scss 13 KB

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