From db876acc03d40b56855b6c635242825592fda452 Mon Sep 17 00:00:00 2001 From: Sasha Alimov Date: Mon, 6 Mar 2023 13:17:25 -0500 Subject: [PATCH] change style --- src/static/radio.js | 6 +++--- src/static/style.css | 4 ++-- src/templates/radio.html | 25 +++++++++++++------------ 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/static/radio.js b/src/static/radio.js index c3c4289..3297aba 100644 --- a/src/static/radio.js +++ b/src/static/radio.js @@ -45,15 +45,15 @@ function change_text(song_path) { let cursor_pos = 1; function showSelect(move) { cursor_pos += move; - if (cursor_pos > 7) { + if (cursor_pos > 6) { cursor_pos = 0; } else if (cursor_pos < 0) { - cursor_pos = 7; + cursor_pos = 6; } const ids = [ "menu_radio_switch", "menu_volume", - "menu_radio_name", + // "menu_radio_name", "menu_now_playing", "menu_radio_logo", "menu_author", diff --git a/src/static/style.css b/src/static/style.css index 044ee14..e2b5c20 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -36,8 +36,8 @@ body { } .select:hover { - background-color: yellow; + background-color: black; } .select_key { - background-color: yellow; + background-color: white; } diff --git a/src/templates/radio.html b/src/templates/radio.html index 769e394..8746410 100644 --- a/src/templates/radio.html +++ b/src/templates/radio.html @@ -38,19 +38,20 @@