[update] 调整按钮
This commit is contained in:
@@ -324,6 +324,12 @@ button.ant-btn {
|
|||||||
&.ant-btn-primary {
|
&.ant-btn-primary {
|
||||||
background: #8FC7FF;
|
background: #8FC7FF;
|
||||||
color: @text-black;
|
color: @text-black;
|
||||||
|
box-shadow: 0 0 0 0 transparent inset;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
box-shadow: 0 0 0 1px @primary-color inset;
|
||||||
|
}
|
||||||
|
|
||||||
// 透明状态(ghost)
|
// 透明状态(ghost)
|
||||||
&.ant-btn-background-ghost {
|
&.ant-btn-background-ghost {
|
||||||
@@ -333,6 +339,7 @@ button.ant-btn {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:not([disabled]):active {
|
&:not([disabled]):active {
|
||||||
|
box-shadow: 0 0 0 0 transparent inset;
|
||||||
background-color: @border-color-base !important;
|
background-color: @border-color-base !important;
|
||||||
border-color: @border-color-base !important;
|
border-color: @border-color-base !important;
|
||||||
color: @text-color !important;
|
color: @text-color !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user