@deriv-web-design/ui 0.1.39 → 0.1.41

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/dist/index.css CHANGED
@@ -6014,6 +6014,10 @@
6014
6014
  display: block;
6015
6015
  pointer-events: none;
6016
6016
  }
6017
+ [dir=rtl] .dnt__bg {
6018
+ transform: scaleX(-1);
6019
+ transform-origin: center;
6020
+ }
6017
6021
  .dnt__bg--day {
6018
6022
  z-index: 0;
6019
6023
  }
@@ -6037,9 +6041,6 @@
6037
6041
  top: 0;
6038
6042
  left: 0;
6039
6043
  right: 0;
6040
- background-repeat: no-repeat;
6041
- background-size: cover;
6042
- background-position: 100% 100%;
6043
6044
  overflow: hidden;
6044
6045
  }
6045
6046
  .dnt__v2-bg-night {
@@ -6052,14 +6053,37 @@
6052
6053
  left: 0;
6053
6054
  right: 0;
6054
6055
  box-sizing: border-box;
6056
+ overflow: hidden;
6057
+ }
6058
+ .dnt__v2-bg-media {
6059
+ position: absolute;
6060
+ inset: 0;
6061
+ width: 100%;
6062
+ height: 100%;
6063
+ box-sizing: border-box;
6055
6064
  background-repeat: no-repeat;
6056
6065
  background-size: cover;
6057
6066
  background-position: 100% 100%;
6067
+ pointer-events: none;
6058
6068
  }
6059
- .dnt--webflow-v2 .dnt__v2-bg-day,
6060
- .dnt--webflow-v2 .dnt__v2-bg-night {
6069
+ .dnt--webflow-v2 .dnt__v2-bg-media {
6061
6070
  background-attachment: fixed;
6062
6071
  }
6072
+ [dir=rtl] .dnt__v2-bg-media {
6073
+ transform: scaleX(-1);
6074
+ transform-origin: center;
6075
+ background-attachment: scroll;
6076
+ inset: auto;
6077
+ top: 0;
6078
+ left: 0;
6079
+ right: 0;
6080
+ width: 100%;
6081
+ height: 100vh;
6082
+ }
6083
+ [dir=rtl] .dnt--webflow-v2 .dnt__v2-bg-day {
6084
+ position: sticky;
6085
+ top: 0;
6086
+ }
6063
6087
  .dnt__sticky--webflow-v2 {
6064
6088
  z-index: 0;
6065
6089
  }
@@ -6071,11 +6095,8 @@
6071
6095
  .dnt--webflow-v2 .dnt__v2-bg-day {
6072
6096
  position: sticky;
6073
6097
  top: 0;
6074
- background-position: 30% 0;
6075
- background-repeat: repeat;
6076
- background-size: auto 100vh;
6077
6098
  }
6078
- .dnt--webflow-v2 .dnt__v2-bg-night {
6099
+ .dnt--webflow-v2 .dnt__v2-bg-media {
6079
6100
  background-position: 30% 0;
6080
6101
  background-repeat: repeat;
6081
6102
  background-size: auto 100vh;
@@ -6100,18 +6121,14 @@
6100
6121
  }
6101
6122
  }
6102
6123
  @media screen and (max-width: 479px) {
6103
- .dnt--webflow-v2 .dnt__v2-bg-day {
6104
- background-position: 40% 0;
6105
- }
6106
- .dnt--webflow-v2 .dnt__v2-bg-night {
6124
+ .dnt--webflow-v2 .dnt__v2-bg-media {
6107
6125
  background-position: 40% 0;
6108
6126
  }
6109
6127
  .dnt--webflow-v2 .dnt__sticky--webflow-v2 .dnt__content {
6110
6128
  padding: var(--spacing-80) var(--dnt-content-px) var(--dnt-content-py) var(--dnt-content-px);
6111
6129
  }
6112
6130
  .dnt--layout-v2 .dnt__inner {
6113
- padding-left: var(--spacing-16);
6114
- padding-right: var(--spacing-16);
6131
+ padding-inline: var(--spacing-16);
6115
6132
  }
6116
6133
  .dnt--webflow-v2.dnt--headline-h1 .dnt__headline {
6117
6134
  font-size: 3.5rem;
@@ -7470,11 +7487,16 @@
7470
7487
  width: var(--tbl-col-main-width);
7471
7488
  min-width: var(--tbl-col-main-width);
7472
7489
  position: sticky;
7473
- left: 0;
7490
+ inset-inline-start: 0;
7491
+ left: auto;
7474
7492
  z-index: 2;
7475
7493
  background-color: var(--tbl-bg);
7476
7494
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.03);
7477
7495
  }
7496
+ [dir=rtl] .tbl__th--main,
7497
+ [dir=rtl] .tbl__td--main {
7498
+ box-shadow: -4px 0 12px rgba(0, 0, 0, 0.03);
7499
+ }
7478
7500
  .tbl__tbody .tbl__tr:hover .tbl__td--main {
7479
7501
  background-color: var(--tbl-row-hover-bg);
7480
7502
  }
@@ -9526,7 +9548,7 @@
9526
9548
  .fa__title {
9527
9549
  margin: 0;
9528
9550
  width: 100%;
9529
- text-align: left;
9551
+ text-align: start;
9530
9552
  font-family: var(--typography-h2-font-family);
9531
9553
  font-size: var(--typography-h2-font-size);
9532
9554
  font-weight: var(--typography-h2-font-weight);
@@ -9570,7 +9592,7 @@
9570
9592
  display: flex;
9571
9593
  flex-shrink: 0;
9572
9594
  gap: var(--fa-item-gap-x);
9573
- padding-right: var(--fa-item-gap-x);
9595
+ padding-inline-end: var(--fa-item-gap-x);
9574
9596
  }
9575
9597
  .fa__track--auto {
9576
9598
  animation: fa-marquee var(--fa-duration, 32s) linear infinite;