Fix SCSS deprecation warnings
This commit is contained in:
parent
f35c21a8c0
commit
affd485cd0
1 changed files with 16 additions and 8 deletions
|
@ -172,30 +172,38 @@ blockquote {
|
||||||
&::before {
|
&::before {
|
||||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/info-circle.svg");
|
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/info-circle.svg");
|
||||||
}
|
}
|
||||||
|
& {
|
||||||
color: var(--color-blue);
|
color: var(--color-blue);
|
||||||
border-color: var(--color-blue);
|
border-color: var(--color-blue);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
&.success {
|
&.success {
|
||||||
&::before {
|
&::before {
|
||||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/check.svg");
|
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/check.svg");
|
||||||
}
|
}
|
||||||
|
& {
|
||||||
color: var(--color-success);
|
color: var(--color-success);
|
||||||
border-color: var(--color-success);
|
border-color: var(--color-success);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
&.warning {
|
&.warning {
|
||||||
&::before {
|
&::before {
|
||||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/alert-triangle.svg");
|
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/alert-triangle.svg");
|
||||||
}
|
}
|
||||||
|
& {
|
||||||
color: var(--color-warn);
|
color: var(--color-warn);
|
||||||
border-color: var(--color-warn);
|
border-color: var(--color-warn);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
&.danger {
|
&.danger {
|
||||||
&::before {
|
&::before {
|
||||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/circle-x.svg");
|
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/circle-x.svg");
|
||||||
}
|
}
|
||||||
|
& {
|
||||||
color: var(--color-error);
|
color: var(--color-error);
|
||||||
border-color: var(--color-error);
|
border-color: var(--color-error);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
> p:first-child {
|
> p:first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue