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 @@
=$this->transEsc('Library Card name missing')?>
auth()->getManager()->allowsUserIlsLogin()): ?>
- =$this->transEsc('Add name')?>
+ =$this->transEsc('Add name')?>
@@ -76,10 +76,20 @@
ils()->checkFunction('changePassword', (array)$record)): ?>
- =$this->icon('library-card-password') ?> =$this->transEsc('Change Password')?>
+
+ =$this->icon('library-card-password', 'icon-link__icon') ?>
+
+ =$this->transEsc('Change Password')?>
+
+
auth()->getManager()->allowsUserIlsLogin()): ?>
- =$this->icon('library-card-edit') ?> =$this->transEsc('Update Card Details')?>
+
+ =$this->icon('library-card-edit', 'icon-link__icon') ?>
+
+ =$this->transEsc('Update Card Details')?>
+
+
=
$this->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,
|