_static.scss 11 KB

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