_basededonnees.scss 11 KB

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