diff options
author | Devaev Maxim <[email protected]> | 2018-11-14 02:52:00 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-14 02:57:47 +0300 |
commit | 2916c7fe067ee8093edfda62d2a0bd51b70e4090 (patch) | |
tree | f76bde4fadd84c5dd0a3121cc8f8d0f820d7bc15 /web/css/kvm/stream.css | |
parent | 49a09a6ba168ada706999e9955b531b975edbd5f (diff) |
refactoring
Diffstat (limited to 'web/css/kvm/stream.css')
-rw-r--r-- | web/css/kvm/stream.css | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/web/css/kvm/stream.css b/web/css/kvm/stream.css new file mode 100644 index 00000000..4cdb7fe4 --- /dev/null +++ b/web/css/kvm/stream.css @@ -0,0 +1,90 @@ +div#stream-info { + display: none; +} + +img#stream-image { + width: 640px; + height: 480px; + display: block; + background-color: black; +} + +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(--border-dark-thin); +} +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-slider-box { + margin-top: 5px; + display: flex; +} + +table#stream-auto-resize-box { + width: 100%; + border-collapse: collapse; +} +@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { + @supports (-webkit-appearance: none) { + table#stream-auto-resize-box { + margin: 20px 0 20px 0 !important; + } + } +} + +div#stream-mouse-buttons { + display: none; + margin: 0; + padding: 0; + font-size: 0; +} + +@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-radius: 0 0 8px 8px !important; + top: 50px !important; + left: 50% !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(--fg-color-dark); + } + div#stream-mouse-buttons { + display: block !important; + } +} |