Update watchlist button css

This commit is contained in:
HighImKevin
2025-10-22 07:08:32 -04:00
parent 17991fa5ec
commit fd68f8a800
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -1804,3 +1804,7 @@ div[data-tab="watchlist"] .loading-message {
color: rgba(0,0,0,.26);
cursor: auto
}
.watchlist-button[data-active="true"], .watchlist-icon[data-active="true"] {
color: rgb(34, 197, 94) !important;
}
+2 -2
View File
@@ -5355,7 +5355,7 @@ In the Custom Tabs plugin, add a new tab with the following HTML content:
// Create watchlist button
const watchlistButton = document.createElement('button');
watchlistButton.type = 'button';
watchlistButton.className = 'watchlist-button cardOverlayButton cardOverlayButton-hover itemAction paper-icon-button-light emby-button';
watchlistButton.className = 'watchlist-button cardOverlayButton cardOverlayButton-hover itemAction paper-icon-button-light emby-button button-flat';
watchlistButton.setAttribute('data-action', 'none');
watchlistButton.setAttribute('data-id', itemId);
watchlistButton.setAttribute('data-active', 'false');
@@ -5483,7 +5483,7 @@ In the Custom Tabs plugin, add a new tab with the following HTML content:
const watchlistIcon = document.createElement('button');
watchlistIcon.setAttribute("is", "emby-button");
watchlistIcon.className = 'watchlist-icon detailButton emby-button hide';
watchlistIcon.className = 'watchlist-icon detailButton emby-button button-flat hide';
watchlistIcon.title = "Add to Watchlist";
watchlistIcon.dataset.active = 'false';