@jetbrains/ring-ui 6.0.7-beta.0 → 6.0.7
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 +1 -1
- package/components/alert/alert.css +12 -13
- package/components/alert/container.css +4 -6
- package/components/alert-service/alert-service.stories.css +0 -3
- package/components/auth/down-notification.css +2 -4
- package/components/auth-dialog/auth-dialog.css +10 -12
- package/components/badge/badge.css +1 -3
- package/components/button/button.css +13 -14
- package/components/button-group/button-group.css +6 -5
- package/components/button-set/button-set.css +1 -2
- package/components/button-toolbar/button-toolbar.css +1 -2
- package/components/checkbox/checkbox.css +7 -7
- package/components/checkbox/checkbox.js +2 -2
- package/components/code/code.css +3 -5
- package/components/collapse/collapse-content.d.ts +11 -0
- package/components/collapse/collapse-content.js +72 -0
- package/components/collapse/collapse-context.d.ts +10 -0
- package/components/collapse/collapse-context.js +10 -0
- package/components/collapse/collapse-control.d.ts +11 -0
- package/components/collapse/collapse-control.js +22 -0
- package/components/collapse/collapse.css +40 -0
- package/components/collapse/collapse.d.ts +12 -0
- package/components/collapse/collapse.js +26 -0
- package/components/collapse/collapse.stories.css +25 -0
- package/components/collapse/consts.d.ts +4 -0
- package/components/collapse/consts.js +4 -0
- package/components/collapse/utils.d.ts +1 -0
- package/components/collapse/utils.js +1 -0
- package/components/confirm/confirm.css +1 -3
- package/components/content-layout/content-layout.css +7 -7
- package/components/data-list/data-list.css +4 -5
- package/components/date-picker/consts.js +1 -1
- package/components/date-picker/date-picker.css +40 -41
- package/components/date-picker/date-picker.js +7 -7
- package/components/date-picker/date-popup.js +4 -4
- package/components/date-picker/day.js +9 -9
- package/components/date-picker/month-names.js +6 -6
- package/components/date-picker/month-slider.js +3 -3
- package/components/date-picker/month.js +5 -5
- package/components/date-picker/months.js +6 -6
- package/components/date-picker/weekdays.js +4 -4
- package/components/date-picker/years.js +8 -8
- package/components/dialog/dialog.css +12 -13
- package/components/editable-heading/editable-heading.css +8 -8
- package/components/error-bubble/error-bubble-legacy.css +6 -8
- package/components/error-bubble/error-bubble.css +6 -8
- package/components/footer/footer.css +6 -8
- package/components/form/form.css +31 -33
- package/components/global/global.css +1 -7
- package/components/global/variables.css +2 -2
- package/components/global/variables_dark.css +6 -6
- package/components/grid/grid.css +6 -6
- package/components/group/group.css +1 -3
- package/components/header/header.css +12 -14
- package/components/header/services.css +12 -14
- package/components/icon/icon.css +7 -4
- package/components/input/input-legacy.css +2 -4
- package/components/input/input.css +8 -10
- package/components/input-size/input-size.css +4 -6
- package/components/island/island.css +6 -7
- package/components/island-legacy/island-legacy.css +6 -8
- package/components/line/line.css +1 -3
- package/components/link/link.css +1 -1
- package/components/link/link.d.ts +2 -2
- package/components/link/link.js +1 -1
- package/components/list/list.css +17 -20
- package/components/loader/loader.css +1 -3
- package/components/loader-inline/loader-inline.css +5 -6
- package/components/login-dialog/login-dialog.css +1 -3
- package/components/markdown/markdown.css +2 -3
- package/components/message/message.css +5 -8
- package/components/old-browsers-message/old-browsers-message.css +2 -4
- package/components/pager/pager.css +2 -4
- package/components/panel/panel.css +3 -5
- package/components/progress-bar/progress-bar.css +3 -4
- package/components/query-assist/query-assist.css +3 -4
- package/components/radio/radio.css +8 -11
- package/components/select/select-popup.css +9 -11
- package/components/select/select.css +13 -14
- package/components/sidebar/sidebar.css +13 -15
- package/components/table/table.css +15 -17
- package/components/table-legacy/table-legacy.css +22 -24
- package/components/table-legacy/table-legacy__toolbar.css +2 -4
- package/components/tabs/tabs.css +3 -4
- package/components/tag/tag.css +12 -13
- package/components/tags-input/tags-input.css +1 -2
- package/components/toggle/toggle.css +46 -55
- package/components/tooltip/tooltip.css +3 -5
- package/components/user-agreement/user-agreement.css +2 -2
- package/components/user-card/user-card.css +3 -5
- package/package.json +62 -61
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit from "../global/global.css";
|
|
4
|
-
|
|
5
3
|
.services {
|
|
6
|
-
max-width: calc(calc(unit * 50) + 2px);
|
|
7
|
-
padding: calc(unit * 4) calc(unit * 4) calc(unit * 3);
|
|
4
|
+
max-width: calc(calc(var(--ring-unit) * 50) + 2px);
|
|
5
|
+
padding: calc(var(--ring-unit) * 4) calc(var(--ring-unit) * 4) calc(var(--ring-unit) * 3);
|
|
8
6
|
|
|
9
7
|
background-color: var(--ring-navigation-background-color);
|
|
10
8
|
|
|
@@ -20,8 +18,8 @@
|
|
|
20
18
|
overflow-x: hidden;
|
|
21
19
|
|
|
22
20
|
box-sizing: border-box;
|
|
23
|
-
width: calc(unit * 14);
|
|
24
|
-
height: calc(unit * 14);
|
|
21
|
+
width: calc(var(--ring-unit) * 14);
|
|
22
|
+
height: calc(var(--ring-unit) * 14);
|
|
25
23
|
|
|
26
24
|
text-align: center;
|
|
27
25
|
text-overflow: ellipsis;
|
|
@@ -31,7 +29,7 @@
|
|
|
31
29
|
line-height: initial;
|
|
32
30
|
|
|
33
31
|
&::after {
|
|
34
|
-
height: calc(unit * 14);
|
|
32
|
+
height: calc(var(--ring-unit) * 14);
|
|
35
33
|
|
|
36
34
|
vertical-align: middle;
|
|
37
35
|
}
|
|
@@ -45,9 +43,9 @@
|
|
|
45
43
|
.itemLogo {
|
|
46
44
|
display: inline-block;
|
|
47
45
|
|
|
48
|
-
width: calc(unit * 6);
|
|
49
|
-
height: calc(unit * 6);
|
|
50
|
-
margin: calc(unit * 2) 0 calc(unit + 1px);
|
|
46
|
+
width: calc(var(--ring-unit) * 6);
|
|
47
|
+
height: calc(var(--ring-unit) * 6);
|
|
48
|
+
margin: calc(var(--ring-unit) * 2) 0 calc(var(--ring-unit) + 1px);
|
|
51
49
|
|
|
52
50
|
background-repeat: no-repeat;
|
|
53
51
|
background-size: contain;
|
|
@@ -64,7 +62,7 @@
|
|
|
64
62
|
|
|
65
63
|
.line {
|
|
66
64
|
height: 1px;
|
|
67
|
-
margin: calc(unit * 4) 0 calc(unit * 2);
|
|
65
|
+
margin: calc(var(--ring-unit) * 4) 0 calc(var(--ring-unit) * 2);
|
|
68
66
|
|
|
69
67
|
background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
|
|
70
68
|
}
|
|
@@ -73,11 +71,11 @@
|
|
|
73
71
|
display: inline-block;
|
|
74
72
|
|
|
75
73
|
width: 100%;
|
|
76
|
-
margin-bottom: calc(unit * 2);
|
|
74
|
+
margin-bottom: calc(var(--ring-unit) * 2);
|
|
77
75
|
|
|
78
76
|
text-decoration: none;
|
|
79
77
|
|
|
80
|
-
line-height: calc(unit * 2);
|
|
78
|
+
line-height: calc(var(--ring-unit) * 2);
|
|
81
79
|
|
|
82
80
|
&,
|
|
83
81
|
&:visited {
|
|
@@ -85,7 +83,7 @@
|
|
|
85
83
|
}
|
|
86
84
|
|
|
87
85
|
&:last-child {
|
|
88
|
-
margin-bottom: calc(unit * -3);
|
|
86
|
+
margin-bottom: calc(var(--ring-unit) * -3);
|
|
89
87
|
}
|
|
90
88
|
}
|
|
91
89
|
|
package/components/icon/icon.css
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit from "../global/global.css";
|
|
4
|
-
|
|
5
3
|
.icon {
|
|
6
4
|
display: inline-block;
|
|
7
5
|
|
|
@@ -20,6 +18,11 @@
|
|
|
20
18
|
vertical-align: -1px;
|
|
21
19
|
}
|
|
22
20
|
|
|
21
|
+
&[width="12"] {
|
|
22
|
+
vertical-align: -1px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* TODO remove in 7.0 */
|
|
23
26
|
&[width="14"] {
|
|
24
27
|
margin-right: -2px;
|
|
25
28
|
margin-left: 0;
|
|
@@ -36,8 +39,8 @@
|
|
|
36
39
|
}
|
|
37
40
|
|
|
38
41
|
&.compatibilityMode {
|
|
39
|
-
width: calc(unit * 2);
|
|
40
|
-
height: calc(unit * 2);
|
|
42
|
+
width: calc(var(--ring-unit) * 2);
|
|
43
|
+
height: calc(var(--ring-unit) * 2);
|
|
41
44
|
margin-right: 0;
|
|
42
45
|
margin-left: 0;
|
|
43
46
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit from "../global/global.css";
|
|
4
|
-
|
|
5
3
|
/*
|
|
6
4
|
Input
|
|
7
5
|
|
|
@@ -18,7 +16,7 @@ Input
|
|
|
18
16
|
:global(.ring-input) {
|
|
19
17
|
/* .heightS */
|
|
20
18
|
--ring-input-padding-block: 1px;
|
|
21
|
-
--ring-input-padding-inline: unit;
|
|
19
|
+
--ring-input-padding-inline: var(--ring-unit);
|
|
22
20
|
--ring-input-padding-start: var(--ring-input-padding-inline);
|
|
23
21
|
--ring-input-padding-end: var(--ring-input-padding-inline);
|
|
24
22
|
|
|
@@ -114,7 +112,7 @@ Input
|
|
|
114
112
|
:global(textarea.ring-input) {
|
|
115
113
|
box-sizing: border-box;
|
|
116
114
|
|
|
117
|
-
min-height: calc(8 * unit);
|
|
115
|
+
min-height: calc(8 * var(--ring-unit));
|
|
118
116
|
|
|
119
117
|
resize: none;
|
|
120
118
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
@import "../button/button.css";
|
|
3
3
|
|
|
4
|
-
@value unit from "../global/global.css";
|
|
5
|
-
|
|
6
4
|
.outerContainer {
|
|
7
|
-
--ring-input-icon-offset: calc(unit * 2.5);
|
|
8
|
-
--ring-input-padding-inline: unit;
|
|
5
|
+
--ring-input-icon-offset: calc(var(--ring-unit) * 2.5);
|
|
6
|
+
--ring-input-padding-inline: var(--ring-unit);
|
|
9
7
|
--ring-input-background-color: var(--ring-content-background-color);
|
|
10
8
|
}
|
|
11
9
|
|
|
@@ -116,7 +114,7 @@
|
|
|
116
114
|
color: var(--ring-icon-secondary-color);
|
|
117
115
|
|
|
118
116
|
[dir="rtl"] & {
|
|
119
|
-
right: unit;
|
|
117
|
+
right: var(--ring-unit);
|
|
120
118
|
left: auto;
|
|
121
119
|
}
|
|
122
120
|
}
|
|
@@ -138,7 +136,7 @@
|
|
|
138
136
|
|
|
139
137
|
[dir="rtl"] & {
|
|
140
138
|
right: auto;
|
|
141
|
-
left: unit;
|
|
139
|
+
left: var(--ring-unit);
|
|
142
140
|
}
|
|
143
141
|
}
|
|
144
142
|
|
|
@@ -159,7 +157,7 @@ textarea.input {
|
|
|
159
157
|
}
|
|
160
158
|
|
|
161
159
|
.errorText {
|
|
162
|
-
margin-top: calc(unit / 2);
|
|
160
|
+
margin-top: calc(var(--ring-unit) / 2);
|
|
163
161
|
|
|
164
162
|
color: var(--ring-error-color);
|
|
165
163
|
|
|
@@ -168,15 +166,15 @@ textarea.input {
|
|
|
168
166
|
}
|
|
169
167
|
|
|
170
168
|
.sizeS {
|
|
171
|
-
width: calc(unit * 12);
|
|
169
|
+
width: calc(var(--ring-unit) * 12);
|
|
172
170
|
}
|
|
173
171
|
|
|
174
172
|
.sizeM {
|
|
175
|
-
width: calc(unit * 30);
|
|
173
|
+
width: calc(var(--ring-unit) * 30);
|
|
176
174
|
}
|
|
177
175
|
|
|
178
176
|
.sizeL {
|
|
179
|
-
width: calc(unit * 50);
|
|
177
|
+
width: calc(var(--ring-unit) * 50);
|
|
180
178
|
}
|
|
181
179
|
|
|
182
180
|
.sizeFULL {
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit from "../global/global.css";
|
|
4
|
-
|
|
5
3
|
:root {
|
|
6
|
-
--ring-input-xs: calc(unit * 12);
|
|
7
|
-
--ring-input-s: calc(unit * 12);
|
|
8
|
-
--ring-input-m: calc(unit * 30);
|
|
9
|
-
--ring-input-l: calc(unit * 50);
|
|
4
|
+
--ring-input-xs: calc(var(--ring-unit) * 12);
|
|
5
|
+
--ring-input-s: calc(var(--ring-unit) * 12);
|
|
6
|
+
--ring-input-m: calc(var(--ring-unit) * 30);
|
|
7
|
+
--ring-input-l: calc(var(--ring-unit) * 50);
|
|
10
8
|
}
|
|
11
9
|
|
|
12
10
|
/**
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit from "../global/global.css";
|
|
4
3
|
@value gradientStart: rgba(255, 255, 255, 0);
|
|
5
4
|
@value gradientStop: var(--ring-content-background-color);
|
|
6
5
|
|
|
@@ -24,7 +23,7 @@
|
|
|
24
23
|
.header {
|
|
25
24
|
box-sizing: border-box;
|
|
26
25
|
width: 100%;
|
|
27
|
-
padding: calc(unit * 2) calc(unit * 4) unit;
|
|
26
|
+
padding: calc(var(--ring-unit) * 2) calc(var(--ring-unit) * 4) var(--ring-unit);
|
|
28
27
|
|
|
29
28
|
transition: border-bottom-color 0.1s;
|
|
30
29
|
|
|
@@ -56,7 +55,7 @@
|
|
|
56
55
|
}
|
|
57
56
|
|
|
58
57
|
.narrowIsland .header {
|
|
59
|
-
padding: 0 calc(unit * 2);
|
|
58
|
+
padding: 0 calc(var(--ring-unit) * 2);
|
|
60
59
|
}
|
|
61
60
|
|
|
62
61
|
.content {
|
|
@@ -73,7 +72,7 @@
|
|
|
73
72
|
overflow: auto;
|
|
74
73
|
|
|
75
74
|
width: 100%;
|
|
76
|
-
padding: calc(unit * 2) calc(unit * 4);
|
|
75
|
+
padding: calc(var(--ring-unit) * 2) calc(var(--ring-unit) * 4);
|
|
77
76
|
|
|
78
77
|
&:focus:not(:focus-visible) {
|
|
79
78
|
outline: none;
|
|
@@ -81,7 +80,7 @@
|
|
|
81
80
|
}
|
|
82
81
|
|
|
83
82
|
.narrowIsland .scrollableWrapper {
|
|
84
|
-
padding: calc(unit * 2) calc(unit * 2);
|
|
83
|
+
padding: calc(var(--ring-unit) * 2) calc(var(--ring-unit) * 2);
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
.withoutPaddings .scrollableWrapper {
|
|
@@ -96,7 +95,7 @@
|
|
|
96
95
|
display: block;
|
|
97
96
|
|
|
98
97
|
width: 100%;
|
|
99
|
-
height: calc(unit * 3);
|
|
98
|
+
height: calc(var(--ring-unit) * 3);
|
|
100
99
|
|
|
101
100
|
content: "";
|
|
102
101
|
|
|
@@ -120,7 +119,7 @@
|
|
|
120
119
|
display: block;
|
|
121
120
|
|
|
122
121
|
width: 100%;
|
|
123
|
-
height: calc(unit * 3);
|
|
122
|
+
height: calc(var(--ring-unit) * 3);
|
|
124
123
|
|
|
125
124
|
content: "";
|
|
126
125
|
pointer-events: none;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
@value unit from "../global/global.css";
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* @name Island Legacy
|
|
5
3
|
*/
|
|
6
4
|
|
|
7
5
|
:global(.ring-island) {
|
|
8
|
-
min-width: calc(unit * 25 - 2px);
|
|
6
|
+
min-width: calc(var(--ring-unit) * 25 - 2px);
|
|
9
7
|
|
|
10
8
|
color: var(--ring-text-color);
|
|
11
9
|
|
|
@@ -37,7 +35,7 @@
|
|
|
37
35
|
}
|
|
38
36
|
|
|
39
37
|
:global(.ring-island__header) {
|
|
40
|
-
min-height: calc(unit * 3 - 2px);
|
|
38
|
+
min-height: calc(var(--ring-unit) * 3 - 2px);
|
|
41
39
|
|
|
42
40
|
border-bottom: 1px solid var(--ring-line-color);
|
|
43
41
|
border-top-left-radius: var(--ring-border-radius);
|
|
@@ -45,14 +43,14 @@
|
|
|
45
43
|
|
|
46
44
|
background-color: var(--ring-content-background-color);
|
|
47
45
|
|
|
48
|
-
line-height: calc(unit * 3 - 2px);
|
|
46
|
+
line-height: calc(var(--ring-unit) * 3 - 2px);
|
|
49
47
|
}
|
|
50
48
|
|
|
51
49
|
:global(.ring-island__header-btn),
|
|
52
50
|
:global(.ring-island__header-button) {
|
|
53
51
|
float: right;
|
|
54
52
|
|
|
55
|
-
padding: 0 calc(unit * 2 - 1px);
|
|
53
|
+
padding: 0 calc(var(--ring-unit) * 2 - 1px);
|
|
56
54
|
|
|
57
55
|
/* -1 to account for border */
|
|
58
56
|
|
|
@@ -90,11 +88,11 @@
|
|
|
90
88
|
display: block;
|
|
91
89
|
float: left;
|
|
92
90
|
|
|
93
|
-
padding: 0 calc(unit * 4);
|
|
91
|
+
padding: 0 calc(var(--ring-unit) * 4);
|
|
94
92
|
|
|
95
93
|
font-weight: bold;
|
|
96
94
|
}
|
|
97
95
|
|
|
98
96
|
:global(.ring-island__content) {
|
|
99
|
-
margin: calc(unit * 2) calc(unit * 4);
|
|
97
|
+
margin: calc(var(--ring-unit) * 2) calc(var(--ring-unit) * 4);
|
|
100
98
|
}
|
package/components/line/line.css
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit from "../global/global.css";
|
|
4
|
-
|
|
5
3
|
:global(.ring-line) {
|
|
6
4
|
display: block;
|
|
7
5
|
|
|
@@ -12,5 +10,5 @@
|
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
:global(.ring-line_separated) {
|
|
15
|
-
margin: calc(unit * 2) 0;
|
|
13
|
+
margin: calc(var(--ring-unit) * 2) 0;
|
|
16
14
|
}
|
package/components/link/link.css
CHANGED
|
@@ -66,7 +66,7 @@ export declare function linkHOC<P extends ClickableLinkProps>(ComposedComponent:
|
|
|
66
66
|
inherit: PropTypes.Requireable<boolean>;
|
|
67
67
|
pseudo: PropTypes.Requireable<boolean>;
|
|
68
68
|
hover: PropTypes.Requireable<boolean>;
|
|
69
|
-
children: PropTypes.Requireable<
|
|
69
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
70
70
|
'data-test': PropTypes.Requireable<string>;
|
|
71
71
|
href: PropTypes.Requireable<string>;
|
|
72
72
|
onPlainLeftClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -127,7 +127,7 @@ declare const _default: {
|
|
|
127
127
|
inherit: PropTypes.Requireable<boolean>;
|
|
128
128
|
pseudo: PropTypes.Requireable<boolean>;
|
|
129
129
|
hover: PropTypes.Requireable<boolean>;
|
|
130
|
-
children: PropTypes.Requireable<
|
|
130
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
131
131
|
'data-test': PropTypes.Requireable<string>;
|
|
132
132
|
href: PropTypes.Requireable<string>;
|
|
133
133
|
onPlainLeftClick: PropTypes.Requireable<(...args: any[]) => any>;
|
package/components/link/link.js
CHANGED
|
@@ -13,7 +13,7 @@ export function linkHOC(ComposedComponent) {
|
|
|
13
13
|
inherit: PropTypes.bool,
|
|
14
14
|
pseudo: PropTypes.bool,
|
|
15
15
|
hover: PropTypes.bool,
|
|
16
|
-
children: PropTypes.
|
|
16
|
+
children: PropTypes.node,
|
|
17
17
|
'data-test': PropTypes.string,
|
|
18
18
|
href: PropTypes.string,
|
|
19
19
|
onPlainLeftClick: PropTypes.func,
|
package/components/list/list.css
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit from "../global/global.css";
|
|
4
|
-
@value listSpacing: unit;
|
|
5
|
-
|
|
6
3
|
.list {
|
|
7
4
|
position: relative;
|
|
8
5
|
|
|
@@ -24,10 +21,10 @@
|
|
|
24
21
|
.separator {
|
|
25
22
|
display: block;
|
|
26
23
|
|
|
27
|
-
min-height:
|
|
24
|
+
min-height: var(--ring-unit);
|
|
28
25
|
|
|
29
|
-
margin-top:
|
|
30
|
-
padding: 0 calc(unit * 2) 1px;
|
|
26
|
+
margin-top: var(--ring-unit);
|
|
27
|
+
padding: 0 calc(var(--ring-unit) * 2) 1px;
|
|
31
28
|
|
|
32
29
|
text-align: right;
|
|
33
30
|
white-space: nowrap;
|
|
@@ -64,9 +61,9 @@
|
|
|
64
61
|
}
|
|
65
62
|
|
|
66
63
|
.item.item {
|
|
67
|
-
padding: 3px calc(unit * 2) 5px;
|
|
64
|
+
padding: 3px calc(var(--ring-unit) * 2) 5px;
|
|
68
65
|
|
|
69
|
-
line-height: calc(unit * 3);
|
|
66
|
+
line-height: calc(var(--ring-unit) * 3);
|
|
70
67
|
}
|
|
71
68
|
|
|
72
69
|
.itemContainer {
|
|
@@ -74,7 +71,7 @@
|
|
|
74
71
|
}
|
|
75
72
|
|
|
76
73
|
.compact {
|
|
77
|
-
line-height: calc(unit * 2);
|
|
74
|
+
line-height: calc(var(--ring-unit) * 2);
|
|
78
75
|
}
|
|
79
76
|
|
|
80
77
|
.error {
|
|
@@ -90,9 +87,9 @@
|
|
|
90
87
|
}
|
|
91
88
|
|
|
92
89
|
.add {
|
|
93
|
-
padding: unit calc(2 * unit);
|
|
90
|
+
padding: var(--ring-unit) calc(2 * var(--ring-unit));
|
|
94
91
|
|
|
95
|
-
line-height: calc(4 * unit);
|
|
92
|
+
line-height: calc(4 * var(--ring-unit));
|
|
96
93
|
}
|
|
97
94
|
|
|
98
95
|
.top {
|
|
@@ -125,7 +122,7 @@
|
|
|
125
122
|
overflow: hidden;
|
|
126
123
|
flex-shrink: 100;
|
|
127
124
|
|
|
128
|
-
padding-left: unit;
|
|
125
|
+
padding-left: var(--ring-unit);
|
|
129
126
|
|
|
130
127
|
text-align: right;
|
|
131
128
|
white-space: nowrap;
|
|
@@ -191,7 +188,7 @@
|
|
|
191
188
|
|
|
192
189
|
width: 20px;
|
|
193
190
|
height: 20px;
|
|
194
|
-
margin-left: calc(unit * 2);
|
|
191
|
+
margin-left: calc(var(--ring-unit) * 2);
|
|
195
192
|
|
|
196
193
|
background-repeat: no-repeat;
|
|
197
194
|
background-position: center;
|
|
@@ -212,7 +209,7 @@
|
|
|
212
209
|
|
|
213
210
|
width: 20px;
|
|
214
211
|
|
|
215
|
-
margin-right: unit;
|
|
212
|
+
margin-right: var(--ring-unit);
|
|
216
213
|
|
|
217
214
|
color: var(--ring-icon-secondary-color);
|
|
218
215
|
}
|
|
@@ -234,7 +231,7 @@
|
|
|
234
231
|
float: right;
|
|
235
232
|
|
|
236
233
|
margin-right: 0;
|
|
237
|
-
margin-left: calc(unit * 2);
|
|
234
|
+
margin-left: calc(var(--ring-unit) * 2);
|
|
238
235
|
}
|
|
239
236
|
|
|
240
237
|
.checkboxContainer {
|
|
@@ -244,14 +241,14 @@
|
|
|
244
241
|
|
|
245
242
|
width: 20px;
|
|
246
243
|
height: 20px;
|
|
247
|
-
margin-right: unit;
|
|
244
|
+
margin-right: var(--ring-unit);
|
|
248
245
|
}
|
|
249
246
|
|
|
250
247
|
.compact .checkboxContainer {
|
|
251
248
|
top: 0;
|
|
252
249
|
|
|
253
|
-
width: calc(unit * 2);
|
|
254
|
-
height: calc(unit * 2);
|
|
250
|
+
width: calc(var(--ring-unit) * 2);
|
|
251
|
+
height: calc(var(--ring-unit) * 2);
|
|
255
252
|
}
|
|
256
253
|
|
|
257
254
|
.title {
|
|
@@ -259,7 +256,7 @@
|
|
|
259
256
|
|
|
260
257
|
margin-top: 10px;
|
|
261
258
|
margin-bottom: 6px;
|
|
262
|
-
padding:
|
|
259
|
+
padding: var(--ring-unit) calc(var(--ring-unit) * 2) 0;
|
|
263
260
|
|
|
264
261
|
text-align: left;
|
|
265
262
|
|
|
@@ -287,7 +284,7 @@
|
|
|
287
284
|
bottom: 0;
|
|
288
285
|
|
|
289
286
|
width: 100%;
|
|
290
|
-
height: calc(unit * 3);
|
|
287
|
+
height: calc(var(--ring-unit) * 3);
|
|
291
288
|
|
|
292
289
|
pointer-events: none;
|
|
293
290
|
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit from "../global/global.css";
|
|
4
|
-
|
|
5
3
|
@keyframes rotation-keyframes {
|
|
6
4
|
100% {
|
|
7
5
|
transform: rotate(360deg);
|
|
@@ -11,7 +9,7 @@
|
|
|
11
9
|
.canvas {
|
|
12
10
|
display: block;
|
|
13
11
|
|
|
14
|
-
margin: calc(unit * 2) auto;
|
|
12
|
+
margin: calc(var(--ring-unit) * 2) auto;
|
|
15
13
|
|
|
16
14
|
pointer-events: none;
|
|
17
15
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
3
|
@value dark from "../global/variables_dark.css";
|
|
4
|
-
@value unit from "../global/global.css";
|
|
5
4
|
|
|
6
5
|
:root {
|
|
7
6
|
/* stylelint-disable-next-line color-no-hex */
|
|
@@ -48,7 +47,7 @@
|
|
|
48
47
|
animation: spin 1s linear infinite;
|
|
49
48
|
vertical-align: -3px;
|
|
50
49
|
|
|
51
|
-
border-radius: unit;
|
|
50
|
+
border-radius: var(--ring-unit);
|
|
52
51
|
|
|
53
52
|
&,
|
|
54
53
|
&::after {
|
|
@@ -58,17 +57,17 @@
|
|
|
58
57
|
&::after {
|
|
59
58
|
display: block;
|
|
60
59
|
|
|
61
|
-
width: calc(unit * 2);
|
|
62
|
-
height: calc(unit * 2);
|
|
60
|
+
width: calc(var(--ring-unit) * 2);
|
|
61
|
+
height: calc(var(--ring-unit) * 2);
|
|
63
62
|
|
|
64
63
|
content: "";
|
|
65
64
|
animation: pulse 0.85s cubic-bezier(0.68, 0, 0.74, 0.74) infinite alternate;
|
|
66
65
|
|
|
67
66
|
background-image: conic-gradient(var(--ring-loader-inline-stops));
|
|
68
|
-
mask-image: radial-gradient(unit, transparent 71.875%, var(--ring-content-background-color) 71.875%);
|
|
67
|
+
mask-image: radial-gradient(var(--ring-unit), transparent 71.875%, var(--ring-content-background-color) 71.875%);
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
70
|
|
|
72
71
|
.children {
|
|
73
|
-
margin-left: calc(unit / 2);
|
|
72
|
+
margin-left: calc(var(--ring-unit) / 2);
|
|
74
73
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit from "../global/global.css";
|
|
4
3
|
@value p-margin: 10px;
|
|
5
4
|
|
|
6
5
|
.inline {
|
|
@@ -50,7 +49,7 @@
|
|
|
50
49
|
}
|
|
51
50
|
|
|
52
51
|
& blockquote {
|
|
53
|
-
padding: 0 0 0 calc(2 * unit);
|
|
52
|
+
padding: 0 0 0 calc(2 * var(--ring-unit));
|
|
54
53
|
|
|
55
54
|
color: var(--ring-secondary-color);
|
|
56
55
|
box-shadow: inset 2px 0 0 var(--ring-line-color);
|
|
@@ -60,7 +59,7 @@
|
|
|
60
59
|
}
|
|
61
60
|
|
|
62
61
|
& ul {
|
|
63
|
-
padding: 0 0 0 calc(2 * unit);
|
|
62
|
+
padding: 0 0 0 calc(2 * var(--ring-unit));
|
|
64
63
|
}
|
|
65
64
|
|
|
66
65
|
& ol {
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit from "../global/global.css";
|
|
4
|
-
@value padding: calc(unit * 1.5);
|
|
5
|
-
|
|
6
3
|
.container {
|
|
7
4
|
display: inline;
|
|
8
5
|
}
|
|
@@ -10,9 +7,9 @@
|
|
|
10
7
|
.message {
|
|
11
8
|
overflow: visible;
|
|
12
9
|
|
|
13
|
-
max-width: calc(unit * 40);
|
|
10
|
+
max-width: calc(var(--ring-unit) * 40);
|
|
14
11
|
|
|
15
|
-
padding:
|
|
12
|
+
padding: calc(var(--ring-unit) * 1.5) calc(var(--ring-unit) * 1.5) calc(var(--ring-unit) * 2) calc(var(--ring-unit) * 5);
|
|
16
13
|
|
|
17
14
|
text-align: left;
|
|
18
15
|
|
|
@@ -24,7 +21,7 @@
|
|
|
24
21
|
.icon {
|
|
25
22
|
position: absolute;
|
|
26
23
|
top: 10px;
|
|
27
|
-
left:
|
|
24
|
+
left: calc(var(--ring-unit) * 1.5);
|
|
28
25
|
}
|
|
29
26
|
|
|
30
27
|
.title {
|
|
@@ -36,7 +33,7 @@
|
|
|
36
33
|
}
|
|
37
34
|
|
|
38
35
|
.description {
|
|
39
|
-
margin: calc(unit / 2) 0 0;
|
|
36
|
+
margin: calc(var(--ring-unit) / 2) 0 0;
|
|
40
37
|
|
|
41
38
|
color: var(--ring-text-color);
|
|
42
39
|
|
|
@@ -45,7 +42,7 @@
|
|
|
45
42
|
}
|
|
46
43
|
|
|
47
44
|
.button {
|
|
48
|
-
margin-top:
|
|
45
|
+
margin-top: calc(var(--ring-unit) * 1.5);
|
|
49
46
|
}
|
|
50
47
|
|
|
51
48
|
.tail {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit from "../global/global.css";
|
|
4
|
-
|
|
5
3
|
:global(.ring-old-browsers-message) {
|
|
6
4
|
display: block;
|
|
7
5
|
|
|
@@ -13,7 +11,7 @@
|
|
|
13
11
|
|
|
14
12
|
font-family: -apple-system, BlinkMacSystemFont, Ubuntu, "Helvetica Neue", Arial, sans-serif;
|
|
15
13
|
font-size: var(--ring-font-size-larger);
|
|
16
|
-
line-height: calc(2.5 * unit);
|
|
14
|
+
line-height: calc(2.5 * var(--ring-unit));
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
:global(.ring-old-browsers-message_hidden) {
|
|
@@ -24,5 +22,5 @@
|
|
|
24
22
|
cursor: pointer;
|
|
25
23
|
user-select: none;
|
|
26
24
|
|
|
27
|
-
font-size: calc(3 * unit);
|
|
25
|
+
font-size: calc(3 * var(--ring-unit));
|
|
28
26
|
}
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
@import "../global/variables.css";
|
|
2
2
|
|
|
3
|
-
@value unit from "../global/global.css";
|
|
4
|
-
|
|
5
3
|
.pager {
|
|
6
4
|
user-select: none;
|
|
7
5
|
}
|
|
8
6
|
|
|
9
7
|
.links {
|
|
10
|
-
margin-bottom: calc(unit * 2);
|
|
8
|
+
margin-bottom: calc(var(--ring-unit) * 2);
|
|
11
9
|
}
|
|
12
10
|
|
|
13
11
|
.link {
|
|
14
12
|
display: inline-block;
|
|
15
13
|
|
|
16
|
-
margin-right: calc(unit * 2);
|
|
14
|
+
margin-right: calc(var(--ring-unit) * 2);
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
.linkDisabled {
|