ressources.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. .page-ressources{
  2. h1{
  3. width: 80%;
  4. margin: auto;
  5. }
  6. .view-ressources{
  7. flex-direction: row;
  8. padding: 5rem;
  9. width: 80%;
  10. margin: auto;
  11. #views-exposed-form-ressources-page-1{
  12. width: 100%;
  13. margin: auto;
  14. display: flex;
  15. flex-direction: column;
  16. padding: 1rem;
  17. &::before{
  18. content: 'FILTRER :';
  19. }
  20. .form-item-field-type-de-ressource-target-id{
  21. order: 1;
  22. }
  23. .js-form-item-field-site-target-id{
  24. order: 2;
  25. }
  26. #edit-actions{
  27. order: 3;
  28. }
  29. }
  30. .views-row{
  31. .node-type-ressource{
  32. width: 80%;
  33. margin: auto;
  34. .image-ressource{
  35. order: 1;
  36. width: 90%;
  37. margin: auto;
  38. img{
  39. width: 100%;
  40. height: auto;
  41. }
  42. }
  43. .infos-content{
  44. display: flex;
  45. flex-direction: column;
  46. border: solid $yellow-puca 1px;
  47. background-color: $white-button;
  48. padding: 1rem;
  49. h2{
  50. order: 2;
  51. margin: 0;
  52. font-size: 1.5rem;
  53. font-weight: 600;
  54. }
  55. .field--name-field-sous-titre {
  56. order: 3;
  57. font-size: 1.3rem;
  58. // line-height: 0.3rem;
  59. }
  60. .field--name-field-auteur{
  61. order: 4;
  62. font-weight: 900;
  63. padding-top: 1rem;
  64. }
  65. .field--name-field-type-de-ressource{
  66. order: 1;
  67. text-transform: uppercase;
  68. font-size: 1.2rem;
  69. }
  70. .field--name-field-site{
  71. order: 5;
  72. background-color: $gris-violet;
  73. color: white;
  74. border-radius: 50px;
  75. width: fit-content;
  76. padding: 0.2rem 0.9rem;
  77. margin-top: 1rem;
  78. .field__item{
  79. display: inline;
  80. }
  81. a{
  82. color: white;
  83. font-weight: 900;
  84. font-size: 0.8rem;
  85. vertical-align: top;
  86. }
  87. }
  88. ul.links{
  89. order: 6;
  90. display: none;
  91. }
  92. }
  93. }
  94. }
  95. }
  96. }