_basededonnees.scss 12 KB

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