From 8b17332ace44e587ee5fda06fd121bd8d8a61c91 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sat, 28 Jul 2018 01:20:55 +0300 Subject: about window --- kvmd/web/css/about.css | 24 ++++++++++++++++++++++++ kvmd/web/css/windows.css | 1 + kvmd/web/index.html | 43 +++++++++++++++++++++++++++++++++++++++++-- kvmd/web/js/session.js | 6 +++++- 4 files changed, 71 insertions(+), 3 deletions(-) create mode 100644 kvmd/web/css/about.css diff --git a/kvmd/web/css/about.css b/kvmd/web/css/about.css new file mode 100644 index 00000000..06525e7b --- /dev/null +++ b/kvmd/web/css/about.css @@ -0,0 +1,24 @@ +div#about { + -webkit-user-select: text; + -moz-user-select: text; + user-select: text; +} + +div#about +td#about-version-kvmd, +td#about-version-python, +td#about-version-platform { + font-weight: bold; +} + +div#about p { + font-family: monospace; + padding: 0 10px 0 10px; +} +div#about p a { + text-decoration: underline dotted; + color: var(--fg-color-normal); +} +div#about p a:hover { + text-decoration: underline; +} diff --git a/kvmd/web/css/windows.css b/kvmd/web/css/windows.css index f0d58e04..0c6a436d 100644 --- a/kvmd/web/css/windows.css +++ b/kvmd/web/css/windows.css @@ -11,6 +11,7 @@ div.window { box-sizing: border-box; box-shadow: var(--big-shadow); display: inline-block; + white-space: nowrap; background-color: var(--bg-color-light); padding: 30px 9px 9px 9px; -webkit-transform: translate(-50%, -50%); diff --git a/kvmd/web/index.html b/kvmd/web/index.html index 9a0e8c42..eaa53bd7 100644 --- a/kvmd/web/index.html +++ b/kvmd/web/index.html @@ -16,6 +16,7 @@ + @@ -44,8 +45,9 @@ System ↴ @@ -204,7 +206,7 @@ Loading... -
+ + +