Improve wishlists style

This commit is contained in:
Jay Trees 2022-03-07 10:19:12 +01:00
parent 7fc091862a
commit 2a72890d99
2 changed files with 23 additions and 25 deletions

View file

@ -131,7 +131,7 @@ class Wish
<?php } ?>
<?php if ($this->url) { ?>
<a class="ui small labeled icon button" href="<?= $this->url ?>" target="_blank">
<a class="ui small labeled icon button<?= $userIsCurrent ? ' primary' : '' ?>" href="<?= $this->url ?>" target="_blank">
<i class="external icon"></i>
Visit
</a>

View file

@ -32,36 +32,34 @@ $page->navigation();
<option value="">Loading your wishlists...</option>
</select>
</div>
</div>
<div class="ui divider"></div>
<div class="flex buttons">
<a class="ui small labeled icon primary button wishlist-wish-add disabled">
<i class="add icon"></i>
Add a wish
</a>
<div class="flex buttons">
<a class="ui small labeled icon button wishlist-wish-add disabled">
<i class="add icon"></i>
Add a wish
</a>
<a class="ui small labeled icon button wishlist-share disabled" target="_blank">
<i class="share icon"></i>
Share
</a>
<a class="ui small labeled icon button wishlist-share disabled" target="_blank">
<i class="share icon"></i>
Share
</a>
<div class="ui small labeled icon top left pointing dropdown button options">
<i class="cog icon"></i>
<span class="text">Options</span>
<div class="menu">
<div class="ui small labeled icon top left pointing dropdown button options">
<i class="cog icon"></i>
<span class="text">Options</span>
<div class="menu">
<div class="item wishlist-rename disabled">
<i class="pen icon"></i>
Rename
</div>
<div class="item wishlist-delete disabled">
<i class="trash icon"></i>
Delete
</div>
<div class="item wishlist-rename disabled">
<i class="pen icon"></i>
Rename
</div>
<div class="item wishlist-delete disabled">
<i class="trash icon"></i>
Delete
</div>
</div>
</div>