Skip to content

Commit

Permalink
added support of different spinner via css variable
Browse files Browse the repository at this point in the history
  • Loading branch information
epicX67 committed Sep 27, 2021
1 parent 7af1b83 commit 8993a2a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion css/main_custom.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/main_custom.css.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion css/main_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5618,7 +5618,10 @@ div[style="width:100%;text-align:center;margin-top:10px;background-color:rgba(0,
color: transparent !important;
height: 120px;

background-image: url("https://www.krunker.io/img/spinner.svg");
background-image: var(
--spinner-url,
url("https://www.krunker.io/img/spinner.svg")
);
background-repeat: no-repeat;
background-position: center;
}
Expand Down

0 comments on commit 8993a2a

Please sign in to comment.