From b280d85a4a8e380d59aa42abd36fc2bf4c70c2cc Mon Sep 17 00:00:00 2001 From: Miraty Date: Thu, 25 Nov 2021 20:34:34 +0100 Subject: [PATCH] Better UI for save button --- locales/en.php | 2 +- locales/fr.php | 2 +- style.less | 9 +++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/locales/en.php b/locales/en.php index f3b6a67..1cbe497 100644 --- a/locales/en.php +++ b/locales/en.php @@ -25,7 +25,7 @@ $loc = array( 'help_size' => "By how much will the dimensions of the image be multiplied?", 'button_create' => "Generate", - 'button_download' => "Download this QR code", + 'button_download' => "Save this QR code", 'title_showOnlyQR' => "Show this QR code only", diff --git a/locales/fr.php b/locales/fr.php index e127647..e8d32cf 100644 --- a/locales/fr.php +++ b/locales/fr.php @@ -25,7 +25,7 @@ $loc = array( 'help_size' => "Par combien les dimensions de l'image seront-elles multipliées ?", 'button_create' => "Générer", - 'button_download' => "Télécharger ce code QR", + 'button_download' => "Enregistrer ce code QR", 'title_showOnlyQR' => "Afficher uniquement ce code QR", diff --git a/style.less b/style.less index 81f14da..48aa350 100755 --- a/style.less +++ b/style.less @@ -425,3 +425,12 @@ input[type=color] { } } + +a[download]::before { + content: "💾 "; + + filter: drop-shadow(1px 1px white) + drop-shadow(-1px -1px white) + drop-shadow(-1px 1px white) + drop-shadow(1px -1px white); +}