_basededonnees.scss 13 KB

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