mirror of
https://github.com/logto-io/logto.git
synced 2025-01-13 21:30:30 -05:00
fix(console): css loaded svg should be rendered properly (#6333)
This commit is contained in:
parent
9d2770cc27
commit
a2e457e8ef
4 changed files with 5 additions and 5 deletions
|
@ -87,7 +87,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
background: url('raw:../../assets/images/blur-preview.svg') 0 0 / 100% auto no-repeat;
|
background: url('../../assets/images/blur-preview.svg') 0 0 / 100% auto no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.placeholder {
|
.placeholder {
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
&::-webkit-calendar-picker-indicator {
|
&::-webkit-calendar-picker-indicator {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
background-color: var(--color-text-secondary);
|
background-color: var(--color-text-secondary);
|
||||||
mask-image: url('raw:../../assets/icons/calendar-outline.svg');
|
mask-image: url('../../assets/icons/calendar-outline.svg');
|
||||||
mask-size: 20px 20px;
|
mask-size: 20px 20px;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
&:not(:active),
|
&:not(:active),
|
||||||
&:active {
|
&:active {
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--color-layer-1) center / 90% no-repeat url('raw:../../../assets/images/fireworks.svg');
|
background: var(--color-layer-1) center / 90% no-repeat url('../../../assets/images/fireworks.svg');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
|
||||||
&.light {
|
&.light {
|
||||||
background-image: url('raw:../../assets/images/welcome.svg');
|
background-image: url('../../assets/images/welcome.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
&.dark {
|
&.dark {
|
||||||
background-image: url('raw:../../assets/images/welcome-dark.svg');
|
background-image: url('../../assets/images/welcome-dark.svg');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue