-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (92 loc) · 1.78 KB
/
style.css
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* Reset defaults */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
color-scheme: light dark;
--bg: #F9DC43;
--col: #121313;
--window-bg: #1D1E1F;
--window-title: #A0A0A0;
--window-frg: #ffffff6b;
}
body {
background: var(--bg);
color: var(--col);
min-width: 100vw;
min-height: 100vh;
}
.window {
width: 100vw;
height: 32px;
background: var(--window-bg);
color: var(--window-title);
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
left: 0;
border-bottom: 1px solid var(--window-frg);
z-index: 9999;
-webkit-app-region: drag;
-webkit-user-drag: none;
user-select: none;
-webkit-user-select: none;
}
.title-bar {
display: flex;
align-items: center;
gap: 8px;
padding-left: 8px;
}
.title-bar-text {
font-size: 14px;
padding-bottom: 1px;
}
.window img {
width: 16px;
height: 16px;
}
.window-commands {
display: flex;
align-items: center;
gap: 4px;
padding-right: 8px;
pointer-events: auto;
-webkit-app-region: no-drag;
user-select: none;
-webkit-user-select: none;
cursor: pointer;
}
.window-commands div {
width: 16px;
height: 16px;
cursor: pointer;
transition: all 0.2s ease;
}
.window-commands div:hover {
transform: scale(1.1);
filter: invert(1);
}
.window-content {
width: 100vw;
height: calc(100vh - 32px);
display: flex;
justify-content: center;
align-items: center;
}
.window-bottom {
width: 100vw;
height: 32px;
background: var(--window-bg);
color: var(--window-title);
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
bottom: 0;
left: 0;
}