_carousel.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. p{
  65. text-align: left!important;
  66. padding: 0 20px;
  67. margin: 0;
  68. &:last-child{
  69. padding-bottom: 20px;
  70. }
  71. strong{
  72. width: 230px;
  73. display: block;
  74. }
  75. }
  76. img{
  77. position: absolute;
  78. top: 15px;
  79. right: 20px;
  80. width: 25px;
  81. height: auto;
  82. }
  83. }
  84. }
  85. }