_ressources.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. .path-ressources{
  2. .layout-content{
  3. width: 100vw;
  4. .region-content{
  5. width: 80%;
  6. margin: auto;
  7. #block-contenudelapageprincipale{
  8. span{
  9. // visibility: hidden;
  10. }
  11. .layout--onecol{
  12. .layout__region--content{
  13. .block-region-content{
  14. display: grid;
  15. grid-template-columns: 1fr repeat(8, 2fr) 1fr;
  16. // texte présentation
  17. .block-config-pages-block{
  18. grid-column: 3 / span 5;
  19. .config_pages--base-de-donnees--full{
  20. // .field--name-field-introduction{
  21. grid-column: 3 / span 5;
  22. margin: 2rem;
  23. .field--name-field-introduction{
  24. // width: 65%;
  25. margin: auto;
  26. background: $white;
  27. margin-top:5rem;
  28. }
  29. @media (max-width: 810px){
  30. padding: 2rem;
  31. margin-top:1rem;
  32. }
  33. // }
  34. }
  35. }
  36. // .block-views-blockcollection--block-1{
  37. // grid-column: 3 / span 5;
  38. // // margin: 2rem;
  39. // // .field--name-field-introduction{
  40. // // width: 65%;
  41. // margin: auto;
  42. // background: $white;
  43. // margin-top:5rem;
  44. // // }
  45. // @media (max-width: 810px){
  46. // padding: 2rem;
  47. // margin-top:1rem;
  48. // }
  49. // }
  50. //button proposer une ressource
  51. .block-block-content82917d0c-5004-4bfb-af66-ce334782d82d{
  52. // visibility: hidden;
  53. grid-column: 8 / span 9;
  54. grid-row: 1;
  55. margin-top: 4rem;
  56. background-color: $blue-light;
  57. height: fit-content;
  58. width: 60%;
  59. margin-left: 2rem;
  60. grid-row: 2;
  61. .display{
  62. display: block;
  63. }
  64. .field--name-field-lien{
  65. display: flex;
  66. flex-direction: column;
  67. margin-top: 2rem;
  68. margin-bottom: 2rem;
  69. margin-left: 1.5rem;
  70. margin-right: 1.5rem;
  71. text-align: center;
  72. a{
  73. font-weight: 800;
  74. color: $white;
  75. font-size: 1.3rem;
  76. }
  77. &:after{
  78. margin-left: auto;
  79. padding-top: 1rem;
  80. display: block;
  81. content:url("../images/pictos/noun_Arrow_3771902.svg")
  82. }
  83. }
  84. @media (max-width: 810px){
  85. margin: auto;
  86. }
  87. }
  88. // grille des ressources
  89. .block-views-blockbase-de-donnees-block-1{
  90. width: 100%;
  91. grid-column: 3 / span 8;
  92. .view-filters{
  93. background-color: $white;
  94. margin-top: 2rem;
  95. margin-bottom: 2rem;
  96. .views-exposed-form-base-de-donnees-block-1{
  97. width: fit-content;
  98. display: flex;
  99. .js-form-item.form-item.js-form-type-select.form-item-field-type-de-ressource-target-id.js-form-item-field-type-de-ressource-target-id{
  100. width: fit-content;
  101. }
  102. .form-item{
  103. width: fit-content;
  104. }
  105. .form-item-field-type-de-ressource-target-id{
  106. width: fit-content;
  107. }
  108. }
  109. }
  110. .view-content{
  111. display: flex;
  112. flex-direction: row;
  113. flex-wrap: wrap;
  114. .views-row{
  115. width: 25%;
  116. flex: 0 0 25%;
  117. border: 2px solid $blue-light;
  118. // background-color: $white;
  119. // margin-bottom: 1rem;
  120. // &:hover{
  121. // background-color: $blue-light;
  122. // }
  123. .node-type-ressource{
  124. display: flex;
  125. flex-direction: column;
  126. // border: 2px solid $blue-light;
  127. padding: 1rem;
  128. // &:hover{
  129. // background-color: $blue-light;
  130. // .field--name-field-mots-clefs{
  131. // // &::after{
  132. // // content: url("../images/pictos/noun_Arrow_3771902.svg");
  133. // // }
  134. // }
  135. // }
  136. // &::after{
  137. // content: url("../images/pictos/noun_Arrow_3771902.svg");
  138. // align-self: end;
  139. // margin-top: 1rem;
  140. // }
  141. .field--name-field-type-de-ressource{
  142. text-transform: uppercase;
  143. a{
  144. color: $blue-light;
  145. font-weight: 900;
  146. font-size: 0.8rem;
  147. }
  148. }
  149. .field--name-title{
  150. h2{
  151. margin: 0;
  152. a{
  153. color: $black;
  154. font-size: 1.4rem;
  155. font-weight: 600;
  156. }
  157. }
  158. }
  159. .field--name-field-auteur-s-{
  160. font-weight: 800;
  161. p{
  162. margin: 0;
  163. }
  164. .field__label{
  165. display:none;
  166. }
  167. }
  168. .field--name-field-edition{
  169. p{
  170. margin: 0;
  171. }
  172. .field__label{
  173. display:none;
  174. }
  175. }
  176. .field--name-field-images{
  177. display: none;
  178. width: 50%;
  179. img{
  180. width: 100%;
  181. height: auto;
  182. }
  183. }
  184. .field--name-field-mots-clefs{
  185. display: flex;
  186. margin-top: 2rem;
  187. flex-direction: row;
  188. flex-wrap: wrap;
  189. // &::after{
  190. // content: url("../images/pictos/noun_Arrow_3771902.svg");
  191. // align-self: center;
  192. // }
  193. .field__item{
  194. margin-right: 0.5rem;
  195. padding-left: 0.3rem;
  196. padding-right: 0.3rem;
  197. font-size: 0.8rem;
  198. a{
  199. background: $blue-dark;
  200. color: $white;
  201. font-weight: 800;
  202. vertical-align: super;
  203. padding-left: 0.1rem;
  204. padding-right: 0.1rem;
  205. display: inline-flex;
  206. }
  207. }
  208. }
  209. ul.links.inline{
  210. display: none;
  211. }
  212. }
  213. }
  214. @media (max-width: 810px){
  215. flex-direction: column;
  216. .views-row{
  217. width: 100%;
  218. }
  219. }
  220. }
  221. }
  222. }
  223. }
  224. }
  225. }
  226. }
  227. }
  228. }