summaryrefslogtreecommitdiff
path: root/kvmd/web/css/stream.css
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/web/css/stream.css')
-rw-r--r--kvmd/web/css/stream.css63
1 files changed, 62 insertions, 1 deletions
diff --git a/kvmd/web/css/stream.css b/kvmd/web/css/stream.css
index fa892545..c3429630 100644
--- a/kvmd/web/css/stream.css
+++ b/kvmd/web/css/stream.css
@@ -1,7 +1,7 @@
img#stream-image {
width: 640px;
height: 480px;
- display: inline-block;
+ display: block;
background-color: var(--bg-color-stream-screen);
}
@@ -34,3 +34,64 @@ div.stream-box-inactive::after {
div.stream-box-mouse-enabled {
cursor: url("../svg/stream-mouse-cursor.svg"), pointer;
}
+
+div#stream-size {
+ -webkit-user-select: text;
+ -moz-user-select: text;
+ user-select: text;
+ font-size: 12px;
+ margin: 5px 15px 5px 15px;
+}
+div#stream-size span#stream-size-counter {
+}
+div#stream-size div#stream-size-slider-box {
+ margin-top: 5px;
+ display: flex;
+}
+@supports (-webkit-appearance:none) {
+ div#stream-size 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-size 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-size div#stream-size-slider-box input[type=range]::-webkit-slider-runnable-track {
+ height: 5px;
+ background: var(--bg-color-light);
+ border-radius: 3px;
+}
+div#stream-size 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-size div#stream-size-slider-box input[type=range]::-moz-range-track {
+ height: 5px;
+ background: var(--bg-color-light);
+ border-radius: 3px;
+}
+div#stream-size 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);
+}