platform-core-ng 21.1.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.
- package/README.md +73 -0
- package/fesm2022/platform-core-ng.mjs +7139 -0
- package/fesm2022/platform-core-ng.mjs.map +1 -0
- package/package.json +20 -0
- package/styles/base/_breakpoints.scss +1 -0
- package/styles/base/_interaction-mixins.scss +37 -0
- package/styles/base/_tokens.scss +255 -0
- package/styles/base/reset.scss +66 -0
- package/styles/base/scrollbar.scss +22 -0
- package/styles/base/theme.scss +424 -0
- package/styles/base/typography.scss +50 -0
- package/styles/components/index.scss +7 -0
- package/styles/components/mail-client.scss +2165 -0
- package/styles/components/master-detail.scss +137 -0
- package/styles/components/mobile-list-directives.scss +355 -0
- package/styles/control/button.scss +565 -0
- package/styles/control/switch.scss +85 -0
- package/styles/data/table/base.scss +31 -0
- package/styles/data/table/pattern-admin.scss +136 -0
- package/styles/data/table/pattern-screen.scss +36 -0
- package/styles/data/table.scss +3 -0
- package/styles/form/checkbox.scss +97 -0
- package/styles/form/input.scss +201 -0
- package/styles/form/number.scss +17 -0
- package/styles/form/radio.scss +84 -0
- package/styles/form/range.scss +118 -0
- package/styles/form/select.scss +50 -0
- package/styles/form/textarea.scss +65 -0
- package/styles/foundation.scss +16 -0
- package/styles/index.scss +1 -0
- package/styles/profiles/b/index.scss +4 -0
- package/styles/profiles/b/layout.scss +88 -0
- package/styles/profiles/b/theme.scss +44 -0
- package/styles/profiles/screen/index.scss +3 -0
- package/styles/profiles/screen/layout.scss +125 -0
- package/styles/profiles/screen/theme.scss +131 -0
- package/types/platform-core-ng.d.ts +3217 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
select {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
height: var(--platform-input-height, var(--input-height, 32px));
|
|
4
|
+
padding: 0 var(--platform-input-padding-x, var(--input-padding-x, 12px));
|
|
5
|
+
border: 1px solid var(--platform-control-border, var(--input-border, #e5e7eb));
|
|
6
|
+
border-radius: var(--platform-input-radius, var(--input-radius, 8px));
|
|
7
|
+
background: var(--platform-control-bg, var(--input-bg, #ffffff));
|
|
8
|
+
color: var(--platform-control-color, var(--input-text, #111827));
|
|
9
|
+
font: inherit;
|
|
10
|
+
font-size: var(--platform-input-font-size, var(--input-font-size, 13px));
|
|
11
|
+
font-weight: var(--input-font-weight, 400);
|
|
12
|
+
line-height: var(--platform-input-line-height, var(--platform-control-line-height, 20px));
|
|
13
|
+
outline: none;
|
|
14
|
+
box-shadow: none;
|
|
15
|
+
transition:
|
|
16
|
+
border-color 160ms ease,
|
|
17
|
+
box-shadow 160ms ease,
|
|
18
|
+
background-color 160ms ease,
|
|
19
|
+
color 160ms ease;
|
|
20
|
+
|
|
21
|
+
&:hover:not(:disabled) {
|
|
22
|
+
border-color: var(--platform-control-border-hover, var(--input-hover-border, #d1d5db));
|
|
23
|
+
background: var(--platform-control-bg-hover, var(--input-bg, #ffffff));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:focus,
|
|
27
|
+
&:focus-visible {
|
|
28
|
+
border-color: var(--platform-control-focus, var(--input-focus-border, #0089ff));
|
|
29
|
+
box-shadow: 0 0 0 2px var(--platform-control-focus-ring, var(--input-focus-ring, rgba(0, 137, 255, 0.08)));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:disabled {
|
|
33
|
+
border-color: var(--platform-control-border, var(--input-border, #e5e7eb));
|
|
34
|
+
background: var(--platform-control-disabled-bg, var(--input-disabled-bg, #f9fafb));
|
|
35
|
+
color: var(--platform-control-disabled-color, var(--input-disabled-text, #d1d5db));
|
|
36
|
+
cursor: not-allowed;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&[aria-invalid='true'],
|
|
40
|
+
&.is-error,
|
|
41
|
+
.is-error & {
|
|
42
|
+
border-color: var(--platform-control-error, var(--input-error, #f04438));
|
|
43
|
+
|
|
44
|
+
&:focus,
|
|
45
|
+
&:focus-visible {
|
|
46
|
+
border-color: var(--platform-control-error, var(--input-error, #f04438));
|
|
47
|
+
box-shadow: 0 0 0 2px var(--platform-control-error-ring, var(--input-error-ring, rgba(240, 68, 56, 0.08)));
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
@use '../base/tokens' as tk;
|
|
2
|
+
|
|
3
|
+
textarea {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
width: 100%;
|
|
6
|
+
min-width: 0;
|
|
7
|
+
min-height: var(--platform-textarea-min-height, 72px);
|
|
8
|
+
padding: var(--platform-textarea-padding-y, tk.$platform-textarea-padding-y) var(--platform-input-padding-x, var(--input-padding-x, tk.$input-padding-x));
|
|
9
|
+
border: 1px solid var(--platform-control-border, var(--input-border, tk.$input-border));
|
|
10
|
+
border-radius: var(--platform-input-radius, var(--input-radius, tk.$input-radius));
|
|
11
|
+
background: var(--platform-control-bg, var(--input-bg, tk.$input-bg));
|
|
12
|
+
color: var(--platform-control-color, var(--input-text, tk.$input-text));
|
|
13
|
+
font: inherit;
|
|
14
|
+
font-size: var(--platform-input-font-size, var(--input-font-size, tk.$input-font-size));
|
|
15
|
+
font-weight: var(--input-font-weight, tk.$input-font-weight);
|
|
16
|
+
line-height: var(--platform-input-line-height, var(--platform-control-line-height, tk.$platform-control-line-height));
|
|
17
|
+
outline: none;
|
|
18
|
+
resize: vertical;
|
|
19
|
+
transition:
|
|
20
|
+
border-color 160ms ease,
|
|
21
|
+
box-shadow 160ms ease,
|
|
22
|
+
background-color 160ms ease,
|
|
23
|
+
color 160ms ease;
|
|
24
|
+
|
|
25
|
+
&::placeholder {
|
|
26
|
+
color: var(--platform-control-placeholder, var(--input-placeholder, tk.$input-placeholder));
|
|
27
|
+
opacity: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:hover:not(:disabled):not([readonly]) {
|
|
31
|
+
border-color: var(--platform-control-border-hover, var(--input-hover-border, tk.$input-hover-border));
|
|
32
|
+
background: var(--platform-control-bg-hover, var(--input-bg, tk.$input-bg));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:focus,
|
|
36
|
+
&:focus-visible {
|
|
37
|
+
border-color: var(--platform-control-focus, var(--input-focus-border, tk.$input-focus-border));
|
|
38
|
+
box-shadow: 0 0 0 2px var(--platform-control-focus-ring, var(--input-focus-ring, tk.$input-focus-ring));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:disabled {
|
|
42
|
+
border-color: var(--platform-control-border, var(--input-border, tk.$input-border));
|
|
43
|
+
background: var(--platform-control-disabled-bg, var(--input-disabled-bg, tk.$input-disabled-bg));
|
|
44
|
+
color: var(--platform-control-disabled-color, var(--input-disabled-text, tk.$input-disabled-text));
|
|
45
|
+
cursor: not-allowed;
|
|
46
|
+
resize: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&[readonly] {
|
|
50
|
+
background: var(--platform-control-readonly-bg, var(--input-disabled-bg, tk.$input-disabled-bg));
|
|
51
|
+
cursor: default;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&[aria-invalid='true'],
|
|
55
|
+
&.is-error,
|
|
56
|
+
.is-error & {
|
|
57
|
+
border-color: var(--platform-control-error, var(--input-error, tk.$input-error));
|
|
58
|
+
|
|
59
|
+
&:focus,
|
|
60
|
+
&:focus-visible {
|
|
61
|
+
border-color: var(--platform-control-error, var(--input-error, tk.$input-error));
|
|
62
|
+
box-shadow: 0 0 0 2px var(--platform-control-error-ring, var(--input-error-ring, tk.$input-error-ring));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use './base/reset';
|
|
2
|
+
@use './base/scrollbar';
|
|
3
|
+
@use './base/typography';
|
|
4
|
+
|
|
5
|
+
@use './control/button';
|
|
6
|
+
@use './control/switch';
|
|
7
|
+
|
|
8
|
+
@use './form/input';
|
|
9
|
+
@use './form/select';
|
|
10
|
+
@use './form/textarea';
|
|
11
|
+
@use './form/checkbox';
|
|
12
|
+
@use './form/radio';
|
|
13
|
+
@use './form/range';
|
|
14
|
+
@use './form/number';
|
|
15
|
+
|
|
16
|
+
@use './data/table';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use './profiles/b/index';
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
@use '../../base/tokens' as tk;
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--profile-kind: 'b';
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.app-header {
|
|
8
|
+
min-height: var(--profile-header-min-height);
|
|
9
|
+
padding: var(--profile-header-padding-y) var(--profile-header-padding-x);
|
|
10
|
+
border-bottom: 1px solid var(--profile-header-border-color);
|
|
11
|
+
background: var(--profile-header-background);
|
|
12
|
+
backdrop-filter: blur(var(--profile-header-backdrop-blur));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.header-search-trigger,
|
|
16
|
+
.app-header__utility-btn,
|
|
17
|
+
.app-header__action,
|
|
18
|
+
.search-dialog,
|
|
19
|
+
.search-dialog__input-wrap,
|
|
20
|
+
.app-header__utility-panel {
|
|
21
|
+
border-radius: tk.$radius-common-m;
|
|
22
|
+
border-radius: var(--profile-control-radius);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
button.middle {
|
|
26
|
+
height: var(--profile-control-min-height);
|
|
27
|
+
padding-left: var(--profile-control-padding-x);
|
|
28
|
+
padding-right: var(--profile-control-padding-x);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
button.xs {
|
|
32
|
+
height: var(--profile-control-xs-height);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
button.small {
|
|
36
|
+
height: var(--profile-control-small-height);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
button.large {
|
|
40
|
+
height: var(--profile-control-large-height);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.form-row {
|
|
44
|
+
margin-bottom: var(--profile-form-row-gap);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.form-label {
|
|
48
|
+
width: var(--profile-form-label-width);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.input-text,
|
|
52
|
+
.form-input {
|
|
53
|
+
border-radius: var(--profile-control-radius);
|
|
54
|
+
padding: var(--profile-input-padding-y) var(--profile-input-padding-x);
|
|
55
|
+
background: var(--profile-input-surface);
|
|
56
|
+
box-shadow: var(--profile-input-highlight);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[data-table-pattern='admin'],
|
|
60
|
+
.table-pattern-admin {
|
|
61
|
+
font-size: tk.$font-size-sm;
|
|
62
|
+
border-radius: var(--profile-table-radius);
|
|
63
|
+
box-shadow: var(--profile-table-shadow);
|
|
64
|
+
|
|
65
|
+
thead {
|
|
66
|
+
background: var(--profile-table-header-surface);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
thead tr th,
|
|
70
|
+
tbody tr td {
|
|
71
|
+
padding-top: var(--profile-table-cell-padding-y);
|
|
72
|
+
padding-bottom: var(--profile-table-cell-padding-y);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.search-dialog-mask {
|
|
77
|
+
background: var(--profile-dialog-mask);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
button {
|
|
81
|
+
letter-spacing: var(--profile-button-letter-spacing);
|
|
82
|
+
text-transform: var(--profile-button-transform);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
html,
|
|
86
|
+
body {
|
|
87
|
+
letter-spacing: var(--profile-page-letter-spacing);
|
|
88
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@use '../../base/theme';
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--profile-header-min-height: 3rem;
|
|
5
|
+
--profile-header-padding-x: var(--space-4);
|
|
6
|
+
--profile-header-padding-y: var(--space-1);
|
|
7
|
+
--profile-header-mobile-min-height: 3rem;
|
|
8
|
+
--profile-header-mobile-padding-x: var(--space-3);
|
|
9
|
+
--profile-header-backdrop-blur: 0;
|
|
10
|
+
--profile-header-background: var(--color-bg);
|
|
11
|
+
--profile-header-border-color: var(--color-divider);
|
|
12
|
+
|
|
13
|
+
--profile-control-xs-height: var(--button-height-xs);
|
|
14
|
+
--profile-control-small-height: var(--button-height-sm);
|
|
15
|
+
--profile-control-min-height: var(--button-height-md);
|
|
16
|
+
--profile-control-large-height: var(--button-height-lg);
|
|
17
|
+
--profile-control-padding-x: var(--button-padding-x-md);
|
|
18
|
+
--profile-control-radius: var(--radius-common-m);
|
|
19
|
+
--profile-control-shadow: var(--shadow-common-s);
|
|
20
|
+
--profile-control-surface: var(--color-surface);
|
|
21
|
+
|
|
22
|
+
--profile-form-row-gap: var(--space-2);
|
|
23
|
+
--profile-form-label-width: 5.5rem;
|
|
24
|
+
--profile-input-padding-y: var(--space-2);
|
|
25
|
+
--profile-input-padding-x: var(--space-2);
|
|
26
|
+
--profile-input-surface: var(--color-surface);
|
|
27
|
+
--profile-input-highlight: transparent;
|
|
28
|
+
--platform-input-height: var(--input-height);
|
|
29
|
+
--platform-input-padding-x: var(--input-padding-x);
|
|
30
|
+
--platform-input-radius: var(--input-radius);
|
|
31
|
+
--platform-input-font-size: var(--input-font-size);
|
|
32
|
+
--platform-input-line-height: var(--platform-control-line-height-sm);
|
|
33
|
+
|
|
34
|
+
--profile-table-radius: var(--radius-common-m);
|
|
35
|
+
--profile-table-shadow: none;
|
|
36
|
+
--profile-table-cell-padding-y: var(--space-2);
|
|
37
|
+
--profile-table-header-surface: var(--color-surface-soft);
|
|
38
|
+
--profile-table-row-stripe: transparent;
|
|
39
|
+
|
|
40
|
+
--profile-dialog-mask: rgba(126, 136, 146, 0.2);
|
|
41
|
+
--profile-button-letter-spacing: normal;
|
|
42
|
+
--profile-button-transform: none;
|
|
43
|
+
--profile-page-letter-spacing: normal;
|
|
44
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
@use '../../base/tokens' as tk;
|
|
2
|
+
@use '../../base/breakpoints' as bp;
|
|
3
|
+
|
|
4
|
+
:root {
|
|
5
|
+
--profile-kind: 'screen';
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.app-header {
|
|
9
|
+
min-height: var(--profile-header-min-height);
|
|
10
|
+
padding: var(--profile-header-padding-y) var(--profile-header-padding-x);
|
|
11
|
+
border-bottom: 1px solid var(--profile-header-border-color);
|
|
12
|
+
background: var(--profile-header-background);
|
|
13
|
+
backdrop-filter: blur(var(--profile-header-backdrop-blur));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.header-search-trigger,
|
|
17
|
+
.app-header__utility-btn,
|
|
18
|
+
.app-header__action,
|
|
19
|
+
.search-dialog,
|
|
20
|
+
.search-dialog__input-wrap,
|
|
21
|
+
.app-header__utility-panel,
|
|
22
|
+
.app-header__panel-item,
|
|
23
|
+
.search-result-item,
|
|
24
|
+
.input-text,
|
|
25
|
+
.form-input,
|
|
26
|
+
[data-table-pattern='admin'],
|
|
27
|
+
.table-pattern-admin {
|
|
28
|
+
border-radius: var(--profile-control-radius);
|
|
29
|
+
border-color: tk.$color-border-strong;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.header-search-trigger,
|
|
33
|
+
.app-header__utility-btn,
|
|
34
|
+
.app-header__action,
|
|
35
|
+
.search-dialog__input-wrap {
|
|
36
|
+
min-height: var(--profile-control-min-height);
|
|
37
|
+
background: var(--profile-control-surface);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.app-header__utility-btn,
|
|
41
|
+
.app-header__action,
|
|
42
|
+
.app-header__utility-panel,
|
|
43
|
+
.search-dialog,
|
|
44
|
+
.search-result-item {
|
|
45
|
+
box-shadow: var(--profile-control-shadow);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
button {
|
|
49
|
+
text-transform: var(--profile-button-transform);
|
|
50
|
+
letter-spacing: var(--profile-button-letter-spacing);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
button.large {
|
|
54
|
+
height: var(--profile-control-large-height);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
button.middle {
|
|
58
|
+
height: var(--profile-control-min-height);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
button.small {
|
|
62
|
+
height: var(--profile-control-small-height);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.form-row {
|
|
66
|
+
margin-bottom: var(--profile-form-row-gap);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.form-label {
|
|
70
|
+
width: var(--profile-form-label-width);
|
|
71
|
+
font-weight: tk.$font-weight-semibold;
|
|
72
|
+
color: tk.$color-text-secondary;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.input-text,
|
|
76
|
+
.form-input {
|
|
77
|
+
min-height: var(--profile-control-min-height);
|
|
78
|
+
padding: var(--profile-input-padding-y) var(--profile-input-padding-x);
|
|
79
|
+
background: var(--profile-input-surface);
|
|
80
|
+
box-shadow: var(--profile-input-highlight);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[data-table-pattern='admin'],
|
|
84
|
+
.table-pattern-admin {
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
box-shadow: var(--profile-table-shadow);
|
|
87
|
+
border-radius: var(--profile-table-radius);
|
|
88
|
+
|
|
89
|
+
thead {
|
|
90
|
+
background: var(--profile-table-header-surface);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
thead tr th {
|
|
94
|
+
color: tk.$color-text-secondary;
|
|
95
|
+
text-transform: uppercase;
|
|
96
|
+
letter-spacing: 0.04em;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
thead tr th,
|
|
100
|
+
tbody tr td {
|
|
101
|
+
padding-top: var(--profile-table-cell-padding-y);
|
|
102
|
+
padding-bottom: var(--profile-table-cell-padding-y);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
tbody tr:nth-child(even) td {
|
|
106
|
+
background: var(--profile-table-row-stripe);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.search-dialog-mask {
|
|
111
|
+
background: var(--profile-dialog-mask);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
html,
|
|
115
|
+
body {
|
|
116
|
+
letter-spacing: var(--profile-page-letter-spacing);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@media (max-width: bp.$mobile-breakpoint) {
|
|
120
|
+
.app-header {
|
|
121
|
+
min-height: var(--profile-header-mobile-min-height);
|
|
122
|
+
padding-left: var(--profile-header-mobile-padding-x);
|
|
123
|
+
padding-right: var(--profile-header-mobile-padding-x);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
@use '../b/theme';
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--color-theme-primary-1: rgba(21, 186, 255, 0.24);
|
|
5
|
+
--color-theme-primary-2: rgba(21, 186, 255, 0.44);
|
|
6
|
+
--color-theme-primary-3: rgba(21, 186, 255, 0.12);
|
|
7
|
+
|
|
8
|
+
--color-primary-50: #eefcff;
|
|
9
|
+
--color-primary-100: #d5f7ff;
|
|
10
|
+
--color-primary-200: #aaeefe;
|
|
11
|
+
--color-primary-300: #6ddffb;
|
|
12
|
+
--color-primary-400: #32cdf5;
|
|
13
|
+
--color-primary-500: #15baff;
|
|
14
|
+
--color-primary-600: #15baff;
|
|
15
|
+
--color-primary-700: #009ee6;
|
|
16
|
+
--color-primary-800: #007bc0;
|
|
17
|
+
--color-primary-900: #0b3550;
|
|
18
|
+
|
|
19
|
+
--color-accent-500: #32e6a1;
|
|
20
|
+
--color-accent-600: #18c885;
|
|
21
|
+
--color-accent-700: #0fa76d;
|
|
22
|
+
--color-success: #32e6a1;
|
|
23
|
+
--color-success-bg: rgba(50, 230, 161, 0.22);
|
|
24
|
+
--color-warning: #ffb547;
|
|
25
|
+
--color-warning-bg: rgba(255, 181, 71, 0.22);
|
|
26
|
+
--color-error: #ff6b7a;
|
|
27
|
+
--color-error-bg: rgba(255, 107, 122, 0.2);
|
|
28
|
+
--color-info: #15baff;
|
|
29
|
+
--color-info-bg: rgba(21, 186, 255, 0.16);
|
|
30
|
+
|
|
31
|
+
--color-text-level-1: #d9f6ff;
|
|
32
|
+
--color-text-level-2: rgba(217, 246, 255, 0.76);
|
|
33
|
+
--color-text-level-3: rgba(217, 246, 255, 0.56);
|
|
34
|
+
--color-text-level-4: rgba(217, 246, 255, 0.36);
|
|
35
|
+
--color-text-stamp: rgba(217, 246, 255, 0.08);
|
|
36
|
+
--color-bg-deep: #07131f;
|
|
37
|
+
--color-bg-z1: #0c1b2b;
|
|
38
|
+
--color-fg: #0c1b2b;
|
|
39
|
+
--color-fg-z1: #112338;
|
|
40
|
+
--color-fg-press: #132944;
|
|
41
|
+
--color-line-hard: rgba(113, 202, 255, 0.3);
|
|
42
|
+
--color-line-light: rgba(113, 202, 255, 0.14);
|
|
43
|
+
--color-sidebar-bg: #091726;
|
|
44
|
+
|
|
45
|
+
--color-primary-subtle: rgba(21, 186, 255, 0.14);
|
|
46
|
+
--color-link: #7addff;
|
|
47
|
+
--color-link-hover: #a6ebff;
|
|
48
|
+
--color-link-active: #d3f6ff;
|
|
49
|
+
--color-focus-ring: rgba(21, 186, 255, 0.34);
|
|
50
|
+
|
|
51
|
+
--shadow-common-s: 0 0 0 1px rgba(21, 186, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.28);
|
|
52
|
+
--shadow-common-m: 0 0 0 1px rgba(21, 186, 255, 0.1), 0 14px 32px rgba(0, 0, 0, 0.34);
|
|
53
|
+
--shadow-common-l: 0 0 0 1px rgba(21, 186, 255, 0.14), 0 24px 56px rgba(0, 0, 0, 0.42);
|
|
54
|
+
--radius-common-s: 0.125rem;
|
|
55
|
+
--radius-common-m: 0.25rem;
|
|
56
|
+
--radius-common-l: 0.5rem;
|
|
57
|
+
--radius-common-auto-factor: 0.08;
|
|
58
|
+
|
|
59
|
+
--font-sans:
|
|
60
|
+
PingFang SC, BlinkMacSystemFont, Helvetica Neue, Tahoma, Microsoft Yahei, Arial,
|
|
61
|
+
Hiragino Sans GB, sans-serif;
|
|
62
|
+
--font-size-footnote: 0.8125rem;
|
|
63
|
+
--font-size-description: 0.9375rem;
|
|
64
|
+
--font-size-body: 1.125rem;
|
|
65
|
+
--font-size-paragraph: 1.125rem;
|
|
66
|
+
--font-size-h2: 1.375rem;
|
|
67
|
+
--font-size-h1: 1.75rem;
|
|
68
|
+
--font-size-large-title: 2.25rem;
|
|
69
|
+
--font-size-super-title: 3rem;
|
|
70
|
+
|
|
71
|
+
--line-height-footnote: 1.25rem;
|
|
72
|
+
--line-height-description: 1.5rem;
|
|
73
|
+
--line-height-body: 1.625rem;
|
|
74
|
+
--line-height-paragraph: 1.875rem;
|
|
75
|
+
--line-height-h2: 2rem;
|
|
76
|
+
--line-height-h1: 2.375rem;
|
|
77
|
+
--line-height-large-title: 2.875rem;
|
|
78
|
+
--line-height-super-title: 3.5rem;
|
|
79
|
+
|
|
80
|
+
--space-1: 0.5rem;
|
|
81
|
+
--space-2: 0.75rem;
|
|
82
|
+
--space-3: 1rem;
|
|
83
|
+
--space-4: 1.25rem;
|
|
84
|
+
--space-5: 1.75rem;
|
|
85
|
+
--space-6: 2.25rem;
|
|
86
|
+
--space-7: 2.75rem;
|
|
87
|
+
--space-8: 3.5rem;
|
|
88
|
+
|
|
89
|
+
--profile-header-min-height: 4rem;
|
|
90
|
+
--profile-header-padding-x: var(--space-6);
|
|
91
|
+
--profile-header-padding-y: var(--space-2);
|
|
92
|
+
--profile-header-mobile-min-height: 3.5rem;
|
|
93
|
+
--profile-header-mobile-padding-x: var(--space-4);
|
|
94
|
+
--profile-header-backdrop-blur: 0;
|
|
95
|
+
--profile-header-background: linear-gradient(180deg, rgba(12, 27, 43, 0.96), rgba(10, 23, 37, 0.92));
|
|
96
|
+
--profile-header-border-color: rgba(21, 186, 255, 0.14);
|
|
97
|
+
|
|
98
|
+
--profile-control-min-height: 2.5rem;
|
|
99
|
+
--profile-control-small-height: 1.875rem;
|
|
100
|
+
--profile-control-large-height: 3rem;
|
|
101
|
+
--profile-control-padding-x: var(--space-4);
|
|
102
|
+
--profile-control-radius: var(--radius-common-m);
|
|
103
|
+
--profile-control-shadow: var(--shadow-common-m);
|
|
104
|
+
--profile-control-surface: rgba(17, 35, 56, 0.9);
|
|
105
|
+
|
|
106
|
+
--profile-form-row-gap: var(--space-3);
|
|
107
|
+
--profile-form-label-width: 7rem;
|
|
108
|
+
--profile-input-padding-y: var(--space-3);
|
|
109
|
+
--profile-input-padding-x: var(--space-4);
|
|
110
|
+
--profile-input-surface: rgba(17, 35, 56, 0.88);
|
|
111
|
+
--profile-input-highlight: none;
|
|
112
|
+
|
|
113
|
+
--profile-table-radius: var(--radius-common-m);
|
|
114
|
+
--profile-table-shadow: var(--shadow-common-l);
|
|
115
|
+
--profile-table-cell-padding-y: var(--space-3);
|
|
116
|
+
--profile-table-header-surface: linear-gradient(180deg, rgba(18, 43, 70, 0.96), rgba(14, 33, 54, 0.96));
|
|
117
|
+
--profile-table-row-stripe: rgba(17, 35, 56, 0.28);
|
|
118
|
+
|
|
119
|
+
--profile-dialog-mask: rgba(4, 12, 20, 0.78);
|
|
120
|
+
--profile-button-letter-spacing: 0.04em;
|
|
121
|
+
--profile-button-transform: uppercase;
|
|
122
|
+
--profile-page-letter-spacing: 0.01em;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
[data-theme='dark'] {
|
|
126
|
+
--color-text-level-1: #d9f6ff;
|
|
127
|
+
--color-text-level-2: rgba(217, 246, 255, 0.76);
|
|
128
|
+
--color-text-level-3: rgba(217, 246, 255, 0.56);
|
|
129
|
+
--color-text-level-4: rgba(217, 246, 255, 0.36);
|
|
130
|
+
--color-text-stamp: rgba(217, 246, 255, 0.08);
|
|
131
|
+
}
|