-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.css
More file actions
73 lines (65 loc) · 1.25 KB
/
index.css
File metadata and controls
73 lines (65 loc) · 1.25 KB
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
body {
margin: 0;
}
header {
position: fixed;
height: 38px;
width: 100%;
-webkit-app-region: drag;
background-color: #fff;
}
/* WebView */
.webview {
margin-top: 38px;
position: absolute;
top: 0px;
right: 0px;
left: 0px;
bottom: 0px;
}
/* Window Controls */
#window-controls {
display: grid;
grid-template-columns: repeat(3, 46px);
position: absolute;
top: 0;
right: 0;
height: 100%;
font-family: "Segoe MDL2 Assets";
font-size: 10px;
}
#window-controls .button {
grid-row: 1 / span 1;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
#window-controls #min-button {
grid-column: 1;
}
#window-controls #max-button, #window-controls #restore-button {
grid-column: 2;
}
#window-controls #close-button {
grid-column: 3;
}
#window-controls {
-webkit-app-region: no-drag;
}
#window-controls .button {
user-select: none;
cursor: default;
opacity: 0.8;
}
#window-controls .button:hover {
background: rgba(255,255,255,0.2);
opacity: 1;
}
#window-controls #close-button:hover {
background: #E81123;
}
#window-controls #restore-button {
display: none;
}