diff --git a/htdocs/css/openwebrx-header.css b/htdocs/css/openwebrx-header.css index 30b931a..884a049 100644 --- a/htdocs/css/openwebrx-header.css +++ b/htdocs/css/openwebrx-header.css @@ -121,31 +121,27 @@ display:none; } -#openwebrx-main-buttons ul -{ - margin:0; - padding: 0; -} - - -#openwebrx-main-buttons ul li -{ - display: inline-block; +#openwebrx-main-buttons .button { + display: block; width: 55px; cursor:pointer; } +#openwebrx-main-buttons .button img { + height: 38px; +} + #openwebrx-main-buttons a { color: inherit; text-decoration: inherit; } -#openwebrx-main-buttons li:hover +#openwebrx-main-buttons .button:hover { background-color: rgba(255, 255, 255, 0.3); } -#openwebrx-main-buttons li:active +#openwebrx-main-buttons .button:active { background-color: rgba(255, 255, 255, 0.55); } @@ -153,6 +149,9 @@ #openwebrx-main-buttons { + padding: 5px 0; + display: flex; + list-style: none; float: right; margin:0; color: white; diff --git a/htdocs/include/header.include.html b/htdocs/include/header.include.html index 13591cc..3a4fb11 100644 --- a/htdocs/include/header.include.html +++ b/htdocs/include/header.include.html @@ -14,13 +14,11 @@
- +

Status
+

Log
+

Receiver
+
Map
+
Settings
diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 384776d..be81751 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -1770,7 +1770,7 @@ function openwebrx_resize() { } function init_header() { - $('#openwebrx-main-buttons').find('li[data-toggle-panel]').click(function () { + $('#openwebrx-main-buttons').find('[data-toggle-panel]').click(function () { toggle_panel($(this).data('toggle-panel')); }); }