From dccf8da3dbd46faa47e923767957e6fa469727e9 Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Tue, 7 Feb 2023 16:07:58 +0100 Subject: [PATCH] Explicitly styled UI language selector The recently introduced ZIM viewer UI language selector looked adequately nice under Firefox without any explicit styling applied. Under SeaMonkey, however, its default look and feel was intolerable, so I used this opportunity to make the UI language selector comply with the current fashion of the ZIM viewer toolbar. --- static/skin/taskbar.css | 5 +++-- static/viewer.html | 2 +- test/server.cpp | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/static/skin/taskbar.css b/static/skin/taskbar.css index 332bd2444..87fbdc319 100644 --- a/static/skin/taskbar.css +++ b/static/skin/taskbar.css @@ -44,8 +44,8 @@ margin: 0 auto; } -#ui_language { - float: left +.kiwix #ui_language { + float: left; } #kiwix_button_show_toggle { @@ -84,6 +84,7 @@ label[for="kiwix_button_show_toggle"], float: right; } +.kiwix #ui_language, .kiwix #kiwixtoolbar button, .kiwix #kiwixtoolbar input[type="submit"] { box-sizing: border-box !important; diff --git a/static/viewer.html b/static/viewer.html index 1eba63657..4c66abbcd 100644 --- a/static/viewer.html +++ b/static/viewer.html @@ -29,7 +29,7 @@