_basededonnees.scss 11 KB

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