diff --git a/themes/finna2/scss/finna/common.scss b/themes/finna2/scss/finna/common.scss index e742499b565..90b74023608 100644 --- a/themes/finna2/scss/finna/common.scss +++ b/themes/finna2/scss/finna/common.scss @@ -380,6 +380,10 @@ ol { .btn-unstyled { border: none; background-color: transparent; + &:hover, .btn-group.open & { + box-shadow: none; + } + } // A general-purpose flexbox layout mixin for switching between a horizontal diff --git a/themes/finna2/templates/librarycards/home.phtml b/themes/finna2/templates/librarycards/home.phtml index 656b82b9a2f..8b1b3a3861c 100644 --- a/themes/finna2/templates/librarycards/home.phtml +++ b/themes/finna2/templates/librarycards/home.phtml @@ -51,7 +51,7 @@ transEsc('Library Card name missing')?> auth()->getManager()->allowsUserIlsLogin()): ?> - transEsc('Add name')?> + transEsc('Add name')?> @@ -76,10 +76,20 @@
ils()->checkFunction('changePassword', (array)$record)): ?> - icon('library-card-password') ?> transEsc('Change Password')?> + + icon('library-card-password', 'icon-link__icon') ?> + + transEsc('Change Password')?> + + auth()->getManager()->allowsUserIlsLogin()): ?> - icon('library-card-edit') ?> transEsc('Update Card Details')?> + + icon('library-card-edit', 'icon-link__icon') ?> + + transEsc('Update Card Details')?> + + component( @@ -87,7 +97,7 @@ [ 'buttonLink' => $this->url('librarycards-deletecard', [], ['query' => ['cardID' => $record['id']]]), 'buttonLabelHtml' => $this->icon('library-card-disconnect') . ' ' . $this->translate('Disconnect Library Card'), - 'buttonClass' => 'btn-link', + 'buttonClass' => 'btn-unstyled', 'confirmLink' => $this->url('librarycards-deletecard', [], ['query' => ['cardID' => $record['id'], 'confirm' => 1]]), 'header' => 'confirm_delete_library_card_brief', 'clearAccountCache' => true,