diff --git a/app/Helper/Sharing.php b/app/Helper/Sharing.php index 10689e3e..b51f7e2f 100644 --- a/app/Helper/Sharing.php +++ b/app/Helper/Sharing.php @@ -6,7 +6,7 @@ use App\Models\Link; class Sharing { - public static $linkClasses = 'share-link btn btn-xs btn-outline-secondary'; + public static $linkClasses = 'share-link btn btn-xs btn-light'; public static $placeholders = [ '#URL#', diff --git a/resources/assets/js/components/LoadingButton.js b/resources/assets/js/components/LoadingButton.js index d690ed0a..62e776b6 100644 --- a/resources/assets/js/components/LoadingButton.js +++ b/resources/assets/js/components/LoadingButton.js @@ -8,13 +8,9 @@ export default class LoadingButton { } onClick () { - if (this.formIsValid()) { + if (this.$form.checkValidity()) { this.$btn.disabled = true; this.$form.submit(); } } - - formIsValid () { - return this.$form.checkValidity(); - } } diff --git a/resources/assets/sass/_variables.scss b/resources/assets/sass/_variables.scss index 5060d4b6..3090d41d 100644 --- a/resources/assets/sass/_variables.scss +++ b/resources/assets/sass/_variables.scss @@ -87,6 +87,8 @@ $body-color-muted: $gray; // Links $link-color: $primary; +$link-shade-percentage: 40%; +$link-hover-color: shift-color($link-color, $link-shade-percentage); $link-hover-decoration: none; @@ -126,6 +128,7 @@ $btn-padding-x-xs: $input-btn-padding-x-xs; $btn-font-size-xs: $input-btn-font-size-xs; $btn-line-height-xs: $input-btn-line-height-xs; +$btn-hover-bg-tint-amount: 20%; $btn-border-radius-xs: $border-radius-xs; diff --git a/resources/assets/sass/custom/_app.scss b/resources/assets/sass/custom/_app.scss index 335a86b9..a69dea7d 100644 --- a/resources/assets/sass/custom/_app.scss +++ b/resources/assets/sass/custom/_app.scss @@ -99,6 +99,10 @@ body:not(.bookmarklet) { font-size: 90%; } +.text-xs { + font-size: $font-size-xs; +} + .btn-xs { @include button-size($btn-padding-y-xs, $btn-padding-x-xs, $btn-font-size-xs, $btn-border-radius-xs); } diff --git a/resources/assets/sass/custom/_fixes.scss b/resources/assets/sass/custom/_fixes.scss index 954e5bdf..c125fd18 100644 --- a/resources/assets/sass/custom/_fixes.scss +++ b/resources/assets/sass/custom/_fixes.scss @@ -1,5 +1,5 @@ // Bootstrap 5 Fixes -.custom-control-label { +.form-check-label { cursor: pointer; } diff --git a/resources/views/app/bookmarklet/login.blade.php b/resources/views/app/bookmarklet/login.blade.php index 53f82a3d..c2785417 100644 --- a/resources/views/app/bookmarklet/login.blade.php +++ b/resources/views/app/bookmarklet/login.blade.php @@ -10,7 +10,7 @@