sub rgb name and stripe fix

This commit is contained in:
ntr 2019-10-26 16:06:52 +11:00
parent 1694a21b9f
commit a633e3b297
4 changed files with 26 additions and 3 deletions

View File

@ -150,4 +150,22 @@ button {
&.green {
border-color: @green;
}
}
}
@keyframes rgb {
0% {
color: @red;
}
25% {
color: @white;
}
50% {
color: @blue;
}
75% {
color: @white;
}
100% {
color: @green;
}
}

View File

@ -51,6 +51,11 @@
color: @yellow;
font-weight: bold;
}
.name.subscriber {
animation: rgb 4s cubic-bezier(0.5, 0, 0.5, 1) 0s infinite alternate;
font-weight: bold;
}
}
.chat {

View File

@ -105,7 +105,7 @@ function AccountBox(args) {
<div class='player-box bottom'>
<div class="msg">&nbsp;</div>
<StateAccountAvatar />
<div class="name">{account.name}</div>
<div class="name subscriber">{account.name}</div>
<div class="score">&nbsp;</div>
</div>
);

View File

@ -48,7 +48,7 @@ function Shop(args) {
</div>
<div>
<h1 class="credits">¤ {account.balance}</h1>
{window.stripe
{window.Stripe
? <Elements>
<StripeBtns account={account} />
</Elements>