@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.
Files changed (75) hide show
  1. package/README.md +84 -0
  2. package/component.less +33 -0
  3. package/components/Alert/index.css +1 -0
  4. package/components/Alert/index.less +7 -0
  5. package/components/AutoComplete/index.css +0 -0
  6. package/components/AutoComplete/index.less +3 -0
  7. package/components/Button/index.css +1 -0
  8. package/components/Button/index.less +9 -0
  9. package/components/Cascader/index.css +1 -0
  10. package/components/Cascader/index.less +5 -0
  11. package/components/Checkbox/index.css +1 -0
  12. package/components/Checkbox/index.less +15 -0
  13. package/components/DatePicker/index.css +1 -0
  14. package/components/DatePicker/index.less +41 -0
  15. package/components/Descriptions/index.css +1 -0
  16. package/components/Descriptions/index.less +32 -0
  17. package/components/Drawer/index.css +1 -0
  18. package/components/Drawer/index.less +15 -0
  19. package/components/Empty/index.css +1 -0
  20. package/components/Empty/index.less +13 -0
  21. package/components/Form/index.css +1 -0
  22. package/components/Form/index.less +67 -0
  23. package/components/Input/index.css +1 -0
  24. package/components/Input/index.less +51 -0
  25. package/components/InputNumber/index.css +1 -0
  26. package/components/InputNumber/index.less +49 -0
  27. package/components/InputTag/index.css +1 -0
  28. package/components/InputTag/index.less +10 -0
  29. package/components/Link/index.css +1 -0
  30. package/components/Link/index.less +9 -0
  31. package/components/Menu/index.css +1 -0
  32. package/components/Menu/index.less +59 -0
  33. package/components/Message/index.css +1 -0
  34. package/components/Message/index.less +10 -0
  35. package/components/Modal/index.css +1 -0
  36. package/components/Modal/index.less +39 -0
  37. package/components/Pagination/index.css +1 -0
  38. package/components/Pagination/index.less +17 -0
  39. package/components/Progress/index.css +1 -0
  40. package/components/Progress/index.less +11 -0
  41. package/components/Radio/index.css +1 -0
  42. package/components/Radio/index.less +82 -0
  43. package/components/Select/index.css +0 -0
  44. package/components/Select/index.less +7 -0
  45. package/components/Slider/index.css +1 -0
  46. package/components/Slider/index.less +13 -0
  47. package/components/Spin/index.css +1 -0
  48. package/components/Spin/index.less +6 -0
  49. package/components/Switch/index.css +1 -0
  50. package/components/Switch/index.less +14 -0
  51. package/components/Table/index.css +1 -0
  52. package/components/Table/index.less +184 -0
  53. package/components/Tabs/index.css +1 -0
  54. package/components/Tabs/index.less +189 -0
  55. package/components/TimePicker/index.css +1 -0
  56. package/components/TimePicker/index.less +5 -0
  57. package/components/Tooltip/index.css +1 -0
  58. package/components/Tooltip/index.less +5 -0
  59. package/components/Transfer/index.css +1 -0
  60. package/components/Transfer/index.less +22 -0
  61. package/components/Tree/index.css +1 -0
  62. package/components/Tree/index.less +36 -0
  63. package/components/TreeSelect/index.css +1 -0
  64. package/components/TreeSelect/index.less +7 -0
  65. package/components/Upload/index.css +1 -0
  66. package/components/Upload/index.less +50 -0
  67. package/config.d.ts +5 -0
  68. package/config.js +6 -0
  69. package/css/arco.css +6 -0
  70. package/index.less +12 -0
  71. package/package.json +19 -0
  72. package/theme.css +637 -0
  73. package/theme.less +6542 -0
  74. package/tokens.less +4182 -0
  75. package/variables.less +2235 -0
@@ -0,0 +1,11 @@
1
+ .@{progress-prefix-cls} {
2
+ &-small .arco-progress-line-outer{
3
+ height: 4px !important;
4
+ }
5
+ &-default .arco-progress-line-outer{
6
+ height: 8px !important;
7
+ }
8
+ &-large .arco-progress-line-outer{
9
+ height: 12px !important;
10
+ }
11
+ }
@@ -0,0 +1 @@
1
+ .arco-radio.arco-radio-disabled .arco-icon-hover.arco-icon-hover-disabled .arco-radio-mask{border:1px solid var(--color-border-1)}.arco-radio.arco-radio-disabled .arco-radio-text{color:var(--color-text-6)}.arco-radio-group.arco-radio-size-default .arco-radio-button{line-height:30px}.arco-radio-group .arco-radio-button{border-radius:0;border:1px solid var(--color-border-2);background:var(--color-bg-1)}.arco-radio-group .arco-radio-button:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px}.arco-radio-group .arco-radio-button:not(:first-of-type){margin-left:1px;border-left:0}.arco-radio-group .arco-radio-button:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.arco-radio-group .arco-radio-button:hover{border-color:rgb(var(--primary-2));background:rgb(var(--primary-2));color:rgb(var(--primary-5));font-weight:600}.arco-radio-group .arco-radio-button:active{border-color:rgb(var(--primary-2));background:rgb(var(--primary-2));color:rgb(var(--primary-7));font-weight:600}.arco-radio-group .arco-radio-button.arco-radio-checked{border-color:rgb(var(--primary-2));background:rgb(var(--primary-2));color:rgb(var(--primary-6));font-weight:600}.arco-radio-group .arco-radio-button.arco-radio-disabled{border-color:var(--color-fill-2);background:var(--color-fill-2);color:var(--color-text-6);font-weight:normal}.arco-radio-group .arco-radio-button.arco-radio-disabled.arco-radio-checked{border-color:var(--color-fill-1);background:var(--color-fill-1);color:var(--color-text-6);font-weight:600}.arco-radio.arco-radio-checked.arco-radio-disabled .arco-radio-mask::after{background-color:var(--color-text-5)}
@@ -0,0 +1,82 @@
1
+ .@{radio-prefix-cls} {
2
+ &.arco-radio-disabled {
3
+ .arco-icon-hover.arco-icon-hover-disabled{
4
+ .arco-radio-mask{
5
+ border: 1px solid var(--color-border-1);
6
+ }
7
+ }
8
+ .arco-radio-text{
9
+ color: var(--color-text-6);
10
+ }
11
+ }
12
+
13
+ // 按钮样式
14
+ &-group.arco-radio-size-default .arco-radio-button{
15
+ line-height: 30px;
16
+ }
17
+ &-group .arco-radio-button{
18
+ border-radius: 0;
19
+
20
+ &:first-of-type{
21
+ border-top-left-radius: 4px;
22
+ border-bottom-left-radius: 4px;
23
+ }
24
+ &:not(:first-of-type){
25
+ margin-left: 1px;
26
+ border-left: 0;
27
+ }
28
+ &:last-of-type{
29
+ border-top-right-radius: 4px;
30
+ border-bottom-right-radius: 4px;
31
+ }
32
+
33
+ // 默认样式
34
+ border: 1px solid var(--color-border-2);
35
+ background: var(--color-bg-1);
36
+
37
+ // hover样式
38
+ &:hover{
39
+ border-color: rgb(var(--primary-2));
40
+ background: rgb(var(--primary-2));
41
+ color: rgb(var(--primary-5));
42
+ font-weight: 600;
43
+ }
44
+
45
+ // active样式
46
+ &:active{
47
+ border-color: rgb(var(--primary-2));
48
+ background: rgb(var(--primary-2));
49
+ color: rgb(var(--primary-7));
50
+ font-weight: 600;
51
+ }
52
+
53
+ // 选中样式
54
+ &.arco-radio-checked{
55
+ border-color: rgb(var(--primary-2));
56
+ background: rgb(var(--primary-2));
57
+ color: rgb(var(--primary-6));
58
+ font-weight: 600;
59
+ }
60
+
61
+ // 禁用状态
62
+ &.arco-radio-disabled{
63
+ border-color: var(--color-fill-2);
64
+ background: var(--color-fill-2);
65
+ color: var(--color-text-6);
66
+ font-weight: normal;
67
+ }
68
+
69
+ // 禁用选中状态
70
+ &.arco-radio-disabled.arco-radio-checked{
71
+ border-color: var(--color-fill-1);
72
+ background: var(--color-fill-1);
73
+ color: var(--color-text-6);
74
+ font-weight: 600;
75
+ }
76
+ }
77
+
78
+ // 禁用点的颜色
79
+ &.arco-radio-checked.arco-radio-disabled .arco-radio-mask::after{
80
+ background-color: var(--color-text-5);
81
+ }
82
+ }
File without changes
@@ -0,0 +1,7 @@
1
+ .@{select-prefix-cls} {
2
+ // &-popup {
3
+ // .arco-select-option-selected, .arco-select-option-hover{
4
+ // color: rgb(var(--primary-6))
5
+ // }
6
+ // }
7
+ }
@@ -0,0 +1 @@
1
+ .arco-slider.arco-slider-with-marks .arco-slider-marks .arco-slider-marks-text:last-of-type{white-space:nowrap}.arco-slider.arco-slider-with-marks .arco-slider-marks .arco-slider-marks-text{margin-top:4px}.arco-slider-button::after{background:var(--color-white)}
@@ -0,0 +1,13 @@
1
+ .@{slider-prefix} {
2
+ &.arco-slider-with-marks .arco-slider-marks{
3
+ .arco-slider-marks-text:last-of-type{
4
+ white-space: nowrap;
5
+ }
6
+ .arco-slider-marks-text{
7
+ margin-top: 4px;
8
+ }
9
+ }
10
+ &-button::after{
11
+ background: var(--color-white);
12
+ }
13
+ }
@@ -0,0 +1 @@
1
+ .arco-spin.arco-spin-loading .arco-spin-children::after{background-color:var(--color-bg-1);opacity:.6}
@@ -0,0 +1,6 @@
1
+ .@{spin-prefix-cls} {
2
+ &.arco-spin-loading .arco-spin-children::after{
3
+ background-color: var(--color-bg-1);
4
+ opacity: 0.6;
5
+ }
6
+ }
@@ -0,0 +1 @@
1
+ .arco-switch.arco-switch-checked .arco-switch-dot,.arco-switch.arco-switch-type-line .arco-switch-dot,.arco-switch-dot{background:var(--color-white)}.arco-switch-text,.arco-switch.arco-switch-checked .arco-switch-text,.arco-switch[disabled] .arco-switch-text{color:var(--color-white)}
@@ -0,0 +1,14 @@
1
+ .@{switch-prefix-cls} {
2
+ &.arco-switch-checked .arco-switch-dot,
3
+ &.arco-switch-type-line .arco-switch-dot,
4
+ &-dot{
5
+ background: var(--color-white);
6
+ }
7
+
8
+ &-text,
9
+ &.arco-switch-checked .arco-switch-text,
10
+ &[disabled] .arco-switch-text
11
+ {
12
+ color: var(--color-white);
13
+ }
14
+ }
@@ -0,0 +1 @@
1
+ .arco-table-border.arco-table-border-header-cell .arco-table-container .arco-table-th{border-top:0}.arco-table-border.arco-table-border-header-cell .arco-table-container .arco-table-th:first-child{border-left:1px solid var(--color-border-1)}.arco-table-border-header-cell .arco-table-th{border-left:1px solid var(--color-border-1);border-top:1px solid var(--color-border-1)}.arco-table-border-header-cell .arco-table-th:first-child{border-left:0}.arco-table thead .arco-table-tr{height:36px}.arco-table-tr .arco-table-checkbox,.arco-table-tr .arco-table-radio,.arco-table-tr .arco-table-expand-icon-cell,.arco-table-tr .arco-table-expand{padding-left:10px}.arco-table-tr .arco-table-checkbox+.arco-table-th,.arco-table-tr .arco-table-radio+.arco-table-th,.arco-table-tr .arco-table-checkbox+.arco-table-td,.arco-table-tr .arco-table-radio+.arco-table-td{border-left:0}.arco-table .arco-table-th-item{font-size:12px;padding:0px 12px}.arco-table .arco-table-th-item.arco-table-col-has-sorter .arco-table-cell-with-sorter{display:inline-block;font-size:12px;padding:0}.arco-table .arco-table-th-item.arco-table-col-has-filter .arco-table-filters{position:relative;display:inline-block;margin-left:8px;vertical-align:-3px}.arco-table .arco-table-th-item.arco-table-col-has-filter .arco-table-filters:hover svg{color:rgb(var(--primary-6))}.arco-table .arco-table-th-item.arco-table-col-has-filter .arco-table-filters-open svg{color:rgb(var(--primary-6))}.arco-table tbody .arco-table-td.arco-table-operation.arco-table-expand-icon-cell button{width:14px;height:14px}.arco-table tbody .arco-table-td .arco-table-cell-expand-icon button,.arco-table tbody .arco-table-cell .arco-table-cell-expand-icon button{width:14px;height:14px}.arco-table.arco-table-hover .arco-table-expand-content:not(.arco-table-empty-row):hover .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right){background-color:rgb(var(--primary-1))}.arco-table-pagination .arco-pagination{margin-top:16px}.arco-table .arco-pagination-size-default .arco-pagination-total-text{display:flex;align-items:center}.arco-table-filters-btn{justify-content:flex-end}.arco-table-border-header-cell thead>.arco-table-tr>.arco-table-th{border:0;border-bottom:1px solid var(--color-border-2)}.arco-table-border-header-cell thead>.arco-table-tr>.arco-table-th:last-of-type{border-right:0}.arco-table-border-header-cell thead>.arco-table-tr>.arco-table-th.arco-table-col-fixed-left-last{border-right:0}.arco-table-border-header-cell thead>.arco-table-tr>.arco-table-th.arco-table-col-fixed-left-last+.arco-table-th{border-left:0}.arco-table-border-header-cell .arco-table-th{background-color:var(--color-bg-5);border-top:0}.arco-table-border-header-cell .arco-table-td thead>.arco-table-tr>.arco-table-th{border-top:0}.arco-table-expand-content:hover .arco-table-td{background:rgb(var(--primary-1)) !important}.arco-table-expand-icon-cell button,.arco-table-cell-expand-icon button{background-color:transparent}.arco-table-expand-icon-cell button:hover,.arco-table-cell-expand-icon button:hover{background-color:transparent}.arco-table .arco-table-tr.arco-table-empty-row>.arco-table-td{border-bottom:0;padding:0 12px}
@@ -0,0 +1,184 @@
1
+ .@{table-prefix-cls} {
2
+ // 边框
3
+ &-border.arco-table-border-header-cell {
4
+ .arco-table-container {
5
+ .arco-table-th {
6
+ border-top: 0;
7
+ &:first-child {
8
+ border-left: 1px solid var(--color-border-1);
9
+ }
10
+ }
11
+ }
12
+ }
13
+ &-border-header-cell .arco-table-th {
14
+ border-left: 1px solid var(--color-border-1);
15
+ border-top: 1px solid var(--color-border-1);
16
+ &:first-child {
17
+ border-left: 0;
18
+ }
19
+ }
20
+
21
+ thead {
22
+ .arco-table-tr {
23
+ height: 36px;
24
+ }
25
+ }
26
+
27
+ // 左侧多选、单选、展开行
28
+ // 多选、单选右侧边框去掉
29
+ &-tr{
30
+ .arco-table-checkbox,
31
+ .arco-table-radio,
32
+ .arco-table-expand-icon-cell,
33
+ .arco-table-expand{
34
+ padding-left: 10px;
35
+ }
36
+
37
+ .arco-table-checkbox,
38
+ .arco-table-radio{
39
+ &+.arco-table-th, &+.arco-table-td{
40
+ border-left: 0;
41
+ }
42
+ }
43
+ }
44
+
45
+ // 排序筛选按钮
46
+ .arco-table-th{
47
+ &-item {
48
+ font-size: 12px;
49
+ padding: 0px 12px;
50
+ }
51
+ &-item.arco-table-col-has-sorter {
52
+ .arco-table-cell-with-sorter {
53
+ display: inline-block;
54
+ font-size: 12px;
55
+ padding: 0;
56
+ }
57
+ }
58
+ &-item.arco-table-col-has-filter {
59
+ .arco-table-filters {
60
+ position: relative;
61
+ display: inline-block;
62
+ margin-left: 8px;
63
+ vertical-align: -3px;
64
+
65
+ &:hover{
66
+ svg{
67
+ color: rgb(var(--primary-6));
68
+ }
69
+ }
70
+ }
71
+ .arco-table-filters-open svg{
72
+ color: rgb(var(--primary-6));
73
+ }
74
+ }
75
+ }
76
+
77
+ // 展开按钮对齐
78
+ tbody{
79
+ .arco-table-td.arco-table-operation.arco-table-expand-icon-cell{
80
+ & button{
81
+ width: 14px;
82
+ height: 14px;
83
+ }
84
+ }
85
+ .arco-table-td, .arco-table-cell{
86
+ .arco-table-cell-expand-icon{
87
+ & button{
88
+ width: 14px;
89
+ height: 14px;
90
+ }
91
+ }
92
+ }
93
+ }
94
+
95
+ // 展开列背景色修复
96
+ &.arco-table-hover .arco-table-expand-content:not(.arco-table-empty-row):hover .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right){
97
+ background-color: rgb(var(--primary-1));
98
+ }
99
+
100
+ // 分页上边距, 中间对齐
101
+ &-pagination .arco-pagination {
102
+ margin-top: 16px;
103
+ }
104
+ .arco-pagination-size-default .arco-pagination-total-text{
105
+ display: flex;
106
+ align-items: center;
107
+ }
108
+
109
+ // 操作按钮右对齐
110
+ &-filters-btn{
111
+ justify-content: flex-end;
112
+ }
113
+
114
+ // Cea/V5拖拽表头统一,仅处理border-header
115
+ &-border-header-cell {
116
+ thead>.arco-table-tr {
117
+ &>.arco-table-th {
118
+ // border-top: 1px solid var(--color-border-3);
119
+ // border-right: 1px solid var(--color-bg-3);
120
+ // border-left: 0;
121
+ border: 0;
122
+ border-bottom: 1px solid var(--color-border-2);
123
+
124
+ &:last-of-type{
125
+ border-right: 0;
126
+ }
127
+ }
128
+ // 处理右侧固定的表头左侧线
129
+ &>.arco-table-th.arco-table-col-fixed-left-last {
130
+ border-right: 0;
131
+
132
+ &+.arco-table-th {
133
+ // border-left: 1px solid var(--color-border-3);
134
+ border-left: 0;
135
+ }
136
+ }
137
+ }
138
+ // 处理hover状态
139
+ .arco-table-th{
140
+ background-color: var(--color-bg-5);
141
+ // border-top: 1px solid var(--color-border-3);
142
+ border-top: 0;
143
+
144
+ // 主题中不再处理顶部hover样式,只有可拖拽时arco-m中处理
145
+ // &:hover{
146
+ // background-color: rgb(var(--primary-2));
147
+ // }
148
+ }
149
+
150
+ // 处理嵌套中的表头上边框去掉
151
+ .arco-table-td thead>.arco-table-tr {
152
+ &>.arco-table-th{
153
+ border-top: 0;
154
+ }
155
+ }
156
+ }
157
+
158
+ // 展开列的hover色
159
+ &-expand-content{
160
+ &:hover{
161
+ .arco-table-td{
162
+ background: rgb(var(--primary-1)) !important;
163
+ }
164
+ }
165
+ }
166
+
167
+ // 展开按钮背景色去除
168
+ &-expand-icon-cell button,
169
+ &-cell-expand-icon button{
170
+ background-color: transparent;
171
+ // border: 1px solid var(--color-text-3);
172
+
173
+ &:hover{
174
+ background-color: transparent;
175
+ // border-color: var(--color-text-3);
176
+ }
177
+ }
178
+
179
+ // 空状态去除底部边框线
180
+ .arco-table-tr.arco-table-empty-row > .arco-table-td{
181
+ border-bottom: 0;
182
+ padding: 0 12px;
183
+ }
184
+ }
@@ -0,0 +1 @@
1
+ .arco-tabs-header-nav-card .arco-tabs-icon-hover::before,.arco-tabs-header-nav-card-gutter .arco-tabs-icon-hover::before,.arco-tabs-header-nav-text .arco-tabs-icon-hover::before,.arco-tabs-header-nav-capsule .arco-tabs-icon-hover::before{background-color:transparent}.arco-tabs-header-nav-card .arco-tabs-header-title,.arco-tabs-header-nav-card-gutter .arco-tabs-header-title,.arco-tabs-header-nav-text .arco-tabs-header-title,.arco-tabs-header-nav-capsule .arco-tabs-header-title{border:none;border-top-left-radius:4px;border-top-right-radius:4px}.arco-tabs-header-nav-card .arco-tabs-header-title-active,.arco-tabs-header-nav-card-gutter .arco-tabs-header-title-active,.arco-tabs-header-nav-text .arco-tabs-header-title-active,.arco-tabs-header-nav-capsule .arco-tabs-header-title-active{background-color:rgb(var(--primary-6)) !important}.arco-tabs-header-nav-card .arco-tabs-header-title-active .arco-tabs-header-title-text,.arco-tabs-header-nav-card-gutter .arco-tabs-header-title-active .arco-tabs-header-title-text,.arco-tabs-header-nav-text .arco-tabs-header-title-active .arco-tabs-header-title-text,.arco-tabs-header-nav-capsule .arco-tabs-header-title-active .arco-tabs-header-title-text{color:var(--color-white)}.arco-tabs-header-nav-card .arco-tabs-header-title-active:hover .arco-tabs-header-title-text,.arco-tabs-header-nav-card-gutter .arco-tabs-header-title-active:hover .arco-tabs-header-title-text,.arco-tabs-header-nav-text .arco-tabs-header-title-active:hover .arco-tabs-header-title-text,.arco-tabs-header-nav-capsule .arco-tabs-header-title-active:hover .arco-tabs-header-title-text{color:var(--color-white)}.arco-tabs-header-nav-card .arco-tabs-header-title-active.arco-tabs-header-title-editable,.arco-tabs-header-nav-card-gutter .arco-tabs-header-title-active.arco-tabs-header-title-editable,.arco-tabs-header-nav-text .arco-tabs-header-title-active.arco-tabs-header-title-editable,.arco-tabs-header-nav-capsule .arco-tabs-header-title-active.arco-tabs-header-title-editable{background-color:rgb(var(--primary-6))}.arco-tabs-header-nav-card-gutter .arco-tabs-header-title,.arco-tabs-header-nav-card-gutter-gutter .arco-tabs-header-title,.arco-tabs-header-nav-text-gutter .arco-tabs-header-title,.arco-tabs-header-nav-capsule-gutter .arco-tabs-header-title{border:none}.arco-tabs-content{border:none !important;padding-top:20px}.arco-tabs-header-nav-card-gutter .arco-tabs-header-title{background-color:transparent}.arco-tabs-header-nav-card-gutter .arco-tabs-header-title-active{background-color:rgb(var(--primary-6))}.arco-tabs-header-nav-line .arco-tabs-header-title{margin:0;padding:8px 20px}.arco-tabs-header-nav-card .arco-tabs-header-title:last-child{border-right:0}.arco-tabs.arco-tabs-capsule .arco-tabs-header-nav-capsule .arco-tabs-header-wrapper{justify-content:flex-start}.arco-tabs.arco-tabs-capsule .arco-tabs-header-nav-capsule .arco-tabs-header-title{border:1px solid var(--color-border-2);border-radius:0;color:var(--color-text-2);background-color:transparent;margin-right:1px}.arco-tabs.arco-tabs-capsule .arco-tabs-header-nav-capsule .arco-tabs-header-title-active{background-color:rgb(var(--primary-2)) !important;font-weight:600}.arco-tabs.arco-tabs-capsule .arco-tabs-header-nav-capsule .arco-tabs-header-title-active .arco-tabs-header-title-text{color:rgb(var(--primary-6))}.arco-tabs.arco-tabs-capsule .arco-tabs-header-nav-capsule .arco-tabs-header-title:hover{background-color:transparent;font-weight:600;color:rgb(var(--primary-6))}.arco-tabs.arco-tabs-capsule .arco-tabs-header-nav-capsule .arco-tabs-header-title-disabled{color:var(--color-text-6);font-weight:normal}.arco-tabs.arco-tabs-capsule .arco-tabs-header-nav-capsule .arco-tabs-header-title-disabled:hover{color:var(--color-text-6);font-weight:normal}.arco-tabs.arco-tabs-capsule .arco-tabs-header-nav-capsule .arco-tabs-header-title:not(:first-of-type){margin-left:0;border-left:0}.arco-tabs.arco-tabs-capsule .arco-tabs-header-nav-capsule .arco-tabs-header-title:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px}.arco-tabs.arco-tabs-capsule .arco-tabs-header-nav-capsule .arco-tabs-header-title:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.arco-tabs-content .arco-tabs-content-item{overflow:visible}.arco-tabs .arco-tabs-header-nav-card .arco-tabs-header-title-active{background-color:rgb(var(--primary-2)) !important;font-weight:600}.arco-tabs .arco-tabs-header-nav-card .arco-tabs-header-title-active .arco-tabs-header-title-text{color:rgb(var(--primary-6))}.arco-tabs .arco-tabs-header-nav-card .arco-tabs-header-title:hover{background-color:transparent;font-weight:600}.arco-tabs .arco-tabs-header-nav-card .arco-tabs-header-title-disabled{background-color:transparent}.arco-tabs .arco-tabs-header-nav-card .arco-tabs-header-title-disabled:hover{font-weight:normal}.arco-tabs .arco-tabs-header-nav-card.arco-tabs-header-size-default .arco-tabs-header-title{padding:5px 16px}.arco-tabs .arco-tabs-header-size-small .arco-tabs-header-title{font-size:12px;line-height:18px}.arco-tabs .arco-tabs-header-nav-capsule.arco-tabs-header-size-default .arco-tabs-header-title{font-size:12px;line-height:30px}.arco-tabs .arco-tabs-header-nav-capsule.arco-tabs-header-size-mini .arco-tabs-header-title{padding:2px 12px}
@@ -0,0 +1,189 @@
1
+ .@{tabs-prefix-cls} {
2
+ &-header-nav-card, &-header-nav-card-gutter, &-header-nav-text, &-header-nav-capsule {
3
+ .@{tabs-prefix-cls} {
4
+ &-icon-hover::before {
5
+ background-color: transparent;
6
+ }
7
+ &-header-title {
8
+ border: none;
9
+ border-top-left-radius: 4px;
10
+ border-top-right-radius: 4px;
11
+ &:hover {
12
+ // background-color: var(--color-fill-2);
13
+ }
14
+
15
+ &-active {
16
+ background-color: rgb(var(--primary-6)) !important;
17
+ .@{tabs-prefix-cls} {
18
+ &-header-title {
19
+ &-text {
20
+ color: var(--color-white);
21
+ }
22
+ }
23
+ }
24
+ &:hover {
25
+ .@{tabs-prefix-cls} {
26
+ &-header-title {
27
+ &-text {
28
+ // color: var(--color-text-2);
29
+ color: var(--color-white);
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+
36
+ &-active.arco-tabs-header-title-editable{
37
+ background-color: rgb(var(--primary-6))
38
+ }
39
+ }
40
+ }
41
+ &-gutter {
42
+ .@{tabs-prefix-cls} {
43
+ &-header-title {
44
+ border: none;
45
+ }
46
+ }
47
+ }
48
+ }
49
+ &-content {
50
+ border: none !important;
51
+ padding-top: 20px;
52
+ }
53
+ &-header-nav-card-gutter .arco-tabs-header-title{
54
+ background-color: transparent;
55
+ }
56
+ &-header-nav-card-gutter .arco-tabs-header-title-active{
57
+ background-color: rgb(var(--primary-6));
58
+ }
59
+
60
+ // 文字底部横线左右边距
61
+ &-header-nav-line .arco-tabs-header-title{
62
+ margin: 0;
63
+ padding: 8px 20px;
64
+ }
65
+
66
+ // card最后元素右边框取消
67
+ &-header-nav-card .arco-tabs-header-title:last-child {
68
+ border-right: 0;
69
+ }
70
+
71
+ // 胶囊样式用做二级tab
72
+ &.arco-tabs-capsule .arco-tabs-header-nav-capsule {
73
+ .arco-tabs-header-wrapper {
74
+ justify-content: flex-start;
75
+ }
76
+ .arco-tabs-header-title{
77
+ border: 1px solid var(--color-border-2);
78
+ border-radius: 0;
79
+ color: var(--color-text-2);
80
+ // background-color: rgb(var(--primary-2));
81
+ background-color: transparent;
82
+ margin-right: 1px;
83
+
84
+ &-active {
85
+ background-color: rgb(var(--primary-2)) !important;
86
+ font-weight: 600;
87
+ .arco-tabs-header-title-text{
88
+ color: rgb(var(--primary-6));
89
+ }
90
+ }
91
+
92
+ &:hover{
93
+ background-color: transparent;
94
+ font-weight: 600;
95
+ color: rgb(var(--primary-6));
96
+ }
97
+
98
+ &-disabled {
99
+ color: var(--color-text-6);
100
+ font-weight: normal;
101
+ &:hover {
102
+ color: var(--color-text-6);
103
+ font-weight: normal;
104
+ }
105
+ }
106
+
107
+ &:not(:first-of-type){
108
+ margin-left: 0;
109
+ border-left: 0;
110
+ }
111
+
112
+ &:first-of-type{
113
+ border-top-left-radius: 4px;
114
+ border-bottom-left-radius: 4px;
115
+ }
116
+
117
+ &:last-of-type{
118
+ border-top-right-radius: 4px;
119
+ border-bottom-right-radius: 4px;
120
+ }
121
+ }
122
+ }
123
+
124
+ // tab标签超出内容可见
125
+ &-content .arco-tabs-content-item{
126
+ overflow: visible;
127
+ }
128
+
129
+ // 卡片选项卡样式调整
130
+ & .arco-tabs-header-nav-card{
131
+ .arco-tabs-header-title-active{
132
+ background-color: rgb(var(--primary-2)) !important;
133
+ font-weight: 600;
134
+
135
+ .arco-tabs-header-title-text{
136
+ color: rgb(var(--primary-6));
137
+ }
138
+ }
139
+ .arco-tabs-header-title:hover{
140
+ background-color: transparent;
141
+ font-weight: 600;
142
+ }
143
+
144
+ .arco-tabs-header-title-disabled{
145
+ background-color: transparent;
146
+ &:hover{
147
+ font-weight: normal;;
148
+ }
149
+ }
150
+ }
151
+
152
+ // 卡片选项卡
153
+ .arco-tabs-header-nav-card{
154
+ &.arco-tabs-header-size-default{
155
+ .arco-tabs-header-title{
156
+ padding: 5px 16px;
157
+ }
158
+ }
159
+ }
160
+
161
+
162
+
163
+ // 尺寸控制
164
+ // small尺寸
165
+ .arco-tabs-header-size-small{
166
+ .arco-tabs-header-title{
167
+ font-size: 12px;
168
+ line-height: 18px;
169
+ }
170
+ }
171
+
172
+
173
+ // 胶囊选项卡
174
+ .arco-tabs-header-nav-capsule{
175
+
176
+ &.arco-tabs-header-size-default{
177
+ .arco-tabs-header-title{
178
+ font-size: 12px;
179
+ line-height: 30px;
180
+ }
181
+ }
182
+
183
+ &.arco-tabs-header-size-mini{
184
+ .arco-tabs-header-title{
185
+ padding: 2px 12px;
186
+ }
187
+ }
188
+ }
189
+ }
@@ -0,0 +1 @@
1
+ .arco-timepicker-container{background-color:var(--color-bg-1)}
@@ -0,0 +1,5 @@
1
+ .@{time-picker-prefix-cls} {
2
+ &-container{
3
+ background-color: var(--color-bg-1);
4
+ }
5
+ }
@@ -0,0 +1 @@
1
+ .arco-tooltip .arco-trigger-arrow{z-index:0}
@@ -0,0 +1,5 @@
1
+ .@{tooltip-prefix-cls} {
2
+ .arco-trigger-arrow {
3
+ z-index: 0;
4
+ }
5
+ }
@@ -0,0 +1 @@
1
+ .arco-transfer-view .arco-table .arco-checkbox{padding-left:0}.arco-transfer .arco-list-wrapper .arco-list{border-left:0;border-right:0;border-bottom:0}.arco-transfer-view-header{background:var(--color-bg-3)}.arco-transfer-view-custom-list .arco-empty-wrapper .arco-empty-description{margin:0;line-height:18px}
@@ -0,0 +1,22 @@
1
+ .@{transfer-prefix-cls} {
2
+ &-view .arco-table .arco-checkbox {
3
+ padding-left: 0;
4
+ }
5
+ .arco-list-wrapper .arco-list{
6
+ border-left: 0;
7
+ border-right: 0;
8
+ border-bottom: 0;
9
+ }
10
+
11
+ &-view-header{
12
+ background: var(--color-bg-3);
13
+ }
14
+
15
+ // 穿梭框表格空状态样式
16
+ &-view-custom-list .arco-empty-wrapper{
17
+ .arco-empty-description{
18
+ margin: 0;
19
+ line-height: 18px;
20
+ }
21
+ }
22
+ }
@@ -0,0 +1 @@
1
+ .arco-tree-node:hover{background-color:rgb(var(--primary-2))}.arco-tree-node-selected{background-color:rgb(var(--primary-3))}.arco-tree.arco-tree-show-line .arco-tree-node-selected .arco-tree-node-switcher{color:rgb(var(--primary-6))}.arco-tree.arco-tree-show-line .arco-tree-node-selected .arco-tree-node-switcher .arco-tree-node-minus-icon::after,.arco-tree.arco-tree-show-line .arco-tree-node-selected .arco-tree-node-switcher .arco-tree-node-plus-icon::after,.arco-tree.arco-tree-show-line .arco-tree-node-selected .arco-tree-node-switcher .arco-tree-node-plus-icon::before{color:rgb(var(--primary-6));background-color:rgb(var(--primary-6))}.arco-tree .arco-tree-node-minus-icon,.arco-tree .arco-tree-node-plus-icon{width:12px;height:12px;border:1px solid var(--color-text-3);margin-top:-2px}.arco-tree .arco-icon-file{margin-top:-2px}.arco-tree .arco-tree-node-selected .arco-tree-node-minus-icon,.arco-tree .arco-tree-node-selected .arco-tree-node-plus-icon{border-color:rgb(var(--primary-6))}
@@ -0,0 +1,36 @@
1
+ .@{tree-prefix-cls} {
2
+ &-node:hover {
3
+ background-color: rgb(var(--primary-2));
4
+ }
5
+
6
+ &-node-selected {
7
+ background-color: rgb(var(--primary-3));
8
+ }
9
+
10
+ &.arco-tree-show-line{
11
+ .arco-tree-node-selected .arco-tree-node-switcher{
12
+ color: rgb(var(--primary-6));
13
+
14
+ .arco-tree-node-minus-icon::after,
15
+ .arco-tree-node-plus-icon::after,
16
+ .arco-tree-node-plus-icon::before{
17
+ color: rgb(var(--primary-6));
18
+ background-color: rgb(var(--primary-6));
19
+ }
20
+ }
21
+ }
22
+ .arco-tree-node-minus-icon, .arco-tree-node-plus-icon{
23
+ width: 12px;
24
+ height: 12px;
25
+ border: 1px solid var(--color-text-3);
26
+ margin-top: -2px;
27
+ }
28
+ .arco-icon-file{
29
+ margin-top: -2px;
30
+ }
31
+ .arco-tree-node-selected{
32
+ .arco-tree-node-minus-icon, .arco-tree-node-plus-icon{
33
+ border-color: rgb(var(--primary-6));
34
+ }
35
+ }
36
+ }
@@ -0,0 +1 @@
1
+ .arco-tree-select .arco-icon-hover:hover::before{background-color:transparent}
@@ -0,0 +1,7 @@
1
+ .@{tree-select-prefix-cls} {
2
+ .arco-icon-hover{
3
+ &:hover::before{
4
+ background-color: transparent;
5
+ }
6
+ }
7
+ }
@@ -0,0 +1 @@
1
+ .arco-upload-list-item-done .arco-upload-list-file-icon,.arco-upload-list-file-icon{color:var(--color-text-3)}.arco-upload-list-item-init .arco-upload-list-item-text-name-text{color:var(--color-text-2)}.arco-upload-list-item-init .arco-upload-list-item-text{background-color:rgb(var(--primary-1))}.arco-upload-list-item-uploading .arco-upload-list-item-text-name-link{color:rgb(var(--primary-6))}.arco-upload-list-item-uploading .arco-upload-list-item-text{background-color:rgb(var(--primary-1))}.arco-upload-list-item-done .arco-upload-list-item-text-name-link{color:rgb(var(--primary-6))}.arco-upload-list-item-done .arco-upload-list-item-text{background-color:rgb(var(--success-1))}.arco-upload-list-item-error .arco-upload-list-reupload-icon{font-weight:600}.arco-upload-list-item-error .arco-upload-list-item-text{background-color:rgb(var(--danger-1))}