slides.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. .flickity-button {
  2. background: transparent;
  3. &:hover {
  4. background: transparent;
  5. }
  6. }
  7. .flickity-button-icon {
  8. fill: $col_black;
  9. }
  10. .flickity-button:disabled {
  11. display: none;
  12. }
  13. #block-colloque2024-views-block-slide-programme-block-1,
  14. #block-colloque2024-views-block-slide-programme-node-intervenant-block-1 {
  15. .__slide {
  16. article {
  17. width: calc(100% - 30px);
  18. height: 325px;
  19. display: flex;
  20. flex-direction: column;
  21. margin: 3rem $gutter 1.5rem $gutter;
  22. @media screen and (min-width: 768px) {
  23. width: calc(100% / 2 - #{$gutter} * 2);
  24. }
  25. @media screen and (min-width: 992px) {
  26. width: calc(100% / 3 - #{$gutter} * 2);
  27. }
  28. @media screen and (min-width: 1200px) {
  29. width: calc(100% / 4 - #{$gutter} * 2);
  30. }
  31. a {
  32. width: 100%;
  33. height: 100%;
  34. background: white;
  35. @include shadow;
  36. .__wrap {
  37. background: white;
  38. }
  39. }
  40. &.first {
  41. & > span {
  42. font-family: "Mariannelight";
  43. position: absolute;
  44. top: -2.5rem;
  45. width: max-content;
  46. font-size: 1.2rem;
  47. line-height: 1.2;
  48. text-transform: uppercase;
  49. }
  50. &:not(:first-child) {
  51. &::before {
  52. position: absolute;
  53. display: block;
  54. content: " ";
  55. width: 1px;
  56. height: calc(100% + 3rem);
  57. margin: -2.5rem 0 0 0;
  58. background: $color1;
  59. left: -0.5rem;
  60. top: 0;
  61. }
  62. }
  63. }
  64. }
  65. }
  66. }
  67. #block-colloque2024-views-block-gallerie-block-1,
  68. #block-colloque2024-views-block-slide-programme-block-1,
  69. #block-colloque2024-views-block-slide-programme-node-intervenant-block-1,
  70. #block-colloque2024-views-block-dernieres-publications-block-1,
  71. #block-colloque2024-views-block-slide-interviews-block-1 {
  72. section:not(.wrap_head) {
  73. margin: 1rem 0;
  74. }
  75. .views {
  76. section.wrap_head {
  77. // @include croix_or;
  78. .head {
  79. display: flex;
  80. flex-direction: row;
  81. align-items: center;
  82. position: relative;
  83. h3{
  84. display: flex;
  85. flex-direction: row;
  86. align-items: center;
  87. &:after{
  88. display: block;
  89. content: "";
  90. max-width: fit-content;
  91. width: 100%; /* Étendre la ligne sur toute la largeur */
  92. border-bottom: 1px solid #000; /* Couleur et style de la ligne */
  93. }
  94. }
  95. }
  96. }
  97. }
  98. @media screen and (min-width: 576px) {
  99. .views {
  100. section {
  101. .head {
  102. display: flex !important;
  103. width: 100%;
  104. justify-content: space-between;
  105. align-items: center;
  106. }
  107. }
  108. }
  109. }
  110. }
  111. .paragraph--type--role-de-l-intervenant {
  112. margin-bottom: 2rem;
  113. .__slide {
  114. &:after {
  115. content: "flickity";
  116. display: none;
  117. @media screen and (min-width: 768px) {
  118. content: "";
  119. }
  120. }
  121. .flickity-viewport {
  122. overflow: initial;
  123. }
  124. .flickity-slider > div {
  125. width: 70%;
  126. padding: 0 0.5rem;
  127. @media screen and (min-width: 768px) {
  128. width: 100%;
  129. }
  130. }
  131. }
  132. }
  133. .flickity-slider {
  134. position: absolute;
  135. width: 100%;
  136. height: 100%;
  137. margin-left: 10px;
  138. }