feat: close #2141 danger zone

This commit is contained in:
Yidadaa
2023-06-29 01:09:51 +08:00
parent 98afd5516b
commit 6c3d4a11cc
19 changed files with 106 additions and 139 deletions

View File

@@ -28,6 +28,21 @@
}
}
&.danger {
color: rgba($color: red, $alpha: 0.8);
border-color: rgba($color: red, $alpha: 0.5);
background-color: rgba($color: red, $alpha: 0.05);
&:hover {
border-color: red;
background-color: rgba($color: red, $alpha: 0.1);
}
path {
fill: red !important;
}
}
&:hover,
&:focus {
border-color: var(--primary);
@@ -57,9 +72,12 @@
}
.icon-button-text {
margin-left: 5px;
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
&:not(:first-child) {
margin-left: 5px;
}
}