_basededonnees.scss 11 KB

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