Skip to content

Commit 71eb09b

Browse files
committed
Move styles to window content
1 parent 2177643 commit 71eb09b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

Styles/windows.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ main{
5151

5252
.window{
5353
border-radius: 5px;
54-
box-shadow: 0 1rem 6rem #000000a8;
5554
background-color: rgba(255, 255, 255, 255);
5655
-o-transform-origin: bottom left;
5756
-ms-transform-origin: bottom left;
@@ -265,19 +264,21 @@ article{
265264

266265
.window[open]{
267266
pointer-events: auto;
268-
backdrop-filter: blur(10px);
269-
background: linear-gradient(0deg, #0000002b, #ffffff00);
267+
/* backdrop-filter: blur(10px); */
268+
270269
}
271270

272271
.window > content {
273272
transform-origin: center;
273+
background: linear-gradient(0deg, #0000002b, #ffffff00);
274+
box-shadow: 0 1rem 6rem #000000a8;
274275
}
275276

276-
.widnow[open] > content {
277+
.window[open] > content {
277278
animation: opening 500ms ease-out forwards;
278279
}
279280

280-
.widnow:not([open]) > content {
281+
.window:not([open]) > content {
281282
animation: closing 400ms cubic-bezier(0, 0, 0.5 , 1) forwards;
282283
}
283284

0 commit comments

Comments
 (0)