style: format code with prettier

This commit is contained in:
github-actions[bot] committed 2024-01-23 14:38:20 +00:00
1 parent aca08164fd
commit 03f4179062
1 file changed
+30 -20
+30 -20
View File
@@ -357,7 +357,8 @@
.promo-v3 .listening-report-promo { .promo-v3 .listening-report-promo {
background: @mantle; background: @mantle;
border-color: rgba(@mantle, 0.5); border-color: rgba(@mantle, 0.5);
&:hover, &:focus { &:hover,
&:focus {
background: @crust; background: @crust;
border-color: rgba(@crust, 0.5); border-color: rgba(@crust, 0.5);
} }
@@ -664,7 +665,9 @@
border-bottom-color: @base; border-bottom-color: @base;
} }
// Comparison badge colors // Comparison badge colors
.report-headline-meta .badge-container .report-badge.report-badge--comparison { .report-headline-meta
.badge-container
.report-badge.report-badge--comparison {
border-color: @base; border-color: @base;
.report-arrow { .report-arrow {
background: @base; background: @base;
@@ -703,12 +706,12 @@
color: @base; color: @base;
// Badge color is base on accent // Badge color is base on accent
.badge-container { .badge-container {
.report-badge { .report-badge {
border-color: @base; border-color: @base;
} }
.report-badge--comparison .report-arrow { .report-badge--comparison .report-arrow {
background: @base; background: @base;
} }
} }
// Chart styling // Chart styling
.highcharts-series-group .highcharts-point { .highcharts-series-group .highcharts-point {
@@ -756,7 +759,7 @@
} }
// User comparison icons // User comparison icons
.tag-label { .tag-label {
background: linear-gradient(90deg,darken(@accent,5%),@accent); background: linear-gradient(90deg, darken(@accent, 5%), @accent);
// Total scrobbles header // Total scrobbles header
&--total-scrobbles::before { &--total-scrobbles::before {
mask-image: url("/static/images/icons/icon-scrobble.66a5e6978c62.svg"); mask-image: url("/static/images/icons/icon-scrobble.66a5e6978c62.svg");
@@ -773,7 +776,7 @@
.header-metadata-title { .header-metadata-title {
color: @text; color: @text;
} }
.listening-report-brick{ .listening-report-brick {
&-divider { &-divider {
border-color: @surface0; border-color: @surface0;
} }
@@ -806,7 +809,8 @@
// Top tags visualizer: Rainbow colors implemented from Catppuccin Palette // Top tags visualizer: Rainbow colors implemented from Catppuccin Palette
@gradient-colors: @rosewater, @flamingo, @pink, @mauve, @red, @maroon, @peach, @yellow, @green, @teal, @sky, @sapphire, @blue, @lavender; @gradient-colors: @rosewater, @flamingo, @pink, @mauve, @red, @maroon,
@peach, @yellow, @green, @teal, @sky, @sapphire, @blue, @lavender;
each(range(0, 11), { each(range(0, 11), {
.report-box-container--top-tags-over-time .top-tags-over-time-colour-@{value} { .report-box-container--top-tags-over-time .top-tags-over-time-colour-@{value} {
fill: extract(@gradient-colors, @value + 1); fill: extract(@gradient-colors, @value + 1);
@@ -830,12 +834,11 @@
filter: invert(0) !important; filter: invert(0) !important;
} }
.music-decades-chart-container { .music-decades-chart-container {
.highcharts-series-1 .highcharts-point { .highcharts-series-1 .highcharts-point {
fill: rgba(@accent, 0.5); fill: rgba(@accent, 0.5);
}
} }
}
/* LIBRARY */ /* LIBRARY */
.col-sidebar._buffer-sidebar .col-sidebar._buffer-sidebar
@@ -967,7 +970,9 @@
.about-artist-name, .about-artist-name,
.catalogue-overview-similar-artists-item-name { .catalogue-overview-similar-artists-item-name {
a { a {
&, &:focus, &:hover { &,
&:focus,
&:hover {
color: @text; color: @text;
} }
} }
@@ -1284,7 +1289,9 @@
.api-session-disconnect:hover, .api-session-disconnect:hover,
.api-session-disconnect:active, .api-session-disconnect:active,
.clipboard-button, .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 .focus-visible,
body:not([data-whatinput="touch"]) .clipboard-button:hover { body:not([data-whatinput="touch"]) .clipboard-button:hover {
background-color: @accent !important; background-color: @accent !important;
@@ -1364,7 +1371,8 @@
.masthead-nav .masthead-nav-control, .masthead-nav .masthead-nav-control,
.masthead-nav .navlist-more, .masthead-nav .navlist-more,
.site-auth-control { .site-auth-control {
&:focus, &:hover { &:focus,
&:hover {
background-color: transparent; background-color: transparent;
color: @accent !important; color: @accent !important;
} }
@@ -1485,7 +1493,9 @@
[data-toggle-button-current-state="loved"] .chartlist-love-button, [data-toggle-button-current-state="loved"] .chartlist-love-button,
[data-toggle-button-current-state="loved"] .header-new-love-button { [data-toggle-button-current-state="loved"] .header-new-love-button {
&::before, &:focus::before, &:hover::before { &::before,
&:focus::before,
&:hover::before {
mask-position: -552px 0; mask-position: -552px 0;
-webkit-mask-position: -552px 0; -webkit-mask-position: -552px 0;
transition: mask-position 0.7s steps(22) !important; transition: mask-position 0.7s steps(22) !important;