@wwtdev/bsds-css 2.32.0 → 2.33.0

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.
@@ -20,6 +20,29 @@
20
20
  --top-offset: 48px;
21
21
  }
22
22
 
23
+ .bs-vertical-nav-wrapper:where([data-bg-variant="bg-base"]) {
24
+ --active-color: var(--bs-blue-10);
25
+ --bg-color: var(--bs-bg-base);
26
+ --border-color: var(--bs-border-medium);
27
+ --text-color: var(--bs-ink-medium);
28
+ --link-color: var(--bs-ink-medium);
29
+ --link-hover-color: var(--bs-ink-blue);
30
+ --link-active-color: var(--bs-ink-blue);
31
+ --toggle-bg-color: var(--bs-bg-base);
32
+ --toggle-color: var(--bs-ink-medium);
33
+ }
34
+
35
+ .dark :where(.bs-vertical-nav-wrapper),
36
+ .dark :where(.bs-vertical-nav-wrapper:where([data-bg-variant="bg-base"])) {
37
+ --active-color: rgba(255, 255, 255, 0.25);
38
+ --bg-color: var(--bs-bg-base);
39
+ --border-color: var(--bs-border-medium);
40
+ --text-color: var(--bs-white);
41
+ --link-color: var(--bs-white);
42
+ --link-hover-color: var(--bs-white);
43
+ --link-active-color: var(--bs-white);
44
+ }
45
+
23
46
  .bs-vertical-nav {
24
47
  -ms-overflow-style: none; /* Internet Explorer 10+ */
25
48
  background-color: var(--bg-color);
@@ -42,31 +65,28 @@
42
65
  top: var(--top-offset);
43
66
  transition: opacity 200ms ease 10ms;
44
67
  visibility: hidden;
68
+ pointer-events: none;
45
69
  width: auto;
46
- z-index: 1000;
70
+ z-index: 999;
47
71
  }
48
72
 
49
73
  .bs-vertical-nav:where([data-mobile-shown="true"]) {
50
74
  opacity: 1;
51
75
  visibility: visible;
76
+ pointer-events: auto;
52
77
  }
53
78
 
54
79
  .bs-vertical-nav:where([data-collapsible="true"]) {
55
80
  transition: opacity 200ms ease 10ms, width 350ms cubic-bezier(0.4, 0, 0.2, 1);
56
81
  }
57
82
 
58
- .dark .bs-vertical-nav-wrapper {
59
- --active-color: rgba(255, 255, 255, 0.25);
60
- --bg-color: var(--bs-bg-base);
61
- --border-color: var(--bs-border-medium);
62
- }
63
-
64
83
  @media (min-width: 1166px) {
65
84
  .bs-vertical-nav {
66
85
  opacity: 1;
67
86
  padding: 1rem;
68
87
  right: auto;
69
88
  visibility: visible;
89
+ pointer-events: auto;
70
90
  width: var(--bs-vertical-nav-width);
71
91
  }
72
92
 
@@ -407,7 +427,6 @@
407
427
  opacity: 1;
408
428
  visibility: visible;
409
429
  width: auto;
410
- overflow: visible;
411
430
  }
412
431
 
413
432
  /* Hide toggle button on hover when collapsed - but NOT when hovering the button itself */
@@ -19,6 +19,29 @@
19
19
  --top-offset: 48px;
20
20
  }
21
21
 
22
+ .bs-vertical-nav-wrapper:where([data-bg-variant="bg-base"]) {
23
+ --active-color: var(--bs-blue-10);
24
+ --bg-color: var(--bs-bg-base);
25
+ --border-color: var(--bs-border-medium);
26
+ --text-color: var(--bs-ink-medium);
27
+ --link-color: var(--bs-ink-medium);
28
+ --link-hover-color: var(--bs-ink-blue);
29
+ --link-active-color: var(--bs-ink-blue);
30
+ --toggle-bg-color: var(--bs-bg-base);
31
+ --toggle-color: var(--bs-ink-medium);
32
+ }
33
+
34
+ .dark :where(.bs-vertical-nav-wrapper),
35
+ .dark :where(.bs-vertical-nav-wrapper:where([data-bg-variant="bg-base"])) {
36
+ --active-color: rgba(255, 255, 255, 0.25);
37
+ --bg-color: var(--bs-bg-base);
38
+ --border-color: var(--bs-border-medium);
39
+ --text-color: var(--bs-white);
40
+ --link-color: var(--bs-white);
41
+ --link-hover-color: var(--bs-white);
42
+ --link-active-color: var(--bs-white);
43
+ }
44
+
22
45
  .bs-vertical-nav {
23
46
  -ms-overflow-style: none; /* Internet Explorer 10+ */
24
47
  background-color: var(--bg-color);
@@ -41,31 +64,28 @@
41
64
  top: var(--top-offset);
42
65
  transition: opacity 200ms ease 10ms;
43
66
  visibility: hidden;
67
+ pointer-events: none;
44
68
  width: auto;
45
- z-index: 1000;
69
+ z-index: 999;
46
70
  }
47
71
 
48
72
  .bs-vertical-nav:where([data-mobile-shown="true"]) {
49
73
  opacity: 1;
50
74
  visibility: visible;
75
+ pointer-events: auto;
51
76
  }
52
77
 
53
78
  .bs-vertical-nav:where([data-collapsible="true"]) {
54
79
  transition: opacity 200ms ease 10ms, width 350ms cubic-bezier(0.4, 0, 0.2, 1);
55
80
  }
56
81
 
57
- .dark .bs-vertical-nav-wrapper {
58
- --active-color: rgba(255, 255, 255, 0.25);
59
- --bg-color: var(--bs-bg-base);
60
- --border-color: var(--bs-border-medium);
61
- }
62
-
63
82
  @media (min-width: 1166px) {
64
83
  .bs-vertical-nav {
65
84
  opacity: 1;
66
85
  padding: 1rem;
67
86
  right: auto;
68
87
  visibility: visible;
88
+ pointer-events: auto;
69
89
  width: var(--bs-vertical-nav-width);
70
90
  }
71
91
 
@@ -406,7 +426,6 @@
406
426
  opacity: 1;
407
427
  visibility: visible;
408
428
  width: auto;
409
- overflow: visible;
410
429
  }
411
430
 
412
431
  /* Hide toggle button on hover when collapsed - but NOT when hovering the button itself */