@arco-themes/react-cecloud-tds-design 0.0.1
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 +84 -0
- package/component.less +33 -0
- package/components/Alert/index.css +1 -0
- package/components/Alert/index.less +7 -0
- package/components/AutoComplete/index.css +0 -0
- package/components/AutoComplete/index.less +3 -0
- package/components/Button/index.css +1 -0
- package/components/Button/index.less +9 -0
- package/components/Cascader/index.css +1 -0
- package/components/Cascader/index.less +5 -0
- package/components/Checkbox/index.css +1 -0
- package/components/Checkbox/index.less +15 -0
- package/components/DatePicker/index.css +1 -0
- package/components/DatePicker/index.less +41 -0
- package/components/Descriptions/index.css +1 -0
- package/components/Descriptions/index.less +32 -0
- package/components/Drawer/index.css +1 -0
- package/components/Drawer/index.less +15 -0
- package/components/Empty/index.css +1 -0
- package/components/Empty/index.less +13 -0
- package/components/Form/index.css +1 -0
- package/components/Form/index.less +67 -0
- package/components/Input/index.css +1 -0
- package/components/Input/index.less +51 -0
- package/components/InputNumber/index.css +1 -0
- package/components/InputNumber/index.less +49 -0
- package/components/InputTag/index.css +1 -0
- package/components/InputTag/index.less +10 -0
- package/components/Link/index.css +1 -0
- package/components/Link/index.less +9 -0
- package/components/Menu/index.css +1 -0
- package/components/Menu/index.less +59 -0
- package/components/Message/index.css +1 -0
- package/components/Message/index.less +10 -0
- package/components/Modal/index.css +1 -0
- package/components/Modal/index.less +39 -0
- package/components/Pagination/index.css +1 -0
- package/components/Pagination/index.less +17 -0
- package/components/Progress/index.css +1 -0
- package/components/Progress/index.less +11 -0
- package/components/Radio/index.css +1 -0
- package/components/Radio/index.less +82 -0
- package/components/Select/index.css +0 -0
- package/components/Select/index.less +7 -0
- package/components/Slider/index.css +1 -0
- package/components/Slider/index.less +13 -0
- package/components/Spin/index.css +1 -0
- package/components/Spin/index.less +6 -0
- package/components/Switch/index.css +1 -0
- package/components/Switch/index.less +14 -0
- package/components/Table/index.css +1 -0
- package/components/Table/index.less +184 -0
- package/components/Tabs/index.css +1 -0
- package/components/Tabs/index.less +189 -0
- package/components/TimePicker/index.css +1 -0
- package/components/TimePicker/index.less +5 -0
- package/components/Tooltip/index.css +1 -0
- package/components/Tooltip/index.less +5 -0
- package/components/Transfer/index.css +1 -0
- package/components/Transfer/index.less +22 -0
- package/components/Tree/index.css +1 -0
- package/components/Tree/index.less +36 -0
- package/components/TreeSelect/index.css +1 -0
- package/components/TreeSelect/index.less +7 -0
- package/components/Upload/index.css +1 -0
- package/components/Upload/index.less +50 -0
- package/config.d.ts +5 -0
- package/config.js +6 -0
- package/css/arco.css +6 -0
- package/index.less +12 -0
- package/package.json +19 -0
- package/theme.css +637 -0
- package/theme.less +6542 -0
- package/tokens.less +4182 -0
- package/variables.less +2235 -0
package/README.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# @arco-themes/react-cecloud-tds-design
|
|
4
|
+
|
|
5
|
+
Powered By [ArcoDesign](https://arco.design/)
|
|
6
|
+
|
|
7
|
+
[Click to Preview](https://arco.design/themes/design/18924)
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
npm install @arco-themes/react-cecloud-tds-design
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Changelog
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
- 0.0.1
|
|
19
|
+
|
|
20
|
+
Release:
|
|
21
|
+
- InputTag:
|
|
22
|
+
- Progress:
|
|
23
|
+
- Modal:
|
|
24
|
+
- Tree:
|
|
25
|
+
- Cascader:
|
|
26
|
+
- DatePicker:
|
|
27
|
+
- Radio:
|
|
28
|
+
- TimePicker:
|
|
29
|
+
- Select:
|
|
30
|
+
- Tabs:
|
|
31
|
+
- Table:
|
|
32
|
+
- Menu:
|
|
33
|
+
- Form:
|
|
34
|
+
- Input:
|
|
35
|
+
- Tooltip:
|
|
36
|
+
- InputNumber:
|
|
37
|
+
- AutoComplete:
|
|
38
|
+
- TreeSelect:
|
|
39
|
+
- Empty:
|
|
40
|
+
- Button:
|
|
41
|
+
- Message:
|
|
42
|
+
- Pagination:
|
|
43
|
+
- Drawer:
|
|
44
|
+
- Transfer:
|
|
45
|
+
- Global:
|
|
46
|
+
- Checkbox:
|
|
47
|
+
- Descriptions:
|
|
48
|
+
- Upload:
|
|
49
|
+
- Alert:
|
|
50
|
+
- Switch:
|
|
51
|
+
- Spin:
|
|
52
|
+
- Link:
|
|
53
|
+
- Slider:
|
|
54
|
+
- Notification:
|
|
55
|
+
- Avatar:
|
|
56
|
+
- Size:
|
|
57
|
+
- List:
|
|
58
|
+
- Card:
|
|
59
|
+
- Font:
|
|
60
|
+
- Popconfirm:
|
|
61
|
+
- Popover:
|
|
62
|
+
- Anchor:
|
|
63
|
+
- Divider:
|
|
64
|
+
- Steps:
|
|
65
|
+
- Collapse:
|
|
66
|
+
- Dropdown:
|
|
67
|
+
- Badge:
|
|
68
|
+
- Comment:
|
|
69
|
+
- Timeline:
|
|
70
|
+
- Color:
|
|
71
|
+
- Result:
|
|
72
|
+
- Calendar:
|
|
73
|
+
- Typography:
|
|
74
|
+
- Breadcrumb:
|
|
75
|
+
- ResizeBox:
|
|
76
|
+
- PageHeader:
|
|
77
|
+
- Tag:
|
|
78
|
+
- Rate:
|
|
79
|
+
- Shadow:
|
|
80
|
+
- Skeleton:
|
|
81
|
+
- Statistic:
|
|
82
|
+
- Image:
|
|
83
|
+
|
|
84
|
+
|
package/component.less
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* 自定义组件样式 */
|
|
2
|
+
@import "./components/Alert/index.less";
|
|
3
|
+
@import "./components/AutoComplete/index.less";
|
|
4
|
+
@import "./components/Button/index.less";
|
|
5
|
+
@import "./components/Cascader/index.less";
|
|
6
|
+
@import "./components/Checkbox/index.less";
|
|
7
|
+
@import "./components/DatePicker/index.less";
|
|
8
|
+
@import "./components/Descriptions/index.less";
|
|
9
|
+
@import "./components/Drawer/index.less";
|
|
10
|
+
@import "./components/Empty/index.less";
|
|
11
|
+
@import "./components/Form/index.less";
|
|
12
|
+
@import "./components/Input/index.less";
|
|
13
|
+
@import "./components/InputNumber/index.less";
|
|
14
|
+
@import "./components/InputTag/index.less";
|
|
15
|
+
@import "./components/Link/index.less";
|
|
16
|
+
@import "./components/Menu/index.less";
|
|
17
|
+
@import "./components/Message/index.less";
|
|
18
|
+
@import "./components/Modal/index.less";
|
|
19
|
+
@import "./components/Pagination/index.less";
|
|
20
|
+
@import "./components/Progress/index.less";
|
|
21
|
+
@import "./components/Radio/index.less";
|
|
22
|
+
@import "./components/Select/index.less";
|
|
23
|
+
@import "./components/Slider/index.less";
|
|
24
|
+
@import "./components/Spin/index.less";
|
|
25
|
+
@import "./components/Switch/index.less";
|
|
26
|
+
@import "./components/Table/index.less";
|
|
27
|
+
@import "./components/Tabs/index.less";
|
|
28
|
+
@import "./components/TimePicker/index.less";
|
|
29
|
+
@import "./components/Tooltip/index.less";
|
|
30
|
+
@import "./components/Transfer/index.less";
|
|
31
|
+
@import "./components/Tree/index.less";
|
|
32
|
+
@import "./components/TreeSelect/index.less";
|
|
33
|
+
@import "./components/Upload/index.less";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-alert{align-items:flex-start}.arco-alert .arco-alert-title+.arco-alert-content{color:var(--color-text-4)}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-btn.arco-btn-size-default.arco-btn-icon-only{font-size:16px}.arco-btn-group{display:inline-flex}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-cascader-addbefore{background-color:rgb(var(--primary-2))}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-checkbox.arco-checkbox-checked .arco-checkbox-mask .arco-checkbox-mask-icon{color:var(--color-white)}.arco-checkbox.arco-checkbox-disabled .arco-checkbox-text{color:var(--color-text-2)}.arco-checkbox.arco-checkbox-disabled.arco-checkbox-checked .arco-checkbox-mask .arco-checkbox-mask-icon{color:var(--color-text-5)}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.@{checkbox-prefix-cls} {
|
|
2
|
+
&.arco-checkbox-checked .arco-checkbox-mask .arco-checkbox-mask-icon{
|
|
3
|
+
color: var(--color-white);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
// 禁用文字色调整
|
|
7
|
+
&.arco-checkbox-disabled .arco-checkbox-text{
|
|
8
|
+
color: var(--color-text-2);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// 禁用对号颜色
|
|
12
|
+
&.arco-checkbox-disabled.arco-checkbox-checked .arco-checkbox-mask .arco-checkbox-mask-icon{
|
|
13
|
+
color: var(--color-text-5);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-picker-container{background-color:var(--color-bg-1)}.arco-picker-suffix-icon svg{width:16px;height:16px;margin-top:2px}.arco-picker-range-container{background-color:var(--color-bg-1)}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.@{picker-prefix-cls} {
|
|
2
|
+
&-container{
|
|
3
|
+
background-color: var(--color-bg-1);
|
|
4
|
+
}
|
|
5
|
+
// &-focused .arco-picker-input-active input,
|
|
6
|
+
// &-focused:hover .arco-picker-input-active input{
|
|
7
|
+
// background: transparent;
|
|
8
|
+
// }
|
|
9
|
+
&-suffix-icon{
|
|
10
|
+
svg{
|
|
11
|
+
width: 16px;
|
|
12
|
+
height: 16px;
|
|
13
|
+
margin-top: 2px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
.@{date-panel-prefix-cls} {
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
.@{time-picker-prefix-cls} {
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
.@{quarter-panel-prefix-cls} {
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
.@{year-panel-prefix-cls} {
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
.@{week-panel-prefix-cls} {
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
.@{range-picker-prefix-cls} {
|
|
33
|
+
&-container{
|
|
34
|
+
background-color: var(--color-bg-1);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.@{date-picker-prefix-cls} {
|
|
38
|
+
}
|
|
39
|
+
.@{month-panel-prefix-cls} {
|
|
40
|
+
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-descriptions-layout-inline-horizontal .arco-descriptions-body{border-radius:8px;border:1px solid var(--color-border-2)}.arco-descriptions-layout-inline-horizontal .arco-descriptions-row:not(:last-child){border-bottom:1px solid var(--color-border-2)}.arco-descriptions-layout-inline-horizontal .arco-descriptions-item{height:42px;padding:0 0 0 24px}.arco-descriptions-layout-inline-horizontal .arco-descriptions-item:not(:last-child){border-right:1px solid var(--color-border-2)}.arco-descriptions-title{margin-bottom:8px;padding:5px 0}.arco-descriptions-item-label-inline{color:var(--color-text-4)}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.@{descriptions-prefix-cls} {
|
|
2
|
+
&-layout-inline-horizontal{
|
|
3
|
+
.arco-descriptions-body{
|
|
4
|
+
border-radius: 8px;
|
|
5
|
+
border: 1px solid var(--color-border-2);
|
|
6
|
+
}
|
|
7
|
+
.arco-descriptions-row:not(:last-child){
|
|
8
|
+
border-bottom: 1px solid var(--color-border-2);
|
|
9
|
+
}
|
|
10
|
+
.arco-descriptions-item{
|
|
11
|
+
&:not(:last-child){
|
|
12
|
+
border-right: 1px solid var(--color-border-2);
|
|
13
|
+
}
|
|
14
|
+
height: 42px;
|
|
15
|
+
padding: 0 0 0 24px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// &.arco-descriptions-border:not(.arco-descriptions-rtl) .arco-descriptions-item,
|
|
20
|
+
// &.arco-descriptions-border:not(.arco-descriptions-rtl) .arco-descriptions-item-value {
|
|
21
|
+
// border-right: 0;
|
|
22
|
+
// }
|
|
23
|
+
|
|
24
|
+
&-title{
|
|
25
|
+
margin-bottom: 8px;
|
|
26
|
+
padding: 5px 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-item-label-inline{
|
|
30
|
+
color: var(--color-text-4)
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-drawer{background-color:var(--color-bg-1);box-shadow:0 4px 24px 0 rgba(16,27,47,0.08)}.arco-drawer-mask{background-color:transparent}.arco-drawer-footer{text-align:left}.arco-drawer-footer>.arco-btn.arco-btn-secondary{margin-left:0}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.@{drawer-prefix-cls} {
|
|
2
|
+
background-color: var(--color-bg-1);
|
|
3
|
+
box-shadow: 0px 4px 24px 0px rgba(16, 27, 47, 0.08);
|
|
4
|
+
|
|
5
|
+
&-mask{
|
|
6
|
+
background-color: transparent;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&-footer{
|
|
10
|
+
text-align: left;
|
|
11
|
+
&>.arco-btn.arco-btn-secondary{
|
|
12
|
+
margin-left: 0;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-empty-image{margin-bottom:0}.arco-empty-image .arco-icon{width:36px;height:36px}.arco-empty-wrapper .arco-empty-description{margin:16px 0;color:var(--color-text-5)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-form{color:var(--color-text-2)}.arco-form .arco-form-item>.arco-form-label-item{padding-right:4px}.arco-form-message{margin:4px 0 16px;line-height:18px}.arco-form input:-internal-autofill-previewed,.arco-form input:-internal-autofill-selected{-webkit-text-fill-color:var(--color-text-2);transition:background-color 5000s ease-in-out 0s !important}.arco-form .arco-row.arco-form-item-status-error .arco-select:not(.arco-select-disabled):hover .arco-select-view,.arco-form .arco-row.arco-form-item-status-error .arco-picker:not(.arco-picker-disabled):hover,.arco-form .arco-row.arco-form-item-status-warning .arco-select:not(.arco-select-disabled):hover .arco-select-view,.arco-form .arco-row.arco-form-item-status-warning .arco-picker:not(.arco-picker-disabled):hover{background-color:transparent}.arco-form .formblink-appear-done+.arco-form-extra,.arco-form .formblink-appear+.arco-form-extra{display:none}.arco-form.arco-form-inline .arco-form-label-item,.arco-form.arco-form-horizontal .arco-form-label-item{text-align:right;line-height:16px;min-height:32px;display:inline-flex !important;align-items:center;flex-direction:row-reverse}.arco-form.arco-form-inline .arco-form-label-item.arco-form-label-item-left,.arco-form.arco-form-horizontal .arco-form-label-item.arco-form-label-item-left{text-align:left;flex-direction:row}.arco-form-label-item .arco-form-item-tooltip{color:var(--color-text-3);font-size:16px;margin-bottom:-2px}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.@{form-prefix-cls} {
|
|
2
|
+
color: var(--color-text-2);
|
|
3
|
+
|
|
4
|
+
// 标签距离右侧4px
|
|
5
|
+
.arco-form-item > .arco-form-label-item {
|
|
6
|
+
padding-right: 4px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&-message{
|
|
10
|
+
margin: 4px 0 16px;
|
|
11
|
+
line-height: 18px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// input:-webkit-autofill,
|
|
15
|
+
// input:-webkit-autofill:hover,
|
|
16
|
+
// input:-webkit-autofill:focus,
|
|
17
|
+
// input:-webkit-autofill:active {
|
|
18
|
+
// box-shadow: 0 0 0 1000px #1d9ae0 inset;
|
|
19
|
+
// -webkit-text-fill-color: var(--color-text-2);
|
|
20
|
+
// caret-color: var(--color-text-2);
|
|
21
|
+
// -webkit-transition-delay: 111111s;
|
|
22
|
+
// -webkit-transition: color 11111s ease-out, background-color 111111s ease-out;
|
|
23
|
+
// }
|
|
24
|
+
|
|
25
|
+
input:-internal-autofill-previewed,
|
|
26
|
+
input:-internal-autofill-selected {
|
|
27
|
+
-webkit-text-fill-color: var(--color-text-2);
|
|
28
|
+
transition: background-color 5000s ease-in-out 0s !important;
|
|
29
|
+
}
|
|
30
|
+
.arco-row{
|
|
31
|
+
&.arco-form-item-status-error .arco-select:not(.arco-select-disabled):hover .arco-select-view,
|
|
32
|
+
&.arco-form-item-status-error .arco-picker:not(.arco-picker-disabled):hover,
|
|
33
|
+
&.arco-form-item-status-warning .arco-select:not(.arco-select-disabled):hover .arco-select-view,
|
|
34
|
+
&.arco-form-item-status-warning .arco-picker:not(.arco-picker-disabled):hover {
|
|
35
|
+
background-color: transparent;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// 校验信息展示时隐藏底部黑色提示信息
|
|
40
|
+
.formblink-appear-done + .arco-form-extra,
|
|
41
|
+
.formblink-appear + .arco-form-extra{
|
|
42
|
+
display: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// form-label折行展示优化
|
|
46
|
+
&.arco-form-inline .arco-form-label-item,
|
|
47
|
+
&.arco-form-horizontal .arco-form-label-item {
|
|
48
|
+
text-align: right;
|
|
49
|
+
line-height: 16px;
|
|
50
|
+
min-height: 32px;
|
|
51
|
+
display: inline-flex !important;
|
|
52
|
+
align-items: center;
|
|
53
|
+
flex-direction: row-reverse;
|
|
54
|
+
|
|
55
|
+
&.arco-form-label-item-left{
|
|
56
|
+
text-align: left;
|
|
57
|
+
flex-direction: row;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// 标签中的提示图标样式
|
|
62
|
+
&-label-item .arco-form-item-tooltip{
|
|
63
|
+
color: var(--color-text-3);
|
|
64
|
+
font-size: 16px;
|
|
65
|
+
margin-bottom: -2px;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-input-size-default{line-height:18px}.arco-input-group .arco-input-group-addbefore{border-right:0}.arco-input-group .arco-input-group-addafter{border-left:0}.arco-input-group>:last-child,.arco-input-group>:first-child,.arco-input-group>.arco-input-inner-wrapper{border-radius:4px}.arco-input-group-addbefore .arco-select .arco-select-view,.arco-input-group-addafter .arco-select .arco-select-view{border-color:var(--color-border-1);background-color:var(--color-fill-4)}.arco-input-group-addbefore .arco-select-size-default.arco-select.arco-select-single .arco-select-view{height:32px}.arco-input-group-addafter .arco-select-size-default.arco-select.arco-select-single .arco-select-view{height:32px}.arco-input-group.arco-input-group-compact{display:inline-flex}.arco-input-group.arco-input-group-compact>:first-child{border-top-right-radius:0;border-bottom-right-radius:0}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.@{input-prefix-cls} {
|
|
2
|
+
&-size-default{
|
|
3
|
+
line-height: 18px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&-group{
|
|
7
|
+
.arco-input-group-addbefore{
|
|
8
|
+
border-right: 0;
|
|
9
|
+
}
|
|
10
|
+
.arco-input-group-addafter{
|
|
11
|
+
border-left: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
& > :last-child,
|
|
15
|
+
& > :first-child,
|
|
16
|
+
& > .arco-input-inner-wrapper{
|
|
17
|
+
border-radius: 4px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
&-group-addbefore .arco-select .arco-select-view,
|
|
21
|
+
&-group-addafter .arco-select .arco-select-view{
|
|
22
|
+
border-color: var(--color-border-1);
|
|
23
|
+
background-color: var(--color-fill-4);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// 解决缩放125对齐问题
|
|
27
|
+
&-group-addbefore{
|
|
28
|
+
.arco-select-size-default.arco-select.arco-select-single{
|
|
29
|
+
.arco-select-view{
|
|
30
|
+
height: 32px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
&-group-addafter{
|
|
35
|
+
.arco-select-size-default.arco-select.arco-select-single{
|
|
36
|
+
.arco-select-view{
|
|
37
|
+
height: 32px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
&-group.arco-input-group-compact{
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
& > :first-child{
|
|
44
|
+
border-top-right-radius: 0;
|
|
45
|
+
border-bottom-right-radius: 0;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
.@{textarea-prefix-cls} {
|
|
50
|
+
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-input-number.arco-input-number-mode-button .arco-input-group>.arco-input-inner-wrapper{border-radius:0}.arco-input-number.arco-input-number-mode-button .arco-input-group-addbefore .arco-input-number-step-button{border:solid var(--color-border-1);border-width:1px 0 1px 1px;border-radius:4px 0 0 4px}.arco-input-number.arco-input-number-mode-button .arco-input-group-addbefore .arco-input-number-step-button:hover{background-color:var(--color-bg-white)}.arco-input-number.arco-input-number-mode-button .arco-input-group-addbefore .arco-input-number-step-button:hover .arco-icon{color:rgb(var(--primary-5))}.arco-input-number.arco-input-number-mode-button .arco-input-group-addbefore .arco-input-number-step-button.arco-input-number-step-button-disabled{background-color:var(--color-fill-2)}.arco-input-number.arco-input-number-mode-button .arco-input-group-addbefore .arco-input-number-step-button.arco-input-number-step-button-disabled .arco-icon{color:var(--color-text-6)}.arco-input-number.arco-input-number-mode-button .arco-input-group-addafter .arco-input-number-step-button{border:solid var(--color-border-1);border-width:1px 1px 1px 0;border-radius:0 4px 4px 0}.arco-input-number.arco-input-number-mode-button .arco-input-group-addafter .arco-input-number-step-button:hover{background-color:var(--color-bg-white)}.arco-input-number.arco-input-number-mode-button .arco-input-group-addafter .arco-input-number-step-button:hover .arco-icon{color:rgb(var(--primary-5))}.arco-input-number.arco-input-number-mode-button .arco-input-group-addafter .arco-input-number-step-button.arco-input-number-step-button-disabled{background-color:var(--color-fill-2)}.arco-input-number.arco-input-number-mode-button .arco-input-group-addafter .arco-input-number-step-button.arco-input-number-step-button-disabled .arco-icon{color:var(--color-text-6)}.arco-input-number.arco-input-number-mode-button .arco-input-group>.arco-input-inner-wrapper-focus{border-radius:0}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.@{input-number-prefix-cls} {
|
|
2
|
+
&.arco-input-number-mode-button .arco-input-group > .arco-input-inner-wrapper{
|
|
3
|
+
border-radius: 0;
|
|
4
|
+
}
|
|
5
|
+
&.arco-input-number-mode-button{
|
|
6
|
+
.arco-input-group-addbefore .arco-input-number-step-button{
|
|
7
|
+
border: solid var(--color-border-1);
|
|
8
|
+
border-width: 1px 0 1px 1px;
|
|
9
|
+
border-radius: 4px 0 0 4px;
|
|
10
|
+
|
|
11
|
+
&:hover{
|
|
12
|
+
background-color: var(--color-bg-white);
|
|
13
|
+
.arco-icon{
|
|
14
|
+
color: rgb(var(--primary-5));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.arco-input-number-step-button-disabled{
|
|
19
|
+
background-color: var(--color-fill-2);
|
|
20
|
+
.arco-icon{
|
|
21
|
+
color: var(--color-text-6);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.arco-input-group-addafter .arco-input-number-step-button{
|
|
26
|
+
border: solid var(--color-border-1);
|
|
27
|
+
border-width: 1px 1px 1px 0;
|
|
28
|
+
border-radius: 0 4px 4px 0;
|
|
29
|
+
|
|
30
|
+
&:hover{
|
|
31
|
+
background-color: var(--color-bg-white);
|
|
32
|
+
.arco-icon{
|
|
33
|
+
color: rgb(var(--primary-5));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.arco-input-number-step-button-disabled{
|
|
38
|
+
background-color: var(--color-fill-2);
|
|
39
|
+
.arco-icon{
|
|
40
|
+
color: var(--color-text-6);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.arco-input-group > .arco-input-inner-wrapper-focus{
|
|
46
|
+
border-radius: 0;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-input-tag-wrapper .arco-input-tag-addbefore,.arco-input-tag-wrapper .arco-input-tag-addafter{border:0}.arco-input-tag-wrapper .arco-input-tag:not(.arco-input-tag-focused):not(:first-child),.arco-input-tag-wrapper .arco-input-tag:not(.arco-input-tag-focused):not(:last-child){border-radius:4px}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
.@{input-tag-prefix-cls} {
|
|
2
|
+
&-wrapper .arco-input-tag-addbefore,
|
|
3
|
+
&-wrapper .arco-input-tag-addafter{
|
|
4
|
+
border: 0;
|
|
5
|
+
}
|
|
6
|
+
&-wrapper .arco-input-tag:not(.arco-input-tag-focused):not(:first-child),
|
|
7
|
+
&-wrapper .arco-input-tag:not(.arco-input-tag-focused):not(:last-child){
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-link{font-weight:600;display:inline-flex;align-items:center}.arco-link-icon{margin-right:4px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-menu-light .arco-menu-item.arco-menu-selected{background-color:rgb(var(--link-2))}.arco-menu-indent{width:34px}.arco-menu-indent+span.arco-menu-indent{width:12px}.arco-menu-inline-header{background-color:inherit !important}.arco-menu-vertical .arco-menu-item{margin:0 !important}.arco-menu-vertical .arco-menu-inline-header[aria-expanded="true"]{margin:0 !important}.arco-menu-vertical .arco-menu-inline-header{margin:0 !important}.arco-menu-vertical .arco-menu-item,.arco-menu-vertical .arco-menu-group-title,.arco-menu-vertical .arco-menu-pop-header,.arco-menu-vertical .arco-menu-inline-header{line-height:44px}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.@{menu-prefix-cls} {
|
|
2
|
+
&-light .arco-menu-item.arco-menu-selected{
|
|
3
|
+
background-color: rgb(var(--link-2));
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&-indent {
|
|
7
|
+
width: 34px;
|
|
8
|
+
&+span.arco-menu-indent {
|
|
9
|
+
width: 12px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&-inline-header {
|
|
14
|
+
background-color: inherit !important;
|
|
15
|
+
}
|
|
16
|
+
// &-inline-header[aria-expanded="false"]:hover {
|
|
17
|
+
// color: rgb(var(--primary-6)) !important;
|
|
18
|
+
// }
|
|
19
|
+
// &-inline-content {
|
|
20
|
+
// background-color: inherit !important;
|
|
21
|
+
// .arco-menu-item:not(.arco-menu-selected):hover {
|
|
22
|
+
// background-color: rgb(var(--primary-2)) !important;
|
|
23
|
+
// color: rgb(var(--primary-6)) !important;
|
|
24
|
+
// }
|
|
25
|
+
// // item 选中状态 颜色修改
|
|
26
|
+
// .arco-menu-item.arco-menu-selected {
|
|
27
|
+
// background-color: rgb(var(--primary-2)) !important;
|
|
28
|
+
// color: rgb(var(--primary-6)) !important;
|
|
29
|
+
// }
|
|
30
|
+
// }
|
|
31
|
+
|
|
32
|
+
// 去掉 menu-item的margin
|
|
33
|
+
&-vertical .arco-menu-item {
|
|
34
|
+
margin: 0 !important;
|
|
35
|
+
// margin-bottom: 4px !important;
|
|
36
|
+
}
|
|
37
|
+
// sub-menu 不会因收缩打开而位移
|
|
38
|
+
&-vertical .arco-menu-inline-header[aria-expanded="true"] {
|
|
39
|
+
// padding: 0 !important;
|
|
40
|
+
// padding-left: 12px !important;
|
|
41
|
+
margin: 0 !important;
|
|
42
|
+
}
|
|
43
|
+
&-vertical .arco-menu-inline-header {
|
|
44
|
+
margin: 0 !important;
|
|
45
|
+
}
|
|
46
|
+
// 收起的submenu hover状态下 icon颜色
|
|
47
|
+
// &-vertical .arco-menu-inline-header[aria-expanded="false"]:hover .arco-icon {
|
|
48
|
+
// color: rgb(var(--primary-6)) !important;
|
|
49
|
+
// }
|
|
50
|
+
|
|
51
|
+
&-vertical{
|
|
52
|
+
.arco-menu-item,
|
|
53
|
+
.arco-menu-group-title,
|
|
54
|
+
.arco-menu-pop-header,
|
|
55
|
+
.arco-menu-inline-header{
|
|
56
|
+
line-height: 44px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-message-icon{font-size:16px}.arco-message-content{height:16px;line-height:16px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-modal{background-color:var(--color-bg-1)}.arco-modal-header{padding:0 28px}.arco-modal-content{padding:0px 28px}.arco-modal-footer{padding:20px 28px}.arco-modal-simple{width:520px;padding:16px 28px 20px 28px}.arco-modal-simple .arco-modal-footer{margin-top:28px}.arco-modal .arco-modal-title{font-weight:600}.arco-modal.arco-modal-simple{padding-top:20px}.arco-modal.arco-modal-simple .arco-modal-header{margin-bottom:20px}.arco-modal.arco-modal-simple .arco-modal-footer{margin-top:20px}.arco-modal.arco-modal-simple .arco-modal-close-icon{right:20px}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.@{modal-prefix-cls} {
|
|
2
|
+
background-color: var(--color-bg-1);
|
|
3
|
+
&-header {
|
|
4
|
+
padding: 0 28px;
|
|
5
|
+
}
|
|
6
|
+
&-content {
|
|
7
|
+
padding: 0px 28px;
|
|
8
|
+
}
|
|
9
|
+
&-footer {
|
|
10
|
+
padding: 20px 28px;
|
|
11
|
+
}
|
|
12
|
+
&-simple {
|
|
13
|
+
width: 520px;
|
|
14
|
+
padding: 16px 28px 20px 28px;
|
|
15
|
+
.arco-modal-footer {
|
|
16
|
+
margin-top: 28px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.arco-modal-title{
|
|
20
|
+
font-weight: 600;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// 简洁模式
|
|
24
|
+
&.arco-modal-simple{
|
|
25
|
+
padding-top: 20px;
|
|
26
|
+
|
|
27
|
+
.arco-modal-header{
|
|
28
|
+
margin-bottom: 20px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.arco-modal-footer{
|
|
32
|
+
margin-top: 20px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.arco-modal-close-icon{
|
|
36
|
+
right: 20px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-pagination .arco-pagination-jumper-input{margin-left:8px}.arco-pagination-option{height:32px}.arco-pagination ul.arco-pagination-list ul,.arco-pagination ul.arco-pagination-list li{margin-left:0}.arco-pagination .arco-select .arco-select-view{color:var(--color-text-2)}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.@{pagination-prefix-cls} {
|
|
2
|
+
& .arco-pagination-jumper-input{
|
|
3
|
+
margin-left: 8px;
|
|
4
|
+
}
|
|
5
|
+
&-option{
|
|
6
|
+
height: 32px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
ul.arco-pagination-list{
|
|
10
|
+
ul, li{
|
|
11
|
+
margin-left: 0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.arco-select .arco-select-view{
|
|
15
|
+
color: var(--color-text-2);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-progress-small .arco-progress-line-outer{height:4px !important}.arco-progress-default .arco-progress-line-outer{height:8px !important}.arco-progress-large .arco-progress-line-outer{height:12px !important}
|