_offre.scss 13 KB

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