summaryrefslogtreecommitdiff
path: root/kvmd/web/css/stream.css
blob: 01fd3cc442581c217df3a5fab9fa8e7b4d1e290d (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
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
img#stream-image {
	width: 640px;
	height: 480px;
	display: block;
	background-color: var(--bg-color-stream-screen);
}

img.stream-image-active {
	-webkit-filter: none;
	filter: none;
}

img.stream-image-inactive {
	-webkit-filter: grayscale(100%) brightness(75%) sepia(75%);
	filter: grayscale(100%) brightness(75%) sepia(75%);
}

div#stream-box {
	position: relative;
	display: inline-block;
	border: var(--dark-border);
}
div.stream-box-inactive::after {
	cursor: wait;
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: inline-block;
	background: radial-gradient(transparent 20%, black);
}
div.stream-box-mouse-enabled {
	cursor: url("../svg/stream-mouse-cursor.svg"), pointer;
}

div.stream-params {
	-webkit-user-select: text;
	-moz-user-select: text;
	user-select: text;
	font-size: 12px;
	margin: 5px 15px 5px 15px;
}

div.stream-params select#stream-resolution-select {
	margin: 8px 0 8px 0;
}

div.stream-params span#stream-size-value {
}
div.stream-params div#stream-size-slider-box {
	margin-top: 5px;
	display: flex;
}
@supports (-webkit-appearance:none) {
	div.stream-params div#stream-size-slider-box input[type=range] {
		cursor: pointer;
		outline: none;
		width: 100%;
		box-shadow: none;
		background: transparent;
		margin: 8px 0 8px 0;
		-webkit-appearance: none;
	}
}
@supports not (-webkit-appearance:none) {
	div.stream-params div#stream-size-slider-box input[type=range] {
		cursor: pointer;
		outline: none;
		width: 100%;
		box-shadow: none;
		margin-left: 0;
		margin-right: 0;
	}
}
div.stream-params div#stream-size-slider-box input[type=range]::-webkit-slider-runnable-track {
	height: 5px;
	background: var(--bg-color-light);
	border-radius: 3px;
}
div.stream-params div#stream-size-slider-box input[type=range]::-webkit-slider-thumb {
	border: var(--intensive-border);
	height: 18px;
	width: 18px;
	border-radius: 25px;
	background: var(--bg-color-intensive);
	-webkit-appearance: none;
	margin-top: -7px;
}
div.stream-params div#stream-size-slider-box input[type=range]::-moz-range-track {
	height: 5px;
	background: var(--bg-color-light);
	border-radius: 3px;
}
div.stream-params div#stream-size-slider-box input[type=range]::-moz-range-thumb {
	border: var(--intensive-border);
	height: 18px;
	width: 18px;
	border-radius: 25px;
	background: var(--bg-color-intensive);
}