forked from botoxparty/XP.css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_window.scss
69 lines (66 loc) · 1.27 KB
/
_window.scss
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
/*-------------------------------------------*\
Window
\*-------------------------------------------*/
:root {
--title-bar-bg: black;
}
.window {
font-size: 11px;
box-shadow: var(--border-window-outer), var(--border-window-inner);
background: var(--surface);
padding: 3px;
fieldset {
margin-bottom: 9px;
}
}
.title-bar {
font-size: 11px;
background: var(--title-bar-bg);
padding: 3px 2px 3px 3px;
display: flex;
justify-content: space-between;
align-items: center;
}
.title-bar-text {
font-weight: bold;
color: white;
letter-spacing: 0;
margin-right: 24px;
}
.title-bar-controls {
display: flex;
button {
padding: 0;
display: block;
min-width: 16px;
min-height: 14px;
&:focus {
outline: none;
}
}
button[aria-label="Minimize"] {
}
button[aria-label="Maximize"] {
}
button[aria-label="Help"] {
}
button[aria-label="Close"] {
}
}
.window-body {
margin: var(--element-spacing);
pre {
margin: -8px;
}
}
.status-bar {
margin: 0px 1px;
display: flex;
gap: 1px;
}
.status-bar-field {
box-shadow: var(--border-status-bar-field);
flex-grow: 1;
padding: 2px 3px;
margin: 0;
}