@cck-ui/core 0.16.0 → 0.18.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/cjs/components/paper/index.cjs +14 -0
- package/cjs/components/paper/index.cjs.map +1 -0
- package/cjs/components/paper/paper.cjs +401 -0
- package/cjs/components/paper/paper.cjs.map +1 -0
- package/cjs/components/paper/paper.module.cjs +7 -0
- package/cjs/components/paper/paper.module.cjs.map +1 -0
- package/cjs/components/paper/paper.utils.cjs +11 -0
- package/cjs/components/paper/paper.utils.cjs.map +1 -0
- package/cjs/index.cjs +26 -23
- package/cjs/index.cjs.map +1 -1
- package/esm/components/paper/index.mjs +11 -0
- package/esm/components/paper/index.mjs.map +1 -0
- package/esm/components/paper/paper.mjs +401 -0
- package/esm/components/paper/paper.mjs.map +1 -0
- package/esm/components/paper/paper.module.mjs +7 -0
- package/esm/components/paper/paper.module.mjs.map +1 -0
- package/esm/components/paper/paper.utils.mjs +12 -0
- package/esm/components/paper/paper.utils.mjs.map +1 -0
- package/esm/index.mjs +3 -1
- package/esm/index.mjs.map +1 -1
- package/lib/components/action-icon/action-icon-group/action-icon-group.types.d.ts +23 -0
- package/lib/components/action-icon/action-icon-group/action-icon-group.utils.d.ts +6 -0
- package/lib/components/action-icon/action-icon-group-section/action-icon-group-section.types.d.ts +34 -0
- package/lib/components/action-icon/action-icon-group-section/action-icon-group-section.utils.d.ts +7 -0
- package/lib/components/action-icon/action-icon.types.d.ts +56 -0
- package/lib/components/action-icon/action-icon.utils.d.ts +9 -0
- package/lib/components/action-icon/index.d.ts +15 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/paper/index.d.ts +6 -0
- package/lib/components/paper/paper.types.d.ts +29 -0
- package/lib/components/paper/paper.utils.d.ts +7 -0
- package/package.json +1 -1
- package/styles/action-icon.css +189 -0
- package/styles/action-icon.layer.css +190 -0
- package/styles/paper.css +24 -0
- package/styles/paper.layer.css +25 -0
- package/styles.css +215 -0
- package/styles.layer.css +215 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BoxProps, CRadius, CShadow, PolymorphicFactory, StylesApiProps } from '../../core';
|
|
2
|
+
export type PaperStylesNames = 'root';
|
|
3
|
+
export type PaperCssVariables = {
|
|
4
|
+
root: '--paper-radius' | '--paper-shadow';
|
|
5
|
+
};
|
|
6
|
+
export interface PaperBaseProps {
|
|
7
|
+
/**
|
|
8
|
+
* @description Key of `theme.shadows` or any valid CSS value to set `box-shadow`
|
|
9
|
+
*/
|
|
10
|
+
shadow?: CShadow;
|
|
11
|
+
/**
|
|
12
|
+
* @description Key of `theme.radius` or any valid CSS value to set border-radius, numbers are converted to rem
|
|
13
|
+
* @default theme.defaultRadius
|
|
14
|
+
*/
|
|
15
|
+
radius?: CRadius;
|
|
16
|
+
/**
|
|
17
|
+
* @description Adds border to the root element
|
|
18
|
+
*/
|
|
19
|
+
withBorder?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface PaperProps extends BoxProps, PaperBaseProps, StylesApiProps<PaperFactory> {
|
|
22
|
+
}
|
|
23
|
+
export type PaperFactory = PolymorphicFactory<{
|
|
24
|
+
props: PaperProps;
|
|
25
|
+
defaultComponent: 'div';
|
|
26
|
+
defaultRef: HTMLDivElement;
|
|
27
|
+
stylesNames: PaperStylesNames;
|
|
28
|
+
vars: PaperCssVariables;
|
|
29
|
+
}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const varsResolver: import("../..").VarsResolver<{
|
|
2
|
+
props: import("./paper.types").PaperProps;
|
|
3
|
+
defaultComponent: "div";
|
|
4
|
+
defaultRef: HTMLDivElement;
|
|
5
|
+
stylesNames: import("./paper.types").PaperStylesNames;
|
|
6
|
+
vars: import("./paper.types").PaperCssVariables;
|
|
7
|
+
}>;
|
package/package.json
CHANGED
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
.m_cfeededf {
|
|
2
|
+
--ai-size-xs: calc(1.125rem * var(--c-scale));
|
|
3
|
+
--ai-size-sm: calc(1.375rem * var(--c-scale));
|
|
4
|
+
--ai-size-md: calc(1.75rem * var(--c-scale));
|
|
5
|
+
--ai-size-lg: calc(2.125rem * var(--c-scale));
|
|
6
|
+
--ai-size-xl: calc(2.75rem * var(--c-scale));
|
|
7
|
+
|
|
8
|
+
--ai-size-input-xs: calc(1.875rem * var(--c-scale));
|
|
9
|
+
--ai-size-input-sm: calc(2.25rem * var(--c-scale));
|
|
10
|
+
--ai-size-input-md: calc(2.625rem * var(--c-scale));
|
|
11
|
+
--ai-size-input-lg: calc(3.125rem * var(--c-scale));
|
|
12
|
+
--ai-size-input-xl: calc(3.75rem * var(--c-scale));
|
|
13
|
+
|
|
14
|
+
--ai-size: var(--ai-size-md);
|
|
15
|
+
--ai-color: var(--c-color-white);
|
|
16
|
+
|
|
17
|
+
line-height: 1;
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
position: relative;
|
|
22
|
+
user-select: none;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
|
|
25
|
+
width: var(--ai-size);
|
|
26
|
+
height: var(--ai-size);
|
|
27
|
+
min-width: var(--ai-size);
|
|
28
|
+
min-height: var(--ai-size);
|
|
29
|
+
border-radius: var(--ai-radius, var(--c-radius-default));
|
|
30
|
+
background: var(--ai-bg, var(--c-color-default));
|
|
31
|
+
color: var(--ai-color, var(--c-color-default-color));
|
|
32
|
+
border: var(--ai-bd, calc(0.0625rem * var(--c-scale)) solid var(--c-color-default-color));
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (hover: hover) {
|
|
37
|
+
.m_cfeededf:hover:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
38
|
+
background-color: var(--ai-hover, var(--c-color-default-hover));
|
|
39
|
+
color: var(--ai-hover-color, var(--ai-color));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (hover: none) {
|
|
44
|
+
.m_cfeededf:active:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
45
|
+
background-color: var(--ai-hover, var(--c-color-default-hover));
|
|
46
|
+
color: var(--ai-hover-color, var(--ai-color));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.m_cfeededf[data-loading] {
|
|
51
|
+
cursor: not-allowed;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.m_cfeededf[data-loading] .m_cfea9a76 {
|
|
55
|
+
opacity: 0;
|
|
56
|
+
transform: translateY(100%);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.m_cfeededf:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])) {
|
|
60
|
+
cursor: not-allowed;
|
|
61
|
+
border: calc(0.0625rem * var(--c-scale)) solid transparent;
|
|
62
|
+
color: var(--c-color-disabled-color);
|
|
63
|
+
background: var(--c-color-disabled);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.m_cfeededf:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])):active {
|
|
67
|
+
transform: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.m_856f02d0 {
|
|
71
|
+
inset: calc(-0.0625rem * var(--c-scale));
|
|
72
|
+
position: absolute;
|
|
73
|
+
border-radius: var(--ai-radius, var(--c-radius-default));
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:where([data-c-color-scheme='light']) .m_856f02d0 {
|
|
80
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:where([data-c-color-scheme='dark']) .m_856f02d0 {
|
|
84
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.m_2d535822 {
|
|
88
|
+
--ai-border-width: calc(0.0625rem * var(--c-scale));
|
|
89
|
+
display: flex;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.m_2d535822 :where(*):focus {
|
|
93
|
+
position: relative;
|
|
94
|
+
z-index: 1;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.m_2d535822[data-orientation='horizontal'] {
|
|
98
|
+
flex-direction: row;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):first-child, .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):first-child {
|
|
102
|
+
border-end-end-radius: 0;
|
|
103
|
+
border-start-end-radius: 0;
|
|
104
|
+
border-inline-end-width: calc(var(--ai-border-width) / 2);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):last-child, .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):last-child {
|
|
108
|
+
border-end-start-radius: 0;
|
|
109
|
+
border-start-start-radius: 0;
|
|
110
|
+
border-inline-start-width: calc(var(--ai-border-width) / 2);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):not(:first-child):not(:last-child), .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):not(:first-child):not(:last-child) {
|
|
114
|
+
border-radius: 0;
|
|
115
|
+
border-inline-width: calc(var(--ai-border-width) / 2);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.m_2d535822[data-orientation='vertical'] {
|
|
119
|
+
flex-direction: column;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):first-child, .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):first-child {
|
|
123
|
+
border-end-start-radius: 0;
|
|
124
|
+
border-end-end-radius: 0;
|
|
125
|
+
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):last-child, .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):last-child {
|
|
129
|
+
border-start-start-radius: 0;
|
|
130
|
+
border-start-end-radius: 0;
|
|
131
|
+
border-top-width: calc(var(--ai-border-width) / 2);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):not(:first-child):not(:last-child), .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):not(:first-child):not(:last-child) {
|
|
135
|
+
border-radius: 0;
|
|
136
|
+
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
137
|
+
border-top-width: calc(var(--ai-border-width) / 2);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.m_cfea9a76 {
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
justify-content: center;
|
|
144
|
+
transition:
|
|
145
|
+
transform 150ms ease,
|
|
146
|
+
opacity 100ms ease;
|
|
147
|
+
width: 100%;
|
|
148
|
+
height: 100%;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.m_cb49b463 {
|
|
152
|
+
--section-height-xs: calc(1.125rem * var(--c-scale));
|
|
153
|
+
--section-height-sm: calc(1.375rem * var(--c-scale));
|
|
154
|
+
--section-height-md: calc(1.75rem * var(--c-scale));
|
|
155
|
+
--section-height-lg: calc(2.125rem * var(--c-scale));
|
|
156
|
+
--section-height-xl: calc(2.75rem * var(--c-scale));
|
|
157
|
+
|
|
158
|
+
--section-height-input-xs: calc(1.875rem * var(--c-scale));
|
|
159
|
+
--section-height-input-sm: calc(2.25rem * var(--c-scale));
|
|
160
|
+
--section-height-input-md: calc(2.625rem * var(--c-scale));
|
|
161
|
+
--section-height-input-lg: calc(3.125rem * var(--c-scale));
|
|
162
|
+
--section-height-input-xl: calc(3.75rem * var(--c-scale));
|
|
163
|
+
|
|
164
|
+
--section-padding-x-xs: calc(0.375rem * var(--c-scale));
|
|
165
|
+
--section-padding-x-sm: calc(0.5rem * var(--c-scale));
|
|
166
|
+
--section-padding-x-md: calc(0.625rem * var(--c-scale));
|
|
167
|
+
--section-padding-x-lg: calc(0.75rem * var(--c-scale));
|
|
168
|
+
--section-padding-x-xl: calc(1rem * var(--c-scale));
|
|
169
|
+
|
|
170
|
+
--section-height: var(--section-height-sm);
|
|
171
|
+
--section-padding-x: var(--section-padding-x-sm);
|
|
172
|
+
--section-color: var(--c-color-white);
|
|
173
|
+
|
|
174
|
+
font-weight: var(--c-font-weight-medium);
|
|
175
|
+
width: auto;
|
|
176
|
+
border-radius: var(--section-radius, var(--c-radius-default));
|
|
177
|
+
|
|
178
|
+
font-size: var(--section-fz, var(--c-font-size-sm));
|
|
179
|
+
background: var(--section-bg, var(--c-primary-color-filled));
|
|
180
|
+
border: var(--section-bd, calc(0.0625rem * var(--c-scale)) solid transparent);
|
|
181
|
+
color: var(--section-color, var(--c-color-white));
|
|
182
|
+
height: var(--section-height, var(--section-height-sm));
|
|
183
|
+
padding-inline: var(--section-padding-x, var(--section-padding-x-sm));
|
|
184
|
+
vertical-align: middle;
|
|
185
|
+
line-height: 1;
|
|
186
|
+
display: inline-flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
justify-content: center;
|
|
189
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
@layer cck {.m_cfeededf {
|
|
2
|
+
--ai-size-xs: calc(1.125rem * var(--c-scale));
|
|
3
|
+
--ai-size-sm: calc(1.375rem * var(--c-scale));
|
|
4
|
+
--ai-size-md: calc(1.75rem * var(--c-scale));
|
|
5
|
+
--ai-size-lg: calc(2.125rem * var(--c-scale));
|
|
6
|
+
--ai-size-xl: calc(2.75rem * var(--c-scale));
|
|
7
|
+
|
|
8
|
+
--ai-size-input-xs: calc(1.875rem * var(--c-scale));
|
|
9
|
+
--ai-size-input-sm: calc(2.25rem * var(--c-scale));
|
|
10
|
+
--ai-size-input-md: calc(2.625rem * var(--c-scale));
|
|
11
|
+
--ai-size-input-lg: calc(3.125rem * var(--c-scale));
|
|
12
|
+
--ai-size-input-xl: calc(3.75rem * var(--c-scale));
|
|
13
|
+
|
|
14
|
+
--ai-size: var(--ai-size-md);
|
|
15
|
+
--ai-color: var(--c-color-white);
|
|
16
|
+
|
|
17
|
+
line-height: 1;
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
position: relative;
|
|
22
|
+
user-select: none;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
|
|
25
|
+
width: var(--ai-size);
|
|
26
|
+
height: var(--ai-size);
|
|
27
|
+
min-width: var(--ai-size);
|
|
28
|
+
min-height: var(--ai-size);
|
|
29
|
+
border-radius: var(--ai-radius, var(--c-radius-default));
|
|
30
|
+
background: var(--ai-bg, var(--c-color-default));
|
|
31
|
+
color: var(--ai-color, var(--c-color-default-color));
|
|
32
|
+
border: var(--ai-bd, calc(0.0625rem * var(--c-scale)) solid var(--c-color-default-color));
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (hover: hover) {
|
|
37
|
+
.m_cfeededf:hover:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
38
|
+
background-color: var(--ai-hover, var(--c-color-default-hover));
|
|
39
|
+
color: var(--ai-hover-color, var(--ai-color));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (hover: none) {
|
|
44
|
+
.m_cfeededf:active:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
45
|
+
background-color: var(--ai-hover, var(--c-color-default-hover));
|
|
46
|
+
color: var(--ai-hover-color, var(--ai-color));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.m_cfeededf[data-loading] {
|
|
51
|
+
cursor: not-allowed;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.m_cfeededf[data-loading] .m_cfea9a76 {
|
|
55
|
+
opacity: 0;
|
|
56
|
+
transform: translateY(100%);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.m_cfeededf:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])) {
|
|
60
|
+
cursor: not-allowed;
|
|
61
|
+
border: calc(0.0625rem * var(--c-scale)) solid transparent;
|
|
62
|
+
color: var(--c-color-disabled-color);
|
|
63
|
+
background: var(--c-color-disabled);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.m_cfeededf:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])):active {
|
|
67
|
+
transform: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.m_856f02d0 {
|
|
71
|
+
inset: calc(-0.0625rem * var(--c-scale));
|
|
72
|
+
position: absolute;
|
|
73
|
+
border-radius: var(--ai-radius, var(--c-radius-default));
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:where([data-c-color-scheme='light']) .m_856f02d0 {
|
|
80
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:where([data-c-color-scheme='dark']) .m_856f02d0 {
|
|
84
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.m_2d535822 {
|
|
88
|
+
--ai-border-width: calc(0.0625rem * var(--c-scale));
|
|
89
|
+
display: flex;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.m_2d535822 :where(*):focus {
|
|
93
|
+
position: relative;
|
|
94
|
+
z-index: 1;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.m_2d535822[data-orientation='horizontal'] {
|
|
98
|
+
flex-direction: row;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):first-child, .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):first-child {
|
|
102
|
+
border-end-end-radius: 0;
|
|
103
|
+
border-start-end-radius: 0;
|
|
104
|
+
border-inline-end-width: calc(var(--ai-border-width) / 2);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):last-child, .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):last-child {
|
|
108
|
+
border-end-start-radius: 0;
|
|
109
|
+
border-start-start-radius: 0;
|
|
110
|
+
border-inline-start-width: calc(var(--ai-border-width) / 2);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.m_2d535822[data-orientation='horizontal'] .m_cfeededf:not(:only-child):not(:first-child):not(:last-child), .m_2d535822[data-orientation='horizontal'] .m_cb49b463:not(:only-child):not(:first-child):not(:last-child) {
|
|
114
|
+
border-radius: 0;
|
|
115
|
+
border-inline-width: calc(var(--ai-border-width) / 2);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.m_2d535822[data-orientation='vertical'] {
|
|
119
|
+
flex-direction: column;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):first-child, .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):first-child {
|
|
123
|
+
border-end-start-radius: 0;
|
|
124
|
+
border-end-end-radius: 0;
|
|
125
|
+
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):last-child, .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):last-child {
|
|
129
|
+
border-start-start-radius: 0;
|
|
130
|
+
border-start-end-radius: 0;
|
|
131
|
+
border-top-width: calc(var(--ai-border-width) / 2);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.m_2d535822[data-orientation='vertical'] .m_cfeededf:not(:only-child):not(:first-child):not(:last-child), .m_2d535822[data-orientation='vertical'] .m_cb49b463:not(:only-child):not(:first-child):not(:last-child) {
|
|
135
|
+
border-radius: 0;
|
|
136
|
+
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
137
|
+
border-top-width: calc(var(--ai-border-width) / 2);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.m_cfea9a76 {
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
justify-content: center;
|
|
144
|
+
transition:
|
|
145
|
+
transform 150ms ease,
|
|
146
|
+
opacity 100ms ease;
|
|
147
|
+
width: 100%;
|
|
148
|
+
height: 100%;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.m_cb49b463 {
|
|
152
|
+
--section-height-xs: calc(1.125rem * var(--c-scale));
|
|
153
|
+
--section-height-sm: calc(1.375rem * var(--c-scale));
|
|
154
|
+
--section-height-md: calc(1.75rem * var(--c-scale));
|
|
155
|
+
--section-height-lg: calc(2.125rem * var(--c-scale));
|
|
156
|
+
--section-height-xl: calc(2.75rem * var(--c-scale));
|
|
157
|
+
|
|
158
|
+
--section-height-input-xs: calc(1.875rem * var(--c-scale));
|
|
159
|
+
--section-height-input-sm: calc(2.25rem * var(--c-scale));
|
|
160
|
+
--section-height-input-md: calc(2.625rem * var(--c-scale));
|
|
161
|
+
--section-height-input-lg: calc(3.125rem * var(--c-scale));
|
|
162
|
+
--section-height-input-xl: calc(3.75rem * var(--c-scale));
|
|
163
|
+
|
|
164
|
+
--section-padding-x-xs: calc(0.375rem * var(--c-scale));
|
|
165
|
+
--section-padding-x-sm: calc(0.5rem * var(--c-scale));
|
|
166
|
+
--section-padding-x-md: calc(0.625rem * var(--c-scale));
|
|
167
|
+
--section-padding-x-lg: calc(0.75rem * var(--c-scale));
|
|
168
|
+
--section-padding-x-xl: calc(1rem * var(--c-scale));
|
|
169
|
+
|
|
170
|
+
--section-height: var(--section-height-sm);
|
|
171
|
+
--section-padding-x: var(--section-padding-x-sm);
|
|
172
|
+
--section-color: var(--c-color-white);
|
|
173
|
+
|
|
174
|
+
font-weight: var(--c-font-weight-medium);
|
|
175
|
+
width: auto;
|
|
176
|
+
border-radius: var(--section-radius, var(--c-radius-default));
|
|
177
|
+
|
|
178
|
+
font-size: var(--section-fz, var(--c-font-size-sm));
|
|
179
|
+
background: var(--section-bg, var(--c-primary-color-filled));
|
|
180
|
+
border: var(--section-bd, calc(0.0625rem * var(--c-scale)) solid transparent);
|
|
181
|
+
color: var(--section-color, var(--c-color-white));
|
|
182
|
+
height: var(--section-height, var(--section-height-sm));
|
|
183
|
+
padding-inline: var(--section-padding-x, var(--section-padding-x-sm));
|
|
184
|
+
vertical-align: middle;
|
|
185
|
+
line-height: 1;
|
|
186
|
+
display: inline-flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
justify-content: center;
|
|
189
|
+
}
|
|
190
|
+
}
|
package/styles/paper.css
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.m_a4a0a883 {
|
|
2
|
+
--paper-radius: var(--c-radius-default);
|
|
3
|
+
|
|
4
|
+
outline: 0;
|
|
5
|
+
-webkit-tap-heighlight-color: transparent;
|
|
6
|
+
display: block;
|
|
7
|
+
touch-action: manipulation;
|
|
8
|
+
text-decoration: none;
|
|
9
|
+
border-radius: var(--paper-radius);
|
|
10
|
+
box-shadow: var(--paper-shadow);
|
|
11
|
+
background-color: var(--c-color-body);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[data-c-color-scheme='light'] .m_a4a0a883 {
|
|
15
|
+
--paper-border-color: var(--c-color-gray-3);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-c-color-scheme='dark'] .m_a4a0a883 {
|
|
19
|
+
--paper-border-color: var(--c-color-dark-4);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.m_a4a0a883:where([data-with-border]) {
|
|
23
|
+
border: calc(0.0625rem * var(--c-scale)) solid var(--paper-border-color);
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@layer cck {.m_a4a0a883 {
|
|
2
|
+
--paper-radius: var(--c-radius-default);
|
|
3
|
+
|
|
4
|
+
outline: 0;
|
|
5
|
+
-webkit-tap-heighlight-color: transparent;
|
|
6
|
+
display: block;
|
|
7
|
+
touch-action: manipulation;
|
|
8
|
+
text-decoration: none;
|
|
9
|
+
border-radius: var(--paper-radius);
|
|
10
|
+
box-shadow: var(--paper-shadow);
|
|
11
|
+
background-color: var(--c-color-body);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[data-c-color-scheme='light'] .m_a4a0a883 {
|
|
15
|
+
--paper-border-color: var(--c-color-gray-3);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-c-color-scheme='dark'] .m_a4a0a883 {
|
|
19
|
+
--paper-border-color: var(--c-color-dark-4);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.m_a4a0a883:where([data-with-border]) {
|
|
23
|
+
border: calc(0.0625rem * var(--c-scale)) solid var(--paper-border-color);
|
|
24
|
+
}
|
|
25
|
+
}
|