_carousel.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. .owl-carousel{
  2. display: flex!important;
  3. margin: 0px 50px 0 50px;
  4. width: auto!important;
  5. .owl-stage-outer{
  6. height: 500px;
  7. }
  8. .owl-item{
  9. width: auto!important;
  10. }
  11. .galerie{
  12. width: auto;
  13. .images{
  14. height: 300px;
  15. width: auto;
  16. img{
  17. width: auto!important;
  18. height: 300px;
  19. }
  20. }
  21. .content{
  22. position: absolute;
  23. }
  24. }
  25. .owl-nav{
  26. position: absolute;
  27. width: 100%;
  28. top:35%;
  29. transform: translateY(-50%);
  30. button{
  31. width: 35px;
  32. height: 35px;
  33. border-radius: 35px;
  34. background: rgb(141, 40, 21)!important;
  35. span{
  36. margin-top: -9.5px;
  37. color: white;
  38. }
  39. &.owl-prev{
  40. position: absolute;
  41. left: -40px;
  42. }
  43. &.owl-next{
  44. position: absolute;
  45. right: -40px;
  46. }
  47. }
  48. }
  49. }
  50. .owl-nav.disabled{
  51. display: block!important;
  52. }
  53. #recommandations{
  54. .owl-carousel{
  55. .owl-stage-outer{
  56. height: 300px!important;
  57. }
  58. .galerie{
  59. width: 300px;
  60. }
  61. .content{
  62. width: 300px!important;
  63. background: white;
  64. padding: 0 20px;
  65. position: relative;
  66. h5{
  67. padding-top: 10px;
  68. padding-right: 10px;
  69. }
  70. p{
  71. text-align: left!important;
  72. a{
  73. position: absolute;
  74. width: 20px;
  75. top: 10px;
  76. right: 10px;
  77. }
  78. & > img{
  79. position: absolute;
  80. width: 20px;
  81. height: auto;
  82. top: 10px;
  83. right: 10px;
  84. }
  85. &:last-child{
  86. padding-bottom: 20px;
  87. }
  88. }
  89. // img{
  90. // position: absolute;
  91. // top: 10px;
  92. // right: 20px;
  93. // width: 25px;
  94. // height: auto;
  95. // }
  96. }
  97. }
  98. }