From 4c256e97c7eb455a944281c17237bdcabac3865d Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Mon, 13 Mar 2023 16:53:47 +0400 Subject: [PATCH] Minor UI language selection improvements Added cursor type and hints to the UI language selection button. The hints are always in English since seeing a hint in an unfamiliar language doesn't help and English is the current lingua franca. --- static/skin/index.css | 1 + static/skin/taskbar.css | 1 + static/templates/index.html | 5 ++++- static/viewer.html | 6 +++++- test/server.cpp | 8 ++++---- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/static/skin/index.css b/static/skin/index.css index 6f228ea0c..967a283f9 100644 --- a/static/skin/index.css +++ b/static/skin/index.css @@ -182,6 +182,7 @@ body { #uiLanguageSelectorButton { margin: 0 12px 0 0; float: right; + cursor: pointer; } .book__list { diff --git a/static/skin/taskbar.css b/static/skin/taskbar.css index b67e9b9ee..059c73e5d 100644 --- a/static/skin/taskbar.css +++ b/static/skin/taskbar.css @@ -200,6 +200,7 @@ a.suggest, a.suggest:visited, a.suggest:hover, a.suggest:active { #uiLanguageSelectorButton { margin: 0px 12px 6px 12px; float: right; + cursor: pointer; } @media(min-width:420px) { diff --git a/static/templates/index.html b/static/templates/index.html index 15aff898d..ffa852318 100644 --- a/static/templates/index.html +++ b/static/templates/index.html @@ -53,7 +53,10 @@ aria-label="Library OPDS Feed" title="Library OPDS Feed"> - +