diff options
author | Devaev Maxim <[email protected]> | 2018-08-01 00:26:39 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-08-01 00:29:20 +0300 |
commit | d46bc3dfd187a0d354798f766852e5ea69de3084 (patch) | |
tree | cf67cc2f01a019aeffa9a4e6ba8b662e11fcbb69 /kvmd/web/css/stream.css | |
parent | d9dbddeb2fcda7121738d1378c9e83b78ec25928 (diff) |
pretty stream stub
Diffstat (limited to 'kvmd/web/css/stream.css')
-rw-r--r-- | kvmd/web/css/stream.css | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/kvmd/web/css/stream.css b/kvmd/web/css/stream.css index dc0f7baf..96b19810 100644 --- a/kvmd/web/css/stream.css +++ b/kvmd/web/css/stream.css @@ -7,13 +7,30 @@ img#stream-image { } img.stream-image-active { - cursor: crosshair; -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; +} +div.stream-box-active: { + cursor: crosshair; +} +div.stream-box-inactive::after { cursor: wait; - -webkit-filter: grayscale(100%) brightness(75%); - filter: grayscale(100%) brightness(75%); + content: ""; + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + display: inline-block; + background: radial-gradient(transparent 20%, black); } |