From b14d2e6c6e8dc29092a787de313c789a74305c78 Mon Sep 17 00:00:00 2001 From: ng <�> Date: Sat, 24 Sep 2022 20:36:04 +0200 Subject: fix: 🐛 Content should no longer shift on button hover MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Might look weird on weird UAs (opera, safari, etc...) idk --- Makefile | 20 +++++++++----------- README.md | 4 +++- talermerchantdemos/static/blog.css | 15 +++++++++++---- .../translations/ar/LC_MESSAGES/messages.po | 2 +- .../translations/de/LC_MESSAGES/messages.po | 2 +- .../translations/en/LC_MESSAGES/messages.po | 2 +- .../translations/es/LC_MESSAGES/messages.po | 2 +- .../translations/fr/LC_MESSAGES/messages.po | 2 +- .../translations/hi/LC_MESSAGES/messages.po | 2 +- .../translations/it/LC_MESSAGES/messages.po | 2 +- .../translations/ja/LC_MESSAGES/messages.po | 2 +- .../translations/ko/LC_MESSAGES/messages.po | 2 +- talermerchantdemos/translations/messages.pot | 2 +- .../translations/pt/LC_MESSAGES/messages.po | 2 +- .../translations/ru/LC_MESSAGES/messages.po | 2 +- .../translations/sv/LC_MESSAGES/messages.po | 2 +- .../translations/tr/LC_MESSAGES/messages.po | 2 +- .../translations/zh_Hant/LC_MESSAGES/messages.po | 2 +- 18 files changed, 38 insertions(+), 31 deletions(-) diff --git a/Makefile b/Makefile index cf1e299..5e3adff 100644 --- a/Makefile +++ b/Makefile @@ -25,15 +25,14 @@ setup-arch: echo "Configuring..." ./configure --destination=local echo "Installing Pip Dependencies..." + echo "-> Installing wheel..." + pip install wheel echo "-> Installing uwsgi..." pip install uwsgi echo "-> Installing lxml..." pip install lxml -# NOTE: This is likely redundant now! - echo "Installing NPM..." - sudo pacman -S npm - echo "Upgrading NodeJS..." - npm i -g npm node + echo "-> Installing poetry..." + pip install poetry echo "Done!" setup-deb: @@ -43,19 +42,18 @@ setup-deb: echo "Updating Package Repositories..." sudo apt update -y echo "Installing python, python-flask-babel, python-pip, python-is-python3..." - sudo apt install -y python3 python-flask-babel python-pip python-is-python3 + sudo apt install -y python3 python3-flask-babel python3-pip python-is-python3 echo "Configuring..." ./configure --destination=local echo "Installing Pip Dependencies..." + echo "-> Installing wheel..." + pip install wheel echo "-> Installing uwsgi..." pip install uwsgi echo "-> Installing lxml..." pip install lxml -# NOTE: This is likely redundant now! - echo "Installing NPM..." - sudo apt install npm - echo "Upgrading NodeJS..." - npm i -g npm node + echo "-> Installing poetry..." + pip install poetry echo "Done!" .PHONY: install-global diff --git a/README.md b/README.md index 5c2e367..97d5173 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,9 @@ _This is just how I did it, and not necessarily the optimal method. You should o Step 1: Open the config: -> `$ editor ~/.config/taler.conf` >
+> `$ editor ~/.config/taler.conf` + +
Step 2: Adding the required configuration values: diff --git a/talermerchantdemos/static/blog.css b/talermerchantdemos/static/blog.css index 3331684..9e0b910 100644 --- a/talermerchantdemos/static/blog.css +++ b/talermerchantdemos/static/blog.css @@ -26,10 +26,10 @@ /* Variables */ --link-colour: var(--button-confirm-foreground); --background: var(--button-confirm-background); + --bottom-line: 6px; /* General */ display: block; border-radius: 10px; - border-bottom: 0.3em solid var(--demo-common-dark-blue); color: var(--link-colour); background: var(--background); text-decoration: none; @@ -38,14 +38,21 @@ padding: 10px 10px; /* Positioning */ margin-top: 10px; + margin-bottom: 0; /* Transitions */ - transition: border-bottom 1s, background 1s, margin-top 1s; + transition: background 1s, box-shadow 1s, transform 1s; + /* Border */ + box-shadow: 0px var(--bottom-line) 0px 0 var(--demo-common-dark-blue); + -webkit-box-shadow: 0px var(--bottom-line) 0px 0 var(--demo-common-dark-blue); + -moz-box-shadow: 0px var(--bottom-line) 0px 0 var(--demo-common-dark-blue); + /* Transformations */ + transform: none; } .payLink:hover { --background: var(--button-confirm-hovering-background); --link-colour: var(--button-confirm-hovering-foreground); - border-bottom: 0 solid var(--demo-common-dark-blue); - margin-top: calc(10px + 0.3em); + --bottom-line: 0; + transform: translateY(6px); } .payLink:active { --background: var(--button-confirm-active-background); diff --git a/talermerchantdemos/translations/ar/LC_MESSAGES/messages.po b/talermerchantdemos/translations/ar/LC_MESSAGES/messages.po index f6a5a96..243ffd6 100644 --- a/talermerchantdemos/translations/ar/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/ar/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: eintritt@hotmail.com\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: 2021-03-26 12:18+0000\n" "Last-Translator: Maisa I \n" "Language: ar\n" diff --git a/talermerchantdemos/translations/de/LC_MESSAGES/messages.po b/talermerchantdemos/translations/de/LC_MESSAGES/messages.po index 695c146..30388e4 100644 --- a/talermerchantdemos/translations/de/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: taler-merchant-demos\n" "Report-Msgid-Bugs-To: eintritt@hotmail.com\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: 2022-04-18 06:48+0000\n" "Last-Translator: Stefan Kügel \n" "Language: de\n" diff --git a/talermerchantdemos/translations/en/LC_MESSAGES/messages.po b/talermerchantdemos/translations/en/LC_MESSAGES/messages.po index 33341bf..9affc44 100644 --- a/talermerchantdemos/translations/en/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/en/LC_MESSAGES/messages.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: en\n" diff --git a/talermerchantdemos/translations/es/LC_MESSAGES/messages.po b/talermerchantdemos/translations/es/LC_MESSAGES/messages.po index be5afb7..c55163d 100644 --- a/talermerchantdemos/translations/es/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/es/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: eintritt@hotmail.com\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: 2022-02-11 16:14+0000\n" "Last-Translator: Stefan \n" "Language: es\n" diff --git a/talermerchantdemos/translations/fr/LC_MESSAGES/messages.po b/talermerchantdemos/translations/fr/LC_MESSAGES/messages.po index 1204be9..c3f68b2 100644 --- a/talermerchantdemos/translations/fr/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/fr/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: eintritt@hotmail.com\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: 2022-02-11 13:46+0000\n" "Last-Translator: Stefan \n" "Language: fr\n" diff --git a/talermerchantdemos/translations/hi/LC_MESSAGES/messages.po b/talermerchantdemos/translations/hi/LC_MESSAGES/messages.po index 7b5a10f..a26e97f 100644 --- a/talermerchantdemos/translations/hi/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/hi/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language: hi\n" diff --git a/talermerchantdemos/translations/it/LC_MESSAGES/messages.po b/talermerchantdemos/translations/it/LC_MESSAGES/messages.po index 7f8ad0f..7f13797 100644 --- a/talermerchantdemos/translations/it/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/it/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: eintritt@hotmail.com\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: 2021-05-13 21:09+0000\n" "Last-Translator: Stefan \n" "Language: it\n" diff --git a/talermerchantdemos/translations/ja/LC_MESSAGES/messages.po b/talermerchantdemos/translations/ja/LC_MESSAGES/messages.po index df6ee69..568e177 100644 --- a/talermerchantdemos/translations/ja/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/ja/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: eintritt@hotmail.com\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: 2022-02-22 21:41+0000\n" "Last-Translator: Mizuhashi Lexee \n" "Language: ja\n" diff --git a/talermerchantdemos/translations/ko/LC_MESSAGES/messages.po b/talermerchantdemos/translations/ko/LC_MESSAGES/messages.po index 21b1811..721579d 100644 --- a/talermerchantdemos/translations/ko/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/ko/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: eintritt@hotmail.com\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: 2022-04-16 07:04+0000\n" "Last-Translator: Stefan Kügel \n" "Language: ko\n" diff --git a/talermerchantdemos/translations/messages.pot b/talermerchantdemos/translations/messages.pot index b269cc7..4bf00bf 100644 --- a/talermerchantdemos/translations/messages.pot +++ b/talermerchantdemos/translations/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/talermerchantdemos/translations/pt/LC_MESSAGES/messages.po b/talermerchantdemos/translations/pt/LC_MESSAGES/messages.po index c21cc8f..482afed 100644 --- a/talermerchantdemos/translations/pt/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/pt/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: 2021-02-24 11:17+0000\n" "Last-Translator: Stefan \n" "Language: pt\n" diff --git a/talermerchantdemos/translations/ru/LC_MESSAGES/messages.po b/talermerchantdemos/translations/ru/LC_MESSAGES/messages.po index 44ee72a..1467755 100644 --- a/talermerchantdemos/translations/ru/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/ru/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: eintritt@hotmail.com\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: 2022-02-10 21:59+0000\n" "Last-Translator: Stefan \n" "Language: ru\n" diff --git a/talermerchantdemos/translations/sv/LC_MESSAGES/messages.po b/talermerchantdemos/translations/sv/LC_MESSAGES/messages.po index 91e49bb..89f91d8 100644 --- a/talermerchantdemos/translations/sv/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/sv/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: eintritt@hotmail.com\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: 2022-02-11 12:43+0000\n" "Last-Translator: Stefan \n" "Language: sv\n" diff --git a/talermerchantdemos/translations/tr/LC_MESSAGES/messages.po b/talermerchantdemos/translations/tr/LC_MESSAGES/messages.po index 4183d2e..6fd6b6b 100644 --- a/talermerchantdemos/translations/tr/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/tr/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: eintritt@hotmail.com\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: 2022-04-08 08:50+0000\n" "Last-Translator: Stefan Kügel \n" "Language: tr\n" diff --git a/talermerchantdemos/translations/zh_Hant/LC_MESSAGES/messages.po b/talermerchantdemos/translations/zh_Hant/LC_MESSAGES/messages.po index ad80c31..c7e2640 100644 --- a/talermerchantdemos/translations/zh_Hant/LC_MESSAGES/messages.po +++ b/talermerchantdemos/translations/zh_Hant/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: eintritt@hotmail.com\n" -"POT-Creation-Date: 2022-09-24 17:14+0200\n" +"POT-Creation-Date: 2022-09-24 20:27+0200\n" "PO-Revision-Date: 2021-07-29 21:30+0000\n" "Last-Translator: Ting-Yi Fu \n" "Language: zh_Hant\n" -- cgit v1.2.3