summaryrefslogtreecommitdiff
path: root/web/share/css/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-04-12 15:26:32 +0300
committerGitHub <[email protected]>2021-04-12 15:26:32 +0300
commit3af4a8b852019993ee31becd5651734377da6ec9 (patch)
tree499b77bfaa0c6f939175ea167d5ccb3956be95f0 /web/share/css/kvm
parent8158941833bd8a50278b61967e00d23522e633d7 (diff)
Rework of #39 (#40)
* Rework of #39 patch from @arykov (thanks) * styled resize corner * fixed squashing of resizaable window on moving * keep window size and opsition after full screen * not necessary * attempt to fix desktop overflow * improved * ios fixes * refactoring
Diffstat (limited to 'web/share/css/kvm')
-rw-r--r--web/share/css/kvm/stream.css18
1 files changed, 15 insertions, 3 deletions
diff --git a/web/share/css/kvm/stream.css b/web/share/css/kvm/stream.css
index 189867a7..cd202eea 100644
--- a/web/share/css/kvm/stream.css
+++ b/web/share/css/kvm/stream.css
@@ -20,11 +20,19 @@
*****************************************************************************/
+div#stream-window {
+ min-width: 400px;
+ min-height: 200px;
+}
+
div#stream-info {
display: none;
}
div#stream-box {
+ width: 100%;
+ height: 100%;
+ object-fit: contain;
position: relative;
display: inline-block;
border: var(--border-window-thin);
@@ -45,8 +53,9 @@ div.stream-box-mouse-enabled {
}
img#stream-image {
- width: 640px;
- height: 480px;
+ width: 100%;
+ height: 100%;
+ object-fit: contain;
display: block;
background-color: black;
}
@@ -69,9 +78,12 @@ div#stream-mouse-buttons {
div#stream-window {
padding-top: 3px !important;
border-top: 0 !important;
- border-radius: 0 0 8px 8px !important;
+ border-left: 0 !important;
+ border-right: 0 !important;
+ border-radius: 0 !important;
top: 50px !important;
left: 50% !important;
+ width: 100% !important;
-webkit-transform: translateX(-50%) !important;
transform: translateX(-50%) !important;
}