@arco-themes/vue-neutral 0.0.1 → 0.0.3
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 +16 -0
- package/components/Table/index.less +28 -28
- package/components/Tree/index.css +1 -1
- package/components/Tree/index.less +5 -0
- package/css/arco.css +1 -1
- package/package.json +1 -1
- package/theme.less +50 -6
- package/tokens.less +9 -9
- package/variables.less +9 -3
package/README.md
CHANGED
|
@@ -3,36 +3,36 @@
|
|
|
3
3
|
border-radius: @border-radius-large;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
.arco-table-element {
|
|
7
|
+
// 表头:顶部圆角
|
|
8
|
+
thead tr:first-child th:first-child {
|
|
9
|
+
border-top-left-radius: @border-radius-large;
|
|
10
|
+
}
|
|
11
|
+
thead tr:first-child th:last-child {
|
|
12
|
+
border-top-right-radius: @border-radius-large;
|
|
13
|
+
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
// 无表头:首行 body 顶部圆角
|
|
16
|
+
tbody tr:first-child td:first-child {
|
|
17
|
+
border-top-left-radius: @border-radius-large;
|
|
18
|
+
}
|
|
19
|
+
tbody tr:first-child td:last-child {
|
|
20
|
+
border-top-right-radius: @border-radius-large;
|
|
21
|
+
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
// 有表头:首行 body 顶部取消圆角
|
|
24
|
+
thead + tbody tr:first-child td:first-child,
|
|
25
|
+
thead + tbody tr:first-child td:last-child {
|
|
26
|
+
border-top-left-radius: 0;
|
|
27
|
+
border-top-right-radius: 0;
|
|
28
|
+
}
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
30
|
+
// 最后一行:底部圆角
|
|
31
|
+
tbody tr:last-child td:first-child {
|
|
32
|
+
border-bottom-left-radius: @border-radius-large;
|
|
33
|
+
}
|
|
34
|
+
tbody tr:last-child td:last-child {
|
|
35
|
+
border-bottom-right-radius: @border-radius-large;
|
|
37
36
|
}
|
|
37
|
+
}
|
|
38
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.arco-tree .arco-tree-node-switcher-icon,.arco-tree .arco-tree-node-minus-icon,.arco-tree .arco-tree-node-plus-icon{border-radius:4px}
|
|
1
|
+
.arco-tree .arco-tree-node-switcher-icon,.arco-tree .arco-tree-node-minus-icon,.arco-tree .arco-tree-node-plus-icon{border-radius:4px}.arco-tree .arco-tree-node-selected .arco-tree-node-title,.arco-tree .arco-tree-node-selected .arco-tree-node-title:hover{background:var(--color-neutral-2)}
|