@bi-digital/css 0.12.1 → 0.12.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.
@@ -102,6 +102,12 @@
102
102
  }
103
103
  }
104
104
 
105
+ & .bi-dialog--close {
106
+ &.bi-button[data-variant="text"] {
107
+ --bic-button-color: var(--bi-color-text-secondary);
108
+ }
109
+ }
110
+
105
111
  & > button.bi-dialog--close {
106
112
  top: var(--bic-dialog-icon-spacing);
107
113
  right: var(--bic-dialog-icon-spacing);
@@ -915,6 +915,12 @@ details.bi-details {
915
915
  }
916
916
  }
917
917
 
918
+ & .bi-dialog--close {
919
+ &.bi-button[data-variant="text"] {
920
+ --bic-button-color: var(--bi-color-text-secondary);
921
+ }
922
+ }
923
+
918
924
  & > button.bi-dialog--close {
919
925
  top: var(--bic-dialog-icon-spacing);
920
926
  right: var(--bic-dialog-icon-spacing);
@@ -2480,6 +2486,10 @@ html {
2480
2486
  }
2481
2487
 
2482
2488
  &:has(.bi-navbar[data-fixed="true"]) {
2489
+ & .bi-sub-navbar[data-fixed="true"]:not([data-scroll-dir]) {
2490
+ top: var(--bi-layout-navbar-height);
2491
+ }
2492
+
2483
2493
  &:has(.bi-sub-navbar[data-fixed="true"][data-scroll-dir="up"]) {
2484
2494
  & .bi-navbar > header {
2485
2495
  transform: translateY(0);
@@ -1638,6 +1638,12 @@ details.bi-details {
1638
1638
  }
1639
1639
  }
1640
1640
 
1641
+ & .bi-dialog--close {
1642
+ &.bi-button[data-variant="text"] {
1643
+ --bic-button-color: var(--bi-color-text-secondary);
1644
+ }
1645
+ }
1646
+
1641
1647
  & > button.bi-dialog--close {
1642
1648
  top: var(--bic-dialog-icon-spacing);
1643
1649
  right: var(--bic-dialog-icon-spacing);
@@ -3203,6 +3209,10 @@ html {
3203
3209
  }
3204
3210
 
3205
3211
  &:has(.bi-navbar[data-fixed="true"]) {
3212
+ & .bi-sub-navbar[data-fixed="true"]:not([data-scroll-dir]) {
3213
+ top: var(--bi-layout-navbar-height);
3214
+ }
3215
+
3206
3216
  &:has(.bi-sub-navbar[data-fixed="true"][data-scroll-dir="up"]) {
3207
3217
  & .bi-navbar > header {
3208
3218
  transform: translateY(0);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bi-digital/css",
3
3
  "type": "module",
4
- "version": "0.12.1",
4
+ "version": "0.12.2",
5
5
  "description": "CSS for the BI Design System",
6
6
  "author": "BI Digital",
7
7
  "homepage": "https://designsystem.bi.no/",
@@ -30,7 +30,7 @@
30
30
  "browserslist": "^4.28.1",
31
31
  "lightningcss": "^1.32.0",
32
32
  "modern-normalize": "^3.0.1",
33
- "@bi-digital/tokens": "0.12.1"
33
+ "@bi-digital/tokens": "0.12.2"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "node config.js",