_basededonnees.scss 9.9 KB

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