_carousel.scss 1.9 KB

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