Gift modal: Support theme dark (#5333)
This commit is contained in:
parent
bfe72ddbdc
commit
95267dec7c
@ -13,6 +13,10 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
cursor: var(--custom-cursor, pointer);
|
cursor: var(--custom-cursor, pointer);
|
||||||
|
|
||||||
|
:global(html.theme-dark) & {
|
||||||
|
background-color: var(--color-background);
|
||||||
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@ -7,6 +7,10 @@
|
|||||||
.root :global(.modal-content) {
|
.root :global(.modal-content) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background-color: var(--color-background);
|
background-color: var(--color-background);
|
||||||
|
|
||||||
|
:global(html.theme-dark) & {
|
||||||
|
background-color: #181818;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.root :global(.modal-dialog),
|
.root :global(.modal-dialog),
|
||||||
|
|||||||
@ -19,6 +19,10 @@
|
|||||||
margin-left: -0.5rem;
|
margin-left: -0.5rem;
|
||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
|
|
||||||
|
:global(html.theme-dark) & {
|
||||||
|
background-color: #181818;
|
||||||
|
}
|
||||||
|
|
||||||
@include mixins.gradient-border-horizontal(0.5rem, 0.5rem);
|
@include mixins.gradient-border-horizontal(0.5rem, 0.5rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -45,6 +49,20 @@
|
|||||||
color: var(--color-text-secondary);
|
color: var(--color-text-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:global(html.theme-dark) {
|
||||||
|
|
||||||
|
.item-selected,
|
||||||
|
.item {
|
||||||
|
&:hover {
|
||||||
|
background-color: rgba(255, 255, 255, 0.05);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.selected-item {
|
||||||
|
background-color: rgba(255, 255, 255, 0.1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.star {
|
.star {
|
||||||
margin-right: 0.1875rem;
|
margin-right: 0.1875rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -285,6 +285,10 @@
|
|||||||
color: var(--color-white);
|
color: var(--color-white);
|
||||||
--ripple-color: rgba(0, 0, 0, 0.08);
|
--ripple-color: rgba(0, 0, 0, 0.08);
|
||||||
|
|
||||||
|
.theme-dark & {
|
||||||
|
background-color: #CF8920;
|
||||||
|
}
|
||||||
|
|
||||||
@include active-styles() {
|
@include active-styles() {
|
||||||
background-color: #FFB727CC;
|
background-color: #FFB727CC;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user