carusel.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. .unaca {
  2. margin-left: auto;
  3. margin-right: auto;
  4. position: relative;
  5. }
  6. .unaca-a {
  7. display: none;
  8. }
  9. .unaca-cc {
  10. position: absolute;
  11. width: 100%;
  12. height: 100%;
  13. }
  14. .unaca-c-b{
  15. position: absolute;
  16. top: calc(50% - 30px);
  17. left:-1rem;
  18. }
  19. .unaca-c-f{
  20. position: absolute;
  21. top: calc(50% - 30px);
  22. right:-1rem;
  23. }
  24. .unaca-c {
  25. justify-content: center;
  26. transition: 0.3s all;
  27. z-index: 1;
  28. }
  29. .unaca-c label{
  30. height: 48px;
  31. width: 48px;
  32. display: block;
  33. z-index: 100;
  34. position: absolute;
  35. top:0px;
  36. left:0px;
  37. cursor: pointer;
  38. }
  39. .unaca-c svg{
  40. position: absolute;
  41. top:0px;
  42. left:0px;
  43. }
  44. .unaca-s {
  45. overflow: hidden;
  46. width: calc(100% + 1rem);
  47. margin-left: -0.5rem;
  48. margin-right: -0.5rem;
  49. }
  50. .unaca-t {
  51. font-size: 0;
  52. margin-bottom: 0px !important;
  53. transition: all 0.3s ease 0s;
  54. white-space: nowrap;
  55. -webkit-overflow-scrolling: touch;
  56. overflow: visible !important;
  57. scroll-behavior: smooth;
  58. scroll-snap-type: x var(--tw-scroll-snap-strictness);
  59. text-align: left !important;
  60. }
  61. .unaca-t > div {
  62. display: inline-flex !important;
  63. vertical-align: top !important;
  64. white-space: normal !important;
  65. width: 25% !important;
  66. scroll-snap-align: center;
  67. padding-top: 1px !important;
  68. padding-bottom: 1px !important;
  69. }
  70. .bx-layout-column-wide .unaca-t > div {
  71. width: 33.3% !important;
  72. }
  73. .bx-layout-column-thin .unaca-t > div {
  74. width: 100% !important;
  75. }
  76. .bx-layout-column-half .unaca-t > div {
  77. width: 50% !important;
  78. }
  79. .unaca-t .bx-base-text-unit-showcase {
  80. margin: 0;
  81. padding: 0.5rem;
  82. }
  83. .bx-media-phone .unaca-cc {
  84. display: none;
  85. }
  86. .bx-media-phone .unaca-t {
  87. overflow-x: auto !important;
  88. width: auto;
  89. }
  90. .bx-media-phone .unaca-t > div {
  91. width: 100% !important;
  92. }
  93. .bx-media-tablet .unaca-cc {
  94. display: none;
  95. }
  96. .bx-media-tablet .unaca-t {
  97. overflow-x: auto !important;
  98. width: auto;
  99. }
  100. .bx-media-tablet .unaca-t > div {
  101. width: 50% !important;
  102. }