diff options
author | Samuel Mannehed <samuel@cendio.se> | 2018-08-15 09:55:52 +0200 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2018-08-21 11:34:28 +0200 |
commit | e0d4e5a1c0fec254933f850c2a50fc2808b97d3d (patch) | |
tree | ab51fab2129c4ed466fdafe3883a4c8843a3c6cc /vnc_lite.html | |
parent | e7c1074b65ee81ffca1895e41b9480d9170f8c6d (diff) | |
download | novnc-e0d4e5a1c0fec254933f850c2a50fc2808b97d3d.tar.gz |
Move css rules for vnc_lite to the html
Easier to get an overview if it's all in one file.
Diffstat (limited to 'vnc_lite.html')
-rw-r--r-- | vnc_lite.html | 57 |
1 files changed, 55 insertions, 2 deletions
diff --git a/vnc_lite.html b/vnc_lite.html index 3dcd7b9..7f1b906 100644 --- a/vnc_lite.html +++ b/vnc_lite.html @@ -22,8 +22,61 @@ Remove this if you use the .htaccess --> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> - <!-- Stylesheets --> - <link rel="stylesheet" href="app/styles/lite.css"> + <style type="text/css"> + + body { + margin: 0; + background-color: #313131; + border-bottom-right-radius: 800px 600px; + height: 100%; + display: flex; + flex-direction: column; + } + html { + background-color: #494949; + height: 100%; + } + + #noVNC_status_bar { + width: 100%; + display: flex; + justify-content: space-between; + } + #noVNC_status { + color: #ffffff; + font: bold 12px Helvetica; + margin: auto; + } + + .noVNC_status_normal { + background: linear-gradient(#b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); + } + .noVNC_status_error { + background: linear-gradient(#c83737 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); + } + .noVNC_status_warn { + background: linear-gradient(#b4b41e 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); + } + + .noNVC_shown { + display: inline; + } + .noVNC_hidden { + display: none; + } + + #noVNC_left_dummy_elem { + flex: 1; + } + + #noVNC_buttons { + padding: 1px; + flex: 1; + display: flex; + justify-content: flex-end; + } + + </style> <!-- promise polyfills promises for IE11 --> <script src="vendor/promise.js"></script> |