style: format code with prettier
This commit is contained in:
1 parent
aca08164fd
commit
03f4179062
1 file changed
+30
-20
@@ -357,7 +357,8 @@
|
||||
.promo-v3 .listening-report-promo {
|
||||
background: @mantle;
|
||||
border-color: rgba(@mantle, 0.5);
|
||||
&:hover, &:focus {
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: @crust;
|
||||
border-color: rgba(@crust, 0.5);
|
||||
}
|
||||
@@ -664,7 +665,9 @@
|
||||
border-bottom-color: @base;
|
||||
}
|
||||
// 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;
|
||||
.report-arrow {
|
||||
background: @base;
|
||||
@@ -703,12 +706,12 @@
|
||||
color: @base;
|
||||
// Badge color is base on accent
|
||||
.badge-container {
|
||||
.report-badge {
|
||||
border-color: @base;
|
||||
}
|
||||
.report-badge--comparison .report-arrow {
|
||||
background: @base;
|
||||
}
|
||||
.report-badge {
|
||||
border-color: @base;
|
||||
}
|
||||
.report-badge--comparison .report-arrow {
|
||||
background: @base;
|
||||
}
|
||||
}
|
||||
// Chart styling
|
||||
.highcharts-series-group .highcharts-point {
|
||||
@@ -756,7 +759,7 @@
|
||||
}
|
||||
// User comparison icons
|
||||
.tag-label {
|
||||
background: linear-gradient(90deg,darken(@accent,5%),@accent);
|
||||
background: linear-gradient(90deg, darken(@accent, 5%), @accent);
|
||||
// Total scrobbles header
|
||||
&--total-scrobbles::before {
|
||||
mask-image: url("/static/images/icons/icon-scrobble.66a5e6978c62.svg");
|
||||
@@ -773,7 +776,7 @@
|
||||
.header-metadata-title {
|
||||
color: @text;
|
||||
}
|
||||
.listening-report-brick{
|
||||
.listening-report-brick {
|
||||
&-divider {
|
||||
border-color: @surface0;
|
||||
}
|
||||
@@ -806,7 +809,8 @@
|
||||
|
||||
// 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), {
|
||||
.report-box-container--top-tags-over-time .top-tags-over-time-colour-@{value} {
|
||||
fill: extract(@gradient-colors, @value + 1);
|
||||
@@ -830,12 +834,11 @@
|
||||
filter: invert(0) !important;
|
||||
}
|
||||
|
||||
.music-decades-chart-container {
|
||||
.highcharts-series-1 .highcharts-point {
|
||||
fill: rgba(@accent, 0.5);
|
||||
}
|
||||
.music-decades-chart-container {
|
||||
.highcharts-series-1 .highcharts-point {
|
||||
fill: rgba(@accent, 0.5);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* LIBRARY */
|
||||
.col-sidebar._buffer-sidebar
|
||||
@@ -967,7 +970,9 @@
|
||||
.about-artist-name,
|
||||
.catalogue-overview-similar-artists-item-name {
|
||||
a {
|
||||
&, &:focus, &:hover {
|
||||
&,
|
||||
&:focus,
|
||||
&:hover {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
@@ -1284,7 +1289,9 @@
|
||||
.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;
|
||||
@@ -1364,7 +1371,8 @@
|
||||
.masthead-nav .masthead-nav-control,
|
||||
.masthead-nav .navlist-more,
|
||||
.site-auth-control {
|
||||
&:focus, &:hover {
|
||||
&:focus,
|
||||
&:hover {
|
||||
background-color: transparent;
|
||||
color: @accent !important;
|
||||
}
|
||||
@@ -1485,7 +1493,9 @@
|
||||
|
||||
[data-toggle-button-current-state="loved"] .chartlist-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;
|
||||
-webkit-mask-position: -552px 0;
|
||||
transition: mask-position 0.7s steps(22) !important;
|
||||
|
||||
Reference in new issue
Block a user