From f585e78d4a27d15dfe015912a4a9ed4f5127ff00 Mon Sep 17 00:00:00 2001 From: GhostlyDark <31742919+GhostlyDark@users.noreply.github.com> Date: Fri, 20 Nov 2020 21:00:49 +0100 Subject: [PATCH] Improve language selector Prevent the language options from having white text on white background when the cursor is moved away. --- style/RomPatcher.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style/RomPatcher.css b/style/RomPatcher.css index 69f70e0..e4bc73a 100644 --- a/style/RomPatcher.css +++ b/style/RomPatcher.css @@ -180,12 +180,12 @@ input[type=file].enabled:hover,select.enabled:hover{background-color:#dee1e1} input[type=file].disabled,select.disabled{background-color:transparent} #select-language{ - background-color:transparent; + background-color:#31343a; color:white; cursor:pointer; background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJmaWxsOiNmZmYiIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+"); } -#select-language:hover{ +#select-language:hover,#select-language:focus{ background-color:#2b2e33; cursor:pointer; }