@useblu/ocean-core 1.26.0 → 1.27.2

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,28 @@
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.2](https://github.com/ocean-ds/ocean-web/compare/v1.27.1...v1.27.2) (2022-02-11)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **carosel:** add shadown to block ([#910](https://github.com/ocean-ds/ocean-web/issues/910)) ([1835bc6](https://github.com/ocean-ds/ocean-web/commit/1835bc6ec497edcc3d05f7a875c903741d7d729e))
11
+
12
+ ## [1.27.1](https://github.com/ocean-ds/ocean-web/compare/v1.27.0...v1.27.1) (2022-02-11)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **carosel:** layout adjustments ([#906](https://github.com/ocean-ds/ocean-web/issues/906)) ([c6f258b](https://github.com/ocean-ds/ocean-web/commit/c6f258b74589c4eb448473fcf414111ed265ec28))
17
+
18
+ ## [1.26.2](https://github.com/ocean-ds/ocean-web/compare/v1.26.1...v1.26.2) (2022-01-24)
19
+
20
+ ### Bug Fixes
21
+
22
+ - scroll modal mobile ([#889](https://github.com/ocean-ds/ocean-web/issues/889)) ([4bb34f7](https://github.com/ocean-ds/ocean-web/commit/4bb34f7e3b72892f5d4b84c64b94d39a113189f5))
23
+
24
+ ## [1.26.1](https://github.com/ocean-ds/ocean-web/compare/v1.26.0...v1.26.1) (2022-01-18)
25
+
26
+ **Note:** Version bump only for package @useblu/ocean-core
27
+
6
28
  # [1.26.0](https://github.com/ocean-ds/ocean-web/compare/v1.25.2...v1.26.0) (2021-12-17)
7
29
 
8
30
  ### Features
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,10 +1655,19 @@
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 {
1666
+ border-radius: 8px;
1667
+ box-shadow: 0 4px 8px rgba(12, 13, 20, 0.08);
1656
1668
  display: block;
1657
1669
  margin: 0;
1670
+ margin-bottom: 15px;
1658
1671
  overflow: hidden;
1659
1672
  padding: 0;
1660
1673
  position: relative;
@@ -1668,27 +1681,12 @@
1668
1681
  .slick-track {
1669
1682
  display: flex;
1670
1683
  left: 0;
1671
- margin-bottom: 15px;
1672
1684
  margin-left: auto;
1673
1685
  margin-right: auto;
1674
1686
  position: relative;
1675
1687
  top: 0;
1676
1688
  }
1677
1689
 
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
1690
  .slick-slide {
1693
1691
  display: block;
1694
1692
  float: left;
@@ -1696,6 +1694,9 @@
1696
1694
  min-height: 1px;
1697
1695
  }
1698
1696
 
1697
+ .slick-arrow {
1698
+ box-shadow: 0 4px 8px rgba(12, 13, 20, 0.08);
1699
+ }
1699
1700
  @media (max-width: 767.98px) {
1700
1701
  .slick-arrow {
1701
1702
  display: none !important;
@@ -1714,7 +1715,7 @@
1714
1715
  outline: none;
1715
1716
  padding: 0;
1716
1717
  position: absolute;
1717
- right: -10px;
1718
+ right: 8px;
1718
1719
  top: 45%;
1719
1720
  transform: translate(0, -50%);
1720
1721
  width: 30px;
@@ -1727,7 +1728,7 @@
1727
1728
  color: #0025e0;
1728
1729
  font-size: 0;
1729
1730
  height: 30px;
1730
- left: -10px;
1731
+ left: 8px;
1731
1732
  line-height: 0;
1732
1733
  margin-top: -10px;
1733
1734
  outline: none;
@@ -1813,7 +1814,7 @@
1813
1814
  line-height: 0;
1814
1815
  outline: none;
1815
1816
  padding: 5px;
1816
- width: 20px;
1817
+ width: 8px;
1817
1818
  }
1818
1819
 
1819
1820
  .ods-carousel-dots li button::before {
@@ -2317,6 +2318,7 @@
2317
2318
  @media (max-width: 767.98px) {
2318
2319
  .ods-modal__content--after-open {
2319
2320
  max-height: 80%;
2321
+ overflow: auto;
2320
2322
  top: auto;
2321
2323
  }
2322
2324
  }
@@ -2533,12 +2535,17 @@
2533
2535
 
2534
2536
  .ods-topbar {
2535
2537
  align-items: center;
2536
- display: flex;
2538
+ display: grid;
2537
2539
  flex-wrap: wrap;
2538
2540
  font-family: "Avenir";
2539
2541
  font-size: 20px;
2542
+ grid-template-columns: 3rem auto 3rem;
2543
+ padding: 10px 5px;
2540
2544
  width: 100%;
2541
2545
  }
2546
+ .ods-topbar-scroll-bar {
2547
+ box-shadow: 0 4px 8px rgba(12, 13, 20, 0.08);
2548
+ }
2542
2549
  .ods-topbar-light {
2543
2550
  color: #fff;
2544
2551
  }
@@ -2548,18 +2555,21 @@
2548
2555
  .ods-topbar-default {
2549
2556
  color: #0025e0;
2550
2557
  }
2558
+ .ods-topbar-default .ods-topbar-title {
2559
+ padding-top: 0;
2560
+ }
2551
2561
  .ods-topbar-default .ods-topbar-title span {
2552
2562
  color: #67697a;
2553
2563
  }
2554
2564
  .ods-topbar-extend {
2555
- display: grid;
2556
- grid-template-columns: 2rem auto 2rem;
2565
+ display: flex;
2566
+ grid-template-columns: 50% 50% auto;
2557
2567
  }
2558
2568
  .ods-topbar-extend .ods-topbar-title {
2559
- padding-top: 0;
2569
+ padding-top: 4rem;
2560
2570
  }
2561
2571
  .ods-topbar-extend .ods-topbar-search {
2562
- width: auto;
2572
+ width: 50%;
2563
2573
  }
2564
2574
  .ods-topbar-prev {
2565
2575
  line-height: 0;
@@ -2571,7 +2581,6 @@
2571
2581
  .ods-topbar-title {
2572
2582
  font-weight: 800;
2573
2583
  line-height: 1.1;
2574
- padding-top: 5rem;
2575
2584
  width: 100%;
2576
2585
  }
2577
2586
  .ods-topbar-title span {
@@ -2583,7 +2592,6 @@
2583
2592
  .ods-topbar-search {
2584
2593
  line-height: 0;
2585
2594
  text-align: right;
2586
- width: 50%;
2587
2595
  }
2588
2596
  .ods-topbar-search svg {
2589
2597
  cursor: pointer;