advance-semi-theme 1.0.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 +214 -0
- package/dist/antd/index.d.ts +159 -0
- package/dist/antd/index.js +1378 -0
- package/dist/antd/plugin.d.ts +34 -0
- package/dist/antd/plugin.js +12 -0
- package/dist/antd/styles/all.css +83 -0
- package/dist/antd/styles/base.css +202 -0
- package/dist/antd/styles/components/affix.css +7 -0
- package/dist/antd/styles/components/ai.css +242 -0
- package/dist/antd/styles/components/alert.css +149 -0
- package/dist/antd/styles/components/anchor.css +40 -0
- package/dist/antd/styles/components/app.css +9 -0
- package/dist/antd/styles/components/autocomplete.css +56 -0
- package/dist/antd/styles/components/avatar.css +37 -0
- package/dist/antd/styles/components/backtop.css +106 -0
- package/dist/antd/styles/components/badge.css +76 -0
- package/dist/antd/styles/components/breadcrumb.css +37 -0
- package/dist/antd/styles/components/button.css +528 -0
- package/dist/antd/styles/components/calendar.css +55 -0
- package/dist/antd/styles/components/card.css +113 -0
- package/dist/antd/styles/components/carousel.css +57 -0
- package/dist/antd/styles/components/cascader.css +99 -0
- package/dist/antd/styles/components/checkableTag.css +26 -0
- package/dist/antd/styles/components/checkbox.css +119 -0
- package/dist/antd/styles/components/collapse.css +74 -0
- package/dist/antd/styles/components/colorpicker.css +94 -0
- package/dist/antd/styles/components/configprovider.css +6 -0
- package/dist/antd/styles/components/datepicker.css +346 -0
- package/dist/antd/styles/components/descriptions.css +63 -0
- package/dist/antd/styles/components/divider.css +34 -0
- package/dist/antd/styles/components/drawer.css +71 -0
- package/dist/antd/styles/components/dropdown.css +94 -0
- package/dist/antd/styles/components/empty.css +40 -0
- package/dist/antd/styles/components/flex.css +19 -0
- package/dist/antd/styles/components/floatbutton.css +65 -0
- package/dist/antd/styles/components/form.css +90 -0
- package/dist/antd/styles/components/grid.css +11 -0
- package/dist/antd/styles/components/icon.css +18 -0
- package/dist/antd/styles/components/image.css +125 -0
- package/dist/antd/styles/components/input.css +459 -0
- package/dist/antd/styles/components/inputnumber.css +102 -0
- package/dist/antd/styles/components/layout.css +63 -0
- package/dist/antd/styles/components/list.css +109 -0
- package/dist/antd/styles/components/mentions.css +84 -0
- package/dist/antd/styles/components/menu.css +190 -0
- package/dist/antd/styles/components/message.css +68 -0
- package/dist/antd/styles/components/modal.css +124 -0
- package/dist/antd/styles/components/notification.css +89 -0
- package/dist/antd/styles/components/pageheader.css +62 -0
- package/dist/antd/styles/components/pagination.css +139 -0
- package/dist/antd/styles/components/popconfirm.css +64 -0
- package/dist/antd/styles/components/popover.css +40 -0
- package/dist/antd/styles/components/progress.css +105 -0
- package/dist/antd/styles/components/qrcode.css +43 -0
- package/dist/antd/styles/components/radio.css +166 -0
- package/dist/antd/styles/components/rate.css +47 -0
- package/dist/antd/styles/components/result.css +63 -0
- package/dist/antd/styles/components/scrollbar.css +22 -0
- package/dist/antd/styles/components/segmented.css +75 -0
- package/dist/antd/styles/components/select.css +282 -0
- package/dist/antd/styles/components/skeleton.css +96 -0
- package/dist/antd/styles/components/slider.css +119 -0
- package/dist/antd/styles/components/space.css +59 -0
- package/dist/antd/styles/components/spin.css +91 -0
- package/dist/antd/styles/components/statistic.css +48 -0
- package/dist/antd/styles/components/steps.css +176 -0
- package/dist/antd/styles/components/switch.css +128 -0
- package/dist/antd/styles/components/table.css +197 -0
- package/dist/antd/styles/components/tabs.css +212 -0
- package/dist/antd/styles/components/tag.css +286 -0
- package/dist/antd/styles/components/textArea.css +40 -0
- package/dist/antd/styles/components/timeline.css +106 -0
- package/dist/antd/styles/components/timepicker.css +105 -0
- package/dist/antd/styles/components/tooltip.css +37 -0
- package/dist/antd/styles/components/tour.css +114 -0
- package/dist/antd/styles/components/transfer.css +232 -0
- package/dist/antd/styles/components/tree.css +143 -0
- package/dist/antd/styles/components/treeselect.css +46 -0
- package/dist/antd/styles/components/typography.css +184 -0
- package/dist/antd/styles/components/upload.css +181 -0
- package/dist/antd/styles/components/watermark.css +16 -0
- package/dist/antd/styles/dark.css +533 -0
- package/dist/antd/styles/index.css +115 -0
- package/dist/antd/styles/overrides.css +147 -0
- package/dist/antd/styles/variables.css +259 -0
- package/dist/chunk-FMQWBDDZ.js +207 -0
- package/dist/chunk-NGAVTDQ2.js +200 -0
- package/dist/chunk-QQOB6AOA.js +213 -0
- package/dist/core/index.d.ts +179 -0
- package/dist/core/index.js +10 -0
- package/dist/core/variables.css +258 -0
- package/dist/element/index.d.ts +3 -0
- package/dist/element/index.js +17 -0
- package/dist/element/plugin.d.ts +34 -0
- package/dist/element/plugin.js +12 -0
- package/dist/element/styles/base.css +277 -0
- package/dist/element/styles/components/affix.css +7 -0
- package/dist/element/styles/components/alert.css +44 -0
- package/dist/element/styles/components/anchor.css +34 -0
- package/dist/element/styles/components/autocomplete.css +61 -0
- package/dist/element/styles/components/avatar.css +31 -0
- package/dist/element/styles/components/backtop.css +22 -0
- package/dist/element/styles/components/badge.css +48 -0
- package/dist/element/styles/components/breadcrumb.css +38 -0
- package/dist/element/styles/components/button.css +193 -0
- package/dist/element/styles/components/calendar.css +58 -0
- package/dist/element/styles/components/card.css +29 -0
- package/dist/element/styles/components/carousel.css +78 -0
- package/dist/element/styles/components/cascader.css +120 -0
- package/dist/element/styles/components/check-tag.css +35 -0
- package/dist/element/styles/components/checkbox.css +39 -0
- package/dist/element/styles/components/collapse.css +58 -0
- package/dist/element/styles/components/color-picker.css +82 -0
- package/dist/element/styles/components/config-provider.css +6 -0
- package/dist/element/styles/components/container.css +26 -0
- package/dist/element/styles/components/datepicker.css +165 -0
- package/dist/element/styles/components/descriptions-item.css +6 -0
- package/dist/element/styles/components/descriptions.css +51 -0
- package/dist/element/styles/components/dialog.css +91 -0
- package/dist/element/styles/components/divider.css +37 -0
- package/dist/element/styles/components/drawer.css +33 -0
- package/dist/element/styles/components/dropdown.css +30 -0
- package/dist/element/styles/components/empty.css +28 -0
- package/dist/element/styles/components/form.css +106 -0
- package/dist/element/styles/components/image.css +59 -0
- package/dist/element/styles/components/infinite-scroll.css +24 -0
- package/dist/element/styles/components/input-number.css +95 -0
- package/dist/element/styles/components/input.css +170 -0
- package/dist/element/styles/components/link.css +73 -0
- package/dist/element/styles/components/loading.css +50 -0
- package/dist/element/styles/components/mention.css +49 -0
- package/dist/element/styles/components/menu.css +140 -0
- package/dist/element/styles/components/message.css +88 -0
- package/dist/element/styles/components/notification.css +81 -0
- package/dist/element/styles/components/page-header.css +41 -0
- package/dist/element/styles/components/pagination.css +135 -0
- package/dist/element/styles/components/popconfirm.css +35 -0
- package/dist/element/styles/components/popover.css +22 -0
- package/dist/element/styles/components/progress.css +28 -0
- package/dist/element/styles/components/radio.css +64 -0
- package/dist/element/styles/components/rate.css +33 -0
- package/dist/element/styles/components/result.css +51 -0
- package/dist/element/styles/components/row.css +11 -0
- package/dist/element/styles/components/scrollbar.css +33 -0
- package/dist/element/styles/components/segmented.css +59 -0
- package/dist/element/styles/components/select.css +226 -0
- package/dist/element/styles/components/skeleton.css +65 -0
- package/dist/element/styles/components/slider.css +93 -0
- package/dist/element/styles/components/space.css +19 -0
- package/dist/element/styles/components/statistic.css +33 -0
- package/dist/element/styles/components/steps.css +122 -0
- package/dist/element/styles/components/switch.css +32 -0
- package/dist/element/styles/components/table.css +144 -0
- package/dist/element/styles/components/tabs.css +125 -0
- package/dist/element/styles/components/tag.css +150 -0
- package/dist/element/styles/components/text.css +50 -0
- package/dist/element/styles/components/time-picker.css +106 -0
- package/dist/element/styles/components/timeline.css +58 -0
- package/dist/element/styles/components/tooltip.css +22 -0
- package/dist/element/styles/components/tour.css +58 -0
- package/dist/element/styles/components/transfer.css +181 -0
- package/dist/element/styles/components/tree-select.css +28 -0
- package/dist/element/styles/components/tree.css +66 -0
- package/dist/element/styles/components/upload.css +96 -0
- package/dist/element/styles/components/virtualized.css +75 -0
- package/dist/element/styles/components/watermark.css +20 -0
- package/dist/element/styles/dark.css +82 -0
- package/dist/element/styles/index.css +107 -0
- package/package.json +78 -0
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tabs 标签页 - Semi Design 风格
|
|
3
|
+
* 参考 semi-foundation/tabs/variables.scss
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs {
|
|
7
|
+
color: var(--semi-color-text-0);
|
|
8
|
+
font-size: var(--semi-font-size-regular);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* 标签导航 */
|
|
12
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-nav {
|
|
13
|
+
margin-bottom: 5px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-nav::before {
|
|
17
|
+
border-bottom: 1px solid var(--semi-color-border);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* 标签项 - 线条式 */
|
|
21
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-tab {
|
|
22
|
+
color: var(--semi-color-text-2);
|
|
23
|
+
font-size: var(--semi-font-size-regular);
|
|
24
|
+
font-weight: 400;
|
|
25
|
+
padding: 12px 4px;
|
|
26
|
+
margin-right: 24px;
|
|
27
|
+
transition: all var(--semi-transition-duration) var(--semi-transition-timing);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-tab:hover {
|
|
31
|
+
color: var(--semi-color-text-0);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-tab:active {
|
|
35
|
+
color: var(--semi-color-text-0);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-tab-active .ant-tabs-tab-btn {
|
|
39
|
+
color: var(--semi-color-text-0);
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* 禁用标签 */
|
|
44
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-tab-disabled {
|
|
45
|
+
color: var(--semi-color-disabled-text);
|
|
46
|
+
cursor: not-allowed;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-tab-disabled:hover {
|
|
50
|
+
color: var(--semi-color-disabled-text);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* 指示条 */
|
|
54
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-ink-bar {
|
|
55
|
+
background: var(--semi-color-primary);
|
|
56
|
+
height: 2px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* ========== 卡片类型 ========== */
|
|
60
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-card > .ant-tabs-nav::before {
|
|
61
|
+
border-bottom: 1px solid var(--semi-color-border);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-card > .ant-tabs-nav .ant-tabs-tab {
|
|
65
|
+
background: transparent;
|
|
66
|
+
border: 1px solid var(--semi-color-border);
|
|
67
|
+
border-bottom: none;
|
|
68
|
+
border-radius: var(--semi-border-radius-small) var(--semi-border-radius-small) 0 0;
|
|
69
|
+
margin-inline-end: 8px;
|
|
70
|
+
margin-bottom: -1px;
|
|
71
|
+
padding: 8px 12px;
|
|
72
|
+
color: var(--semi-color-text-2);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-card > .ant-tabs-nav .ant-tabs-tab:hover {
|
|
76
|
+
background: var(--semi-color-fill-0);
|
|
77
|
+
color: var(--semi-color-text-0);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-card > .ant-tabs-nav .ant-tabs-tab:active {
|
|
81
|
+
background: var(--semi-color-fill-1);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-card > .ant-tabs-nav .ant-tabs-tab-active {
|
|
85
|
+
background: var(--semi-color-bg-1);
|
|
86
|
+
border-color: var(--semi-color-border);
|
|
87
|
+
border-bottom-color: var(--semi-color-bg-1);
|
|
88
|
+
color: var(--semi-color-text-0);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* ========== 按钮类型 ========== */
|
|
92
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs[class*="pills"] > .ant-tabs-nav::before,
|
|
93
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-button > .ant-tabs-nav::before {
|
|
94
|
+
border-bottom: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs[class*="pills"] > .ant-tabs-nav .ant-tabs-tab,
|
|
98
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-button > .ant-tabs-nav .ant-tabs-tab {
|
|
99
|
+
background: transparent;
|
|
100
|
+
border: none;
|
|
101
|
+
border-radius: var(--semi-border-radius-small);
|
|
102
|
+
margin-inline-end: 8px;
|
|
103
|
+
padding: 8px 12px;
|
|
104
|
+
color: var(--semi-color-text-2);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs[class*="pills"] > .ant-tabs-nav .ant-tabs-tab:hover,
|
|
108
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-button > .ant-tabs-nav .ant-tabs-tab:hover {
|
|
109
|
+
background: var(--semi-color-fill-0);
|
|
110
|
+
color: var(--semi-color-text-0);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs[class*="pills"] > .ant-tabs-nav .ant-tabs-tab:active,
|
|
114
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-button > .ant-tabs-nav .ant-tabs-tab:active {
|
|
115
|
+
background: var(--semi-color-fill-1);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs[class*="pills"] > .ant-tabs-nav .ant-tabs-tab-active,
|
|
119
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-button > .ant-tabs-nav .ant-tabs-tab-active {
|
|
120
|
+
background: var(--semi-color-primary-light-default);
|
|
121
|
+
color: var(--semi-color-primary);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs[class*="pills"] .ant-tabs-ink-bar,
|
|
125
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-button .ant-tabs-ink-bar {
|
|
126
|
+
display: none;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* 可编辑卡片 */
|
|
130
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-editable-card .ant-tabs-tab-remove {
|
|
131
|
+
color: var(--semi-color-text-2);
|
|
132
|
+
font-size: 12px;
|
|
133
|
+
margin-inline-start: 8px;
|
|
134
|
+
transition: color var(--semi-transition-duration) var(--semi-transition-timing);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-editable-card .ant-tabs-tab-remove:hover {
|
|
138
|
+
color: var(--semi-color-danger);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* 新增按钮 */
|
|
142
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-nav-add {
|
|
143
|
+
background: var(--semi-color-fill-0);
|
|
144
|
+
border: 1px dashed var(--semi-color-border);
|
|
145
|
+
border-radius: var(--semi-border-radius-small);
|
|
146
|
+
color: var(--semi-color-text-2);
|
|
147
|
+
margin-inline-start: 2px;
|
|
148
|
+
padding: 0 8px;
|
|
149
|
+
transition: all var(--semi-transition-duration) var(--semi-transition-timing);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-nav-add:hover {
|
|
153
|
+
border-color: var(--semi-color-primary);
|
|
154
|
+
color: var(--semi-color-primary);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* 内容区 */
|
|
158
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-content {
|
|
159
|
+
color: var(--semi-color-text-0);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* 导航操作 */
|
|
163
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-nav-operations {
|
|
164
|
+
color: var(--semi-color-text-1);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-nav-more {
|
|
168
|
+
color: var(--semi-color-text-1);
|
|
169
|
+
padding: 8px 16px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-nav-more:hover {
|
|
173
|
+
color: var(--semi-color-primary);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* 下拉菜单 (Portal 组件) */
|
|
177
|
+
body.semi .ant-tabs-dropdown,
|
|
178
|
+
.semi .ant-tabs-dropdown {
|
|
179
|
+
background: var(--semi-color-bg-0);
|
|
180
|
+
border-radius: var(--semi-border-radius-medium);
|
|
181
|
+
box-shadow: var(--semi-shadow-elevated);
|
|
182
|
+
padding: 4px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
body.semi .ant-tabs-dropdown-menu,
|
|
186
|
+
.semi .ant-tabs-dropdown-menu {
|
|
187
|
+
background: transparent;
|
|
188
|
+
box-shadow: none;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
body.semi .ant-tabs-dropdown-menu-item,
|
|
192
|
+
.semi .ant-tabs-dropdown-menu-item {
|
|
193
|
+
color: var(--semi-color-text-0);
|
|
194
|
+
padding: 8px 12px;
|
|
195
|
+
border-radius: var(--semi-border-radius-small);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
body.semi .ant-tabs-dropdown-menu-item:hover,
|
|
199
|
+
.semi .ant-tabs-dropdown-menu-item:hover {
|
|
200
|
+
background: var(--semi-color-fill-0);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* 尺寸 */
|
|
204
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-small > .ant-tabs-nav .ant-tabs-tab {
|
|
205
|
+
font-size: var(--semi-font-size-small);
|
|
206
|
+
padding: 8px 12px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.semi:where([data-semi="all"], [data-semi-tabs]) .ant-tabs-large > .ant-tabs-nav .ant-tabs-tab {
|
|
210
|
+
font-size: 16px;
|
|
211
|
+
padding: 16px 20px;
|
|
212
|
+
}
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tag 标签 - Semi Design 风格
|
|
3
|
+
*
|
|
4
|
+
* 无感映射:Ant Design Vue 的 color 属性自动映射到 Semi Design 风格
|
|
5
|
+
*
|
|
6
|
+
* ┌────────────────────────────────┬──────────────────────────────────────┐
|
|
7
|
+
* │ Ant Design Vue API │ Semi Design 风格 │
|
|
8
|
+
* ├────────────────────────────────┼──────────────────────────────────────┤
|
|
9
|
+
* │ 默认 │ 灰色 Light 标签 │
|
|
10
|
+
* │ color="success" │ 绿色 Light 标签 │
|
|
11
|
+
* │ color="processing" │ 蓝色 Light 标签 │
|
|
12
|
+
* │ color="error" │ 红色 Light 标签 │
|
|
13
|
+
* │ color="warning" │ 橙色 Light 标签 │
|
|
14
|
+
* │ color="default" │ 灰色 Light 标签 │
|
|
15
|
+
* └────────────────────────────────┴──────────────────────────────────────┘
|
|
16
|
+
*
|
|
17
|
+
* 扩展能力:通过 data-theme 属性可设置 solid/light/ghost
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/* ========== 基础样式 ========== */
|
|
21
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag {
|
|
22
|
+
border: none;
|
|
23
|
+
border-radius: var(--semi-border-radius-small);
|
|
24
|
+
font-size: var(--semi-font-size-small);
|
|
25
|
+
font-weight: 500;
|
|
26
|
+
line-height: 20px;
|
|
27
|
+
padding: 2px 8px;
|
|
28
|
+
margin-inline-end: 8px;
|
|
29
|
+
transition: all var(--semi-transition-duration) var(--semi-transition-timing);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* ========== 默认标签 → Grey Light ========== */
|
|
33
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag:not(.ant-tag-success):not(.ant-tag-processing):not(.ant-tag-error):not(.ant-tag-warning):not(.ant-tag-has-color) {
|
|
34
|
+
background: var(--semi-color-fill-0);
|
|
35
|
+
color: var(--semi-color-text-1);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* ========== color="success" → Green Light ========== */
|
|
39
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-success {
|
|
40
|
+
background: var(--semi-color-success-light-default);
|
|
41
|
+
color: var(--semi-color-success);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* ========== color="processing" → Blue Light ========== */
|
|
45
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-processing {
|
|
46
|
+
background: var(--semi-color-primary-light-default);
|
|
47
|
+
color: var(--semi-color-primary);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* ========== color="error" → Red Light ========== */
|
|
51
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-error {
|
|
52
|
+
background: var(--semi-color-danger-light-default);
|
|
53
|
+
color: var(--semi-color-danger);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* ========== color="warning" → Orange Light ========== */
|
|
57
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-warning {
|
|
58
|
+
background: var(--semi-color-warning-light-default);
|
|
59
|
+
color: var(--semi-color-warning);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* ========== color="default" → Grey Light ========== */
|
|
63
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-default {
|
|
64
|
+
background: var(--semi-color-fill-0);
|
|
65
|
+
color: var(--semi-color-text-1);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* ========== 预设颜色标签 ========== */
|
|
69
|
+
/* Antd Vue 4.x 使用 .ant-tag-has-color + style 属性,需要覆盖 */
|
|
70
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-blue,
|
|
71
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="blue"] {
|
|
72
|
+
background: rgba(0, 100, 250, 0.1) !important;
|
|
73
|
+
color: #0064FA !important;
|
|
74
|
+
border-color: transparent !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-green,
|
|
78
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="green"] {
|
|
79
|
+
background: rgba(59, 179, 70, 0.1) !important;
|
|
80
|
+
color: #3BB346 !important;
|
|
81
|
+
border-color: transparent !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-red,
|
|
85
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="red"] {
|
|
86
|
+
background: rgba(249, 57, 32, 0.1) !important;
|
|
87
|
+
color: #F93920 !important;
|
|
88
|
+
border-color: transparent !important;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-orange,
|
|
92
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="orange"] {
|
|
93
|
+
background: rgba(252, 136, 0, 0.1) !important;
|
|
94
|
+
color: #FC8800 !important;
|
|
95
|
+
border-color: transparent !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-purple,
|
|
99
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="purple"] {
|
|
100
|
+
background: rgba(166, 71, 255, 0.1) !important;
|
|
101
|
+
color: #A647FF !important;
|
|
102
|
+
border-color: transparent !important;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-cyan,
|
|
106
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="cyan"] {
|
|
107
|
+
background: rgba(0, 149, 238, 0.1) !important;
|
|
108
|
+
color: #0095EE !important;
|
|
109
|
+
border-color: transparent !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-magenta,
|
|
113
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-pink,
|
|
114
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="magenta"],
|
|
115
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="pink"] {
|
|
116
|
+
background: rgba(255, 100, 150, 0.1) !important;
|
|
117
|
+
color: #FF6496 !important;
|
|
118
|
+
border-color: transparent !important;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-gold,
|
|
122
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-yellow,
|
|
123
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="gold"],
|
|
124
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="yellow"] {
|
|
125
|
+
background: rgba(250, 200, 0, 0.1) !important;
|
|
126
|
+
color: #D4A00A !important;
|
|
127
|
+
border-color: transparent !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-lime,
|
|
131
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="lime"] {
|
|
132
|
+
background: rgba(150, 200, 0, 0.1) !important;
|
|
133
|
+
color: #7CB305 !important;
|
|
134
|
+
border-color: transparent !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-volcano,
|
|
138
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="volcano"] {
|
|
139
|
+
background: rgba(255, 85, 0, 0.1) !important;
|
|
140
|
+
color: #FA541C !important;
|
|
141
|
+
border-color: transparent !important;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-geekblue,
|
|
145
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[color="geekblue"] {
|
|
146
|
+
background: rgba(47, 84, 235, 0.1) !important;
|
|
147
|
+
color: #2F54EB !important;
|
|
148
|
+
border-color: transparent !important;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* ========== 可关闭标签 ========== */
|
|
152
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-close-icon {
|
|
153
|
+
color: var(--semi-color-text-2);
|
|
154
|
+
margin-inline-start: 4px;
|
|
155
|
+
font-size: 10px;
|
|
156
|
+
cursor: pointer;
|
|
157
|
+
transition: color var(--semi-transition-duration) var(--semi-transition-timing);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-close-icon:hover {
|
|
161
|
+
color: var(--semi-color-text-1);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-close-icon:active {
|
|
165
|
+
color: var(--semi-color-text-0);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Solid 主题的关闭图标 */
|
|
169
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[data-theme="solid"] .ant-tag-close-icon,
|
|
170
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-success[data-theme="solid"] .ant-tag-close-icon,
|
|
171
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-processing[data-theme="solid"] .ant-tag-close-icon,
|
|
172
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-error[data-theme="solid"] .ant-tag-close-icon,
|
|
173
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-warning[data-theme="solid"] .ant-tag-close-icon {
|
|
174
|
+
color: rgba(255, 255, 255, 0.7);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[data-theme="solid"] .ant-tag-close-icon:hover,
|
|
178
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-success[data-theme="solid"] .ant-tag-close-icon:hover,
|
|
179
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-processing[data-theme="solid"] .ant-tag-close-icon:hover,
|
|
180
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-error[data-theme="solid"] .ant-tag-close-icon:hover,
|
|
181
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-warning[data-theme="solid"] .ant-tag-close-icon:hover {
|
|
182
|
+
color: rgba(255, 255, 255, 0.9);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* ========== 可选择标签 ========== */
|
|
186
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-checkable {
|
|
187
|
+
background: transparent;
|
|
188
|
+
border: 1px solid var(--semi-color-border);
|
|
189
|
+
cursor: pointer;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-checkable:hover {
|
|
193
|
+
background: var(--semi-color-fill-0);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-checkable-checked {
|
|
197
|
+
background: var(--semi-color-primary-light-default);
|
|
198
|
+
border-color: transparent;
|
|
199
|
+
color: var(--semi-color-primary);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/* ========== 状态点标签 ========== */
|
|
203
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag .ant-tag-status-dot {
|
|
204
|
+
width: 6px;
|
|
205
|
+
height: 6px;
|
|
206
|
+
border-radius: 50%;
|
|
207
|
+
margin-inline-end: 6px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/* ========== 扩展:data-theme 属性 ========== */
|
|
211
|
+
/* Solid 主题 */
|
|
212
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[data-theme="solid"] {
|
|
213
|
+
background: var(--semi-color-tertiary);
|
|
214
|
+
color: #fff;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-success[data-theme="solid"] {
|
|
218
|
+
background: var(--semi-color-success);
|
|
219
|
+
color: #fff;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-processing[data-theme="solid"] {
|
|
223
|
+
background: var(--semi-color-primary);
|
|
224
|
+
color: #fff;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-error[data-theme="solid"] {
|
|
228
|
+
background: var(--semi-color-danger);
|
|
229
|
+
color: #fff;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-warning[data-theme="solid"] {
|
|
233
|
+
background: var(--semi-color-warning);
|
|
234
|
+
color: #fff;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/* Ghost 主题 (透明背景 + 边框) */
|
|
238
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag[data-theme="ghost"] {
|
|
239
|
+
background: transparent;
|
|
240
|
+
border: 1px solid var(--semi-color-border);
|
|
241
|
+
color: var(--semi-color-text-1);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-success[data-theme="ghost"] {
|
|
245
|
+
background: transparent;
|
|
246
|
+
border: 1px solid var(--semi-color-success);
|
|
247
|
+
color: var(--semi-color-success);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-processing[data-theme="ghost"] {
|
|
251
|
+
background: transparent;
|
|
252
|
+
border: 1px solid var(--semi-color-primary);
|
|
253
|
+
color: var(--semi-color-primary);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-error[data-theme="ghost"] {
|
|
257
|
+
background: transparent;
|
|
258
|
+
border: 1px solid var(--semi-color-danger);
|
|
259
|
+
color: var(--semi-color-danger);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-warning[data-theme="ghost"] {
|
|
263
|
+
background: transparent;
|
|
264
|
+
border: 1px solid var(--semi-color-warning);
|
|
265
|
+
color: var(--semi-color-warning);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/* ========== 无边框 ========== */
|
|
269
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-borderless {
|
|
270
|
+
border: none;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/* ========== 尺寸 ========== */
|
|
274
|
+
/* 小尺寸 (默认) */
|
|
275
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag {
|
|
276
|
+
height: 20px;
|
|
277
|
+
line-height: 16px;
|
|
278
|
+
padding: 2px 8px;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/* 大尺寸 */
|
|
282
|
+
.semi:where([data-semi="all"], [data-semi-tag]) .ant-tag-lg {
|
|
283
|
+
height: 24px;
|
|
284
|
+
line-height: 16px;
|
|
285
|
+
padding: 4px 8px;
|
|
286
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TextArea 文本域 - Semi Design 风格
|
|
3
|
+
* Input.TextArea 样式在 input.css 中定义
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
.semi:where([data-semi="all"], [data-semi-input]) .ant-input-textarea .ant-input {
|
|
7
|
+
background-color: var(--semi-color-fill-0);
|
|
8
|
+
border: 1px solid transparent;
|
|
9
|
+
border-radius: var(--semi-border-radius-small);
|
|
10
|
+
box-shadow: none;
|
|
11
|
+
color: var(--semi-color-text-0);
|
|
12
|
+
resize: vertical;
|
|
13
|
+
transition: all var(--semi-transition-duration) var(--semi-transition-timing);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.semi:where([data-semi="all"], [data-semi-input]) .ant-input-textarea .ant-input:hover {
|
|
17
|
+
background-color: var(--semi-color-fill-1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.semi:where([data-semi="all"], [data-semi-input]) .ant-input-textarea .ant-input:focus {
|
|
21
|
+
background-color: var(--semi-color-fill-0);
|
|
22
|
+
border-color: var(--semi-color-focus-border);
|
|
23
|
+
box-shadow: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.semi:where([data-semi="all"], [data-semi-input]) .ant-input-textarea .ant-input::placeholder {
|
|
27
|
+
color: var(--semi-color-text-2);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* 字数统计 */
|
|
31
|
+
.semi:where([data-semi="all"], [data-semi-input]) .ant-input-textarea-show-count::after {
|
|
32
|
+
color: var(--semi-color-text-2);
|
|
33
|
+
font-size: var(--semi-font-size-small);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* 禁用状态 */
|
|
37
|
+
.semi:where([data-semi="all"], [data-semi-input]) .ant-input-textarea .ant-input:disabled {
|
|
38
|
+
background-color: var(--semi-color-disabled-fill);
|
|
39
|
+
color: var(--semi-color-disabled-text);
|
|
40
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Timeline 时间轴 - Semi Design 风格
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline {
|
|
6
|
+
color: var(--semi-color-text-0);
|
|
7
|
+
font-size: var(--semi-font-size-regular);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* 时间线项目 */
|
|
11
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-item {
|
|
12
|
+
padding-bottom: 20px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* 时间点 */
|
|
16
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-item-head {
|
|
17
|
+
background: var(--semi-color-bg-0);
|
|
18
|
+
border: 2px solid var(--semi-color-fill-1);
|
|
19
|
+
border-radius: var(--semi-border-radius-full);
|
|
20
|
+
height: 10px;
|
|
21
|
+
width: 10px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-item-head-blue {
|
|
25
|
+
border-color: var(--semi-color-primary);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-item-head-green {
|
|
29
|
+
border-color: var(--semi-color-success);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-item-head-red {
|
|
33
|
+
border-color: var(--semi-color-danger);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-item-head-gray {
|
|
37
|
+
border-color: var(--semi-color-fill-1);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* 自定义图标节点 */
|
|
41
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-item-head-custom {
|
|
42
|
+
background: transparent;
|
|
43
|
+
border: none;
|
|
44
|
+
height: auto;
|
|
45
|
+
width: auto;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* 连接线 */
|
|
49
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-item-tail {
|
|
50
|
+
border-inline-start: 2px solid var(--semi-color-border);
|
|
51
|
+
inset-inline-start: 4px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* 内容 */
|
|
55
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-item-content {
|
|
56
|
+
color: var(--semi-color-text-0);
|
|
57
|
+
inset-block-start: -4px;
|
|
58
|
+
margin-inline-start: 20px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* 标签 */
|
|
62
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-item-label {
|
|
63
|
+
color: var(--semi-color-text-2);
|
|
64
|
+
font-size: var(--semi-font-size-small);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* 待定状态 */
|
|
68
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-item-pending .ant-timeline-item-head {
|
|
69
|
+
background: transparent;
|
|
70
|
+
font-size: 12px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-item-pending .ant-timeline-item-tail {
|
|
74
|
+
border-style: dashed;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* 交替模式 */
|
|
78
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-alternate .ant-timeline-item-tail,
|
|
79
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-right .ant-timeline-item-tail,
|
|
80
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-label .ant-timeline-item-tail {
|
|
81
|
+
inset-inline-start: 50%;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-alternate .ant-timeline-item-head,
|
|
85
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-right .ant-timeline-item-head,
|
|
86
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-label .ant-timeline-item-head {
|
|
87
|
+
inset-inline-start: 50%;
|
|
88
|
+
margin-inline-start: -5px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* 右侧时间轴 */
|
|
92
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-right .ant-timeline-item-tail {
|
|
93
|
+
inset-inline-start: auto;
|
|
94
|
+
inset-inline-end: 4px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-right .ant-timeline-item-head {
|
|
98
|
+
inset-inline-start: auto;
|
|
99
|
+
inset-inline-end: 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.semi:where([data-semi="all"], [data-semi-timeline]) .ant-timeline-right .ant-timeline-item-content {
|
|
103
|
+
margin-inline-start: 0;
|
|
104
|
+
margin-inline-end: 20px;
|
|
105
|
+
text-align: end;
|
|
106
|
+
}
|