_static.scss 11 KB

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