_basededonnees.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  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. }
  128. .node-type-ressource{
  129. display: flex;
  130. flex-direction: column;
  131. // border: 2px solid $blue-light;
  132. padding: 1rem;
  133. &:hover{
  134. background-color: $blue-light;
  135. .field--name-field-mots-clefs{
  136. // &::after{
  137. // content: url("../images/pictos/noun_Arrow_3771902.svg");
  138. // }
  139. }
  140. }
  141. // &::after{
  142. // content: url("../images/pictos/noun_Arrow_3771902.svg");
  143. // align-self: end;
  144. // margin-top: 1rem;
  145. // }
  146. .field--name-field-type-de-ressource{
  147. text-transform: uppercase;
  148. a{
  149. color: $blue-light;
  150. font-weight: 900;
  151. font-size: 0.8rem;
  152. }
  153. }
  154. .field--name-title{
  155. h2{
  156. margin: 0;
  157. a{
  158. color: $black;
  159. font-size: 1.4rem;
  160. font-weight: 600;
  161. }
  162. }
  163. }
  164. .field--name-field-auteur-s-{
  165. font-weight: 800;
  166. p{
  167. margin: 0;
  168. }
  169. .field__label{
  170. display:none;
  171. }
  172. }
  173. .field--name-field-edition{
  174. p{
  175. margin: 0;
  176. }
  177. .field__label{
  178. display:none;
  179. }
  180. }
  181. .field--name-field-images{
  182. display: none;
  183. width: 50%;
  184. img{
  185. width: 100%;
  186. height: auto;
  187. }
  188. }
  189. .field--name-field-mots-clefs{
  190. display: flex;
  191. margin-top: 2rem;
  192. flex-direction: row;
  193. flex-wrap: wrap;
  194. // &::after{
  195. // content: url("../images/pictos/noun_Arrow_3771902.svg");
  196. // align-self: center;
  197. // }
  198. .field__item{
  199. margin-right: 1rem;
  200. padding-left: 0.3rem;
  201. padding-right: 0.3rem;
  202. a{
  203. background: $blue-dark;
  204. color: $white;
  205. font-weight: 800;
  206. vertical-align: super;
  207. padding-left: 0.1rem;
  208. padding-right: 0.1rem;
  209. display: inline-flex;
  210. }
  211. }
  212. }
  213. ul.links.inline{
  214. display: none;
  215. }
  216. }
  217. }
  218. }
  219. }
  220. }
  221. }
  222. }
  223. }
  224. }