mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
825 B
33 lines
825 B
@use '../../../../styles/variables.scss' as variables;
|
|
|
|
@mixin select-arrow($color) {
|
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$color}' height='6' width='10'><polygon points='0,0 10,0 5,6'/></svg>");
|
|
}
|
|
|
|
:host {
|
|
display: block;
|
|
|
|
.safe-withdrawal-rate-select {
|
|
@include select-arrow(variables.$dark-primary-text);
|
|
|
|
appearance: none;
|
|
background-color: transparent;
|
|
background-position: right 0 center;
|
|
background-repeat: no-repeat;
|
|
color: rgb(var(--dark-primary-text));
|
|
padding: 0 0.75rem 0 0.25rem;
|
|
|
|
&:focus {
|
|
box-shadow: none;
|
|
outline: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
:host-context(.theme-dark) {
|
|
.safe-withdrawal-rate-select {
|
|
@include select-arrow(variables.$light-primary-text);
|
|
|
|
color: rgb(var(--light-primary-text));
|
|
}
|
|
}
|
|
|