_offre.scss 13 KB

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