@gettrx/core-styles 1.0.27 → 1.0.28

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 (106) hide show
  1. package/package.json +1 -1
  2. package/dist/assets/core-icons.json +0 -7512
  3. package/dist/assets/fonts/Gettrx-Icon.ttf +0 -0
  4. package/dist/assets/fonts/Gettrx-Icon.woff +0 -0
  5. package/dist/assets/fonts/Gettrx-Icon.woff2 +0 -0
  6. package/dist/assets/fonts/Roboto-Black.ttf +0 -0
  7. package/dist/assets/fonts/Roboto-BlackItalic.ttf +0 -0
  8. package/dist/assets/fonts/Roboto-Bold.ttf +0 -0
  9. package/dist/assets/fonts/Roboto-BoldItalic.ttf +0 -0
  10. package/dist/assets/fonts/Roboto-Italic.ttf +0 -0
  11. package/dist/assets/fonts/Roboto-Light.ttf +0 -0
  12. package/dist/assets/fonts/Roboto-LightItalic.ttf +0 -0
  13. package/dist/assets/fonts/Roboto-Medium.ttf +0 -0
  14. package/dist/assets/fonts/Roboto-MediumItalic.ttf +0 -0
  15. package/dist/assets/fonts/Roboto-Regular.ttf +0 -0
  16. package/dist/assets/fonts/Roboto-Thin.ttf +0 -0
  17. package/dist/assets/fonts/Roboto-ThinItalic.ttf +0 -0
  18. package/dist/assets/fonts/tabler-icons.eot +0 -0
  19. package/dist/assets/fonts/tabler-icons.ttf +0 -0
  20. package/dist/assets/fonts/tabler-icons.woff +0 -0
  21. package/dist/assets/fonts/tabler-icons.woff2 +0 -0
  22. package/dist/core-styles.css +0 -1
  23. package/dist/core-styles.scss +0 -12
  24. package/dist/styles/_font-face.scss +0 -77
  25. package/dist/styles/_functions.scss +0 -180
  26. package/dist/styles/_icons.scss +0 -1535
  27. package/dist/styles/_reboot.scss +0 -610
  28. package/dist/styles/_variables.scss +0 -1125
  29. package/dist/styles/components/_accordion.scss +0 -149
  30. package/dist/styles/components/_alert.scss +0 -68
  31. package/dist/styles/components/_badge.scss +0 -38
  32. package/dist/styles/components/_breadcrumb.scss +0 -40
  33. package/dist/styles/components/_button-group.scss +0 -142
  34. package/dist/styles/components/_buttons.scss +0 -192
  35. package/dist/styles/components/_card.scss +0 -239
  36. package/dist/styles/components/_carousel.scss +0 -209
  37. package/dist/styles/components/_close.scss +0 -56
  38. package/dist/styles/components/_dropdown.scss +0 -232
  39. package/dist/styles/components/_forms.scss +0 -9
  40. package/dist/styles/components/_images.scss +0 -42
  41. package/dist/styles/components/_list-group.scss +0 -197
  42. package/dist/styles/components/_modal.scss +0 -237
  43. package/dist/styles/components/_nav.scss +0 -209
  44. package/dist/styles/components/_navbar.scss +0 -268
  45. package/dist/styles/components/_pagination.scss +0 -109
  46. package/dist/styles/components/_placeholders.scss +0 -51
  47. package/dist/styles/components/_popover.scss +0 -196
  48. package/dist/styles/components/_progress.scss +0 -62
  49. package/dist/styles/components/_spinners.scss +0 -83
  50. package/dist/styles/components/_tables.scss +0 -171
  51. package/dist/styles/components/_toasts.scss +0 -73
  52. package/dist/styles/components/_tooltip.scss +0 -119
  53. package/dist/styles/components/_type.scss +0 -95
  54. package/dist/styles/components/forms/_floating-labels.scss +0 -94
  55. package/dist/styles/components/forms/_form-check.scss +0 -164
  56. package/dist/styles/components/forms/_form-control.scss +0 -216
  57. package/dist/styles/components/forms/_form-range.scss +0 -91
  58. package/dist/styles/components/forms/_form-select.scss +0 -69
  59. package/dist/styles/components/forms/_form-text.scss +0 -11
  60. package/dist/styles/components/forms/_input-group.scss +0 -132
  61. package/dist/styles/components/forms/_labels.scss +0 -36
  62. package/dist/styles/components/forms/_validation.scss +0 -12
  63. package/dist/styles/components/mixins/_alert.scss +0 -14
  64. package/dist/styles/components/mixins/_backdrop.scss +0 -14
  65. package/dist/styles/components/mixins/_banner.scss +0 -7
  66. package/dist/styles/components/mixins/_box-shadow.scss +0 -16
  67. package/dist/styles/components/mixins/_buttons.scss +0 -70
  68. package/dist/styles/components/mixins/_caret.scss +0 -68
  69. package/dist/styles/components/mixins/_clearfix.scss +0 -9
  70. package/dist/styles/components/mixins/_deprecate.scss +0 -10
  71. package/dist/styles/components/mixins/_forms.scss +0 -145
  72. package/dist/styles/components/mixins/_gradients.scss +0 -43
  73. package/dist/styles/components/mixins/_image.scss +0 -16
  74. package/dist/styles/components/mixins/_list-group.scss +0 -26
  75. package/dist/styles/components/mixins/_lists.scss +0 -7
  76. package/dist/styles/components/mixins/_pagination.scss +0 -10
  77. package/dist/styles/components/mixins/_reset-text.scss +0 -17
  78. package/dist/styles/components/mixins/_resize.scss +0 -6
  79. package/dist/styles/components/mixins/_table-variants.scss +0 -24
  80. package/dist/styles/components/mixins/_text-truncate.scss +0 -8
  81. package/dist/styles/components/mixins/_transition.scss +0 -24
  82. package/dist/styles/components/mixins/_visually-hidden.scss +0 -33
  83. package/dist/styles/css/gettrx.css +0 -13552
  84. package/dist/styles/functions/_color.functions.scss +0 -14
  85. package/dist/styles/functions/_grid.functions.scss +0 -41
  86. package/dist/styles/functions/_map.functions.scss +0 -36
  87. package/dist/styles/layout/_containers.scss +0 -43
  88. package/dist/styles/layout/_grid.scss +0 -26
  89. package/dist/styles/layout/_layout.scss +0 -2
  90. package/dist/styles/maps/_border.maps.scss +0 -24
  91. package/dist/styles/maps/_colors.maps.scss +0 -10
  92. package/dist/styles/maps/_fonts.maps.scss +0 -10
  93. package/dist/styles/maps/_layout.maps.scss +0 -33
  94. package/dist/styles/maps/_positions.maps.scss +0 -15
  95. package/dist/styles/maps/_shadow.maps.scss +0 -11
  96. package/dist/styles/maps/_spacing.maps.scss +0 -23
  97. package/dist/styles/mixins/_border-radius.mixins.scss +0 -61
  98. package/dist/styles/mixins/_breakpoints.mixins.scss +0 -129
  99. package/dist/styles/mixins/_container.mixins.scss +0 -13
  100. package/dist/styles/mixins/_grid.mixins.scss +0 -157
  101. package/dist/styles/mixins/_utilities.mixins.scss +0 -84
  102. package/dist/styles/utilities/_api.scss +0 -33
  103. package/dist/styles/utilities/_utilities.scss +0 -695
  104. package/dist/tokens/_tokens.scss +0 -216
  105. package/dist/tokens/tokens.css +0 -218
  106. package/dist/tokens/tokens.js +0 -216
@@ -1,232 +0,0 @@
1
- // The dropdown wrapper (`<div>`)
2
- .dropup,
3
- .dropend,
4
- .dropdown,
5
- .dropstart,
6
- .dropup-center,
7
- .dropdown-center {
8
- position: relative;
9
- }
10
-
11
- .dropdown-toggle {
12
- white-space: nowrap;
13
-
14
- // Generate the caret automatically
15
- @include caret();
16
- }
17
-
18
- // The dropdown menu
19
- .dropdown-menu {
20
- // scss-docs-start dropdown-css-vars
21
- --gtr-dropdown-zindex: #{$zindex-dropdown};
22
- --gtr-dropdown-min-width: #{$dropdown-min-width};
23
- --gtr-dropdown-padding-x: #{$dropdown-padding-x};
24
- --gtr-dropdown-padding-y: #{$dropdown-padding-y};
25
- --gtr-dropdown-spacer: #{$dropdown-spacer};
26
- --gtr-dropdown-font-size: $dropdown-font-size;
27
- --gtr-dropdown-color: #{$dropdown-color};
28
- --gtr-dropdown-bg: #{$dropdown-bg};
29
- --gtr-dropdown-border-color: #{$dropdown-border-color};
30
- --gtr-dropdown-border-radius: #{$dropdown-border-radius};
31
- --gtr-dropdown-border-width: #{$dropdown-border-width};
32
- --gtr-dropdown-inner-border-radius: #{$dropdown-inner-border-radius};
33
- --gtr-dropdown-divider-bg: #{$dropdown-divider-bg};
34
- --gtr-dropdown-divider-margin-y: #{$dropdown-divider-margin-y};
35
- --gtr-dropdown-box-shadow: #{$dropdown-box-shadow};
36
- --gtr-dropdown-link-color: #{$dropdown-link-color};
37
- --gtr-dropdown-link-hover-color: #{$dropdown-link-hover-color};
38
- --gtr-dropdown-link-hover-bg: #{$dropdown-link-hover-bg};
39
- --gtr-dropdown-link-active-color: #{$dropdown-link-active-color};
40
- --gtr-dropdown-link-active-bg: #{$dropdown-link-active-bg};
41
- --gtr-dropdown-link-disabled-color: #{$dropdown-link-disabled-color};
42
- --gtr-dropdown-item-padding-x: #{$dropdown-item-padding-x};
43
- --gtr-dropdown-item-padding-y: #{$dropdown-item-padding-y};
44
- --gtr-dropdown-header-color: #{$dropdown-header-color};
45
- --gtr-dropdown-header-padding-x: #{$dropdown-header-padding-x};
46
- --gtr-dropdown-header-padding-y: #{$dropdown-header-padding-y};
47
- // scss-docs-end dropdown-css-vars
48
-
49
- position: absolute;
50
- z-index: var(--gtr-dropdown-zindex);
51
- display: none; // none by default, but block on "open" of the menu
52
- min-width: var(--gtr-dropdown-min-width);
53
- padding: var(--gtr-dropdown-padding-y) var(--gtr-dropdown-padding-x);
54
- margin: 0; // Override default margin of ul
55
- font-size: var(--gtr-dropdown-font-size);
56
- color: var(--gtr-dropdown-color);
57
- text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
58
- list-style: none;
59
- background-color: var(--gtr-dropdown-bg);
60
- background-clip: padding-box;
61
- border: var(--gtr-dropdown-border-width) solid var(--gtr-dropdown-border-color);
62
- @include border-radius(var(--gtr-dropdown-border-radius));
63
- @include box-shadow(var(--gtr-dropdown-box-shadow));
64
-
65
- &[data-bs-popper] {
66
- top: 100%;
67
- left: 0;
68
- margin-top: var(--gtr-dropdown-spacer);
69
- }
70
-
71
- @if $dropdown-padding-y == 0 {
72
- > .dropdown-item:first-child,
73
- > li:first-child .dropdown-item {
74
- @include border-top-radius(var(--gtr-dropdown-inner-border-radius));
75
- }
76
- > .dropdown-item:last-child,
77
- > li:last-child .dropdown-item {
78
- @include border-bottom-radius(var(--gtr-dropdown-inner-border-radius));
79
- }
80
-
81
- }
82
- }
83
-
84
- // scss-docs-start responsive-breakpoints
85
- // We deliberately hardcode the `bs-` prefix because we check
86
- // this custom property in JS to determine Popper's positioning
87
-
88
- @each $breakpoint in map-keys($grid-breakpoints) {
89
- @include media-breakpoint-up($breakpoint) {
90
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
91
-
92
- .dropdown-menu#{$infix}-start {
93
- --bs-position: start;
94
-
95
- &[data-bs-popper] {
96
- right: auto;
97
- left: 0;
98
- }
99
- }
100
-
101
- .dropdown-menu#{$infix}-end {
102
- --bs-position: end;
103
-
104
- &[data-bs-popper] {
105
- right: 0;
106
- left: auto;
107
- }
108
- }
109
- }
110
- }
111
- // scss-docs-end responsive-breakpoints
112
-
113
- // Allow for dropdowns to go bottom up (aka, dropup-menu)
114
- // Just add .dropup after the standard .dropdown class and you're set.
115
- .dropup {
116
- .dropdown-menu[data-bs-popper] {
117
- top: auto;
118
- bottom: 100%;
119
- margin-top: 0;
120
- margin-bottom: var(--gtr-dropdown-spacer);
121
- }
122
-
123
- .dropdown-toggle {
124
- @include caret(up);
125
- }
126
- }
127
-
128
- .dropend {
129
- .dropdown-menu[data-bs-popper] {
130
- top: 0;
131
- right: auto;
132
- left: 100%;
133
- margin-top: 0;
134
- margin-left: var(--gtr-dropdown-spacer);
135
- }
136
-
137
- .dropdown-toggle {
138
- @include caret(end);
139
- &::after {
140
- vertical-align: 0;
141
- }
142
- }
143
- }
144
-
145
- .dropstart {
146
- .dropdown-menu[data-bs-popper] {
147
- top: 0;
148
- right: 100%;
149
- left: auto;
150
- margin-top: 0;
151
- margin-right: var(--gtr-dropdown-spacer);
152
- }
153
-
154
- .dropdown-toggle {
155
- @include caret(start);
156
- &::before {
157
- vertical-align: 0;
158
- }
159
- }
160
- }
161
-
162
-
163
- // Dividers (basically an `<hr>`) within the dropdown
164
- .dropdown-divider {
165
- height: 0;
166
- margin: var(--gtr-dropdown-divider-margin-y) 0;
167
- overflow: hidden;
168
- border-top: 1px solid var(--gtr-dropdown-divider-bg);
169
- opacity: 1; // Revisit in v6 to de-dupe styles that conflict with <hr> element
170
- }
171
-
172
- // Links, buttons, and more within the dropdown menu
173
- //
174
- // `<button>`-specific styles are denoted with `// For <button>s`
175
- .dropdown-item {
176
- display: block;
177
- width: 100%; // For `<button>`s
178
- padding: var(--gtr-dropdown-item-padding-y) var(--gtr-dropdown-item-padding-x);
179
- clear: both;
180
- font-weight: $gtr-size-font-weight-normal;
181
- color: var(--gtr-dropdown-link-color);
182
- text-align: inherit; // For `<button>`s
183
- text-decoration: none;
184
- white-space: nowrap; // prevent links from randomly breaking onto new lines
185
- background-color: transparent; // For `<button>`s
186
- border: 0; // For `<button>`s
187
- @include border-radius(var(--gtr-dropdown-item-border-radius, 0));
188
-
189
- &:hover,
190
- &:focus {
191
- color: var(--gtr-dropdown-link-hover-color);
192
- text-decoration: none;
193
- @include gradient-bg(var(--gtr-dropdown-link-hover-bg));
194
- }
195
-
196
- &.active,
197
- &:active {
198
- color: var(--gtr-dropdown-link-active-color);
199
- text-decoration: none;
200
- @include gradient-bg(var(--gtr-dropdown-link-active-bg));
201
- }
202
-
203
- &.disabled,
204
- &:disabled {
205
- color: var(--gtr-dropdown-link-disabled-color);
206
- pointer-events: none;
207
- background-color: transparent;
208
- // Remove CSS gradients if they're enabled
209
- background-image: none;
210
- }
211
- }
212
-
213
- .dropdown-menu.show {
214
- display: block;
215
- }
216
-
217
- // Dropdown section headers
218
- .dropdown-header {
219
- display: block;
220
- padding: var(--gtr-dropdown-header-padding-y) var(--gtr-dropdown-header-padding-x);
221
- margin-bottom: 0; // for use with heading elements
222
- font-size: $gtr-size-font-size-sm;
223
- color: var(--gtr-dropdown-header-color);
224
- white-space: nowrap; // as with > li > a
225
- }
226
-
227
- // Dropdown text
228
- .dropdown-item-text {
229
- display: block;
230
- padding: var(--gtr-dropdown-item-padding-y) var(--gtr-dropdown-item-padding-x);
231
- color: var(--gtr-dropdown-link-color);
232
- }
@@ -1,9 +0,0 @@
1
- @import "forms/labels";
2
- @import "forms/form-text";
3
- @import "forms/form-control";
4
- @import "forms/form-select";
5
- @import "forms/form-check";
6
- @import "forms/form-range";
7
- @import "forms/floating-labels";
8
- @import "forms/input-group";
9
- @import "forms/validation";
@@ -1,42 +0,0 @@
1
- // Responsive images (ensure images don't scale beyond their parents)
2
- //
3
- // This is purposefully opt-in via an explicit class rather than being the default for all `<img>`s.
4
- // We previously tried the "images are responsive by default" approach in Bootstrap v2,
5
- // and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps)
6
- // which weren't expecting the images within themselves to be involuntarily resized.
7
- // See also https://github.com/twbs/bootstrap/issues/18178
8
- .img-fluid {
9
- @include img-fluid();
10
- }
11
-
12
-
13
- // Image thumbnails
14
- .img-thumbnail {
15
- padding: $thumbnail-padding;
16
- background-color: $thumbnail-bg;
17
- border: $thumbnail-border-width solid $thumbnail-border-color;
18
- @include border-radius($thumbnail-border-radius);
19
- @include box-shadow($thumbnail-box-shadow);
20
-
21
- // Keep them at most 100% wide
22
- @include img-fluid();
23
- }
24
-
25
- //
26
- // Figures
27
- //
28
-
29
- .figure {
30
- // Ensures the caption's text aligns with the image.
31
- display: inline-block;
32
- }
33
-
34
- .figure-img {
35
- margin-bottom: $spacer * .5;
36
- line-height: 1;
37
- }
38
-
39
- .figure-caption {
40
- font-size: $figure-caption-font-size;
41
- color: $figure-caption-color;
42
- }
@@ -1,197 +0,0 @@
1
- // Base class
2
- //
3
- // Easily usable on <ul>, <ol>, or <div>.
4
-
5
- .list-group {
6
- // scss-docs-start list-group-css-vars
7
- --gtr-list-group-color: #{$list-group-color};
8
- --gtr-list-group-bg: #{$list-group-bg};
9
- --gtr-list-group-border-color: #{$list-group-border-color};
10
- --gtr-list-group-border-width: #{$list-group-border-width};
11
- --gtr-list-group-border-radius: #{$list-group-border-radius};
12
- --gtr-list-group-item-padding-x: #{$list-group-item-padding-x};
13
- --gtr-list-group-item-padding-y: #{$list-group-item-padding-y};
14
- --gtr-list-group-action-color: #{$list-group-action-color};
15
- --gtr-list-group-action-hover-color: #{$list-group-action-hover-color};
16
- --gtr-list-group-action-hover-bg: #{$list-group-hover-bg};
17
- --gtr-list-group-action-active-color: #{$list-group-action-active-color};
18
- --gtr-list-group-action-active-bg: #{$list-group-action-active-bg};
19
- --gtr-list-group-disabled-color: #{$list-group-disabled-color};
20
- --gtr-list-group-disabled-bg: #{$list-group-disabled-bg};
21
- --gtr-list-group-active-color: #{$list-group-active-color};
22
- --gtr-list-group-active-bg: #{$list-group-active-bg};
23
- --gtr-list-group-active-border-color: #{$list-group-active-border-color};
24
- // scss-docs-end list-group-css-vars
25
-
26
- display: flex;
27
- flex-direction: column;
28
-
29
- // No need to set list-style: none; since .list-group-item is block level
30
- padding-left: 0; // reset padding because ul and ol
31
- margin-bottom: 0;
32
- @include border-radius(var(--gtr-list-group-border-radius));
33
- }
34
-
35
- .list-group-numbered {
36
- list-style-type: none;
37
- counter-reset: section;
38
-
39
- > .list-group-item::before {
40
- // Increments only this instance of the section counter
41
- content: counters(section, ".") ". ";
42
- counter-increment: section;
43
- }
44
- }
45
-
46
- // Interactive list items
47
- //
48
- // Use anchor or button elements instead of `li`s or `div`s to create interactive
49
- // list items. Includes an extra `.active` modifier class for selected items.
50
-
51
- .list-group-item-action {
52
- width: 100%; // For `<button>`s (anchors become 100% by default though)
53
- color: var(--gtr-list-group-action-color);
54
- text-align: inherit; // For `<button>`s (anchors inherit)
55
-
56
- // Hover state
57
- &:hover,
58
- &:focus {
59
- z-index: 1; // Place hover/focus items above their siblings for proper border styling
60
- color: var(--gtr-list-group-action-hover-color);
61
- text-decoration: none;
62
- background-color: var(--gtr-list-group-action-hover-bg);
63
- }
64
-
65
- &:active {
66
- color: var(--gtr-list-group-action-active-color);
67
- background-color: var(--gtr-list-group-action-active-bg);
68
- }
69
- }
70
-
71
- // Individual list items
72
- //
73
- // Use on `li`s or `div`s within the `.list-group` parent.
74
-
75
- .list-group-item {
76
- position: relative;
77
- display: block;
78
- padding: var(--gtr-list-group-item-padding-y) var(--gtr-list-group-item-padding-x);
79
- color: var(--gtr-list-group-color);
80
- text-decoration: none;
81
- background-color: var(--gtr-list-group-bg);
82
- border: var(--gtr-list-group-border-width) solid var(--gtr-list-group-border-color);
83
-
84
- &:first-child {
85
- @include border-top-radius(inherit);
86
- }
87
-
88
- &:last-child {
89
- @include border-bottom-radius(inherit);
90
- }
91
-
92
- &.disabled,
93
- &:disabled {
94
- color: var(--gtr-list-group-disabled-color);
95
- pointer-events: none;
96
- background-color: var(--gtr-list-group-disabled-bg);
97
- }
98
-
99
- // Include both here for `<a>`s and `<button>`s
100
- &.active {
101
- z-index: 2; // Place active items above their siblings for proper border styling
102
- color: var(--gtr-list-group-active-color);
103
- background-color: var(--gtr-list-group-active-bg);
104
- border-color: var(--gtr-list-group-active-border-color);
105
- }
106
-
107
- // stylelint-disable-next-line scss/selector-no-redundant-nesting-selector
108
- & + .list-group-item {
109
- border-top-width: 0;
110
-
111
- &.active {
112
- margin-top: calc(-1 * var(--gtr-list-group-border-width)); // stylelint-disable-line function-disallowed-list
113
- border-top-width: var(--gtr-list-group-border-width);
114
- }
115
- }
116
- }
117
-
118
- // Horizontal
119
- //
120
- // Change the layout of list group items from vertical (default) to horizontal.
121
-
122
- @each $breakpoint in map-keys($grid-breakpoints) {
123
- @include media-breakpoint-up($breakpoint) {
124
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
125
-
126
- .list-group-horizontal#{$infix} {
127
- flex-direction: row;
128
-
129
- > .list-group-item {
130
- &:first-child:not(:last-child) {
131
- @include border-bottom-start-radius(var(--gtr-list-group-border-radius));
132
- @include border-top-end-radius(0);
133
- }
134
-
135
- &:last-child:not(:first-child) {
136
- @include border-top-end-radius(var(--gtr-list-group-border-radius));
137
- @include border-bottom-start-radius(0);
138
- }
139
-
140
- &.active {
141
- margin-top: 0;
142
- }
143
-
144
- + .list-group-item {
145
- border-top-width: var(--gtr-list-group-border-width);
146
- border-left-width: 0;
147
-
148
- &.active {
149
- margin-left: calc(-1 * var(--gtr-list-group-border-width)); // stylelint-disable-line function-disallowed-list
150
- border-left-width: var(--gtr-list-group-border-width);
151
- }
152
- }
153
- }
154
- }
155
- }
156
- }
157
-
158
-
159
- // Flush list items
160
- //
161
- // Remove borders and border-radius to keep list group items edge-to-edge. Most
162
- // useful within other components (e.g., cards).
163
-
164
- .list-group-flush {
165
- @include border-radius(0);
166
-
167
- > .list-group-item {
168
- border-width: 0 0 var(--gtr-list-group-border-width);
169
-
170
- &:last-child {
171
- border-bottom-width: 0;
172
- }
173
- }
174
- }
175
-
176
-
177
- // scss-docs-start list-group-modifiers
178
- // List group contextual variants
179
- //
180
- // Add modifier classes to change text and background color on individual items.
181
- // Organizationally, this must come after the `:hover` states.
182
-
183
- @each $state in map-keys($theme-colors) {
184
- .list-group-item-#{$state} {
185
- --gtr-list-group-color: var(--gtr-#{$state}-text-emphasis);
186
- --gtr-list-group-bg: var(--gtr-#{$state}-bg-subtle);
187
- --gtr-list-group-border-color: var(--gtr-#{$state}-border-subtle);
188
- --gtr-list-group-action-hover-color: var(--gtr-emphasis-color);
189
- --gtr-list-group-action-hover-bg: var(--gtr-#{$state}-border-subtle);
190
- --gtr-list-group-action-active-color: var(--gtr-emphasis-color);
191
- --gtr-list-group-action-active-bg: var(--gtr-#{$state}-border-subtle);
192
- --gtr-list-group-active-color: var(--gtr-#{$state}-bg-subtle);
193
- --gtr-list-group-active-bg: var(--gtr-#{$state}-text-emphasis);
194
- --gtr-list-group-active-border-color: var(--gtr-#{$state}-text-emphasis);
195
- }
196
- }
197
- // scss-docs-end list-group-modifiers