diff --git a/backend/loquendoBot_backend.py b/backend/loquendoBot_backend.py index 3bbde06..19ba637 100644 --- a/backend/loquendoBot_backend.py +++ b/backend/loquendoBot_backend.py @@ -96,7 +96,6 @@ class STT: vosk_model = os.path.join( resources_folder, "speech_to_text_models", settings["STT"]["LANGUAGE"] ) - print(vosk_model) self.model = Model(rf"{vosk_model}") self.dump_fn = None @@ -137,7 +136,6 @@ class STT: self.is_running = False settings.read(settingsPath) -print(settingsPath) if settings["STT"]["USE_STT"] and bool(settings["STT"]["LANGUAGE"]): speech_recognition_service = STT() diff --git a/src/css/chat.css b/src/css/chat.css index bd32a5b..b06ebd2 100644 --- a/src/css/chat.css +++ b/src/css/chat.css @@ -517,8 +517,6 @@ h1 { .fi { position: relative; z-index: 5; - top: 45px; - left: 20px; border-radius: 50%; } @@ -540,5 +538,12 @@ h1 { position: relative; padding: 0px 0px 0px 0px; margin: -45px 0px 0px -40px; - top: -15px; + top: 30px; + left: 20px; +} + +.language-icon { + position: relative; + top: 45px; + left: 20px; } diff --git a/src/css/menu.css b/src/css/menu.css index 0c17438..7efc7f9 100644 --- a/src/css/menu.css +++ b/src/css/menu.css @@ -228,3 +228,61 @@ background-color: var(--main-color4-temp); height: 100%; } + +.btn { + background-color: blue; + color: red; + padding: 16px; + font-size: 16px; + border: none; + cursor: pointer; +} +.pop { + position: relative; + display: inline-block; +} + +.pop.up { +} + +.pop-content { + display: none; + position: absolute; + background-color: black; + z-index: 1; + height: 400px; + width: max-content; + overflow: auto; + display: grid; + grid-template-columns: repeat(3, 1fr); + top: -400px; + color: white; +} +pop-content div { + color: white; + padding: 12px 16px; + text-decoration: none; + display: block; +} +.pop-content div:hover { + display: none; + /* background-color: black; */ +} +.pop:hover .pop-content { + display: grid; + /* display: none; */ + grid-template-columns: repeat(3, 1fr); + /* display: block; */ +} +.pop:hover .btn { + background-color: blue; +} + +.language-select { + margin: 5px; + position: relative; +} + +.language-select:hover { + background-color: blue; +} diff --git a/src/index.html b/src/index.html index d922dc8..be520bf 100644 --- a/src/index.html +++ b/src/index.html @@ -282,12 +282,12 @@