react-super
Version:
54 lines (52 loc) • 1.82 kB
text/less
@danger-color: #ff4d4f;
@danger-color-hover: #fc7476;
@danger-color-active: #a8071a;
.ant-btn-primary.super-button-theme-danger {
background-color: @danger-color ;
border-color: @danger-color ;
}
.ant-btn-primary.super-button-theme-danger:hover {
background-color: @danger-color-hover ;
border-color: @danger-color-hover ;
}
.ant-btn-primary.super-button-theme-danger:active {
background-color: @danger-color-active ;
border-color: @danger-color-active ;
}
.ant-btn-background-ghost.super-button-theme-danger {
color: @danger-color ;
background: transparent ;
}
.ant-btn-link.super-button-theme-danger {
color: @danger-color ;
background: transparent ;
border-color: transparent ;
}
.ant-btn-background-ghost.super-button-theme-danger:hover,
.ant-btn-link.super-button-theme-danger:hover {
color: @danger-color-hover ;
background: transparent ;
}
.ant-btn-background-ghost.super-button-theme-danger:active,
.ant-btn-link.super-button-theme-danger:active {
color: @danger-color-active ;
}
.ant-btn-background-ghost.super-button-theme-danger:focus,
.ant-btn-link.super-button-theme-danger:focus {
color: @danger-color;
}
.ant-btn-dashed.super-button-theme-danger:hover,
.ant-btn-default.super-button-theme-danger:hover {
color: @danger-color ;
border-color: @danger-color ;
}
.ant-btn-dashed.super-button-theme-danger:active,
.ant-btn-default.super-button-theme-danger:active {
color: @danger-color-active ;
border-color: @danger-color-active ;
}
.ant-btn-dashed.super-button-theme-danger:focus,
.ant-btn-default.super-button-theme-danger:focus {
color: @danger-color;
border-color: @danger-color;
}