fix(lastfm): fix love animation & various cleanups (#437)
* fix(lastfm): love animation fix & cleanups * chore(lastfm): bump ver. * fix(lastfm): change selectors
This commit is contained in:
1 parent
abb2610f12
commit
874b45f671
1 file changed
+88
-174
@@ -2,7 +2,7 @@
|
||||
@name Last.fm Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/lastfm
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/lastfm
|
||||
@version 1.1.1
|
||||
@version 1.1.2
|
||||
@description Soothing pastel theme for Last.fm
|
||||
@author Catppuccin
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/lastfm/catppuccin.user.css
|
||||
@@ -731,11 +731,6 @@
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
.discovery-stat-top-item-name a,
|
||||
.discovery-stat-top-item-name a:focus,
|
||||
.discovery-stat-top-item-name a:hover {
|
||||
color: @text;
|
||||
}
|
||||
.discovery-stat-top-item-artist:focus,
|
||||
.discovery-stat-top-item-artist:hover,
|
||||
.discovery-stat-top-item-artist a,
|
||||
@@ -858,37 +853,25 @@
|
||||
.section-with-separator::after {
|
||||
background-color: @base;
|
||||
}
|
||||
.header-new-bookmark-button,
|
||||
.header-new-download-button,
|
||||
.header-new-love-button,
|
||||
.header-new-more-button,
|
||||
body:not(.js-focus-visible)
|
||||
body:not([data-whatinput="touch"])
|
||||
.header-new-bookmark-button:focus,
|
||||
body:not(.js-focus-visible)
|
||||
body:not([data-whatinput="touch"])
|
||||
.header-new-download-button:focus,
|
||||
body:not(.js-focus-visible)
|
||||
body:not([data-whatinput="touch"])
|
||||
.header-new-love-button:focus,
|
||||
body:not(.js-focus-visible)
|
||||
body:not([data-whatinput="touch"])
|
||||
.header-new-more-button:focus,
|
||||
body:not([data-whatinput="touch"])
|
||||
.header-new-bookmark-button
|
||||
.focus-visible,
|
||||
body:not([data-whatinput="touch"]) .header-new-bookmark-button:hover,
|
||||
body:not([data-whatinput="touch"])
|
||||
.header-new-download-button
|
||||
.focus-visible,
|
||||
body:not([data-whatinput="touch"]) .header-new-download-button:hover,
|
||||
body:not([data-whatinput="touch"]) .header-new-love-button .focus-visible,
|
||||
body:not([data-whatinput="touch"]) .header-new-love-button:hover,
|
||||
body:not([data-whatinput="touch"]) .header-new-more-button .focus-visible,
|
||||
body:not([data-whatinput="touch"]) .header-new-more-button:hover {
|
||||
body .header-new-bookmark-button,
|
||||
body .header-new-download-button,
|
||||
body .header-new-love-button,
|
||||
body .header-new-more-button {
|
||||
color: @base;
|
||||
background-color: @accent;
|
||||
}
|
||||
body:not([data-whatinput="touch"]) {
|
||||
.header-new-bookmark-button,
|
||||
.header-new-download-button,
|
||||
.header-new-love-button,
|
||||
.header-new-more-button {
|
||||
.focus-visible,
|
||||
&:hover {
|
||||
color: @base;
|
||||
background-color: @accent;
|
||||
}
|
||||
}
|
||||
}
|
||||
.wiki-block-inner,
|
||||
.catalogue-metadata-heading,
|
||||
.catalogue-metadata-description,
|
||||
@@ -896,20 +879,26 @@
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.similar-albums-item-name a,
|
||||
.similar-albums-item-name a:focus,
|
||||
.similar-albums-item-name a:hover {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.text-18 {
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
.artist-similar-artists-sidebar-item-name a,
|
||||
.artist-similar-artists-sidebar-item-name a:focus,
|
||||
.artist-similar-artists-sidebar-item-name a:hover {
|
||||
color: @text;
|
||||
.artist-similar-artists-sidebar-item-name,
|
||||
.artist-top-albums-item-name,
|
||||
.listeners-section-item-name,
|
||||
.catalogue-overview-similar-artists-full-width-item-name,
|
||||
.similar-albums-item-name,
|
||||
.discovery-stat-top-item-name,
|
||||
.source-album-artist,
|
||||
.source-album-name,
|
||||
.track-similar-tracks-item-name,
|
||||
.about-artist-name,
|
||||
.catalogue-overview-similar-artists-item-name {
|
||||
a {
|
||||
&, &:focus, &:hover {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.events-list-item-event-name.link-block-target > span {
|
||||
@@ -920,24 +909,6 @@
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.artist-top-albums-item-name a,
|
||||
.artist-top-albums-item-name a:focus,
|
||||
.artist-top-albums-item-name a:hover {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.listeners-section-item-name a,
|
||||
.listeners-section-item-name a:focus,
|
||||
.listeners-section-item-name a:hover {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.catalogue-overview-similar-artists-full-width-item-name a,
|
||||
.catalogue-overview-similar-artists-full-width-item-name a:focus,
|
||||
.catalogue-overview-similar-artists-full-width-item-name a:hover {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.resource-external-link,
|
||||
.resource-external-link:hover {
|
||||
color: @text;
|
||||
@@ -996,34 +967,6 @@
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* TRACK */
|
||||
.source-album-artist a,
|
||||
.source-album-artist a:focus,
|
||||
.source-album-artist a:hover,
|
||||
.source-album-name a,
|
||||
.source-album-name a:focus,
|
||||
.source-album-name a:hover {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.track-similar-tracks-item-name a,
|
||||
.track-similar-tracks-item-name a:focus,
|
||||
.track-similar-tracks-item-name a:hover {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.about-artist-name a,
|
||||
.about-artist-name a:focus,
|
||||
.about-artist-name a:hover {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.catalogue-overview-similar-artists-item-name a,
|
||||
.catalogue-overview-similar-artists-item-name a:focus,
|
||||
.catalogue-overview-similar-artists-item-name a:hover {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.stationlink::before {
|
||||
background-color: @accent;
|
||||
-webkit-filter: invert(0%);
|
||||
@@ -1094,45 +1037,28 @@
|
||||
background-color: @crust;
|
||||
}
|
||||
|
||||
.content-form .form-control,
|
||||
.content-form input[type="date"],
|
||||
.content-form input[type="email"],
|
||||
.content-form input[type="number"],
|
||||
.content-form input[type="password"],
|
||||
.content-form input[type="text"],
|
||||
.content-form input[type="url"],
|
||||
.content-form select,
|
||||
.content-form textarea {
|
||||
background-color: @crust;
|
||||
border-color: @crust;
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.content-form .form-control:focus,
|
||||
.content-form input[type="date"]:focus,
|
||||
.content-form input[type="email"]:focus,
|
||||
.content-form input[type="number"]:focus,
|
||||
.content-form input[type="password"]:focus,
|
||||
.content-form input[type="text"]:focus,
|
||||
.content-form input[type="url"]:focus,
|
||||
.content-form select:focus,
|
||||
.content-form textarea:focus {
|
||||
box-shadow: none;
|
||||
border-color: @crust;
|
||||
}
|
||||
.content-form .form-control:hover:not([disabled]),
|
||||
.content-form input[type="date"]:hover:not([disabled]),
|
||||
.content-form input[type="email"]:hover:not([disabled]),
|
||||
.content-form input[type="number"]:hover:not([disabled]),
|
||||
.content-form input[type="password"]:hover:not([disabled]),
|
||||
.content-form input[type="text"]:hover:not([disabled]),
|
||||
.content-form input[type="url"]:hover:not([disabled]),
|
||||
.content-form select:hover:not([disabled]),
|
||||
.content-form textarea:hover:not([disabled]),
|
||||
.content-form .inplace-field,
|
||||
.inplace-field {
|
||||
border-color: @crust;
|
||||
color: @text;
|
||||
.content-form {
|
||||
.form-control,
|
||||
input[type="date"],
|
||||
input[type="email"],
|
||||
input[type="number"],
|
||||
input[type="password"],
|
||||
input[type="text"],
|
||||
input[type="url"],
|
||||
select,
|
||||
textarea {
|
||||
background-color: @crust;
|
||||
border-color: @crust;
|
||||
color: @subtext0;
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
border-color: @crust;
|
||||
}
|
||||
&:hover:not([disabled]) {
|
||||
border-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
.control-label {
|
||||
color: @accent;
|
||||
@@ -1286,9 +1212,7 @@
|
||||
.api-session-disconnect:hover,
|
||||
.api-session-disconnect:active,
|
||||
.clipboard-button,
|
||||
body:not(.js-focus-visible)
|
||||
body:not([data-whatinput="touch"])
|
||||
.clipboard-button:focus,
|
||||
body:not(.js-focus-visible) body:not([data-whatinput="touch"]) .clipboard-button:focus,
|
||||
body:not([data-whatinput="touch"]) .clipboard-button .focus-visible,
|
||||
body:not([data-whatinput="touch"]) .clipboard-button:hover {
|
||||
background-color: @accent !important;
|
||||
@@ -1365,14 +1289,13 @@
|
||||
background-color: @overlay0 !important;
|
||||
color: @text !important;
|
||||
}
|
||||
.masthead-nav .masthead-nav-control:focus,
|
||||
.masthead-nav .masthead-nav-control:hover,
|
||||
.masthead-nav .navlist-more:focus,
|
||||
.masthead-nav .navlist-more:hover,
|
||||
.site-auth-control:focus,
|
||||
.site-auth-control:hover {
|
||||
background-color: transparent;
|
||||
color: @accent !important;
|
||||
.masthead-nav .masthead-nav-control,
|
||||
.masthead-nav .navlist-more,
|
||||
.site-auth-control {
|
||||
&:focus, &:hover {
|
||||
background-color: transparent;
|
||||
color: @accent !important;
|
||||
}
|
||||
}
|
||||
.site-auth-control.btn-secondary {
|
||||
color: @base !important;
|
||||
@@ -1470,42 +1393,33 @@
|
||||
background-color: @subtext0;
|
||||
}
|
||||
|
||||
.chartlist-love-button::before,
|
||||
.header-new-love-button::before {
|
||||
background-image: none !important;
|
||||
mask-image: url("/static/images/icons/love_animation_tracklist_24.3c884b0287d4.png");
|
||||
-webkit-mask-image: url("/static/images/icons/love_animation_tracklist_24.3c884b0287d4.png");
|
||||
background-color: @text;
|
||||
mask-position: 0 0;
|
||||
-webkit-mask-position: 0 0;
|
||||
.chartlist-love-button,
|
||||
.header-new-love-button {
|
||||
&::before {
|
||||
background-image: none !important;
|
||||
mask-image: url("/static/images/icons/love_animation_tracklist_24.3c884b0287d4.png");
|
||||
-webkit-mask-image: url("/static/images/icons/love_animation_tracklist_24.3c884b0287d4.png");
|
||||
background-color: @text;
|
||||
mask-position: 0 0;
|
||||
-webkit-mask-position: 0 0;
|
||||
}
|
||||
&:focus::before,
|
||||
&:hover::before {
|
||||
mask-position: -24px 0;
|
||||
-webkit-mask-position: -24px 0;
|
||||
background-color: @red;
|
||||
}
|
||||
}
|
||||
|
||||
.chartlist-love-button:focus::before,
|
||||
.chartlist-love-button:hover::before,
|
||||
.header-new-love-button:focus::before,
|
||||
.header-new-love-button:hover::before {
|
||||
mask-position: -24px 0;
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
[data-toggle-button-current-state="loved"] .chartlist-love-button::before,
|
||||
[data-toggle-button-current-state="loved"] .header-new-love-button::before {
|
||||
mask-position: -552px 0;
|
||||
transition: mask-position 0.7s steps(23) !important;
|
||||
-webkit-transition: -webkit-mask-position 0.7s steps(23) !important;
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
[data-toggle-button-current-state="loved"]
|
||||
.chartlist-love-button:focus::before,
|
||||
[data-toggle-button-current-state="loved"]
|
||||
.chartlist-love-button:hover::before,
|
||||
[data-toggle-button-current-state="loved"]
|
||||
.header-new-love-button:focus::before,
|
||||
[data-toggle-button-current-state="loved"]
|
||||
.header-new-love-button:hover::before {
|
||||
transition: mask-position 0.7s steps(22) !important;
|
||||
-webkit-transition: -webkit-mask-position 0.7s steps(22) !important;
|
||||
[data-toggle-button-current-state="loved"] .chartlist-love-button,
|
||||
[data-toggle-button-current-state="loved"] .header-new-love-button {
|
||||
&::before, &:focus::before, &:hover::before {
|
||||
mask-position: -552px 0;
|
||||
-webkit-mask-position: -552px 0;
|
||||
transition: mask-position 0.7s steps(22) !important;
|
||||
-webkit-transition: -webkit-mask-position 0.7s steps(22) !important;
|
||||
background-color: @red;
|
||||
}
|
||||
}
|
||||
|
||||
.section-settings-toggle::before {
|
||||
|
||||
Reference in new issue
Block a user