summaryrefslogtreecommitdiff
path: root/kvmd/web/css/windows.css
blob: 0c6a436dd33a373c15f00c1e168a9957464c680d (plain)
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
div.window {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	overflow: hidden;
	position: absolute;
	border: var(--dark-border);
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	box-sizing: border-box;
	box-shadow: var(--big-shadow);
	display: inline-block;
	white-space: nowrap;
	background-color: var(--bg-color-light);
	padding: 30px 9px 9px 9px;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
}

div.window-header {
	overflow: hidden;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	padding: 0;
	height: 20px;
	border-bottom: var(--normal-border);
}

div.window-grab {
	overflow: hidden;
	font-size: 0.8em;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 20px;
	cursor: move;
	padding: 3px 0 2px 20px;
	color: var(--fg-color-dark);
}

button.window-button-close {
	outline: none;
	position: absolute;
	top: -2px;
	right: -6px;
	width: 44px;
	height: 24px;
	padding-left: 0;
	color: var(--fg-color-inactive);
	background-color: var(--bg-color-normal);
	display: inline-block;
	border: none;
	cursor: pointer;
}
button.window-button-close:hover {
	color: var(--fg-color-intensive);
	background-color: var(--bg-color-dark) !important;
}
button.window-button-close:disabled {
	color: var(--fg-color-inactive);
	cursor: default;
}
button.window-button-close:active {
	color: var(--fg-color-selected) !important;
}