@useblu/ocean-core 1.26.2 → 1.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.27.1](https://github.com/ocean-ds/ocean-web/compare/v1.27.0...v1.27.1) (2022-02-11)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **carosel:** layout adjustments ([#906](https://github.com/ocean-ds/ocean-web/issues/906)) ([c6f258b](https://github.com/ocean-ds/ocean-web/commit/c6f258b74589c4eb448473fcf414111ed265ec28))
11
+
6
12
  ## [1.26.2](https://github.com/ocean-ds/ocean-web/compare/v1.26.1...v1.26.2) (2022-01-24)
7
13
 
8
14
  ### Bug Fixes
package/ocean.css CHANGED
@@ -1639,6 +1639,10 @@
1639
1639
  line-height: 1.5;
1640
1640
  }
1641
1641
 
1642
+ .ods-carousel.columns-5 .slick-track, .ods-carousel.columns-4 .slick-track, .ods-carousel.columns-3 .slick-track, .ods-carousel.columns-2 .slick-track {
1643
+ gap: 8px;
1644
+ }
1645
+
1642
1646
  .slick-slider {
1643
1647
  box-sizing: border-box;
1644
1648
  display: block;
@@ -1651,6 +1655,12 @@
1651
1655
  -ms-user-select: none;
1652
1656
  user-select: none;
1653
1657
  }
1658
+ .slick-slider .slick-arrow {
1659
+ display: none !important;
1660
+ }
1661
+ .slick-slider:hover .slick-arrow {
1662
+ display: block !important;
1663
+ }
1654
1664
 
1655
1665
  .slick-list {
1656
1666
  display: block;
@@ -1675,20 +1685,6 @@
1675
1685
  top: 0;
1676
1686
  }
1677
1687
 
1678
- .slick-track > div:not(:first-child) {
1679
- margin-left: 8px;
1680
- margin-right: 8px;
1681
- }
1682
-
1683
- .slick-track > div:first-child {
1684
- margin-left: 4px;
1685
- margin-right: 8px;
1686
- }
1687
-
1688
- .slick-track > div:last-child {
1689
- margin-right: 8px;
1690
- }
1691
-
1692
1688
  .slick-slide {
1693
1689
  display: block;
1694
1690
  float: left;
@@ -1696,6 +1692,9 @@
1696
1692
  min-height: 1px;
1697
1693
  }
1698
1694
 
1695
+ .slick-arrow {
1696
+ box-shadow: 0 4px 8px rgba(12, 13, 20, 0.08);
1697
+ }
1699
1698
  @media (max-width: 767.98px) {
1700
1699
  .slick-arrow {
1701
1700
  display: none !important;
@@ -1714,7 +1713,7 @@
1714
1713
  outline: none;
1715
1714
  padding: 0;
1716
1715
  position: absolute;
1717
- right: -10px;
1716
+ right: 8px;
1718
1717
  top: 45%;
1719
1718
  transform: translate(0, -50%);
1720
1719
  width: 30px;
@@ -1727,7 +1726,7 @@
1727
1726
  color: #0025e0;
1728
1727
  font-size: 0;
1729
1728
  height: 30px;
1730
- left: -10px;
1729
+ left: 8px;
1731
1730
  line-height: 0;
1732
1731
  margin-top: -10px;
1733
1732
  outline: none;
@@ -1813,7 +1812,7 @@
1813
1812
  line-height: 0;
1814
1813
  outline: none;
1815
1814
  padding: 5px;
1816
- width: 20px;
1815
+ width: 8px;
1817
1816
  }
1818
1817
 
1819
1818
  .ods-carousel-dots li button::before {