From 6f9ba6c290b75c109cfdb8fb3bb8afbbc7899e0e Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sat, 21 Dec 2019 23:46:05 +0100 Subject: [PATCH] improve sdr failure message display, closes #19 --- htdocs/css/openwebrx.css | 15 ++++++++++++--- htdocs/index.html | 9 ++++++++- htdocs/openwebrx.js | 5 ++++- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index de26c24..85bf6e4 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -656,8 +656,7 @@ img.openwebrx-mirror-img font-family: 'expletus-sans-medium'; } -#openwebrx-autoplay-overlay -{ +.openwebrx-overlay { position: fixed; width: 100%; height: 100%; @@ -671,6 +670,10 @@ img.openwebrx-mirror-img color: white; font-weight: bold; font-size: 20pt; +} + +#openwebrx-autoplay-overlay +{ cursor: pointer; transition: opacity 0.3s linear; } @@ -680,7 +683,7 @@ img.openwebrx-mirror-img width: 150px; } -#openwebrx-autoplay-overlay .overlay-content { +.openwebrx-overlay .overlay-content { position: absolute; left: 50%; top: 50%; @@ -688,6 +691,12 @@ img.openwebrx-mirror-img text-align: center; } +#openwebrx-error-overlay .overlay-content { + background-color: #000; + padding: 50px; + border-radius: 20px; +} + #openwebrx-digimode-canvas-container { /*margin: -10px -10px 10px -10px;*/ diff --git a/htdocs/index.html b/htdocs/index.html index 1874c4a..191db9c 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -219,12 +219,19 @@ -