mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-29 20:43:37 +03:00
fix: modal backdrop color
This commit is contained in:
parent
e2e5ec579e
commit
5cc83a4fdb
@ -135,16 +135,19 @@
|
||||
}
|
||||
}
|
||||
|
||||
dialog[open]::backdrop {
|
||||
/* backdrop global */
|
||||
/* NOTE: temporarily hardcoded var(--clr-overlay-bg); */
|
||||
background-color: color(srgb 0 0 0 / 0.34901960784313724);
|
||||
:global(dialog[open]::backdrop) {
|
||||
background-color: rgba(214, 214, 214, 0.4);
|
||||
animation: dialog-fade 0.15s ease-in;
|
||||
}
|
||||
|
||||
html.dark dialog[open]::backdrop {
|
||||
/* backdrop dark */
|
||||
/* NOTE: temporarily hardcoded dark var(--clr-overlay-bg); */
|
||||
background-color: color(srgb 0.8392156862745098 0.8392156862745098 0.8392156862745098 / 0.4);
|
||||
:global(html.dark dialog[open]::backdrop) {
|
||||
background-color: rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
.modal__header {
|
||||
display: flex;
|
||||
padding: 16px;
|
||||
|
Loading…
Reference in New Issue
Block a user