diff --git a/.eslintrc.json b/.eslintrc.json index fa0b2d4..b80cb32 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -7,6 +7,7 @@ "settings": { "polyfills": [ "URL", + "URLSearchParams", "Promise", "navigator", "Uint8Array", diff --git a/README.md b/README.md index 843361b..fe49bf0 100644 --- a/README.md +++ b/README.md @@ -144,3 +144,7 @@ Copyright (c) 2018 Norbert Renner and [contributors](https://github.com/nrenner/ [The Unlicense](https://github.com/osmlab/leaflet-osm-notes/blob/gh-pages/LICENSE) - [Fetch polyfill](https://github.com/Github/fetch) Copyright (c) 2014-2016 GitHub, Inc.; [MIT License](https://github.com/github/fetch/blob/master/LICENSE) +- [qrcodejs](https://github.com/llyys/qrcodejs) + Copyright (c) 2012 davidshimjs [The MIT License](https://github.com/llyys/qrcodejs/blob/master/LICENSE) +- [Bootstrap Icons](https://github.com/twbs/icons) + Copyright (c) 2019-2023 The Bootstrap Authors [The MIT License](https://github.com/twbs/icons/blob/main/LICENSE) diff --git a/css/style.css b/css/style.css index 6229506..0d03a1c 100644 --- a/css/style.css +++ b/css/style.css @@ -527,6 +527,68 @@ button.deactivate-beeline-active.disabled { margin: -6px 0 6px 20px; } +/* Share Dialog */ + +#share-qrcode-img img { + max-width: 100%; +} + +.btn-group-xs > .btn, +.btn-xs { + padding: 0.1rem 0.4rem; + font-size: 0.75rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.btn-facebook { + background-color: #3b5998; + border-color: #3b5998; + color: #fff; +} + +.btn-facebook:hover { + background-color: #2d4373; + border-color: #2d4373; + color: #fff; +} + +.btn-whatsapp { + background-color: #25d366; + border-color: #25d366; + color: #fff; +} + +.btn-whatsapp:hover { + background-color: #1da851; + border-color: #1da851; + color: #fff; +} + +.btn-email { + background-color: #e74c3c; + border-color: #e74c3c; + color: #fff; +} + +.btn-email:hover { + background-color: #c0392b; + border-color: #c0392b; + color: #fff; +} + +.btn-mastodon { + background-color: #2b90d9; + border-color: #2b90d9; + color: #fff; +} + +.btn-mastodon:hover { + background-color: #1d5bbf; + border-color: #1d5bbf; + color: #fff; +} + /* "What's new?" (Change Log) */ #whatsnew h2 { margin: 2rem 0; diff --git a/index.html b/index.html index 1134870..390f359 100644 --- a/index.html +++ b/index.html @@ -68,6 +68,35 @@ Export + + + +