@wwtdev/bsds-css 2.28.0 → 3.0.0-rc.21

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.
Files changed (94) hide show
  1. package/README.md +4 -4
  2. package/dist/wwt-bsds-preset.js +196 -68
  3. package/dist/wwt-bsds.css +2189 -1471
  4. package/dist/wwt-bsds.min.css +1 -1
  5. package/package.json +7 -11
  6. package/dist/components/_accordions.scss +0 -122
  7. package/dist/components/_alert.scss +0 -143
  8. package/dist/components/_badge.scss +0 -95
  9. package/dist/components/_banner.scss +0 -68
  10. package/dist/components/_buttons.scss +0 -289
  11. package/dist/components/_chart.scss +0 -169
  12. package/dist/components/_circle-buttons.scss +0 -231
  13. package/dist/components/_dropdown-options.scss +0 -236
  14. package/dist/components/_dropdown.scss +0 -189
  15. package/dist/components/_empty-state.scss +0 -99
  16. package/dist/components/_filter-buttons.scss +0 -116
  17. package/dist/components/_flyout.scss +0 -75
  18. package/dist/components/_form-booleans.scss +0 -182
  19. package/dist/components/_form-character-count.scss +0 -21
  20. package/dist/components/_form-container.scss +0 -111
  21. package/dist/components/_form-elements.scss +0 -40
  22. package/dist/components/_form-field-details.scss +0 -19
  23. package/dist/components/_form-hints.scss +0 -22
  24. package/dist/components/_form-input-composite.scss +0 -312
  25. package/dist/components/_form-input-phone.scss +0 -21
  26. package/dist/components/_form-input-search.scss +0 -74
  27. package/dist/components/_form-labels.scss +0 -40
  28. package/dist/components/_form-switches.scss +0 -154
  29. package/dist/components/_form-text-fields.scss +0 -205
  30. package/dist/components/_horizontal-navigation-mobile.scss +0 -238
  31. package/dist/components/_horizontal-navigation.scss +0 -220
  32. package/dist/components/_inline-tabs.scss +0 -86
  33. package/dist/components/_loader.scss +0 -105
  34. package/dist/components/_modal.scss +0 -185
  35. package/dist/components/_overlay.scss +0 -34
  36. package/dist/components/_pagination.scss +0 -85
  37. package/dist/components/_pills.scss +0 -224
  38. package/dist/components/_profile-details.scss +0 -44
  39. package/dist/components/_profile-img.scss +0 -73
  40. package/dist/components/_profile-layout.scss +0 -29
  41. package/dist/components/_spinner.scss +0 -95
  42. package/dist/components/_tab-list.scss +0 -151
  43. package/dist/components/_table.scss +0 -331
  44. package/dist/components/_tables.scss +0 -84
  45. package/dist/components/_timeline.scss +0 -122
  46. package/dist/components/_toast.scss +0 -149
  47. package/dist/components/_toaster.scss +0 -27
  48. package/dist/components/_tooltip.scss +0 -179
  49. package/dist/components/_vertical-navigation.scss +0 -280
  50. package/dist/components/accordions.css +0 -118
  51. package/dist/components/alert.css +0 -139
  52. package/dist/components/badge.css +0 -91
  53. package/dist/components/banner.css +0 -64
  54. package/dist/components/buttons.css +0 -285
  55. package/dist/components/chart.css +0 -165
  56. package/dist/components/circle-buttons.css +0 -227
  57. package/dist/components/dropdown-options.css +0 -232
  58. package/dist/components/dropdown.css +0 -185
  59. package/dist/components/empty-state.css +0 -95
  60. package/dist/components/filter-buttons.css +0 -112
  61. package/dist/components/flyout.css +0 -71
  62. package/dist/components/form-booleans.css +0 -178
  63. package/dist/components/form-character-count.css +0 -17
  64. package/dist/components/form-container.css +0 -108
  65. package/dist/components/form-elements.css +0 -36
  66. package/dist/components/form-field-details.css +0 -15
  67. package/dist/components/form-hints.css +0 -18
  68. package/dist/components/form-input-composite.css +0 -308
  69. package/dist/components/form-input-phone.css +0 -17
  70. package/dist/components/form-input-search.css +0 -70
  71. package/dist/components/form-labels.css +0 -36
  72. package/dist/components/form-switches.css +0 -150
  73. package/dist/components/form-text-fields.css +0 -201
  74. package/dist/components/horizontal-navigation-mobile.css +0 -234
  75. package/dist/components/horizontal-navigation.css +0 -216
  76. package/dist/components/inline-tabs.css +0 -83
  77. package/dist/components/loader.css +0 -101
  78. package/dist/components/modal.css +0 -181
  79. package/dist/components/overlay.css +0 -30
  80. package/dist/components/pagination.css +0 -81
  81. package/dist/components/pills.css +0 -220
  82. package/dist/components/profile-details.css +0 -40
  83. package/dist/components/profile-img.css +0 -69
  84. package/dist/components/profile-layout.css +0 -25
  85. package/dist/components/spinner.css +0 -91
  86. package/dist/components/tab-list.css +0 -147
  87. package/dist/components/table.css +0 -327
  88. package/dist/components/tables.css +0 -80
  89. package/dist/components/timeline.css +0 -118
  90. package/dist/components/toast.css +0 -145
  91. package/dist/components/toaster.css +0 -23
  92. package/dist/components/tooltip.css +0 -175
  93. package/dist/components/vertical-navigation.css +0 -276
  94. package/dist/wwt-bsds-wc-base.css +0 -1129
@@ -1,80 +0,0 @@
1
- table {
2
- border-collapse: collapse;
3
- border-spacing: 0;
4
- overflow-x: auto;
5
- max-width: 100%;
6
- width: 100%;
7
- }
8
- thead {
9
- color: var(--bs-ink-base);
10
- font-size: var(--bs-font-base);
11
- font-weight: 600;
12
- }
13
- tbody {
14
- color: var(--bs-ink-light);
15
- }
16
- th {
17
- background: var(--bs-bg-base);
18
- }
19
- th, td {
20
- border-bottom: 1px solid var(--bs-border);
21
- min-width: fit-content;
22
- padding: var(--bs-space-2);
23
- text-align: left;
24
- }
25
-
26
- /* Table Borders */
27
- table[data-borders^="none"] {
28
- border: 0;
29
- }
30
- table[data-borders^="all"] :where(th, td) {
31
- border-left: 1px solid var(--bs-border);
32
- }
33
- table[data-borders^="all"] :where(th, td):last-child {
34
- border-right: 1px solid var(--bs-border);
35
- }
36
- table[data-borders^="all"] th {
37
- border-top: 1px solid var(--bs-border);
38
- }
39
-
40
- /* Table Rows */
41
- table:where([data-rows^="striped"]) tbody > tr:nth-child(even) {
42
- background-color: var(--bs-bg-medium);
43
- }
44
-
45
- /* Table Cells */
46
- table[data-cells^="fixed"] {
47
- table-layout: fixed;
48
- }
49
- table:where([data-cells^="height"]) td {
50
- height: 4.5rem;
51
- vertical-align: middle;
52
- }
53
-
54
- /* Sticky Header */
55
- table:where([data-sticky]) {
56
- isolation: isolate;
57
- }
58
- table:where([data-sticky^="top"]) td {
59
- z-index: 1;
60
- }
61
- table:where([data-sticky^="top"]) {
62
- border-collapse: separate;
63
- overflow-y: unset; /* Will break sticky headers if removed */
64
- position: relative;
65
- }
66
- table:where([data-sticky^="left"]) {
67
- border-collapse: separate;
68
- overflow-x: unset; /* Will break sticky headers if removed */
69
- position: relative;
70
- }
71
- table:where([data-sticky^="top"]) th {
72
- position: sticky;
73
- top: var(--bs-content-top);
74
- z-index: 2;
75
- }
76
- table:where([data-sticky^="left"]) :is(td:first-child, th:first-child) {
77
- position: sticky;
78
- left: 0;
79
- z-index: 2;
80
- }
@@ -1,118 +0,0 @@
1
- .bs-progress-bar, .bs-timeline {
2
- background-color: var(--bs-bg-base);
3
- display: flex;
4
- position: relative;
5
- }
6
-
7
- .bs-progress-bar {
8
- gap: .25rem;
9
- }
10
-
11
- /* ------------ Step Item ------------ */
12
-
13
- :is(.bs-progress-bar, .bs-timeline) :where(.bs-step-item) {
14
- background-color: var(--step-bg, inherit);
15
- flex-grow: 1;
16
- flex-shrink: 0;
17
- position: relative;
18
- }
19
-
20
- /* -- Step Items in Timeline -- */
21
-
22
- .bs-timeline :where(.bs-step-item) {
23
- align-items: center;
24
- color: var(--step-color, var(--bs-ink-light));
25
- display: flex;
26
- flex-direction: column;
27
- padding-inline: 1rem;
28
- row-gap: 0.5rem;
29
- }
30
-
31
- .bs-timeline :where(.bs-step-item *) {
32
- text-wrap: nowrap;
33
- }
34
-
35
- .bs-timeline :where(.bs-step-item .bs-step-icon) {
36
- background-color: inherit;
37
- height: 1.5rem;
38
- text-align: center;
39
- width: 1.5rem;
40
- z-index: 10;
41
- }
42
-
43
- .bs-timeline :where(.bs-step-item)::after {
44
- border-top: 0.125rem solid var(--bs-border-base);
45
- content: '';
46
- display: block;
47
- position: absolute;
48
- top: 0.75rem;
49
- width: 100%;
50
- }
51
-
52
- /* -- Step Items in Progress Bar -- */
53
-
54
- .bs-progress-bar :where(.bs-step-item) {
55
- --step-bg: var(--progress-step-bg, var(--bs-bg-disabled));
56
- height: .25rem;
57
- }
58
-
59
- .bs-progress-bar :where(.bs-step-item > *) {
60
- border: 0;
61
- clip: rect(0 0 0 0);
62
- height: 1px;
63
- margin: 0;
64
- overflow: hidden;
65
- padding: 0;
66
- position: absolute;
67
- white-space: nowrap;
68
- width: 1px;
69
- }
70
-
71
-
72
-
73
- /* ------------ Status colors ------------ */
74
- .bs-timeline :where(.bs-step-item[data-status="in-progress"]) {
75
- --step-color: var(--bs-ink-base);
76
- --progress-step-bg: var(--bs-purple-light);
77
- }
78
-
79
- .bs-progress-bar :where(.bs-step-item[data-status="not-started"]) {
80
- --step-color: var(--bs-ink-light);
81
- --progress-step-bg: var(--bs-gray-light);
82
- }
83
-
84
- .bs-progress-bar :where(.bs-step-item[data-status="in-progress"]),
85
- .bs-progress-bar :where(.bs-step-item[data-status="complete"]),
86
- .bs-progress-bar :where(.bs-step-item[data-status="paused"]),
87
- .bs-progress-bar :where(.bs-step-item[data-status="ongoing"]) {
88
- --step-color: var(--bs-ink-plum);
89
- --progress-step-bg: var(--bs-plum-medium);
90
- }
91
-
92
- .bs-timeline :where(.bs-step-item[data-status="complete"]),
93
- .bs-timeline :where(.bs-step-item[data-status="paused"]),
94
- .bs-timeline :where(.bs-step-item[data-status="ongoing"]) {
95
- --step-color: var(--bs-ink-purple);
96
- --progress-step-bg: var(--bs-purple-medium);
97
- }
98
-
99
- :is(.bs-progress-bar, .bs-timeline) :where(.bs-step-item[data-status="base"]) {
100
- --progress-step-bg: var(--bs-purple-base);
101
- }
102
-
103
- .bs-timeline :where(.bs-step-item[data-status="warning"]) {
104
- --step-color: var(--bs-ink-orange);
105
- --progress-step-bg: var(--bs-orange-base);
106
- }
107
-
108
- .bs-progress-bar :where(.bs-step-item[data-status="warning"]) {
109
- --step-color: var(--bs-warning);
110
- --progress-step-bg: var(--bs-warning);
111
- }
112
-
113
- :is(.bs-progress-bar, .bs-timeline) :where(.bs-step-item[data-status="error"]),
114
- :is(.bs-progress-bar, .bs-timeline) :where(.bs-step-item[data-status="cancelled"]) {
115
- --step-color: var(--bs-ink-red);
116
- --progress-step-bg: var(--bs-red-base);
117
- }
118
-
@@ -1,145 +0,0 @@
1
- /* Base Toast Styles */
2
- .bs-toast {
3
- --toast-transform: translate(0, calc(100% + 1.5rem));
4
-
5
- background-color: var(--bs-bg-base-elevated);
6
- border-top: 4px solid var(--bs-blue-base);
7
- bottom: 1.5rem;
8
- box-shadow: var(--bs-shadow-contentMedium);
9
- left: 0;
10
- margin-left: 1.5rem;
11
- margin-right: 1.5rem;
12
- opacity: 0;
13
- position: fixed;
14
- right: 0;
15
- transform: var(--toast-transform);
16
- transition-duration: 200ms;
17
- transition-property: transform, opacity;
18
- transition-timing-function: ease;
19
- /* Clamp width for mobile -> full screen */
20
- width: clamp(17rem, calc(100vw - 3rem), 25rem);
21
- z-index: 999;
22
- }
23
-
24
- .bs-toast:where([data-stacked]:not([data-stacked="false"])) {
25
- bottom: auto;
26
- left: auto;
27
- position: static;
28
- right: auto;
29
- z-index: auto;
30
- }
31
-
32
- /* Mobile - Toast comes up from bottom */
33
- .bs-toast:where([data-shown]:not([data-shown="false"])) {
34
- opacity: 1;
35
- transform: translate(0, 0);
36
- }
37
-
38
- .bs-toast-header {
39
- align-items: center;
40
- color: var(--bs-ink-base);
41
- display: flex;
42
- gap: 0.5rem;
43
- padding: 1rem;
44
- }
45
-
46
- .bs-toast-header :where(.bs-toast-header-icon) {
47
- color: var(--bs-blue-base);
48
- }
49
-
50
- .bs-toast-header :where(h5) {
51
- font-weight: 400;
52
- }
53
-
54
- .bs-toast-body {
55
- border-bottom: 1px solid var(--bs-border);
56
- color: var(--bs-ink-light);
57
- padding-bottom: 1rem;
58
- padding-left: 1rem;
59
- padding-right: 1rem;
60
- }
61
-
62
- .bs-toast-actions {
63
- /* Mobile - Buttons will be stacked */
64
- display: flex;
65
- flex-direction: row;
66
- gap: 1rem;
67
- justify-content: flex-end;
68
- padding-bottom: 0.5rem;
69
- padding-left: 1rem;
70
- padding-right: 1rem;
71
- padding-top: 0.5rem;
72
- }
73
-
74
- .bs-toast-actions:where([data-stacked]:not([data-stacked="false"])) {
75
- flex-direction: column-reverse;
76
- }
77
-
78
- /* Warning Toast Styles */
79
- .bs-toast:where([data-variant^='warning']) {
80
- border-top: 4px solid var(--bs-orange-warning);
81
- }
82
-
83
- .bs-toast:where([data-variant^='warning']) :where(.bs-toast-header .bs-toast-header-icon) {
84
- color: var(--bs-orange-warning);
85
- }
86
-
87
- /* Positive Toast Styles */
88
- .bs-toast:where([data-variant^='positive']) {
89
- border-top: 4px solid var(--bs-purple-400);
90
- }
91
-
92
- .bs-toast:where([data-variant^='positive']) :where(.bs-toast-header .bs-toast-header-icon) {
93
- color: var(--bs-purple-400);
94
- }
95
-
96
- :where(.dark) .bs-toast:where([data-variant^='positive']) {
97
- border-top: 4px solid var(--bs-purple-200);
98
- }
99
-
100
- :where(.dark) .bs-toast:where([data-variant^='positive']) :where(.bs-toast-header .bs-toast-header-icon) {
101
- color: var(--bs-purple-200);
102
- }
103
-
104
- /* Negative Toast Styles */
105
- .bs-toast:where([data-variant^='negative']) {
106
- border-top: 4px solid var(--bs-red-400);
107
- }
108
-
109
- .bs-toast:where([data-variant^='negative']) :where(.bs-toast-header .bs-toast-header-icon) {
110
- color: var(--bs-red-400);
111
- }
112
-
113
- @media (min-width: 440px) {
114
- .bs-toast {
115
- --toast-transform: translate(calc(100% + 1.5rem), 0);
116
-
117
- left: auto;
118
- margin-left: 0;
119
- margin-right: 0;
120
- opacity: 0;
121
- right: 1.5rem;
122
- }
123
-
124
- .bs-toast:where([data-shown]:not([data-shown="false"])) {
125
- opacity: 1;
126
- transform: translate(0, 0);
127
- }
128
-
129
- .bs-toast-actions:where([data-stacked]:not([data-stacked="false"])) {
130
- flex-direction: row;
131
- }
132
- }
133
-
134
- /* Vue Transition Styles - Only used in Vue component */
135
- .bs-toast:where(.bs-toast-enter-from),
136
- .bs-toast:where(.bs-toast-leave-to) {
137
- opacity: 0;
138
- transform: var(--toast-transform);
139
- }
140
-
141
- .bs-toast:where(.bs-toast-enter-to),
142
- .bs-toast:where(.bs-toast-leave-from) {
143
- opacity: 1;
144
- transform: translate(0, 0);
145
- }
@@ -1,23 +0,0 @@
1
- /* Container for holding all toasts that will be visible */
2
- .bs-toaster {
3
- /* Mobile - Center the toasts on the screen */
4
- align-items: center;
5
- bottom: 1.5rem;
6
- display: flex;
7
- flex-direction: column-reverse;
8
- gap: 0.5rem;
9
- left: 0;
10
- position: fixed;
11
- right: 0;
12
- z-index: 999;
13
- }
14
-
15
- @media (min-width: 440px) {
16
-
17
- .bs-toaster {
18
- /* Non-mobile - Toasts will live on right side of the screen */
19
- left: auto;
20
- right: 1.5rem;
21
- }
22
-
23
- }
@@ -1,175 +0,0 @@
1
- /* -------------------- BASE STYLES -------------------- */
2
- .bs-tooltip {
3
- display: inline-block;
4
- position: relative;
5
- }
6
-
7
- .bs-tooltip :where(.bs-tooltip-text) {
8
- align-items: center;
9
- background-color: var(--bs-bg-base-elevated);
10
- border-radius: 4px;
11
- box-shadow: var(--bs-shadow-contentLowCenter);
12
- color: var(--bs-ink-violet);
13
- display: flex;
14
- font-size: var(--bs-text-sm);
15
- justify-content: center;
16
- max-width: 16rem;
17
- min-width: 4rem;
18
- opacity: 0;
19
- padding-bottom: 0.25rem;
20
- padding-left: 0.5rem;
21
- padding-right: 0.5rem;
22
- padding-top: 0.25rem;
23
- position: absolute;
24
- transform: scale(0);
25
- transition-duration: 75ms;
26
- transition-property: opacity, transform;
27
- transition-timing-function: ease-in-out;
28
- width: max-content;
29
- z-index: 999;
30
- }
31
-
32
- /* -------------------- POSITION: UNDEFINED / TOP -------------------- */
33
- .bs-tooltip:where(:not([data-position])) :where(.bs-tooltip-text),
34
- .bs-tooltip:where([data-position="top"]) :where(.bs-tooltip-text) {
35
- bottom: calc(100% + 0.5rem);
36
- left: 50%;
37
- transform-origin: bottom center;
38
- transform: translateX(-50%) scale(0);
39
- }
40
-
41
- /* Active States */
42
- :where(.bs-tooltip:not([data-position])):hover :where(.bs-tooltip-text),
43
- :where(.bs-tooltip[data-position="top"]):hover :where(.bs-tooltip-text),
44
- :where(.bs-tooltip:not([data-position])):has(:focus-visible) :where(.bs-tooltip-text),
45
- :where(.bs-tooltip[data-position="top"]):has(:focus-visible) :where(.bs-tooltip-text),
46
- :where(.bs-tooltip:not([data-position]))[data-shown] :where(.bs-tooltip-text),
47
- :where(.bs-tooltip[data-position="top"])[data-shown] :where(.bs-tooltip-text) {
48
- opacity: 1;
49
- transform: translateX(-50%) scale(1);
50
- }
51
-
52
- /* -------------------- POSITION: BOTTOM -------------------- */
53
- .bs-tooltip:where([data-position="bottom"]) :where(.bs-tooltip-text) {
54
- left: 50%;
55
- top: calc(100% + 0.5rem);
56
- transform-origin: top center;
57
- transform: translateX(-50%) scale(0);
58
- }
59
-
60
- /* Active States */
61
- :where(.bs-tooltip[data-position="bottom"]):hover :where(.bs-tooltip-text),
62
- :where(.bs-tooltip[data-position="bottom"]):has(:focus-visible) :where(.bs-tooltip-text),
63
- :where(.bs-tooltip[data-position="bottom"])[data-shown] :where(.bs-tooltip-text) {
64
- opacity: 1;
65
- transform: translateX(-50%) scale(1);
66
- }
67
-
68
- /* -------------------- POSITION: LEFT -------------------- */
69
- .bs-tooltip:where([data-position="left"]) :where(.bs-tooltip-text) {
70
- right: calc(100% + 0.5rem);
71
- top: 50%;
72
- transform-origin: center right;
73
- transform: translateY(-50%) scale(0);
74
- }
75
-
76
- /* Active States */
77
- :where(.bs-tooltip[data-position="left"]):hover :where(.bs-tooltip-text),
78
- :where(.bs-tooltip[data-position="left"]):has(:focus-visible) :where(.bs-tooltip-text),
79
- :where(.bs-tooltip[data-position="left"])[data-shown] :where(.bs-tooltip-text) {
80
- opacity: 1;
81
- transform: translateY(-50%) scale(1);
82
- }
83
-
84
- /* -------------------- POSITION: RIGHT -------------------- */
85
- .bs-tooltip:where([data-position="right"]) :where(.bs-tooltip-text) {
86
- left: calc(100% + 0.5rem);
87
- top: 50%;
88
- transform-origin: center left;
89
- transform: translateY(-50%) scale(0);
90
- }
91
-
92
- :where(.bs-tooltip[data-position="right"]):hover :where(.bs-tooltip-text),
93
- :where(.bs-tooltip[data-position="right"]):has(:focus-visible) :where(.bs-tooltip-text),
94
- :where(.bs-tooltip[data-position="right"])[data-shown] :where(.bs-tooltip-text) {
95
- opacity: 1;
96
- transform: translateY(-50%) scale(1);
97
- }
98
-
99
- /* -------------------- POSITION: CORNERS -------------------- */
100
- /* top-left */
101
- .bs-tooltip:where([data-position="top-left"]) :where(.bs-tooltip-text) {
102
- bottom: calc(100% + 0.5rem);
103
- right: calc(100% + 0.5rem);
104
- transform-origin: bottom right;
105
- }
106
-
107
- /* top-right */
108
- .bs-tooltip:where([data-position="top-right"]) :where(.bs-tooltip-text) {
109
- bottom: calc(100% + 0.5rem);
110
- left: calc(100% + 0.5rem);
111
- transform-origin: bottom left;
112
- }
113
-
114
- /* bottom-left */
115
- .bs-tooltip:where([data-position="bottom-left"]) :where(.bs-tooltip-text) {
116
- right: calc(100% + 0.5rem);
117
- top: calc(100% + 0.5rem);
118
- transform-origin: top right;
119
- }
120
-
121
- /* bottom-right */
122
- .bs-tooltip:where([data-position="bottom-right"]) :where(.bs-tooltip-text) {
123
- left: calc(100% + 0.5rem);
124
- top: calc(100% + 0.5rem);
125
- transform-origin: top left;
126
- }
127
-
128
- /* Active States */
129
- :where(.bs-tooltip[data-position="top-left"]):hover :where(.bs-tooltip-text),
130
- :where(.bs-tooltip[data-position="top-right"]):hover :where(.bs-tooltip-text),
131
- :where(.bs-tooltip[data-position="bottom-left"]):hover :where(.bs-tooltip-text),
132
- :where(.bs-tooltip[data-position="bottom-right"]):hover :where(.bs-tooltip-text),
133
- :where(.bs-tooltip[data-position="top-left"]):has(:focus-visible) :where(.bs-tooltip-text),
134
- :where(.bs-tooltip[data-position="top-right"]):has(:focus-visible) :where(.bs-tooltip-text),
135
- :where(.bs-tooltip[data-position="bottom-left"]):has(:focus-visible) :where(.bs-tooltip-text),
136
- :where(.bs-tooltip[data-position="bottom-right"]):has(:focus-visible) :where(.bs-tooltip-text),
137
- :where(.bs-tooltip[data-position="top-left"]:not([data-shown="false"]))[data-shown] :where(.bs-tooltip-text),
138
- :where(.bs-tooltip[data-position="top-right"]:not([data-shown="false"]))[data-shown] :where(.bs-tooltip-text),
139
- :where(.bs-tooltip[data-position="bottom-left"]:not([data-shown="false"]))[data-shown] :where(.bs-tooltip-text),
140
- :where(.bs-tooltip[data-position="bottom-right"]:not([data-shown="false"]))[data-shown] :where(.bs-tooltip-text) {
141
- opacity: 1;
142
- transform: scale(1);
143
- }
144
-
145
- /* -------------------- DISABLED -------------------- */
146
- /*
147
- Don't display unless data-shown is present
148
- This must go last to properly override the other classes
149
- */
150
- :where(.bs-tooltip[data-disabled]:not([data-disabled="false"]):not([data-shown])):hover :where(.bs-tooltip-text),
151
- :where(.bs-tooltip[data-disabled]:not([data-disabled="false"]):not([data-shown])):has(:focus-visible) :where(.bs-tooltip-text) {
152
- opacity: 0;
153
- transform: scale(0);
154
- }
155
- :where(.bs-tooltip[data-shown="false"][data-disabled]:not([data-disabled="false"])):hover :where(.bs-tooltip-text),
156
- :where(.bs-tooltip[data-shown="false"][data-disabled]:not([data-disabled="false"])):has(:focus-visible) :where(.bs-tooltip-text) {
157
- opacity: 0;
158
- transform: scale(0);
159
- }
160
-
161
- /* -------------------- COMPONENT-SPECIFIC STYLES -------------------- */
162
- .bs-tooltip :where(.bs-tooltip-text.escaped) {
163
- opacity: 0;
164
- transform: scale(0.5);
165
- }
166
-
167
- .bs-tooltip :where(.bs-tooltip-text.escaped-x) {
168
- opacity: 0;
169
- transform: translateX(-50%) scale(0.5);
170
- }
171
-
172
- .bs-tooltip :where(.bs-tooltip-text.escaped-y) {
173
- opacity: 0;
174
- transform: translateY(-50%) scale(0.5);
175
- }