ressources.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. .page-ressources{
  2. .view-ressources{
  3. flex-direction: column;
  4. padding: 5rem;
  5. #views-exposed-form-ressources-page-1{
  6. width: 100%;
  7. margin: auto;
  8. display: flex;
  9. flex-direction: column;
  10. padding: 1rem;
  11. &::before{
  12. content: 'FILTRER :';
  13. }
  14. .form-item-field-type-de-ressource-target-id{
  15. order: 1;
  16. }
  17. .js-form-item-field-site-target-id{
  18. order: 2;
  19. }
  20. #edit-actions{
  21. order: 3;
  22. }
  23. }
  24. .views-row{
  25. .node-type-ressource{
  26. display: flex;
  27. flex-direction: column;
  28. .field--name-field-image{
  29. order: 1;
  30. max-width: 100%;
  31. img{
  32. height: 200px;
  33. width: auto;
  34. }
  35. }
  36. .filtered-content{
  37. display: flex;
  38. flex-direction: column;
  39. border: solid $yellow-puca 1px;
  40. background-color: $white-button;
  41. padding: 1rem;
  42. h2{
  43. order: 2;
  44. margin: 0;
  45. font-size: 1.5rem;
  46. font-weight: 600;
  47. }
  48. .field--name-field-sous-titre {
  49. order: 3;
  50. font-size: 1.3rem;
  51. // line-height: 0.3rem;
  52. }
  53. .field--name-field-auteur{
  54. order: 4;
  55. font-weight: 900;
  56. padding-top: 1rem;
  57. }
  58. .field--name-field-type-de-ressource{
  59. order: 1;
  60. text-transform: uppercase;
  61. font-size: 1.2rem;
  62. }
  63. .field--name-field-site{
  64. order: 5;
  65. }
  66. ul.links{
  67. order: 6;
  68. display: none;
  69. }
  70. }
  71. }
  72. }
  73. }
  74. }