_basededonnees.scss 15 KB

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