react-super
Version:
54 lines (52 loc) • 1.86 kB
text/less
@warning-color: #fa8c16;
@warning-color-hover: #ffa940;
@warning-color-active: #ad4e00;
.ant-btn-primary.super-button-theme-warning {
background-color: @warning-color ;
border-color: @warning-color ;
}
.ant-btn-primary.super-button-theme-warning:hover {
background-color: @warning-color-hover ;
border-color: @warning-color-hover ;
}
.ant-btn-primary.super-button-theme-warning:active {
background-color: @warning-color-active ;
border-color: @warning-color-active ;
}
.ant-btn-background-ghost.super-button-theme-warning {
color: @warning-color ;
background: transparent ;
}
.ant-btn-link.super-button-theme-warning {
color: @warning-color ;
background: transparent ;
border-color: transparent ;
}
.ant-btn-background-ghost.super-button-theme-warning:hover,
.ant-btn-link.super-button-theme-warning:hover {
color: @warning-color-hover ;
background: transparent ;
}
.ant-btn-background-ghost.super-button-theme-warning:active,
.ant-btn-link.super-button-theme-warning:active {
color: @warning-color-active ;
}
.ant-btn-background-ghost.super-button-theme-warning:focus,
.ant-btn-link.super-button-theme-warning:focus {
color: @warning-color;
}
.ant-btn-dashed.super-button-theme-warning:hover,
.ant-btn-default.super-button-theme-warning:hover {
color: @warning-color ;
border-color: @warning-color ;
}
.ant-btn-dashed.super-button-theme-warning:active,
.ant-btn-default.super-button-theme-warning:active {
color: @warning-color-active ;
border-color: @warning-color-active ;
}
.ant-btn-dashed.super-button-theme-warning:focus,
.ant-btn-default.super-button-theme-warning:focus {
color: @warning-color;
border-color: @warning-color;
}