_incubateur.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. .path-incubateur{
  2. .layout-container{
  3. overflow: unset;
  4. // display: flex;
  5. // flex-direction: column;
  6. // flex-flow: row wrap;
  7. // header{
  8. // flex: 0 0 100%;
  9. // }
  10. // main{
  11. // flex: 0 0 100%;
  12. .layout-content{
  13. .region-content{
  14. .block-contenudelapageprincipale{
  15. span{
  16. h2{
  17. }
  18. }
  19. .layout--threecol-25-50-25{
  20. // menu ancres a gauche
  21. .layout__region--first{ // menu ancres a gauche
  22. position: relative;
  23. .block-region-first{
  24. display: flex;
  25. justify-content: flex-end;
  26. position: -webkit-sticky;
  27. position: sticky;
  28. top: 10rem;
  29. @media (max-width: 810px){
  30. display: none;
  31. }
  32. .block-entity-fieldnodefield-textes{
  33. display: flex;
  34. width: 50%;
  35. background-color: $white;
  36. padding-right: 2rem;
  37. .field--name-field-titre{
  38. display: flex;
  39. font-size: 1rem;
  40. font-weight: 1000;
  41. color: $blue-dark;
  42. border-bottom: 1px solid $blue-light;
  43. padding-bottom: 0.8rem;
  44. padding-right: 1rem;
  45. margin-top: 1rem;
  46. scroll-margin-top: 7em;
  47. &:hover{
  48. text-decoration: underline;
  49. }
  50. }
  51. }
  52. }
  53. }
  54. // paragraphe texte
  55. .layout__region--second{
  56. @media (max-width: 810px){
  57. flex: 0 1 80%;
  58. margin: auto;
  59. }
  60. // paragraphe texte
  61. .block-entity-fieldnodefield-textes{
  62. margin-top: 1rem;
  63. background-color: $white;
  64. .field--name-field-titre{
  65. font-size: 1.5rem;
  66. font-weight: 1000;
  67. font-family: 'Source Code Pro', monospace;
  68. color: $blue-dark;
  69. text-transform: uppercase;
  70. margin-top: 2rem;
  71. margin-bottom: 0.8rem;
  72. }
  73. h4{
  74. text-transform: none !important;
  75. img{
  76. width: 100%;
  77. height: auto;
  78. }
  79. }
  80. .field--type-text-long{
  81. padding-right: 2rem;
  82. }
  83. p{
  84. margin-top: 0;
  85. }
  86. }
  87. }
  88. // colone de droite fichiers et ressources liées
  89. .layout__region--third{
  90. .block-region-third{
  91. margin-top: 1rem;
  92. display: flex;
  93. flex-direction: column;
  94. width: 70%;
  95. // position: -webkit-sticky;
  96. // position: sticky;
  97. // top: 9rem;
  98. @media (max-width: 810px){
  99. margin: auto;
  100. }
  101. .block-entity-fieldnodefield-fichiers{
  102. height: fit-content;
  103. border: 2px solid $blue-light;
  104. background-color: $white;
  105. }
  106. .field--name-field-fichiers{
  107. min-height: 4rem;
  108. background: $white;
  109. color: $blue-light;
  110. padding-left: 0.8rem;
  111. padding-top: 1rem;
  112. margin-bottom: 1rem;
  113. span:nth-of-type(2){
  114. display: none;
  115. }
  116. .file--mime-application-pdf{
  117. height: inherit;
  118. margin: auto;
  119. ::before{
  120. content: url("../images/pictos/noun_Download_file_307900.svg");
  121. min-width:40px;
  122. height: auto;
  123. padding-right: 0.5rem;
  124. display: inline-flex;
  125. align-items: center;
  126. }
  127. a{
  128. hyphens: auto;
  129. display: inline-flex;
  130. align-items: center;
  131. color: $blue-light;
  132. font-weight: 800;
  133. // max-width: 80px ;
  134. }
  135. }
  136. }
  137. .block-entity-fieldnodefield-liens{
  138. .field--name-field-liens{
  139. .field__item{
  140. margin: auto;
  141. height: fit-content;
  142. border: 2px solid $blue-light;
  143. min-height: 4rem;
  144. background: $white;
  145. color: $blue-light;
  146. padding-left: 0.8rem;
  147. padding-top: 1rem;
  148. margin-bottom: 1rem;
  149. }
  150. a{
  151. display: inline-flex;
  152. align-items: center;
  153. justify-items: center;
  154. color: $blue-light;
  155. font-weight: 800;
  156. &::before{
  157. content: url("../images/pictos/noun_External Link_674151.svg");
  158. min-width: 40px;
  159. height: auto;
  160. padding-right: 0.5rem;
  161. display: inline-flex;
  162. align-items: center;
  163. }
  164. svg.ext{
  165. display: none;
  166. }
  167. }
  168. }
  169. }
  170. .block-entity-fieldnodefield-ress{
  171. margin-top: 3rem;
  172. h2{
  173. font-size: 0.8rem;
  174. color: $black;
  175. font-weight: 900;
  176. }
  177. .node-type-ressource{
  178. display: flex;
  179. flex-direction: column;
  180. border: 2px solid $blue-light;
  181. padding: 1rem;
  182. height: fit-content;
  183. margin-bottom: 1rem;
  184. background-color: $white;
  185. &:first-of-type{
  186. border-top: 1px solid $blue-light;
  187. padding-top: 1rem;
  188. &::after{
  189. content: url("../images/pictos/noun_Arrow_3771902.svg");
  190. align-self: flex-end;
  191. }
  192. }
  193. .field--name-title{
  194. a{
  195. color: $black;
  196. font-size: 1.4rem;
  197. font-weight: 600;
  198. }
  199. }
  200. .field--name-field-auteur-s-{
  201. font-weight: 800;
  202. p{
  203. margin: 0;
  204. }
  205. .field__label{
  206. display:none;
  207. }
  208. }
  209. .field--name-field-edition{
  210. p{
  211. margin: 0;
  212. }
  213. .field__label{
  214. display:none;
  215. }
  216. }
  217. .field--name-field-images{
  218. display: none;
  219. width: 50%;
  220. img{
  221. width: 100%;
  222. height: auto;
  223. }
  224. }
  225. .field--name-field-type-de-ressource{
  226. display: inline-flex;
  227. margin-top: 2rem;
  228. background: $blue-dark;
  229. margin-right: 1rem;
  230. padding-left: 0.3rem;
  231. padding-right: 0.3rem;
  232. color: $white;
  233. font-weight: 800;
  234. vertical-align: middle;
  235. }
  236. }
  237. }
  238. }
  239. }
  240. }
  241. }
  242. }
  243. }
  244. // }
  245. }
  246. //
  247. }