@stackoverflow/stacks 2.5.3 → 2.5.5

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 (101) hide show
  1. package/LICENSE.MD +9 -9
  2. package/README.md +180 -180
  3. package/dist/css/stacks.css +104 -122
  4. package/dist/css/stacks.min.css +1 -1
  5. package/lib/atomic/border.less +139 -139
  6. package/lib/atomic/color.less +36 -36
  7. package/lib/atomic/flex.less +426 -426
  8. package/lib/atomic/gap.less +44 -44
  9. package/lib/atomic/grid.less +139 -139
  10. package/lib/atomic/misc.less +374 -374
  11. package/lib/atomic/spacing.less +98 -98
  12. package/lib/atomic/typography.less +264 -264
  13. package/lib/atomic/width-height.less +194 -194
  14. package/lib/base/body.less +44 -44
  15. package/lib/base/configuration-static.less +61 -61
  16. package/lib/base/fieldset.less +5 -5
  17. package/lib/base/icon.less +11 -11
  18. package/lib/base/internal.less +220 -220
  19. package/lib/base/reset-meyer.less +64 -64
  20. package/lib/base/reset-normalize.less +449 -449
  21. package/lib/base/reset.less +20 -20
  22. package/lib/components/activity-indicator/activity-indicator.less +53 -53
  23. package/lib/components/anchor/anchor.less +78 -68
  24. package/lib/components/avatar/avatar.less +108 -108
  25. package/lib/components/award-bling/award-bling.less +31 -31
  26. package/lib/components/badge/badge.less +258 -258
  27. package/lib/components/banner/banner.less +44 -44
  28. package/lib/components/banner/banner.ts +149 -149
  29. package/lib/components/block-link/block-link.less +82 -82
  30. package/lib/components/breadcrumbs/breadcrumbs.less +41 -41
  31. package/lib/components/button/button.less +473 -473
  32. package/lib/components/button-group/button-group.less +82 -82
  33. package/lib/components/card/card.less +37 -37
  34. package/lib/components/check-control/check-control.less +17 -17
  35. package/lib/components/check-group/check-group.less +19 -19
  36. package/lib/components/checkbox_radio/checkbox_radio.less +159 -159
  37. package/lib/components/code-block/code-block.fixtures.ts +88 -88
  38. package/lib/components/code-block/code-block.less +116 -116
  39. package/lib/components/description/description.less +9 -9
  40. package/lib/components/empty-state/empty-state.less +16 -16
  41. package/lib/components/expandable/expandable.less +118 -118
  42. package/lib/components/expandable/expandable.ts +238 -238
  43. package/lib/components/input-fill/input-fill.less +35 -35
  44. package/lib/components/input-icon/input-icon.less +45 -45
  45. package/lib/components/input-message/input-message.less +49 -49
  46. package/lib/components/input_textarea/input_textarea.less +150 -150
  47. package/lib/components/label/label.less +110 -110
  48. package/lib/components/link/link.less +135 -120
  49. package/lib/components/link-preview/link-preview.less +148 -148
  50. package/lib/components/menu/menu.less +41 -41
  51. package/lib/components/modal/modal.less +118 -118
  52. package/lib/components/modal/modal.ts +383 -383
  53. package/lib/components/navigation/navigation.less +136 -136
  54. package/lib/components/navigation/navigation.ts +128 -128
  55. package/lib/components/notice/notice.less +195 -195
  56. package/lib/components/page-title/page-title.less +51 -51
  57. package/lib/components/pagination/pagination.less +65 -65
  58. package/lib/components/popover/popover.less +159 -157
  59. package/lib/components/popover/popover.ts +651 -651
  60. package/lib/components/popover/tooltip.ts +343 -343
  61. package/lib/components/post-summary/post-summary.less +457 -447
  62. package/lib/components/progress-bar/progress-bar.less +291 -291
  63. package/lib/components/prose/prose.less +452 -452
  64. package/lib/components/select/select.less +138 -138
  65. package/lib/components/sidebar-widget/sidebar-widget.less +257 -257
  66. package/lib/components/spinner/spinner.less +103 -103
  67. package/lib/components/table/table.less +307 -307
  68. package/lib/components/table/table.ts +296 -296
  69. package/lib/components/table-container/table-container.less +4 -4
  70. package/lib/components/tag/tag.less +186 -186
  71. package/lib/components/toast/toast.less +35 -35
  72. package/lib/components/toast/toast.ts +357 -357
  73. package/lib/components/toggle-switch/toggle-switch.less +104 -104
  74. package/lib/components/topbar/topbar.less +553 -553
  75. package/lib/components/uploader/uploader.less +205 -205
  76. package/lib/components/uploader/uploader.ts +207 -207
  77. package/lib/components/user-card/user-card.less +129 -129
  78. package/lib/controllers.ts +33 -33
  79. package/lib/exports/color-mixins.less +283 -283
  80. package/lib/exports/color-sets.less +711 -711
  81. package/lib/exports/color.less +65 -65
  82. package/lib/exports/constants-helpers.less +108 -108
  83. package/lib/exports/constants-type.less +155 -155
  84. package/lib/exports/exports.less +15 -15
  85. package/lib/exports/mixins.less +333 -333
  86. package/lib/exports/spacing-mixins.less +67 -67
  87. package/lib/index.ts +32 -32
  88. package/lib/input-utils.less +41 -41
  89. package/lib/stacks-dynamic.less +24 -24
  90. package/lib/stacks-static.less +93 -93
  91. package/lib/stacks.less +13 -13
  92. package/lib/stacks.ts +113 -113
  93. package/lib/test/a11y-test-utils.ts +94 -94
  94. package/lib/test/assertions.ts +36 -36
  95. package/lib/test/less-test-utils.ts +28 -28
  96. package/lib/test/open-wc-testing-patch.d.ts +26 -26
  97. package/lib/test/test-utils.ts +364 -364
  98. package/lib/test/visual-test-utils.ts +58 -58
  99. package/lib/tsconfig.build.json +4 -4
  100. package/lib/tsconfig.json +17 -17
  101. package/package.json +115 -115
@@ -1,120 +1,135 @@
1
- // TODO we *really* shouldn't be apply styles directly onto `<a>` like this, but
2
- // it's tech debt that'll take some doing in consumer's code to pay down.
3
- a,
4
- .s-link {
5
- --_li-fc: var(--theme-link-color, var(--theme-secondary-400));
6
- --_li-fc-hover: var(--theme-link-color-hover, var(--theme-secondary-500));
7
- --_li-fc-visited: var(--theme-link-color-visited, var(--theme-secondary-600));
8
-
9
- // CONTEXTUAL STYLES
10
- .highcontrast-mode({
11
- text-decoration: underline;
12
- });
13
-
14
- // STATES
15
- &.s-link {
16
- &__danger,
17
- &__grayscale,
18
- &__inherit,
19
- &__muted,
20
- &__visited {
21
- &:visited {
22
- &:active,
23
- &:hover {
24
- color: var(--_li-fc-hover);
25
- }
26
-
27
- color: var(--_li-fc-visited);
28
- }
29
- }
30
-
31
- // MODIFIERS
32
- &__dropdown {
33
- &:after {
34
- border-width: var(--su-static4); // this needs to come before any below border modifications
35
- border-bottom-width: 0;
36
- border-color: currentColor transparent;
37
- border-style: solid;
38
- border-top-width: var(--su-static4);
39
- content: "";
40
- pointer-events: none;
41
- position: absolute;
42
- right: 0;
43
- top: calc(50% - var(--su-static2));
44
- z-index: var(--zi-active);
45
- }
46
-
47
- padding-right: 0.9em;
48
- position: relative;
49
- }
50
-
51
- &__underlined {
52
- text-decoration: underline !important;
53
- }
54
-
55
- &__visited { // TODO can we get rid of this? It's only in 3 places in Core and seems to me it doesn't even serve a purpose.
56
- --_li-fc: var(--theme-link-color-visited, var(--theme-secondary-500));
57
- --_li-fc-hover: var(--theme-link-color-hover, var(--theme-secondary-400));
58
- --_li-fc-visited: var(--theme-link-color-visited, var(--theme-secondary-500));
59
- }
60
-
61
- // VARIANTS
62
- &__danger {
63
- --_li-fc: var(--red-400);
64
- --_li-fc-hover: var(--red-500);
65
- --_li-fc-visited: var(--red-600);
66
- }
67
-
68
- &__grayscale {
69
- --_li-fc: var(--black-500);
70
- --_li-fc-hover: var(--black-600);
71
- --_li-fc-visited: var(--black-400);
72
- }
73
-
74
- &__inherit {
75
- --_li-fc: inherit !important;
76
- --_li-fc-hover: inherit !important;
77
- --_li-fc-visited: inherit !important;
78
- }
79
-
80
- &__muted {
81
- --_li-fc: var(--black-400);
82
- --_li-fc-hover: var(--black-500);
83
- --_li-fc-visited: var(--black-600);
84
- }
85
- }
86
-
87
- // MODIFIERS
88
- fieldset[disabled] & {
89
- box-shadow: none !important;
90
- opacity: var(--_o-disabled-static);
91
- pointer-events: none;
92
- }
93
-
94
- // INTERACTION
95
- &:active,
96
- &:hover {
97
- color: var(--_li-fc-hover);
98
- }
99
-
100
- color: var(--_li-fc);
101
- cursor: pointer;
102
- text-decoration: none;
103
- user-select: auto;
104
- }
105
-
106
- .s-link {
107
- button& {
108
- &:focus {
109
- outline: revert;
110
- }
111
-
112
- appearance: none;
113
- background: transparent;
114
- border: 0;
115
- font-family: inherit;
116
- line-height: inherit;
117
- padding: 0;
118
- user-select: auto;
119
- }
120
- }
1
+ // TODO we *really* shouldn't be apply styles directly onto `<a>` like this, but
2
+ // it's tech debt that'll take some doing in consumer's code to pay down.
3
+ a {
4
+ &:visited {
5
+ // We're target these specific selectors to avoid affecting the visited state of stacks components
6
+ // not specified here. See for https://github.com/StackExchange/Stacks/pull/1740#discussion_r1698389312
7
+ &:not([class*="s-"]),
8
+ &.s-link,
9
+ &.s-sidebarwidget--action,
10
+ &.s-user-card--link {
11
+ &:hover {
12
+ color: var(--_li-fc-hover-visited);
13
+ }
14
+
15
+ color: var(--_li-fc-visited);
16
+ }
17
+ }
18
+ }
19
+
20
+ a,
21
+ .s-link {
22
+ --_li-fc: var(--theme-link-color, var(--theme-secondary-400));
23
+ --_li-fc-hover: var(--theme-link-color-hover, var(--theme-secondary-500));
24
+ --_li-fc-visited: var(--theme-link-color-visited, var(--purple-500));
25
+ --_li-fc-hover-visited: var(--theme-link-color-visited, var(--purple-600));
26
+
27
+ // CONTEXTUAL STYLES
28
+ .highcontrast-mode({
29
+ text-decoration: underline;
30
+ });
31
+
32
+ // STATES
33
+ &.s-link {
34
+ // MODIFIERS
35
+ &__dropdown {
36
+ &:after {
37
+ border-width: var(--su-static4); // this needs to come before any below border modifications
38
+ border-bottom-width: 0;
39
+ border-color: currentColor transparent;
40
+ border-style: solid;
41
+ border-top-width: var(--su-static4);
42
+ content: "";
43
+ pointer-events: none;
44
+ position: absolute;
45
+ right: 0;
46
+ top: calc(50% - var(--su-static2));
47
+ z-index: var(--zi-active);
48
+ }
49
+
50
+ padding-right: 0.9em;
51
+ position: relative;
52
+ }
53
+
54
+ &__underlined {
55
+ text-decoration: underline !important;
56
+ }
57
+
58
+ &__visited { // TODO can we get rid of this? It's only in 3 places in Core and seems to me it doesn't even serve a purpose.
59
+ --_li-fc: var(--theme-link-color-visited, var(--purple-500));
60
+ --_li-fc-hover: var(--theme-link-color-hover, var(--purple-600));
61
+ --_li-fc-visited: var(--theme-link-color-visited, var(--purple-500));
62
+ --_li-fc-hover-visited: var(--theme-link-color-visited, var(--purple-600));
63
+ }
64
+
65
+ // VARIANTS
66
+ &__danger,
67
+ &__grayscale,
68
+ &__inherit,
69
+ &__muted {
70
+ --_li-fc-hover-visited: var(--_li-fc-hover);
71
+ }
72
+
73
+ &__danger {
74
+ --_li-fc: var(--red-400);
75
+ --_li-fc-hover: var(--red-500);
76
+ --_li-fc-visited: var(--red-600);
77
+ }
78
+
79
+ &__grayscale {
80
+ --_li-fc: var(--black-500);
81
+ --_li-fc-hover: var(--black-600);
82
+ --_li-fc-visited: var(--black-400);
83
+ }
84
+
85
+ &__inherit {
86
+ --_li-fc: inherit !important;
87
+ --_li-fc-hover: inherit !important;
88
+ --_li-fc-visited: inherit !important;
89
+ }
90
+
91
+ &__muted {
92
+ --_li-fc: var(--black-400);
93
+ --_li-fc-hover: var(--black-500);
94
+ --_li-fc-visited: var(--black-600);
95
+ }
96
+ }
97
+
98
+ // MODIFIERS
99
+ fieldset[disabled] & {
100
+ box-shadow: none !important;
101
+ opacity: var(--_o-disabled-static);
102
+ pointer-events: none;
103
+ }
104
+
105
+ // INTERACTION
106
+ &:active,
107
+ &:hover {
108
+ --_li-fc: var(--_li-fc-hover);
109
+ }
110
+
111
+ color: var(--_li-fc);
112
+ cursor: pointer;
113
+ text-decoration: none;
114
+ user-select: auto;
115
+ }
116
+
117
+ .s-link {
118
+ button& {
119
+ &:focus {
120
+ outline: revert;
121
+ }
122
+
123
+ appearance: none;
124
+ background: transparent;
125
+ border: 0;
126
+ font-family: inherit;
127
+ line-height: inherit;
128
+ padding: 0;
129
+ user-select: auto;
130
+ }
131
+
132
+ p & {
133
+ text-decoration: underline;
134
+ }
135
+ }
@@ -1,148 +1,148 @@
1
- .s-link-preview {
2
- --_lp-details-fc: var(--black-400);
3
- --_lp-details-mt: var(--su2);
4
- --_lp-footer-bg: var(--black-100);
5
- --_lp-footer-fd: unset;
6
- --_lp-header-bg: var(--black-100);
7
- --_lp-misc-pl: var(--su4);
8
- --_lp-misc-pt: unset;
9
-
10
- // CONTEXTUAL STYLES
11
- #stacks-internals #screen-sm({
12
- --_lp-details-mt: var(--su4);
13
- --_lp-footer-fd: column;
14
- --_lp-misc-pl: 0;
15
- --_lp-misc-pt: var(--su2);
16
- });
17
-
18
- .highcontrast-mode({
19
- --_lp-details-fc: var(--black-600);
20
- --_lp-footer-bg: var(--black-050);
21
- --_lp-header-bg: var(--black-050);
22
- });
23
-
24
- // CHILD ELEMENTS
25
- & &--details,
26
- & &--footer {
27
- a {
28
- &:visited {
29
- color: var(--black-500);
30
- }
31
- &:hover,
32
- &:active,
33
- &:focus {
34
- color: var(--black-500);
35
- }
36
-
37
- color: var(--black-600);
38
- cursor: pointer;
39
- text-decoration: none;
40
- }
41
- }
42
-
43
- & &--body {
44
- *:last-child {
45
- margin-bottom: 0;
46
- }
47
-
48
- font-size: var(--fs-body2);
49
- padding: var(--su12);
50
- }
51
-
52
- & &--code {
53
- pre {
54
- border-radius: 0 !important;
55
- margin: 0;
56
- max-height: 400px;
57
- }
58
- }
59
-
60
- & &--details {
61
- color: var(--_lp-details-fc);
62
- margin-top: var(--_lp-details-mt);
63
-
64
- font-size: var(--fs-caption);
65
- }
66
-
67
- & &--footer {
68
- background: var(--_lp-footer-bg);
69
- flex-direction: var(--_lp-footer-fd);
70
-
71
- border-bottom-left-radius: var(--br-sm);
72
- border-bottom-right-radius: var(--br-sm);
73
- border-top: var(--su-static1) solid var(--bc-medium);
74
- display: flex;
75
- font-size: var(--fs-caption);
76
- justify-content: space-between;
77
- padding: var(--su12);
78
- }
79
-
80
- & &--header {
81
- background: var(--_lp-header-bg);
82
- border-bottom: var(--su-static1) solid var(--bc-medium);
83
- border-top-left-radius: var(--br-sm);
84
- border-top-right-radius: var(--br-sm);
85
- display: flex;
86
- padding: var(--su12) var(--su8);
87
- }
88
-
89
- & &--icon {
90
- color: var(--black-600); // Set the default color of the integration's icon. Most likely this will be overridden by the integration icon's native colors.
91
- margin-right: var(--su8);
92
- }
93
-
94
- & &--misc {
95
- padding-left: var(--_lp-misc-pl);
96
- padding-top: var(--_lp-misc-pt);
97
-
98
- color: var(--black-400);
99
- }
100
-
101
- & &--title {
102
- color: var(--black-600);
103
- font-size: var(--fs-body3);
104
- font-weight: bold;
105
- }
106
-
107
- & a&--title {
108
- &:active,
109
- &:hover{
110
- &,
111
- &.s-link__visited {
112
- color: var(--theme-link-color-hover, var(--theme-secondary-500));
113
- }
114
- }
115
-
116
- &:active,
117
- &:hover,
118
- &.s-link__visited:active,
119
- &.s-link__visited:hover,
120
- &.s-link__visited:visited {
121
- .highcontrast-mode({
122
- text-decoration: underline;
123
- });
124
-
125
- text-decoration: none;
126
- }
127
-
128
- &.s-link__visited:visited {
129
- color: var(--theme-link-color, var(--theme-secondary-600));
130
- }
131
-
132
- color: var(--theme-link-color, var(--theme-secondary-400));
133
- cursor: pointer;
134
- text-decoration: none;
135
- }
136
-
137
- & &--url {
138
- max-width: 100%;
139
- overflow: hidden;
140
- text-overflow: ellipsis !important;
141
- white-space: nowrap;
142
- }
143
-
144
- border: var(--su-static1) solid var(--bc-medium);
145
- border-radius: var(--br-sm);
146
- box-shadow: var(--bs-sm);
147
- text-align: left;
148
- }
1
+ .s-link-preview {
2
+ --_lp-details-fc: var(--black-400);
3
+ --_lp-details-mt: var(--su2);
4
+ --_lp-footer-bg: var(--black-100);
5
+ --_lp-footer-fd: unset;
6
+ --_lp-header-bg: var(--black-100);
7
+ --_lp-misc-pl: var(--su4);
8
+ --_lp-misc-pt: unset;
9
+
10
+ // CONTEXTUAL STYLES
11
+ #stacks-internals #screen-sm({
12
+ --_lp-details-mt: var(--su4);
13
+ --_lp-footer-fd: column;
14
+ --_lp-misc-pl: 0;
15
+ --_lp-misc-pt: var(--su2);
16
+ });
17
+
18
+ .highcontrast-mode({
19
+ --_lp-details-fc: var(--black-600);
20
+ --_lp-footer-bg: var(--black-050);
21
+ --_lp-header-bg: var(--black-050);
22
+ });
23
+
24
+ // CHILD ELEMENTS
25
+ & &--details,
26
+ & &--footer {
27
+ a {
28
+ &:hover,
29
+ &:active,
30
+ &:focus,
31
+ &:visited {
32
+ color: var(--black-500);
33
+ }
34
+
35
+ color: var(--black-600);
36
+ cursor: pointer;
37
+ text-decoration: none;
38
+ }
39
+ }
40
+
41
+ & &--body {
42
+ *:last-child {
43
+ margin-bottom: 0;
44
+ }
45
+
46
+ font-size: var(--fs-body2);
47
+ padding: var(--su12);
48
+ }
49
+
50
+ & &--code {
51
+ pre {
52
+ border-radius: 0 !important;
53
+ margin: 0;
54
+ max-height: 400px;
55
+ }
56
+ }
57
+
58
+ & &--details {
59
+ color: var(--_lp-details-fc);
60
+ margin-top: var(--_lp-details-mt);
61
+
62
+ font-size: var(--fs-caption);
63
+ }
64
+
65
+ & &--footer {
66
+ background: var(--_lp-footer-bg);
67
+ flex-direction: var(--_lp-footer-fd);
68
+
69
+ border-bottom-left-radius: var(--br-sm);
70
+ border-bottom-right-radius: var(--br-sm);
71
+ border-top: var(--su-static1) solid var(--bc-medium);
72
+ display: flex;
73
+ font-size: var(--fs-caption);
74
+ justify-content: space-between;
75
+ padding: var(--su12);
76
+ }
77
+
78
+ & &--header {
79
+ background: var(--_lp-header-bg);
80
+ border-bottom: var(--su-static1) solid var(--bc-medium);
81
+ border-top-left-radius: var(--br-sm);
82
+ border-top-right-radius: var(--br-sm);
83
+ display: flex;
84
+ padding: var(--su12) var(--su8);
85
+ }
86
+
87
+ & &--icon {
88
+ color: var(--black-600); // Set the default color of the integration's icon. Most likely this will be overridden by the integration icon's native colors.
89
+ margin-right: var(--su8);
90
+ }
91
+
92
+ & &--misc {
93
+ padding-left: var(--_lp-misc-pl);
94
+ padding-top: var(--_lp-misc-pt);
95
+
96
+ color: var(--black-400);
97
+ }
98
+
99
+ & &--title {
100
+ color: var(--black-600);
101
+ font-size: var(--fs-body3);
102
+ font-weight: bold;
103
+ }
104
+
105
+ & a&--title {
106
+ &:active,
107
+ &:hover {
108
+ color: var(--theme-link-color-hover, var(--theme-secondary-500));
109
+ }
110
+
111
+ &:active,
112
+ &:hover,
113
+ &.s-link__visited:active,
114
+ &.s-link__visited:hover,
115
+ &.s-link__visited:visited {
116
+ .highcontrast-mode({
117
+ text-decoration: underline;
118
+ });
119
+
120
+ text-decoration: none;
121
+ }
122
+
123
+ &:visited,
124
+ &.s-link__visited {
125
+ &:hover {
126
+ color: var(--theme-link-color, var(--purple-600));
127
+ }
128
+
129
+ color: var(--theme-link-color, var(--purple-500));
130
+ }
131
+
132
+ color: var(--theme-link-color, var(--theme-secondary-400));
133
+ cursor: pointer;
134
+ text-decoration: none;
135
+ }
136
+
137
+ & &--url {
138
+ max-width: 100%;
139
+ overflow: hidden;
140
+ text-overflow: ellipsis !important;
141
+ white-space: nowrap;
142
+ }
143
+
144
+ border: var(--su-static1) solid var(--bc-medium);
145
+ border-radius: var(--br-sm);
146
+ box-shadow: var(--bs-sm);
147
+ text-align: left;
148
+ }
@@ -1,41 +1,41 @@
1
- .s-menu {
2
- --_me-divider-bg: var(--bc-light);
3
- --_me-label-btc: var(--bc-light);
4
- --_me-label-cursor: pointer;
5
-
6
- // CONTEXTUAL STYLES
7
- .dark-mode({
8
- --_me-divider-bg: var(--bc-light);
9
- --_me-label-btc: var(--bc-light);
10
- });
11
-
12
- // CHILD ELEMENTS
13
- & &--divider {
14
- background-color: var(--_me-divider-bg);
15
- height: var(--su-static1);
16
- margin: var(--su8) 0;
17
- }
18
-
19
- & &--label {
20
- &.is-disabled {
21
- --_me-label-cursor: not-allowed;
22
- }
23
-
24
- border-top: var(--su-static1) solid var(--_me-label-btc);
25
- cursor: var(--_me-label-cursor);
26
- padding: var(--su12);
27
- }
28
-
29
- & &--title {
30
- color: var(--black-500);
31
- font-size: var(--fs-fine);
32
- padding: var(--su8) var(--su12);
33
- text-transform: uppercase;
34
- }
35
-
36
- & li + &--title {
37
- margin-top: var(--su12);
38
- }
39
-
40
- .list-reset;
41
- }
1
+ .s-menu {
2
+ --_me-divider-bg: var(--bc-light);
3
+ --_me-label-btc: var(--bc-light);
4
+ --_me-label-cursor: pointer;
5
+
6
+ // CONTEXTUAL STYLES
7
+ .dark-mode({
8
+ --_me-divider-bg: var(--bc-light);
9
+ --_me-label-btc: var(--bc-light);
10
+ });
11
+
12
+ // CHILD ELEMENTS
13
+ & &--divider {
14
+ background-color: var(--_me-divider-bg);
15
+ height: var(--su-static1);
16
+ margin: var(--su8) 0;
17
+ }
18
+
19
+ & &--label {
20
+ &.is-disabled {
21
+ --_me-label-cursor: not-allowed;
22
+ }
23
+
24
+ border-top: var(--su-static1) solid var(--_me-label-btc);
25
+ cursor: var(--_me-label-cursor);
26
+ padding: var(--su12);
27
+ }
28
+
29
+ & &--title {
30
+ color: var(--black-500);
31
+ font-size: var(--fs-fine);
32
+ padding: var(--su8) var(--su12);
33
+ text-transform: uppercase;
34
+ }
35
+
36
+ & li + &--title {
37
+ margin-top: var(--su12);
38
+ }
39
+
40
+ .list-reset;
41
+ }