@stackoverflow/stacks 2.7.3 → 2.7.4
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.
- package/LICENSE.MD +9 -9
- package/README.md +158 -180
- package/dist/css/stacks.css +6 -0
- package/dist/js/stacks.min.js +1 -1
- package/lib/atomic/border.less +139 -139
- package/lib/atomic/color.less +36 -36
- package/lib/atomic/flex.less +426 -426
- package/lib/atomic/gap.less +44 -44
- package/lib/atomic/grid.less +139 -139
- package/lib/atomic/misc.less +374 -374
- package/lib/atomic/spacing.less +98 -98
- package/lib/atomic/typography.less +266 -264
- package/lib/atomic/width-height.less +194 -194
- package/lib/base/body.less +44 -44
- package/lib/base/configuration-static.less +61 -61
- package/lib/base/fieldset.less +5 -5
- package/lib/base/icon.less +11 -11
- package/lib/base/internal.less +220 -220
- package/lib/base/reset-meyer.less +64 -64
- package/lib/base/reset-normalize.less +449 -449
- package/lib/base/reset.less +20 -20
- package/lib/components/activity-indicator/activity-indicator.less +53 -53
- package/lib/components/avatar/avatar.less +108 -108
- package/lib/components/award-bling/award-bling.less +31 -31
- package/lib/components/banner/banner.less +44 -44
- package/lib/components/banner/banner.ts +149 -149
- package/lib/components/block-link/block-link.less +82 -82
- package/lib/components/breadcrumbs/breadcrumbs.less +41 -41
- package/lib/components/button-group/button-group.less +82 -82
- package/lib/components/card/card.less +37 -37
- package/lib/components/check-control/check-control.less +17 -17
- package/lib/components/check-group/check-group.less +19 -19
- package/lib/components/checkbox_radio/checkbox_radio.less +159 -159
- package/lib/components/code-block/code-block.fixtures.ts +88 -88
- package/lib/components/code-block/code-block.less +116 -116
- package/lib/components/description/description.less +9 -9
- package/lib/components/empty-state/empty-state.less +16 -16
- package/lib/components/expandable/expandable.less +118 -118
- package/lib/components/input-fill/input-fill.less +35 -35
- package/lib/components/input-icon/input-icon.less +45 -45
- package/lib/components/input-message/input-message.less +49 -49
- package/lib/components/label/label.less +110 -110
- package/lib/components/link-preview/link-preview.less +148 -148
- package/lib/components/menu/menu.less +41 -41
- package/lib/components/modal/modal.less +118 -118
- package/lib/components/modal/modal.ts +383 -383
- package/lib/components/navigation/navigation.less +136 -136
- package/lib/components/navigation/navigation.ts +128 -128
- package/lib/components/page-title/page-title.less +51 -51
- package/lib/components/popover/popover.less +159 -159
- package/lib/components/popover/popover.ts +651 -651
- package/lib/components/post-summary/post-summary.less +457 -457
- package/lib/components/progress-bar/progress-bar.less +291 -291
- package/lib/components/prose/prose.less +452 -452
- package/lib/components/select/select.less +138 -138
- package/lib/components/spinner/spinner.less +103 -103
- package/lib/components/table/table.ts +296 -296
- package/lib/components/table-container/table-container.less +4 -4
- package/lib/components/tag/tag.less +186 -186
- package/lib/components/toast/toast.less +35 -35
- package/lib/components/toast/toast.ts +357 -357
- package/lib/components/toggle-switch/toggle-switch.less +104 -104
- package/lib/components/topbar/topbar.less +553 -553
- package/lib/components/uploader/uploader.less +205 -205
- package/lib/components/user-card/user-card.less +129 -129
- package/lib/controllers.ts +33 -33
- package/lib/exports/color-mixins.less +283 -283
- package/lib/exports/constants-helpers.less +108 -108
- package/lib/exports/constants-type.less +155 -155
- package/lib/exports/exports.less +15 -15
- package/lib/exports/mixins.less +334 -333
- package/lib/exports/spacing-mixins.less +67 -67
- package/lib/index.ts +32 -32
- package/lib/input-utils.less +41 -41
- package/lib/stacks-dynamic.less +24 -24
- package/lib/stacks-static.less +93 -93
- package/lib/stacks.less +13 -13
- package/lib/test/assertions.ts +36 -36
- package/lib/test/less-test-utils.ts +28 -28
- package/lib/test/open-wc-testing-patch.d.ts +26 -26
- package/lib/tsconfig.build.json +4 -4
- package/lib/tsconfig.json +17 -17
- package/package.json +26 -22
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
import type { LanguageFn } from "highlight.js";
|
|
2
|
-
import hljs from "highlight.js/lib/core";
|
|
3
|
-
import hljsJavascript from "highlight.js/lib/languages/javascript";
|
|
4
|
-
import hljsCss from "highlight.js/lib/languages/css";
|
|
5
|
-
import hljsHtml from "highlight.js/lib/languages/xml";
|
|
6
|
-
|
|
7
|
-
const hljsLanguages: Record<string, LanguageFn> = {
|
|
8
|
-
javascript: hljsJavascript,
|
|
9
|
-
css: hljsCss,
|
|
10
|
-
html: hljsHtml,
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
const javascriptFixture = `
|
|
14
|
-
import React, { Component } from 'react'
|
|
15
|
-
import { IP } from '../constants/IP'
|
|
16
|
-
import { withAuth0 } from '@auth0/auth0-react';
|
|
17
|
-
|
|
18
|
-
class AddATournament extends Component {
|
|
19
|
-
componentDidMount() {
|
|
20
|
-
this.myNewListOfAllTournamentsWithAuth()
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default withAuth0(AddATournament);
|
|
25
|
-
`;
|
|
26
|
-
|
|
27
|
-
const cssFixture = `
|
|
28
|
-
.s-input,
|
|
29
|
-
.s-textarea {
|
|
30
|
-
-webkit-appearance: none;
|
|
31
|
-
width: 100%;
|
|
32
|
-
margin: 0;
|
|
33
|
-
padding: 0.6em 0.7em;
|
|
34
|
-
border: 1px solid var(--bc-darker);
|
|
35
|
-
border-radius: 3px;
|
|
36
|
-
background-color: var(--white);
|
|
37
|
-
color: var(--fc-dark);
|
|
38
|
-
font-size: 13px;
|
|
39
|
-
font-family: inherit;
|
|
40
|
-
line-height: 1.15384615;
|
|
41
|
-
scrollbar-color: var(--scrollbar) transparent;
|
|
42
|
-
}
|
|
43
|
-
@supports (-webkit-overflow-scrolling: touch) {
|
|
44
|
-
.s-input,
|
|
45
|
-
.s-textarea {
|
|
46
|
-
font-size: 16px;
|
|
47
|
-
padding: 0.36em 0.55em;
|
|
48
|
-
}
|
|
49
|
-
.s-input::-webkit-input-placeholder,
|
|
50
|
-
.s-textarea::-webkit-input-placeholder {
|
|
51
|
-
line-height: normal !important;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
`;
|
|
55
|
-
|
|
56
|
-
const htmlFixture = `
|
|
57
|
-
<form class="d-flex gy4 fd-column">
|
|
58
|
-
<label class="flex--item s-label" for="question-title">Question title</label>
|
|
59
|
-
<div class="d-flex ps-relative">
|
|
60
|
-
<input class="flex--item s-input" type="text" id="question-title" placeholder="e.g. Why doesn’t Stack Overflow use a custom web font?"/>
|
|
61
|
-
</div>
|
|
62
|
-
</form>
|
|
63
|
-
`;
|
|
64
|
-
|
|
65
|
-
const fixtures: Record<string, string> = {
|
|
66
|
-
javascript: javascriptFixture,
|
|
67
|
-
css: cssFixture,
|
|
68
|
-
html: htmlFixture,
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
const highlightFixture = (fixture: string, language: string) => {
|
|
72
|
-
const hljsLanguage = hljsLanguages[language];
|
|
73
|
-
hljs.registerLanguage(language, hljsLanguage);
|
|
74
|
-
|
|
75
|
-
const highlightedCode = hljs.highlight(fixture, { language }).value;
|
|
76
|
-
|
|
77
|
-
return `<code>${highlightedCode}</code>`;
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
const highlightedFixtures = Object.keys(fixtures).reduce(
|
|
81
|
-
(acc, language) => {
|
|
82
|
-
acc[language] = highlightFixture(fixtures[language], language);
|
|
83
|
-
return acc;
|
|
84
|
-
},
|
|
85
|
-
{} as Record<string, string>
|
|
86
|
-
);
|
|
87
|
-
|
|
88
|
-
export default highlightedFixtures;
|
|
1
|
+
import type { LanguageFn } from "highlight.js";
|
|
2
|
+
import hljs from "highlight.js/lib/core";
|
|
3
|
+
import hljsJavascript from "highlight.js/lib/languages/javascript";
|
|
4
|
+
import hljsCss from "highlight.js/lib/languages/css";
|
|
5
|
+
import hljsHtml from "highlight.js/lib/languages/xml";
|
|
6
|
+
|
|
7
|
+
const hljsLanguages: Record<string, LanguageFn> = {
|
|
8
|
+
javascript: hljsJavascript,
|
|
9
|
+
css: hljsCss,
|
|
10
|
+
html: hljsHtml,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const javascriptFixture = `
|
|
14
|
+
import React, { Component } from 'react'
|
|
15
|
+
import { IP } from '../constants/IP'
|
|
16
|
+
import { withAuth0 } from '@auth0/auth0-react';
|
|
17
|
+
|
|
18
|
+
class AddATournament extends Component {
|
|
19
|
+
componentDidMount() {
|
|
20
|
+
this.myNewListOfAllTournamentsWithAuth()
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default withAuth0(AddATournament);
|
|
25
|
+
`;
|
|
26
|
+
|
|
27
|
+
const cssFixture = `
|
|
28
|
+
.s-input,
|
|
29
|
+
.s-textarea {
|
|
30
|
+
-webkit-appearance: none;
|
|
31
|
+
width: 100%;
|
|
32
|
+
margin: 0;
|
|
33
|
+
padding: 0.6em 0.7em;
|
|
34
|
+
border: 1px solid var(--bc-darker);
|
|
35
|
+
border-radius: 3px;
|
|
36
|
+
background-color: var(--white);
|
|
37
|
+
color: var(--fc-dark);
|
|
38
|
+
font-size: 13px;
|
|
39
|
+
font-family: inherit;
|
|
40
|
+
line-height: 1.15384615;
|
|
41
|
+
scrollbar-color: var(--scrollbar) transparent;
|
|
42
|
+
}
|
|
43
|
+
@supports (-webkit-overflow-scrolling: touch) {
|
|
44
|
+
.s-input,
|
|
45
|
+
.s-textarea {
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
padding: 0.36em 0.55em;
|
|
48
|
+
}
|
|
49
|
+
.s-input::-webkit-input-placeholder,
|
|
50
|
+
.s-textarea::-webkit-input-placeholder {
|
|
51
|
+
line-height: normal !important;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
`;
|
|
55
|
+
|
|
56
|
+
const htmlFixture = `
|
|
57
|
+
<form class="d-flex gy4 fd-column">
|
|
58
|
+
<label class="flex--item s-label" for="question-title">Question title</label>
|
|
59
|
+
<div class="d-flex ps-relative">
|
|
60
|
+
<input class="flex--item s-input" type="text" id="question-title" placeholder="e.g. Why doesn’t Stack Overflow use a custom web font?"/>
|
|
61
|
+
</div>
|
|
62
|
+
</form>
|
|
63
|
+
`;
|
|
64
|
+
|
|
65
|
+
const fixtures: Record<string, string> = {
|
|
66
|
+
javascript: javascriptFixture,
|
|
67
|
+
css: cssFixture,
|
|
68
|
+
html: htmlFixture,
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
const highlightFixture = (fixture: string, language: string) => {
|
|
72
|
+
const hljsLanguage = hljsLanguages[language];
|
|
73
|
+
hljs.registerLanguage(language, hljsLanguage);
|
|
74
|
+
|
|
75
|
+
const highlightedCode = hljs.highlight(fixture, { language }).value;
|
|
76
|
+
|
|
77
|
+
return `<code>${highlightedCode}</code>`;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
const highlightedFixtures = Object.keys(fixtures).reduce(
|
|
81
|
+
(acc, language) => {
|
|
82
|
+
acc[language] = highlightFixture(fixtures[language], language);
|
|
83
|
+
return acc;
|
|
84
|
+
},
|
|
85
|
+
{} as Record<string, string>
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
export default highlightedFixtures;
|
|
@@ -1,116 +1,116 @@
|
|
|
1
|
-
.s-code-block {
|
|
2
|
-
--_cb-line-numbers-bg: var(--black-150);
|
|
3
|
-
|
|
4
|
-
// CONTEXTUAL STYLES
|
|
5
|
-
.dark-mode({
|
|
6
|
-
--_cb-line-numbers-bg: var(--black-100);
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
// CHILD COMPONENTS
|
|
10
|
-
code[class*="language-"] &,
|
|
11
|
-
pre& > code {
|
|
12
|
-
.hljs-built_in,
|
|
13
|
-
.hljs-literal,
|
|
14
|
-
.hljs-title {
|
|
15
|
-
color: var(--highlight-literal);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.hljs-bullet,
|
|
19
|
-
.hljs-code {
|
|
20
|
-
color: var(--highlight-punctuation);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.hljs-doctag,
|
|
24
|
-
.hljs-keyword,
|
|
25
|
-
.hljs-meta-keyword,
|
|
26
|
-
.hljs-meta,
|
|
27
|
-
.hljs-section,
|
|
28
|
-
.hljs-selector-class,
|
|
29
|
-
.hljs-selector-pseudo,
|
|
30
|
-
.hljs-selector-tag {
|
|
31
|
-
color: var(--highlight-keyword);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.hljs-name,
|
|
35
|
-
.hljs-number,
|
|
36
|
-
.hljs-quote,
|
|
37
|
-
.hljs-selector-id,
|
|
38
|
-
.hljs-template-tag,
|
|
39
|
-
.hljs-type {
|
|
40
|
-
color: var(--highlight-namespace);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.hljs-link,
|
|
44
|
-
.hljs-meta-string,
|
|
45
|
-
.hljs-regexp,
|
|
46
|
-
.hljs-selector-attr,
|
|
47
|
-
.hljs-string,
|
|
48
|
-
.hljs-symbol,
|
|
49
|
-
.hljs-template-variable,
|
|
50
|
-
.hljs-variable {
|
|
51
|
-
color: var(--highlight-variable);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.hljs-addition {
|
|
55
|
-
color: var(--highlight-addition);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.hljs-attr {
|
|
59
|
-
color: var(--highlight-attribute);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.hljs-attribute {
|
|
63
|
-
color: var(--highlight-symbol);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.hljs-comment {
|
|
67
|
-
color: var(--highlight-comment);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.hljs-deletion {
|
|
71
|
-
color: var(--highlight-deletion);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.hljs-emphasis {
|
|
75
|
-
font-style: italic;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.hljs-strong {
|
|
79
|
-
font-weight: bold;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.hljs-subst {
|
|
83
|
-
color: var(--highlight-color);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
font-family: inherit;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
pre& {
|
|
90
|
-
.s-code-block--line-numbers {
|
|
91
|
-
background-color: var(--_cb-line-numbers-bg);
|
|
92
|
-
|
|
93
|
-
border-color: var(--bc-medium);
|
|
94
|
-
border-style: solid;
|
|
95
|
-
border-width: 0 var(--su-static1) 0 0;
|
|
96
|
-
color: var(--black-350);
|
|
97
|
-
float: left;
|
|
98
|
-
margin: calc(var(--su12) * -1);
|
|
99
|
-
margin-right: var(--su12);
|
|
100
|
-
padding: var(--su12);
|
|
101
|
-
padding-right: var(--su6);
|
|
102
|
-
text-align: right;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@scrollbar-styles();
|
|
106
|
-
background-color: var(--highlight-bg);
|
|
107
|
-
border-radius: var(--br-md);
|
|
108
|
-
color: var(--highlight-color);
|
|
109
|
-
font-family: var(--ff-mono);
|
|
110
|
-
font-size: var(--fs-body1);
|
|
111
|
-
line-height: var(--lh-md);
|
|
112
|
-
margin: 0;
|
|
113
|
-
overflow: auto;
|
|
114
|
-
padding: var(--su12);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
1
|
+
.s-code-block {
|
|
2
|
+
--_cb-line-numbers-bg: var(--black-150);
|
|
3
|
+
|
|
4
|
+
// CONTEXTUAL STYLES
|
|
5
|
+
.dark-mode({
|
|
6
|
+
--_cb-line-numbers-bg: var(--black-100);
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
// CHILD COMPONENTS
|
|
10
|
+
code[class*="language-"] &,
|
|
11
|
+
pre& > code {
|
|
12
|
+
.hljs-built_in,
|
|
13
|
+
.hljs-literal,
|
|
14
|
+
.hljs-title {
|
|
15
|
+
color: var(--highlight-literal);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.hljs-bullet,
|
|
19
|
+
.hljs-code {
|
|
20
|
+
color: var(--highlight-punctuation);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.hljs-doctag,
|
|
24
|
+
.hljs-keyword,
|
|
25
|
+
.hljs-meta-keyword,
|
|
26
|
+
.hljs-meta,
|
|
27
|
+
.hljs-section,
|
|
28
|
+
.hljs-selector-class,
|
|
29
|
+
.hljs-selector-pseudo,
|
|
30
|
+
.hljs-selector-tag {
|
|
31
|
+
color: var(--highlight-keyword);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.hljs-name,
|
|
35
|
+
.hljs-number,
|
|
36
|
+
.hljs-quote,
|
|
37
|
+
.hljs-selector-id,
|
|
38
|
+
.hljs-template-tag,
|
|
39
|
+
.hljs-type {
|
|
40
|
+
color: var(--highlight-namespace);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.hljs-link,
|
|
44
|
+
.hljs-meta-string,
|
|
45
|
+
.hljs-regexp,
|
|
46
|
+
.hljs-selector-attr,
|
|
47
|
+
.hljs-string,
|
|
48
|
+
.hljs-symbol,
|
|
49
|
+
.hljs-template-variable,
|
|
50
|
+
.hljs-variable {
|
|
51
|
+
color: var(--highlight-variable);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.hljs-addition {
|
|
55
|
+
color: var(--highlight-addition);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.hljs-attr {
|
|
59
|
+
color: var(--highlight-attribute);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.hljs-attribute {
|
|
63
|
+
color: var(--highlight-symbol);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.hljs-comment {
|
|
67
|
+
color: var(--highlight-comment);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.hljs-deletion {
|
|
71
|
+
color: var(--highlight-deletion);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.hljs-emphasis {
|
|
75
|
+
font-style: italic;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.hljs-strong {
|
|
79
|
+
font-weight: bold;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.hljs-subst {
|
|
83
|
+
color: var(--highlight-color);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
font-family: inherit;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
pre& {
|
|
90
|
+
.s-code-block--line-numbers {
|
|
91
|
+
background-color: var(--_cb-line-numbers-bg);
|
|
92
|
+
|
|
93
|
+
border-color: var(--bc-medium);
|
|
94
|
+
border-style: solid;
|
|
95
|
+
border-width: 0 var(--su-static1) 0 0;
|
|
96
|
+
color: var(--black-350);
|
|
97
|
+
float: left;
|
|
98
|
+
margin: calc(var(--su12) * -1);
|
|
99
|
+
margin-right: var(--su12);
|
|
100
|
+
padding: var(--su12);
|
|
101
|
+
padding-right: var(--su6);
|
|
102
|
+
text-align: right;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@scrollbar-styles();
|
|
106
|
+
background-color: var(--highlight-bg);
|
|
107
|
+
border-radius: var(--br-md);
|
|
108
|
+
color: var(--highlight-color);
|
|
109
|
+
font-family: var(--ff-mono);
|
|
110
|
+
font-size: var(--fs-body1);
|
|
111
|
+
line-height: var(--lh-md);
|
|
112
|
+
margin: 0;
|
|
113
|
+
overflow: auto;
|
|
114
|
+
padding: var(--su12);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.s-description {
|
|
2
|
-
.is-disabled & {
|
|
3
|
-
opacity: var(--_o-disabled-static);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
color: var(--fc-light);
|
|
7
|
-
font-size: var(--fs-caption);
|
|
8
|
-
padding: 0 var(--su2); // Helps the label visually line up with inputs
|
|
9
|
-
}
|
|
1
|
+
.s-description {
|
|
2
|
+
.is-disabled & {
|
|
3
|
+
opacity: var(--_o-disabled-static);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
color: var(--fc-light);
|
|
7
|
+
font-size: var(--fs-caption);
|
|
8
|
+
padding: 0 var(--su2); // Helps the label visually line up with inputs
|
|
9
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.s-empty-state {
|
|
2
|
-
// CHILD ELEMENTS
|
|
3
|
-
p {
|
|
4
|
-
strong {
|
|
5
|
-
color: var(--fc-dark);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
font-size: var(--fs-body1);
|
|
9
|
-
margin-bottom: var(--su12);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
color: var(--fc-light);
|
|
13
|
-
text-align: center;
|
|
14
|
-
margin-left: auto;
|
|
15
|
-
margin-right: auto;
|
|
16
|
-
}
|
|
1
|
+
.s-empty-state {
|
|
2
|
+
// CHILD ELEMENTS
|
|
3
|
+
p {
|
|
4
|
+
strong {
|
|
5
|
+
color: var(--fc-dark);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
font-size: var(--fs-body1);
|
|
9
|
+
margin-bottom: var(--su12);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
color: var(--fc-light);
|
|
13
|
+
text-align: center;
|
|
14
|
+
margin-left: auto;
|
|
15
|
+
margin-right: auto;
|
|
16
|
+
}
|