_basededonnees.scss 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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. // &::after{
  115. // content: url("../images/pictos/noun_Arrow_3771902.svg");
  116. // align-self: end;
  117. // margin-top: 1rem;
  118. // }
  119. .field--name-field-type-de-ressource{
  120. text-transform: uppercase;
  121. a{
  122. color: $blue-light;
  123. font-weight: 900;
  124. font-size: 0.8rem;
  125. }
  126. }
  127. .field--name-title{
  128. h2{
  129. margin: 0;
  130. a{
  131. color: $black;
  132. font-size: 1.4rem;
  133. font-weight: 600;
  134. }
  135. }
  136. }
  137. .field--name-field-auteur-s-{
  138. font-weight: 800;
  139. p{
  140. margin: 0;
  141. }
  142. .field__label{
  143. display:none;
  144. }
  145. }
  146. .field--name-field-edition{
  147. p{
  148. margin: 0;
  149. }
  150. .field__label{
  151. display:none;
  152. }
  153. }
  154. .field--name-field-images{
  155. display: none;
  156. width: 50%;
  157. img{
  158. width: 100%;
  159. height: auto;
  160. }
  161. }
  162. .field--name-field-mots-clefs{
  163. display: inline-flex;
  164. margin-top: 2rem;
  165. &::after{
  166. content: url("../images/pictos/noun_Arrow_3771902.svg");
  167. align-self: center;
  168. }
  169. .field__item{
  170. background: $blue-dark;
  171. margin-right: 1rem;
  172. padding-left: 0.3rem;
  173. padding-right: 0.3rem;
  174. a{
  175. color: $white;
  176. font-weight: 800;
  177. vertical-align: super;
  178. }
  179. }
  180. }
  181. ul.links.inline{
  182. display: none;
  183. }
  184. }
  185. }
  186. }
  187. }
  188. }
  189. }
  190. }
  191. }
  192. }