diff --git a/theme/dt-theme/default/button.less b/theme/dt-theme/default/button.less index e32576c7..16f7315d 100644 --- a/theme/dt-theme/default/button.less +++ b/theme/dt-theme/default/button.less @@ -116,8 +116,8 @@ } .ant-btn-danger.ant-btn:hover { color: @white; - background-color: @red2 !important; - border-color: @red2; + background-color: #ED5340 !important; + border-color: #ED5340; } .ant-btn-danger.ant-btn:active, .ant-btn-danger.ant-btn.active { @@ -131,9 +131,9 @@ border-color: @red; } .ant-btn-background-ghost.ant-btn-danger:hover, .ant-btn-background-ghost.ant-btn-danger:focus { - color: @white; - background-color: @red2 !important; - border-color: @red2; + color: @red; + border-color: @red; + background-color: @white !important; } .ant-btn-background-ghost.ant-btn-danger:active, .ant-btn-background-ghost.ant-btn-danger.active { @@ -141,6 +141,12 @@ background-color: @red !important; border-color: @red; } +.ant-btn.ant-btn-default.ant-btn-background-ghost.dt-btn-custom-icon:not([disabled]){ + &:hover{ + color: @primaryColor; + border-color: @primaryColor; + } +} .ant-btn-danger-disabled, .ant-btn-danger.disabled, @@ -239,3 +245,16 @@ margin-top: 2px; } } +.ant-btn.ant-btn-default:not([disabled]), .ant-btn.ant-btn-default.ant-btn-background-ghost:not([disabled]){ + &:hover{ + border-color: @hoverColor; + color: @hoverColor; + background-color: @white !important; + } +} +.ant-btn.ant-btn-default.dt-btn-highlight:not([disabled]){ + &:hover{ + color: @primaryColor; + border-color: @primaryColor; + } +} diff --git a/theme/dt-theme/default/input.less b/theme/dt-theme/default/input.less index 26a4a2c7..a8289614 100644 --- a/theme/dt-theme/default/input.less +++ b/theme/dt-theme/default/input.less @@ -45,4 +45,7 @@ } .ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary){ border: solid 1px #D8DAE1; + &:hover{ + border: solid 1px @primaryColor; + } }