fix(treewide): enforce catppuccin/userstyles code standards (#323)

* fix(gmail): stylelint suggestions

* fix(whatsapp-web): stylelint suggestions

* fix(invidious): stylelint suggestions

* bump(invidious): version number

* fix(gmail): use `::` instead of `:` for pseudo elements

* fix(formative): follow stylelint suggestions

* fix(quizlet): follow stylelint suggestions

* ci: adjust stylelint config

* fix(quizlet): follow more stylelint suggestions

* fix(paste.rs): follow stylelint suggestions

* fix(nixos-search): namespace

* fix(nitter): follow stylelint suggestions

* ci(lint): add `deno task lint:fix`

* style: run `stylelint --fix`

* fix(lastfm): remove duplicate selectors

* fix(formative): remove duplicate selectors

* fix(deepl): remove duplicate classes

* ci(lint): introduce rules against animations & fonts

* fix(libreddit): remove unnecessary  `&`

* ci(lint): disallow boder/outline, add message

* ci(lint): disallow atRules

* treewide: replace `border` in favour of `border-color`

* treewide: reject all font alterations

* treewide: `remove outline: none`

* style: some more `border` -> `border-color`

* ci(lint): `keyframes` needs to stay

* fix(nixos-search): enforce userstyles standards

* fix(nitter): remove redundant `&`

* style(treewide): collapse definitions

* fix(chess): piece urls

* style: mixin classes -> ids

* style: reformat with prettier

* chore(treewide): add/fix metadata

* fix(lastfm): syntax error

* fix(lastfm): remove opionation

* fix(lastfm): remove duplicate classes

* ci(lint): allow animation/transition properties

* fix(lastfm): more small things

* fix(treewide): function typos

* fix(aoc): unknown unit

* fix: more genral forgotten fixes

* fix(brave-search): remove redundant `&`

* style(planetmc): unpack lookup

* fix: remove redundant code

* chore: add `vim:ft=less` to all files

* chore: remove template comment

* fix(anilist): reduce redundant code

* ci(lint): allow `no-invalid-position-at-import-rule`

* fix(twitch): lint warnings

* fix(youtube): `declaration-block-no-duplicate-custom-properties`

* fix: get rid of redundant `& {}` selectors

* fix(anilist): remove redundant `@rgb-raw`

* fix(hoppscotch): `declaration-block-no-duplicate-custom-properties`

* fix(yt): remove duplicate code

* fix(anilist): remove duplicate code

* fix(lastfm): animation name

* fix(bstats): remove redundant code

* fix(yt): remove redundant code

* fix(ichi.moe): `no-duplicate-selectors`

* fix(pinterest): use `border-color` instead of `border`

* fix(planetmc): `no-duplicate-selectors`

* fix(yt): remove over used `::selection`

* fix: use `border-color: transparent` instead of `border: none`

* fix(searxng): remove stylus-style conditional

* fix(invidious): style missing color while i'm at it

* ci(lint): add chalk ansi styling

* style(treewide): enable & fix `length-zero-no-unit`

* ci(lint): prettyprint logger

* fix(yt): fold & don't format lookup

* fix(mastodon): prevent reggressions

* refactor: `not when` -> `when not`

* fix(yt): correct `chips` reggression

* fix(yt): `border-color` reggression

* fix(yt): prevent more reggessions

* refactor(chess): use mixin for piece url

* style: collapsed definition cleanup

---------

Co-authored-by: winston <[email protected]>
This commit is contained in:
Isabelandwinston authored and GitHub committed 2023-11-18 05:20:43 +01:00
1 parent 0814bb215d
commit 95703ab92b
56 files changed
+1840 -6858

No files matched your search

+108 -248
View File
@@ -11,125 +11,17 @@
@preprocessor less
@var select flavor "Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColor "Accent" [ "rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green*", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray" ]
@var checkbox removepromos "Remove Advertisements" 1
==/UserStyle== */
@-moz-document domain("last.fm") {
#catppuccin(@flavor, @accentColor);
/* prettier-ignore */
@catppuccin: {
@latte: {
@rosewater: #dc8a78;
@flamingo: #dd7878;
@pink: #ea76cb;
@mauve: #8839ef;
@red: #d20f39;
@maroon: #e64553;
@peach: #fe640b;
@yellow: #df8e1d;
@green: #40a02b;
@teal: #179299;
@sky: #04a5e5;
@sapphire: #209fb5;
@blue: #1e66f5;
@lavender: #7287fd;
@text: #4c4f69;
@subtext1: #5c5f77;
@subtext0: #6c6f85;
@overlay2: #7c7f93;
@overlay1: #8c8fa1;
@overlay0: #9ca0b0;
@surface2: #acb0be;
@surface1: #bcc0cc;
@surface0: #ccd0da;
@base: #eff1f5;
@mantle: #e6e9ef;
@crust: #dce0e8;
};
@frappe: {
@rosewater: #f2d5cf;
@flamingo: #eebebe;
@pink: #f4b8e4;
@mauve: #ca9ee6;
@red: #e78284;
@maroon: #ea999c;
@peach: #ef9f76;
@yellow: #e5c890;
@green: #a6d189;
@teal: #81c8be;
@sky: #99d1db;
@sapphire: #85c1dc;
@blue: #8caaee;
@lavender: #babbf1;
@text: #c6d0f5;
@subtext1: #b5bfe2;
@subtext0: #a5adce;
@overlay2: #949cbb;
@overlay1: #838ba7;
@overlay0: #737994;
@surface2: #626880;
@surface1: #51576d;
@surface0: #414559;
@base: #303446;
@mantle: #292c3c;
@crust: #232634;
};
@macchiato: {
@rosewater: #f4dbd6;
@flamingo: #f0c6c6;
@pink: #f5bde6;
@mauve: #c6a0f6;
@red: #ed8796;
@maroon: #ee99a0;
@peach: #f5a97f;
@yellow: #eed49f;
@green: #a6da95;
@teal: #8bd5ca;
@sky: #91d7e3;
@sapphire: #7dc4e4;
@blue: #8aadf4;
@lavender: #b7bdf8;
@text: #cad3f5;
@subtext1: #b8c0e0;
@subtext0: #a5adcb;
@overlay2: #939ab7;
@overlay1: #8087a2;
@overlay0: #6e738d;
@surface2: #5b6078;
@surface1: #494d64;
@surface0: #363a4f;
@base: #24273a;
@mantle: #1e2030;
@crust: #181926;
};
@mocha: {
@rosewater: #f5e0dc;
@flamingo: #f2cdcd;
@pink: #f5c2e7;
@mauve: #cba6f7;
@red: #f38ba8;
@maroon: #eba0ac;
@peach: #fab387;
@yellow: #f9e2af;
@green: #a6e3a1;
@teal: #94e2d5;
@sky: #89dceb;
@sapphire: #74c7ec;
@blue: #89b4fa;
@lavender: #b4befe;
@text: #cdd6f4;
@subtext1: #bac2de;
@subtext0: #a6adc8;
@overlay2: #9399b2;
@overlay1: #7f849c;
@overlay0: #6c7086;
@surface2: #585b70;
@surface1: #45475a;
@surface0: #313244;
@base: #1e1e2e;
@mantle: #181825;
@crust: #11111b;
};
};
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
}
@rgb-raw: #fff;
#rgbify(@color) {
@@ -167,7 +59,7 @@
@accent-dim: fadeout(@accent, 0.5);
& not when (@lookup = latte) {
& when not (@lookup = latte) {
color-scheme: dark;
.layout-image {
background: @base;
@@ -191,15 +83,15 @@
.cover-art {
background: @base;
}
.avatar:after,
.cover-art:after,
.image-list-item:after,
.video-thumbnail:after {
.avatar::after,
.cover-art::after,
.image-list-item::after,
.video-thumbnail::after {
box-shadow: inset 0 0 0 1px rgb(@subtext0, 7%);
}
}
/*------UNIVERSAL STYLES INCASE SOME GET MISSED------*/
/* ------UNIVERSAL STYLES INCASE SOME GET MISSED------ */
body {
color: @text;
}
@@ -209,28 +101,15 @@
.mimic-link {
color: @sapphire;
}
/*-----------CHECKBOXES AND RADIOS----------*/
.lfm-form-radio input[type="radio"]:checked + label:before {
border: 1px solid @accent;
/* -----------CHECKBOXES AND RADIOS---------- */
.lfm-form-radio input[type="radio"]:checked + label::before {
border-color: @accent;
box-shadow: inset 0 0 0 4px @accent;
background-color: @base;
}
.lfm-form-radio input[type="radio"] + label:before {
.lfm-form-radio input[type="radio"] + label::before {
background-color: @crust;
border: 2px solid @surface1;
}
/*-----------REMOVE PRO SUBSCRIPTION REMINDERS------*/
if removepromos {
.your-progress .buffer-2,
.secondary-nav-item--month,
.secondary-nav-item--year,
.auth-dropdown-pro-text {
display: none !important;
}
.listening-report-promo--month,
.listening-report-promo--year {
display: none !important;
}
border-color: @surface1;
}
/* HOME PAGE */
@@ -243,7 +122,7 @@
.content-top-has-nav .content-top::after,
.two-column-layout .content-top::after {
border-top: 1px solid @accent-dim;
border-top-color: @accent-dim;
}
.homefeed .content-top .secondary-nav-item-link--active,
@@ -284,7 +163,7 @@
.homefeed--events .content-top .secondary-nav-item-link--active::after {
background-color: @accent-dim;
}
.recs-feed .recs-feed-cover-image-wrap:after {
.recs-feed .recs-feed-cover-image-wrap::after {
background-image: linear-gradient(
180deg,
transparent 0,
@@ -296,10 +175,9 @@
.recs-feed .context {
background: @mantle;
box-shadow:
inset 1px 0 darken(@mantle, 3%),
inset -1px -1px @crust;
color: @text;
box-shadow: none;
box-shadow: inset 1px 0 darken(@mantle, 3%), inset -1px -1px @crust;
}
.recs-feed .recs-feed-item {
background: transparent;
@@ -318,7 +196,7 @@
}
.stationlink-list .stationlink::after {
border-bottom: 1px solid @accent-dim;
border-bottom-color: @accent-dim;
}
.stationlink-list .stationlink::before {
@@ -406,29 +284,26 @@
}
/* RECOMMENDATIONS */
.recs-feed-title a {
color: @text !important;
& when not (@lookup = "latte") {
.recs-feed-title a {
color: @text !important;
}
}
if (theme=="Latte") {
& when (@lookup = "latte") {
.recs-feed-title a {
color: @crust !important;
}
}
.recs-feed .context {
background: @mantle;
box-shadow: none;
color: @subtext1;
}
.recs-feed-item--artist .context:after,
.recs-feed .recs-feed-item--artist .recs-feed-avatar:after {
.recs-feed-item--artist .context::after,
.recs-feed .recs-feed-item--artist .recs-feed-avatar::after {
background-color: fadeout(@yellow, 1) !important;
}
.recs-feed-item--album .context:after,
.recs-feed .recs-feed-item--album .recs-feed-avatar:after {
.recs-feed-item--album .context::after,
.recs-feed .recs-feed-item--album .recs-feed-avatar::after {
background-color: fadeout(@green, 1) !important;
}
.recs-feed-item--track .context:after,
.recs-feed .recs-feed-item--track .recs-feed-avatar:after {
.recs-feed-item--track .context::after,
.recs-feed .recs-feed-item--track .recs-feed-avatar::after {
background-color: fadeout(@blue, 1) !important;
}
.secondary-nav {
@@ -486,9 +361,7 @@
}
.js-link-block.globalchart-item {
background-color: @crust;
box-shadow:
0 1px @base,
inset 0 -1px @base;
box-shadow: 0 1px @base, inset 0 -1px @base;
}
.globalchart a,
.globalchart a:focus,
@@ -499,9 +372,6 @@
.footer-top-row {
background-color: @mantle;
}
.two-column-layout .container {
background-color: #00000000;
}
/* EVENTS */
.events-filter,
@@ -512,7 +382,7 @@
}
.events-filters {
border-bottom: 1px solid @accent;
border-bottom-color: @accent;
}
.events-list-item-venue--address,
@@ -626,7 +496,7 @@
border-color: @crust !important;
}
@-webkit-keyframes AnimationName {
@keyframes chartlist-anim {
0% {
background-position: 0% 50%;
}
@@ -637,7 +507,7 @@
background-position: 0% 50%;
}
}
@-moz-keyframes AnimationName {
@keyframes chartlist-anim {
0% {
background-position: 0% 50%;
}
@@ -648,7 +518,7 @@
background-position: 0% 50%;
}
}
@keyframes AnimationName {
@keyframes chartlist-anim {
0% {
background-position: 0% 50%;
}
@@ -662,12 +532,12 @@
.chartlist-row--highlight,
.chartlist-row--now-scrobbling {
/*background-color: #5a1717;*/
/* background-color: #5a1717; */
background: linear-gradient(270deg, @base 60%, rgba(@accent, 0.2));
background-size: 200% 200%;
-webkit-animation: AnimationName 10s ease infinite;
-moz-animation: AnimationName 10s ease infinite;
animation: AnimationName 10s ease infinite;
-webkit-animation: chartlist-anim 10s ease infinite;
-moz-animation: chartlist-anim 10s ease infinite;
animation: chartlist-anim 10s ease infinite;
}
.chartlist-name,
@@ -677,17 +547,15 @@
.chartlist-break::after,
.chartlist-row::after {
border-bottom: 1px solid @surface0;
border-bottom-color: @surface0;
}
.chartlist-row:hover {
background-color: @crust;
}
.chartlist-count-bar-slug {
background-color: transparent !important;
}
.chartlist-count-bar-slug {
background-color: transparent !important;
background-image: linear-gradient(to right, @accent, @accent);
color: @crust;
}
@@ -728,13 +596,13 @@
}
.chartlist tr:nth-child(1) td.chartlist-index {
font-weight: bold;
color: @accent;
}
/* LISTENING REPORT */
.user-dashboard-module {
background-color: @base !important;
border-color: @accent-dim;
}
.highcharts-background {
fill: @base !important;
@@ -743,7 +611,7 @@
.scrobble-stats-info {
color: @text;
}
.user-dashboard-legend-item:before {
.user-dashboard-legend-item::before {
background: transparent !important;
}
.user-dashboard-legend-item--current::before {
@@ -766,13 +634,13 @@
}
.listening-report-top .secondary-nav {
border-bottom: 1px solid @overlay0;
border-bottom-color: @overlay0;
}
.listening-report-brick {
border: 1px solid @overlay0;
border-color: @overlay0;
&:focus,
&:hover {
border: 1px solid @overlay0;
border-color: @overlay0;
box-shadow: none;
}
}
@@ -789,7 +657,6 @@
.duration-data,
.duration-data-value > .js-ticker,
.user-dashboard-small-data-point-value > .js-ticker,
.user-dashboard-small-data-point-value > .js-ticker {
color: @text;
}
@@ -800,20 +667,12 @@
fill: @accent;
}
.user-dashboard-module {
background: @crust;
border-color: @accent-dim;
}
.user-dashboard-loved-tracks .user-dashboard-big-datapoint-value a {
color: @crust;
}
.user-dashboard-catalogue-item-total a {
text-shadow:
-1px -1px 0 @crust,
1px -1px 0 @crust,
-1px 1px 0 @crust,
text-shadow: -1px -1px 0 @crust, 1px -1px 0 @crust, -1px 1px 0 @crust,
1px 1px 0 @crust;
}
@@ -846,10 +705,6 @@
color: @subtext0;
}
.highcharts-background {
fill: @crust;
}
.user-dashboard-module-title.js-user-dashboard-module-title {
color: @accent;
}
@@ -876,7 +731,7 @@
color: @subtext0;
}
/* Listening Clock*/
/* Listening Clock */
#SvgjsG1144 {
stroke: @crust;
}
@@ -919,23 +774,23 @@
color: @text;
}
.user-follow,
.user-follow:after {
.user-follow::after {
color: @accent;
background-color: @surface0;
}
/* FOLLOW BUTTON*/
/* FOLLOW BUTTON */
[data-toggle-button-current-state="unfollowed"]
.header-follower-btn:before {
.header-follower-btn::before {
background-color: @red;
color: @text;
}
[data-toggle-button-current-state="followed"] .header-follower-btn:before {
[data-toggle-button-current-state="followed"] .header-follower-btn::before {
background-color: @green;
color: @text;
}
[data-toggle-button-current-state="followed"]
.header-follower-btn:hover:before {
.header-follower-btn:hover::before {
background-color: @red;
color: @text;
}
@@ -954,7 +809,7 @@
fill: @surface1;
}
.tasteometer-avatar img {
border: 2px solid @surface1;
border-color: @surface1;
}
.tasteometer-compat-very_low .tasteometer-compat-Color {
color: @subtext0;
@@ -1066,7 +921,7 @@
color: @text;
}
.shout {
border-bottom: 1px solid @surface0;
border-bottom-color: @surface0;
}
.shout-container--active {
background-color: fadeout(@surface1, 0.3);
@@ -1075,13 +930,13 @@
color: @text;
}
.shout-form {
border: none;
border-color: none;
}
.js-playlink-station.desktop-playlink.inline-section-control.stationlink {
color: @text;
}
.section-with-settings .section-control:before {
border-right: 1px solid @subtext0;
.section-with-settings .section-control::before {
border-right-color: @subtext0;
}
.header-metadata .header-metadata-display a {
@@ -1227,7 +1082,7 @@
.content-form select,
.content-form textarea {
background-color: @crust;
border: 1px solid @crust;
border-color: @crust;
color: @subtext0;
}
@@ -1241,7 +1096,7 @@
.content-form select:focus,
.content-form textarea:focus {
box-shadow: none;
border: 1px solid @crust;
border-color: @crust;
}
.content-form .form-control:hover:not([disabled]),
.content-form input[type="date"]:hover:not([disabled]),
@@ -1254,7 +1109,7 @@
.content-form textarea:hover:not([disabled]),
.content-form .inplace-field,
.inplace-field {
border: 1px solid @crust;
border-color: @crust;
color: @text;
}
.control-label {
@@ -1268,9 +1123,9 @@
background-color: @overlay0;
color: @subtext0;
}
.secondary-nav-item-link--active:after,
a.secondary-nav-item-link:focus:after,
a.secondary-nav-item-link:hover:after {
.secondary-nav-item-link--active::after,
a.secondary-nav-item-link:focus::after,
a.secondary-nav-item-link:hover::after {
background-color: @accent;
}
@@ -1343,7 +1198,7 @@
.inbox-message-view .inbox-message-message blockquote {
background: @crust;
border: 1px solid @accent;
border-color: @accent;
}
body:not([data-whatinput="touch"])
@@ -1389,7 +1244,7 @@
.your-progress {
color: @text;
}
/*----Profile Cards Hide-------*/
/* ----Profile Cards Hide------- */
.profile-cards-container {
display: none !important;
}
@@ -1398,7 +1253,7 @@
.header--sub-page {
color: @text;
}
/*-----Primary Button------*/
/* -----Primary Button------ */
.btn-primary,
.btn-primary:hover,
.btn-primary:active,
@@ -1421,14 +1276,14 @@
background-color: @accent-dim !important;
color: @base !important;
}
/*-----Shortcut Button------*/
/* -----Shortcut Button------ */
.btn-shortcut,
.btn-shortcut:hover,
.btn-shortcut:active {
background-color: @accent-dim !important;
color: @text !important;
}
/*------FOOTER-----*/
/* ------FOOTER----- */
.footer .footer-heading {
color: @subtext1;
}
@@ -1437,7 +1292,7 @@
color: @text;
}
.footer .footer-bottom {
border-top: none;
border-top-color: none;
}
.footer .footer-bottom .row {
background-color: @mantle;
@@ -1452,17 +1307,21 @@
.footer .footer-legal {
color: @overlay0;
}
/*--------TOP BAR----------*/
/* --------TOP BAR---------- */
.top-bar,
.player-bar,
.main-content:before,
.player-bar .player-bar-progress,
.main-content::before,
.masthead-nav {
background: @mantle;
color: @text !important;
}
.player-bar .player-bar-progress-slug {
background: @accent;
}
.masthead-nav-control,
.site-auth-control,
.site-auth--anon:before,
.site-auth--anon::before,
.masthead-nav .navlist-more {
color: @text !important;
}
@@ -1507,16 +1366,16 @@
.masthead-search-field {
color: @text;
}
/*-------PLAYLISTS---------*/
/* -------PLAYLISTS--------- */
.chartlist-timestamp {
color: @subtext0;
}
/*-----GENRES TODAY-----*/
/* -----GENRES TODAY----- */
.genretodaybar,
.rolling_no {
background: @mantle !important;
}
/*-----NAV ITEMS-----*/
/* -----NAV ITEMS----- */
.library-controls .secondary-nav .secondary-nav-item-link--active,
.date-range-picker-button-inner,
.library-controls .secondary-nav .secondary-nav-item-link--active:focus,
@@ -1524,7 +1383,7 @@
body:not([data-whatinput="touch"]) .catalogue-tags .tag a:hover {
color: @accent !important;
}
/*------ARTIST TAGS-----*/
/* ------ARTIST TAGS----- */
.catalogue-tags .tag a,
.catalogue-tags .tags-add,
.catalogue-tags .tags-add-cta,
@@ -1532,11 +1391,11 @@
color: @accent;
box-shadow: inset 0 0 0 1px @accent-dim;
}
/*-----HIDE PLAY BUTTON ON TOP TRACK------*/
.image-overlay-playlink-link:before {
/* -----HIDE PLAY BUTTON ON TOP TRACK------ */
.image-overlay-playlink-link::before {
display: none;
}
/*---------CHARTS FIX---------*/
/* ---------CHARTS FIX--------- */
.globalchart .globalchart-item:first-child {
background-color: fadeout(@mantle, 0.8);
}
@@ -1546,7 +1405,7 @@
.globalchart-item .globalchart-rank {
color: @text;
}
/*-------LOG IN PAGE-------*/
/* -------LOG IN PAGE------- */
.auth-container > .auth-container-animation {
background-color: transparent;
}
@@ -1560,7 +1419,7 @@
color: @text;
}
/*----ICONS----*/
/* ----ICONS---- */
.lazy-buylinks-toggle::before {
background-image: none !important;
mask-image: url("/static/images/icons/download_sprite_16.2d7999c89e09.png");
@@ -1575,10 +1434,10 @@
background-color: @text;
}
.lazy-buylinks-toggle:hover:before,
.lazy-buylinks-toggle:focus:before,
.chartlist-more-button:hover:before,
.chartlist-more-button:focus:before {
.lazy-buylinks-toggle:hover::before,
.lazy-buylinks-toggle:focus::before,
.chartlist-more-button:hover::before,
.chartlist-more-button:focus::before {
background-color: @subtext0;
}
@@ -1592,16 +1451,16 @@
-webkit-mask-position: 0 0;
}
.chartlist-love-button:focus:before,
.chartlist-love-button:hover:before,
.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 {
[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;
@@ -1609,9 +1468,9 @@
}
[data-toggle-button-current-state="loved"]
.chartlist-love-button:focus:before,
.chartlist-love-button:focus::before,
[data-toggle-button-current-state="loved"]
.chartlist-love-button:hover:before,
.chartlist-love-button:hover::before,
[data-toggle-button-current-state="loved"]
.header-new-love-button:focus::before,
[data-toggle-button-current-state="loved"]
@@ -1634,10 +1493,10 @@
background-color: @text;
}
.section-settings-toggle:hover:before,
.section-settings-toggle:focus:before,
.share-button-profile:hover:before,
.share-button-profile:focus:before {
.section-settings-toggle:hover::before,
.section-settings-toggle:focus::before,
.share-button-profile:hover::before,
.share-button-profile:focus::before {
background-color: @subtext0;
}
@@ -1679,8 +1538,8 @@
background-color: @text;
}
.masthead-search-toggle:hover:before,
.masthead-search-toggle:focus:before {
.masthead-search-toggle:hover::before,
.masthead-search-toggle:focus::before {
background-color: @subtext0;
}
@@ -1691,8 +1550,8 @@
background-color: @text;
}
.masthead-search-toggle.disclose-active:hover:before,
.masthead-search-toggle.disclose-active:focus:before {
.masthead-search-toggle.disclose-active:hover::before,
.masthead-search-toggle.disclose-active:focus::before {
background-color: @subtext0;
}
@@ -1733,3 +1592,4 @@
}
}
}
// vim:ft=less