slides.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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-views-block-slide-programme-block-1{
  14. .__slide{
  15. article{
  16. width: calc(100% - 30px);
  17. height: 325px;
  18. // background: none;
  19. display: flex;
  20. margin: 3rem $gutter 1.5rem $gutter;
  21. @media screen and (min-width: 768px) {
  22. width: calc(100% / 2 - #{$gutter} * 2);
  23. }
  24. @media screen and (min-width: 992px) {
  25. width: calc(100% / 3 - #{$gutter} * 2);
  26. }
  27. @media screen and (min-width: 1200px) {
  28. width: calc(100% / 4 - #{$gutter} * 2);
  29. }
  30. a{
  31. width: 100%;
  32. height: 100%;
  33. background: white;
  34. @include shadow;
  35. .__wrap{
  36. background: white;
  37. }
  38. }
  39. &.last::after{
  40. display: inline-block;
  41. content: " ";
  42. width: 3px;
  43. height: auto;
  44. margin: -2.5rem 0 0 0;
  45. background: $color1;
  46. position: relative;
  47. left: 0.5rem;
  48. }
  49. &.first{
  50. flex-direction: column;
  51. span{
  52. font-family: 'truenolight';
  53. position: absolute;
  54. top: -2.5rem;
  55. width: max-content;
  56. font-size: 1.2rem;
  57. line-height: 1.2;
  58. }
  59. }
  60. }
  61. }
  62. }
  63. #block-views-block-slide-programme-block-1,
  64. #block-views-block-dernieres-publications-block-1{
  65. section:not(.wrap_head){
  66. margin: 1rem 0;
  67. }
  68. .views{
  69. section.wrap_head{
  70. @include croix_or;
  71. .head{
  72. display: block;
  73. }
  74. }
  75. }
  76. @media screen and (min-width: 576px) {
  77. .views{
  78. section{
  79. .head{
  80. display: flex!important;
  81. width: 100%;
  82. justify-content: space-between;
  83. align-items: center;
  84. }
  85. }
  86. }
  87. }
  88. }
  89. .paragraph--type--role-de-l-intervenant{
  90. margin-bottom: 2rem;
  91. .__slide{
  92. &:after {
  93. content: 'flickity';
  94. display: none;
  95. @media screen and ( min-width: 768px ) {
  96. content: '';
  97. }
  98. }
  99. .flickity-viewport{
  100. // overflow: initial;
  101. }
  102. .flickity-slider > div{
  103. width: 70%;
  104. padding: 0 0.5rem;
  105. @media screen and ( min-width: 768px ) {
  106. width: 100%;
  107. }
  108. }
  109. }
  110. }