Remove refresh button
This commit is contained in:
parent
0839c730ff
commit
08a97c7d7f
3 changed files with 0 additions and 56 deletions
|
@ -106,41 +106,6 @@ img {
|
|||
opacity: 1;
|
||||
}
|
||||
|
||||
/** Refresh */
|
||||
.ui.card > .image > button {
|
||||
transition: 0.4s ease opacity;
|
||||
animation: buttonWorking 2s linear infinite paused;
|
||||
|
||||
position: absolute;
|
||||
top: calc(0.91666667em / 2);
|
||||
right: calc(0.91666667em / 2);
|
||||
margin: 0;
|
||||
|
||||
background-color: transparent;
|
||||
z-index: 2;
|
||||
}
|
||||
@media (hover: hover) {
|
||||
.ui.card > .image > button {
|
||||
opacity: 0;
|
||||
}
|
||||
.ui.card:hover > .image > button {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.ui.card > .image > button.working {
|
||||
animation-play-state: running;
|
||||
}
|
||||
|
||||
@keyframes buttonWorking {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
|
||||
/** Content */
|
||||
.ui.card > .content > .header {
|
||||
max-height: calc(2 * 1.28571429em);
|
||||
|
|
|
@ -125,7 +125,6 @@ $(function () {
|
|||
card = $(card);
|
||||
|
||||
var href = card.find('.content [href]').prop('href');
|
||||
var refresh = card.find('button.refresh');
|
||||
|
||||
if (!href) {
|
||||
return;
|
||||
|
@ -156,22 +155,8 @@ $(function () {
|
|||
|
||||
$('.ui.dropdown').dropdown();
|
||||
});
|
||||
|
||||
refresh.removeClass('working');
|
||||
}
|
||||
|
||||
/**
|
||||
* Refresh
|
||||
*/
|
||||
$(document).on('click', '.ui.button.refresh', function (event) {
|
||||
var button = $(event.currentTarget);
|
||||
var card = button.closest('.ui.card');
|
||||
|
||||
button.addClass('working');
|
||||
|
||||
generateCacheCard(card);
|
||||
});
|
||||
|
||||
/**
|
||||
* Delete Wishlist
|
||||
*/
|
||||
|
|
|
@ -94,12 +94,6 @@ class Wish
|
|||
<?php if (isset($this->info->providerName)) { ?>
|
||||
<span class="provider"><?= $this->info->providerName ?></span>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($userIsCurrent && isset($this->url)) { ?>
|
||||
<button class="ui icon button refresh">
|
||||
<i class="refresh icon"></i>
|
||||
</button>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
|
|
Loading…
Reference in a new issue