forked from DustinBrett/daedalOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStyledDesktop.ts
More file actions
41 lines (37 loc) · 790 Bytes
/
StyledDesktop.ts
File metadata and controls
41 lines (37 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import styled from "styled-components";
const StyledDesktop = styled.main`
background-color: transparent;
contain: strict;
height: 100%;
inset: 0;
overflow: clip;
overscroll-behavior: none;
position: fixed;
width: 100vw;
#loading-status {
background-color: #fff;
border: 1px solid #000;
border-radius: 8px;
box-shadow: 0 0 50px 1px #000;
display: none;
font-weight: 600;
left: 50%;
padding: 12px 15px;
pointer-events: none;
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
user-select: none;
}
> canvas {
background-color: inherit;
height: 100%;
left: 0;
object-fit: cover;
position: absolute;
top: 0;
width: 100%;
z-index: -1;
}
`;
export default StyledDesktop;