@arco-themes/vue-neutral 0.0.5 → 0.0.6
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 +8 -0
- package/components/Button/index.css +1 -0
- package/components/Button/index.less +12 -1
- package/components/Modal/index.css +1 -1
- package/components/Modal/index.less +5 -3
- package/css/arco.css +1 -1
- package/package.json +1 -1
- package/tokens.less +8 -8
- package/variables.less +9 -6
package/README.md
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-btn-group .arco-btn:only-child{border-radius:8px}.arco-btn-group .arco-btn:only-child.arco-btn-shape-round{border-radius:999px}.arco-btn-group .arco-btn:only-child.arco-btn-shape-circle{border-radius:50%}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
.@{btn-prefix-cls} {
|
|
2
|
-
|
|
2
|
+
&-group {
|
|
3
|
+
// 按钮组内仅单个按钮时,会同时命中官方 :first-child 和 :last-child 导致四角圆角归零
|
|
4
|
+
.@{btn-prefix-cls}:only-child {
|
|
5
|
+
border-radius: @btn-border-radius;
|
|
6
|
+
&.@{btn-prefix-cls}-shape-round {
|
|
7
|
+
border-radius: 999px;
|
|
8
|
+
}
|
|
9
|
+
&.@{btn-prefix-cls}-shape-circle {
|
|
10
|
+
border-radius: @border-radius-circle;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
3
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.arco-modal .arco-modal-header{padding:16px}
|
|
1
|
+
.arco-modal .arco-modal-header{padding:16px}.arco-modal-simple .arco-modal-body{padding:16px}
|