-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (98 loc) · 2.09 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
106
107
108
109
110
111
112
113
114
115
116
117
* {margin: 0; padding: 0; border: 0; vertical-align: baseline;}
html {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit;}
html, body {height: 100%; margin: 0;}
body {
font-family: "Segoe UI", sans-serif;
background: #1A2933; color: #FFF;
}
h1 {margin: 0 0 10px 0; font-weight: 600; line-height: 1.2;}
p {margin-top: 10px; color: rgba(255,255,255,0.4);}
/* TITLE BAR CSS */
body {
border: 1px solid #48545c;
overflow-y: hidden;
}
#titlebar {
display: block;
position: relative;
height: 32px;
width: 100%;
background: #254053;
}
#main {
height: calc(100% - 32px);
margin-top: 32px;
padding: 20px;
overflow-y: auto;
}
#titlebar {
padding: 4px;
}
#titlebar #drag-region {
width: 100%;
height: 100%;
display: grid;
grid-template-columns: auto 138px;
-webkit-app-region: drag;
}
#titlebar {
color: #FFF;
}
#window-title {
grid-column: 1;
display: flex;
align-items: center;
font-family: "Segoe UI", sans-serif;
font-size: 12px;
margin-left: 8px;
overflow: hidden;
}
#window-title span {
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.5;
white-space: nowrap;
}
#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;
-webkit-app-region: no-drag;
}
#window-controls .button {
grid-row: 1 / span 1;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
user-select: none;
cursor: default;
color: #BBB;
}
#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 #close-button:hover {
background: #e81123;
}
#window-controls #restore-button {
display: none;
}
#window-controls .button:hover {
background: rgba(255,255,255,0.2);
color: #FFF;
}
/*************************************/