_offre.scss 13 KB

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