@cyberpunk-vue/theme-chalk 1.14.0 → 1.14.2
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/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/package.json +1 -1
- package/src/common/var.scss +247 -247
- package/src/components/avatar-group.scss +113 -113
- package/src/components/avatar.scss +123 -123
- package/src/components/badge.scss +210 -210
- package/src/components/breadcrumb.scss +203 -203
- package/src/components/button.scss +975 -975
- package/src/components/card.scss +699 -696
- package/src/components/checkbox-group.scss +22 -22
- package/src/components/checkbox.scss +320 -320
- package/src/components/col.scss +43 -43
- package/src/components/dialog.scss +360 -360
- package/src/components/divider.scss +250 -250
- package/src/components/empty.scss +99 -99
- package/src/components/form-item.scss +189 -189
- package/src/components/form.scss +59 -59
- package/src/components/icon.scss +83 -83
- package/src/components/image-preview.scss +147 -147
- package/src/components/image.scss +351 -351
- package/src/components/input-number.scss +129 -129
- package/src/components/input.scss +362 -362
- package/src/components/loading.scss +64 -64
- package/src/components/notification.scss +348 -348
- package/src/components/pagination.scss +287 -280
- package/src/components/pattern-background.scss +18 -18
- package/src/components/popover.scss +438 -438
- package/src/components/progress.scss +438 -438
- package/src/components/radio-group.scss +22 -22
- package/src/components/radio.scss +286 -286
- package/src/components/row.scss +12 -12
- package/src/components/scrollbar.scss +40 -40
- package/src/components/segmented.scss +566 -566
- package/src/components/select.scss +15 -1
- package/src/components/slider.scss +421 -421
- package/src/components/status-indicator.scss +206 -206
- package/src/components/switch.scss +405 -405
- package/src/components/table.scss +474 -474
- package/src/components/tag.scss +416 -416
- package/src/components/text.scss +310 -271
- package/src/components/textarea.scss +106 -104
- package/src/components/timeline.scss +379 -379
- package/src/components/tree.scss +397 -397
- package/src/components/upload.scss +509 -509
- package/src/index.scss +60 -60
- package/src/mixins/mixins.scss +156 -156
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// CpLoading 组件样式
|
|
2
|
-
// Google Material Design 风格圆形加载器
|
|
3
|
-
// 弧线伸缩 + 旋转双重动画
|
|
4
|
-
|
|
5
|
-
@use '../common/var' as *;
|
|
6
|
-
@use '../mixins/mixins' as *;
|
|
7
|
-
|
|
8
|
-
// 尺寸映射
|
|
9
|
-
$loading-sizes: (
|
|
10
|
-
sm: 24px,
|
|
11
|
-
md: 40px,
|
|
12
|
-
lg: 56px,
|
|
13
|
-
);
|
|
14
|
-
|
|
1
|
+
// CpLoading 组件样式
|
|
2
|
+
// Google Material Design 风格圆形加载器
|
|
3
|
+
// 弧线伸缩 + 旋转双重动画
|
|
4
|
+
|
|
5
|
+
@use '../common/var' as *;
|
|
6
|
+
@use '../mixins/mixins' as *;
|
|
7
|
+
|
|
8
|
+
// 尺寸映射
|
|
9
|
+
$loading-sizes: (
|
|
10
|
+
sm: 24px,
|
|
11
|
+
md: 40px,
|
|
12
|
+
lg: 56px,
|
|
13
|
+
);
|
|
14
|
+
|
|
15
15
|
@include b(loading) {
|
|
16
16
|
display: inline-flex;
|
|
17
17
|
align-items: center;
|
|
@@ -20,21 +20,21 @@ $loading-sizes: (
|
|
|
20
20
|
flex-shrink: 0;
|
|
21
21
|
transform-origin: center center;
|
|
22
22
|
will-change: transform;
|
|
23
|
-
|
|
24
|
-
// ===== 尺寸 =====
|
|
25
|
-
@each $name, $size in $loading-sizes {
|
|
26
|
-
@include m($name) {
|
|
27
|
-
width: $size;
|
|
28
|
-
height: $size;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// 自定义尺寸支持
|
|
33
|
-
@include when(custom-size) {
|
|
34
|
-
width: var(--cp-loading-size);
|
|
35
|
-
height: var(--cp-loading-size);
|
|
36
|
-
}
|
|
37
|
-
|
|
23
|
+
|
|
24
|
+
// ===== 尺寸 =====
|
|
25
|
+
@each $name, $size in $loading-sizes {
|
|
26
|
+
@include m($name) {
|
|
27
|
+
width: $size;
|
|
28
|
+
height: $size;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// 自定义尺寸支持
|
|
33
|
+
@include when(custom-size) {
|
|
34
|
+
width: var(--cp-loading-size);
|
|
35
|
+
height: var(--cp-loading-size);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
38
|
// ===== 布局稳定化 =====
|
|
39
39
|
vertical-align: middle;
|
|
40
40
|
line-height: 0; // 消除行内基线间隙
|
|
@@ -66,41 +66,41 @@ $loading-sizes: (
|
|
|
66
66
|
// MUI 参考:1.4s ease-in-out 弧线伸缩动画
|
|
67
67
|
animation: cp-loading-circular-dash 1.4s ease-in-out infinite;
|
|
68
68
|
}
|
|
69
|
-
|
|
70
|
-
// ===== 颜色类型 =====
|
|
71
|
-
@include m(primary) {
|
|
72
|
-
color: var(--cp-color-primary);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
@include m(success) {
|
|
76
|
-
color: var(--cp-color-success);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@include m(warning) {
|
|
80
|
-
color: var(--cp-color-warning);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
@include m(error) {
|
|
84
|
-
color: var(--cp-color-error);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
@include m(info) {
|
|
88
|
-
color: var(--cp-color-info);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@include m(default) {
|
|
92
|
-
color: inherit;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
// ===== 自定义颜色 =====
|
|
97
|
-
@include when(custom-color) {
|
|
98
|
-
color: var(--cp-loading-color);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// ===== 动画 =====
|
|
103
|
-
|
|
69
|
+
|
|
70
|
+
// ===== 颜色类型 =====
|
|
71
|
+
@include m(primary) {
|
|
72
|
+
color: var(--cp-color-primary);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@include m(success) {
|
|
76
|
+
color: var(--cp-color-success);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include m(warning) {
|
|
80
|
+
color: var(--cp-color-warning);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@include m(error) {
|
|
84
|
+
color: var(--cp-color-error);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@include m(info) {
|
|
88
|
+
color: var(--cp-color-info);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@include m(default) {
|
|
92
|
+
color: inherit;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
// ===== 自定义颜色 =====
|
|
97
|
+
@include when(custom-color) {
|
|
98
|
+
color: var(--cp-loading-color);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// ===== 动画 =====
|
|
103
|
+
|
|
104
104
|
// 旋转动画 - 容器整体旋转
|
|
105
105
|
@keyframes cp-loading-rotate {
|
|
106
106
|
100% {
|