summaryrefslogtreecommitdiff
path: root/web/share/css/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-02-21 04:18:15 +0300
committerMaxim Devaev <[email protected]>2022-02-21 04:18:15 +0300
commit96191a1b0809a62e5b14316190c3de46b05d9ec2 (patch)
tree6a1e6238ecb6fad8ce78f644af99c73533fbbe30 /web/share/css/kvm
parent67839a52a22a4e470109d3d0c8acf4798843bcf6 (diff)
ocr
Diffstat (limited to 'web/share/css/kvm')
-rw-r--r--web/share/css/kvm/hid.css4
-rw-r--r--web/share/css/kvm/stream.css20
2 files changed, 22 insertions, 2 deletions
diff --git a/web/share/css/kvm/hid.css b/web/share/css/kvm/hid.css
index 02d2f8a3..e27812ce 100644
--- a/web/share/css/kvm/hid.css
+++ b/web/share/css/kvm/hid.css
@@ -23,8 +23,8 @@
textarea#hid-pak-text {
display: block;
resize: none;
- height: 150px;
- width: 300px;
+ height: 120px;
+ width: 320px;
border: var(--border-default-thin);
border-radius: 4px;
color: var(--cs-code-default-fg);
diff --git a/web/share/css/kvm/stream.css b/web/share/css/kvm/stream.css
index a641e296..0ead41cb 100644
--- a/web/share/css/kvm/stream.css
+++ b/web/share/css/kvm/stream.css
@@ -29,6 +29,26 @@ div#stream-info {
display: none;
}
+div#stream-ocr-window {
+ cursor: crosshair;
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ z-index: 1;
+ background-color: unset !important;
+ border-radius: unset !important;
+ border: unset !important;
+ padding: 0px !important;
+ background: radial-gradient(transparent 15%, black);
+}
+div#stream-ocr-selection {
+ position: relative;
+ background-color: #5b90bb50;
+ box-shadow: inset 0 0 0px 1px #e8e8e8cd;
+}
+
div#stream-box {
width: 100%;
height: 100%;