From 7a73432238ff5796d018e0f92fe22272fffa6e79 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Fri, 19 Nov 2021 17:22:25 -0600 Subject: [PATCH] Improve language picker usability --- assets/css/bobastyle.css | 9 +++++++++ layouts/partials/top.html | 18 +++++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 902d374..cfc1d55 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -236,6 +236,15 @@ footer { list-style: none; } +.langpicker .unavailable { + color: inherit; +} + +.langpicker .unavailable:hover { + cursor: not-allowed; + text-decoration: none; +} + /* Basic elements */ diff --git a/layouts/partials/top.html b/layouts/partials/top.html index 3f2541e..c1d9af1 100644 --- a/layouts/partials/top.html +++ b/layouts/partials/top.html @@ -26,11 +26,27 @@ {{ partial "icon.html" "world" -}} {{ end }}