static: fix backdrop for modals

This commit is contained in:
Jens Langhammer 2020-11-22 20:36:13 +01:00
parent 8934a0d4f0
commit b770508d68
4 changed files with 12 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,8 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "rollup -c ./rollup.config.js", "build": "rollup -c ./rollup.config.js",
"watch": "rollup -c -w" "watch": "rollup -c -w",
"format": "prettier --write ."
}, },
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^5.15.1", "@fortawesome/fontawesome-free": "^5.15.1",

View File

@ -24,7 +24,6 @@ export class SiteShell extends LitElement {
css` css`
:host { :host {
position: relative; position: relative;
--pf-global--BackgroundColor--dark-transparent-100: rgba(0,0,0,0);
} }
:host .pf-l-bullseye { :host .pf-l-bullseye {
position: absolute; position: absolute;
@ -34,6 +33,14 @@ export class SiteShell extends LitElement {
left: 0; left: 0;
z-index: 2000; z-index: 2000;
} }
.pf-c-backdrop {
--pf-c-backdrop--BackgroundColor: rgba(
0,
0,
0,
0
) !important;
}
`, `,
BackdropStyle, BackdropStyle,
BullseyeStyle, BullseyeStyle,