_ressources.scss 13 KB

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