/***************************************************************************** # # # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2021 Maxim Devaev # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # # the Free Software Foundation, either version 3 of the License, or # # (at your option) any later version. # # # # This program is distributed in the hope that it will be useful, # # but WITHOUT ANY WARRANTY; without even the implied warranty of # # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # # GNU General Public License for more details. # # # # You should have received a copy of the GNU General Public License # # along with this program. If not, see . # # # *****************************************************************************/ 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); } div.stream-box-offline { -webkit-filter: grayscale(100%) brightness(75%) sepia(75%); filter: grayscale(100%) brightness(75%) sepia(75%); } div.stream-box-offline::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") 5 5, pointer; } img#stream-image, video#stream-video { width: 100%; height: 100%; object-fit: contain; display: block; background-color: black; } div#stream-mouse-buttons { display: none; } @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { div#stream-window { padding-top: 3px !important; border-top: 0 !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; } div#stream-window-header { display: none !important; } div#stream-info { display: block !important; margin: 0; padding: 0; padding-bottom: 3px; font-size: 0.8em; color: var(--cs-window-header-default-fg); } div#stream-mouse-buttons { display: block !important; } }