From e888b5c896ad4bd9e79f14c8b74d65df912ab815 Mon Sep 17 00:00:00 2001 From: TC Date: Mon, 23 Aug 2021 01:17:29 +0200 Subject: [PATCH] Update menu buttons to new format --- plugins/downloader/style.css | 8 ++ plugins/downloader/templates/download.html | 58 ++++---- plugins/playback-speed/templates/slider.html | 138 ++++++++++--------- 3 files changed, 114 insertions(+), 90 deletions(-) diff --git a/plugins/downloader/style.css b/plugins/downloader/style.css index 8119fc5ee8..6f29fc6b77 100644 --- a/plugins/downloader/style.css +++ b/plugins/downloader/style.css @@ -6,8 +6,16 @@ cursor: pointer; } +.menu-item > .yt-simple-endpoint:hover { + background-color: var(--ytmusic-menu-item-hover-background-color); +} + .menu-icon { flex: var(--ytmusic-menu-item-icon_-_flex); margin: var(--ytmusic-menu-item-icon_-_margin); fill: var(--ytmusic-menu-item-icon_-_fill); + stroke: var(--iron-icon-stroke-color, none); + width: var(--iron-icon-width, 24px); + height: var(--iron-icon-height, 24px); + animation: var(--iron-icon_-_animation); } diff --git a/plugins/downloader/templates/download.html b/plugins/downloader/templates/download.html index d4f455d06e..ede5ec0265 100644 --- a/plugins/downloader/templates/download.html +++ b/plugins/downloader/templates/download.html @@ -1,5 +1,5 @@ diff --git a/plugins/playback-speed/templates/slider.html b/plugins/playback-speed/templates/slider.html index 67ced7a4a1..85865af045 100644 --- a/plugins/playback-speed/templates/slider.html +++ b/plugins/playback-speed/templates/slider.html @@ -1,79 +1,87 @@