_basededonnees.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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. display: none;
  94. background-color: $white;
  95. margin-top: 2rem;
  96. margin-bottom: 2rem;
  97. .views-exposed-form-base-de-donnees-block-1{
  98. width: fit-content;
  99. display: flex;
  100. .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{
  101. width: fit-content;
  102. }
  103. .form-item{
  104. width: fit-content;
  105. }
  106. .form-item-field-type-de-ressource-target-id{
  107. width: fit-content;
  108. }
  109. }
  110. }
  111. .view-content{
  112. display: flex;
  113. flex-direction: row;
  114. flex-wrap: wrap;
  115. justify-content: space-between;
  116. margin-top: 3rem;
  117. .views-row{
  118. flex: 0 1 49%;
  119. // padding: 1rem;
  120. // width: 50%;
  121. }
  122. .node-type-ressource{
  123. display: flex;
  124. flex-direction: column;
  125. border: 2px solid $blue-light;
  126. padding: 1rem;
  127. height: fit-content;
  128. margin-bottom: 1rem;
  129. background-color: $white;
  130. &:hover{
  131. background-color: $blue-light;
  132. .field--name-field-mots-clefs{
  133. &::after{
  134. content: url("../images/pictos/noun_Arrow_3771902.svg");
  135. }
  136. }
  137. }
  138. // &::after{
  139. // content: url("../images/pictos/noun_Arrow_3771902.svg");
  140. // align-self: end;
  141. // margin-top: 1rem;
  142. // }
  143. .field--name-field-type-de-ressource{
  144. text-transform: uppercase;
  145. a{
  146. color: $blue-light;
  147. font-weight: 900;
  148. font-size: 0.8rem;
  149. }
  150. }
  151. .field--name-title{
  152. h2{
  153. margin: 0;
  154. a{
  155. color: $black;
  156. font-size: 1.4rem;
  157. font-weight: 600;
  158. }
  159. }
  160. }
  161. .field--name-field-auteur-s-{
  162. font-weight: 800;
  163. p{
  164. margin: 0;
  165. }
  166. .field__label{
  167. display:none;
  168. }
  169. }
  170. .field--name-field-edition{
  171. p{
  172. margin: 0;
  173. }
  174. .field__label{
  175. display:none;
  176. }
  177. }
  178. .field--name-field-images{
  179. display: none;
  180. width: 50%;
  181. img{
  182. width: 100%;
  183. height: auto;
  184. }
  185. }
  186. .field--name-field-mots-clefs{
  187. display: inline-flex;
  188. margin-top: 2rem;
  189. &::after{
  190. content: url("../images/pictos/noun_Arrow_3771902.svg");
  191. align-self: center;
  192. }
  193. .field__item{
  194. background: $blue-dark;
  195. margin-right: 1rem;
  196. padding-left: 0.3rem;
  197. padding-right: 0.3rem;
  198. a{
  199. color: $white;
  200. font-weight: 800;
  201. vertical-align: super;
  202. }
  203. }
  204. }
  205. ul.links.inline{
  206. display: none;
  207. }
  208. }
  209. }
  210. }
  211. }
  212. }
  213. }
  214. }
  215. }
  216. }