_basededonnees.scss 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. .path-ressources{
  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. background: url('../images/pictos/carre-contour-bleu_gouvernance.svg');
  23. background-repeat: no-repeat;
  24. background-position-y: 20vh;
  25. max-width: 100vw;
  26. background-size: contain;
  27. // bandeau filtres collections
  28. .block-views-blockcollections-block-1{
  29. background: $background-actus;
  30. height: 20vh;
  31. display: flex;
  32. .view-id-collections{
  33. height: 100%;
  34. display: flex;
  35. .view-content{
  36. display: flex;
  37. flex-direction: row;
  38. margin: auto;
  39. width: 65%;
  40. justify-content: space-between;
  41. align-items: center;
  42. .views-row{
  43. background: $white;
  44. width: 45%;
  45. min-height: 60%;
  46. padding: 1rem;
  47. a{
  48. color: $black;
  49. font-size: 1.5rem;
  50. font-weight: 600;
  51. }
  52. &:hover{
  53. background: $blue-dark;
  54. a{
  55. color: $white;
  56. }
  57. }
  58. }
  59. }
  60. }
  61. }
  62. // texte présentation
  63. .block-config-pages-block{
  64. margin: 2rem;
  65. .field--name-field-introduction{
  66. width: 65%;
  67. margin: auto;
  68. background: $white;
  69. }
  70. }
  71. // grille des ressources
  72. .block-views-blockbase-de-donnees-block-1{
  73. margin: auto;
  74. width: 70%;
  75. .view-filters{
  76. background-color: $white;
  77. .views-exposed-form-base-de-donnees-block-1{
  78. width: fit-content;
  79. display: flex;
  80. .js-form-item{
  81. width: fit-content;
  82. }
  83. .js-form-item-field-type-de-ressource-target-id{
  84. width: fit-content;
  85. }
  86. }
  87. }
  88. .view-content{
  89. display: flex;
  90. flex-direction: row;
  91. flex-wrap: wrap;
  92. .views-row{
  93. flex: 0 1 45%;
  94. padding: 1rem;
  95. // width: 50%;
  96. }
  97. .node-type-ressource{
  98. display: flex;
  99. flex-direction: column;
  100. border: 2px solid $blue-light;
  101. padding: 2rem;
  102. height: fit-content;
  103. margin-bottom: 1rem;
  104. background-color: $white;
  105. // &::after{
  106. // content: url("../images/pictos/noun_Arrow_3771902.svg");
  107. // align-self: end;
  108. // margin-top: 1rem;
  109. // }
  110. .field--name-field-type-de-ressource{
  111. text-transform: uppercase;
  112. a{
  113. color: $blue-light;
  114. font-weight: 900;
  115. font-size: 0.8rem;
  116. }
  117. }
  118. .field--name-title{
  119. h2{
  120. margin: 0;
  121. a{
  122. color: $black;
  123. font-size: 1.4rem;
  124. font-weight: 600;
  125. }
  126. }
  127. }
  128. .field--name-field-auteur-s-{
  129. font-weight: 800;
  130. p{
  131. margin: 0;
  132. }
  133. .field__label{
  134. display:none;
  135. }
  136. }
  137. .field--name-field-edition{
  138. p{
  139. margin: 0;
  140. }
  141. .field__label{
  142. display:none;
  143. }
  144. }
  145. .field--name-field-images{
  146. display: none;
  147. width: 50%;
  148. img{
  149. width: 100%;
  150. height: auto;
  151. }
  152. }
  153. .field--name-field-mots-clefs{
  154. display: inline-flex;
  155. margin-top: 2rem;
  156. &::after{
  157. content: url("../images/pictos/noun_Arrow_3771902.svg");
  158. align-self: end;
  159. }
  160. .field__item{
  161. background: $blue-dark;
  162. margin-right: 1rem;
  163. padding-left: 0.3rem;
  164. padding-right: 0.3rem;
  165. a{
  166. color: $white;
  167. font-weight: 800;
  168. vertical-align: middle;
  169. }
  170. }
  171. }
  172. ul.links.inline{
  173. display: none;
  174. }
  175. }
  176. }
  177. }
  178. }
  179. }
  180. }
  181. }
  182. }
  183. }