162 lines
3.6 KiB
SCSS
162 lines
3.6 KiB
SCSS
/* 扩展ant design pro按钮组件颜色 */
|
|
$--my-antd-important: !important;
|
|
|
|
.btn-danger {
|
|
color: #ffffff;
|
|
background-color: #F5222D;
|
|
border-color: #F5222D;
|
|
|
|
&:hover, &:focus {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #ff4d4f $--my-antd-important;
|
|
border-color: #ff4d4f $--my-antd-important;
|
|
}
|
|
|
|
&:active, &.active {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #cf1322 $--my-antd-important;
|
|
border-color: #cf1322 $--my-antd-important;
|
|
}
|
|
}
|
|
|
|
.btn-volcano {
|
|
color: #ffffff;
|
|
background-color: #FA541C;
|
|
border-color: #FA541C;
|
|
|
|
&:hover, &:focus {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #ff7a45 $--my-antd-important;
|
|
border-color: #ff7a45 $--my-antd-important;
|
|
}
|
|
|
|
&:active, &.active {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #d4380d $--my-antd-important;
|
|
border-color: #d4380d $--my-antd-important;
|
|
}
|
|
}
|
|
|
|
.btn-warn {
|
|
color: #ffffff;
|
|
background-color: #FAAD14;
|
|
border-color: #FAAD14;
|
|
|
|
&:hover, &:focus {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #ffc53d $--my-antd-important;
|
|
border-color: #ffc53d $--my-antd-important;
|
|
}
|
|
|
|
&:active, &.active {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #d48806 $--my-antd-important;
|
|
border-color: #d48806 $--my-antd-important;
|
|
}
|
|
}
|
|
|
|
.btn-success {
|
|
color: #ffffff;
|
|
background-color: #52C41A;
|
|
border-color: #52C41A;
|
|
|
|
&:hover, &:focus {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #73d13d $--my-antd-important;
|
|
border-color: #73d13d $--my-antd-important;
|
|
}
|
|
|
|
&:active, &.active {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #389e0d $--my-antd-important;
|
|
border-color: #389e0d $--my-antd-important;
|
|
}
|
|
}
|
|
|
|
.button-color-cyan {
|
|
color: #ffffff;
|
|
background-color: #13C2C2;
|
|
border-color: #13C2C2;
|
|
|
|
&:hover, &:focus {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #36cfc9 $--my-antd-important;
|
|
border-color: #36cfc9 $--my-antd-important;
|
|
}
|
|
|
|
&:active, &.active {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #08979c $--my-antd-important;
|
|
border-color: #08979c $--my-antd-important;
|
|
}
|
|
}
|
|
|
|
.btn-daybreak {
|
|
color: #ffffff;
|
|
background-color: #1890FF;
|
|
border-color: #1890FF;
|
|
|
|
&:hover, &:focus {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #096dd9 $--my-antd-important;
|
|
border-color: #096dd9 $--my-antd-important;
|
|
}
|
|
|
|
&:active, &.active {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #40a9ff $--my-antd-important;
|
|
border-color: #40a9ff $--my-antd-important;
|
|
}
|
|
}
|
|
|
|
.button-color-geekblue {
|
|
color: #ffffff;
|
|
background-color: #2F54EB;
|
|
border-color: #2F54EB;
|
|
|
|
&:hover, &:focus {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #1d39c4 $--my-antd-important;
|
|
border-color: #1d39c4 $--my-antd-important;
|
|
}
|
|
|
|
&:active, &.active {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #597ef7 $--my-antd-important;
|
|
border-color: #597ef7 $--my-antd-important;
|
|
}
|
|
}
|
|
|
|
.btn-purple {
|
|
color: #ffffff;
|
|
background-color: #722ED1;
|
|
border-color: #722ED1;
|
|
|
|
&:hover, &:focus {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #9254de $--my-antd-important;
|
|
border-color: #9254de $--my-antd-important;
|
|
}
|
|
|
|
&:active, &.active {
|
|
color: #ffffff $--my-antd-important;
|
|
background-color: #531dab $--my-antd-important;
|
|
border-color: #531dab $--my-antd-important;
|
|
}
|
|
}
|
|
|
|
.table-row-warn td {
|
|
background-color: #fefca6;
|
|
}
|
|
|
|
.table-row-danger td {
|
|
background-color: #f79988;
|
|
}
|
|
|
|
.table-row-success td {
|
|
background-color: #b6fcbe;
|
|
}
|
|
|
|
.ant-table-summary td {
|
|
background: #edeff6;
|
|
} |