change BanInfo
This commit is contained in:
parent
8f91b3c241
commit
7d2161883d
|
@ -119,7 +119,9 @@ const BanInfo = ({ close }) => {
|
||||||
<React.Fragment key="btnr">
|
<React.Fragment key="btnr">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
style={{ fontSize: 16 }}
|
style={{
|
||||||
|
animation: 'glowing 1300ms infinite',
|
||||||
|
}}
|
||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
>
|
>
|
||||||
{(submitting) ? '...' : t`Why?`}
|
{(submitting) ? '...' : t`Why?`}
|
||||||
|
@ -129,7 +131,6 @@ const BanInfo = ({ close }) => {
|
||||||
)}
|
)}
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
style={{ fontSize: 16 }}
|
|
||||||
onClick={close}
|
onClick={close}
|
||||||
>
|
>
|
||||||
{t`OK`}
|
{t`OK`}
|
||||||
|
|
|
@ -43,14 +43,12 @@ const GlobalCaptcha = ({ close }) => {
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={close}
|
onClick={close}
|
||||||
style={{ fontSize: 16 }}
|
|
||||||
>
|
>
|
||||||
{t`Cancel`}
|
{t`Cancel`}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
style={{ fontSize: 16 }}
|
|
||||||
>
|
>
|
||||||
{t`Send`}
|
{t`Send`}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -968,6 +968,13 @@ tr:nth-child(even) {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes glowing {
|
||||||
|
0% { background-color: #2ba805; box-shadow: 0 0 5px #2ba805; }
|
||||||
|
50% { background-color: #49e819; box-shadow: 0 0 20px #49e819; }
|
||||||
|
100% { background-color: #2ba805; box-shadow: 0 0 5px #2ba805; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*-----------*/
|
/*-----------*/
|
||||||
/* react-toggle css */
|
/* react-toggle css */
|
||||||
|
|
||||||
|
|
|
@ -247,7 +247,7 @@ export function receivePixelReturn(
|
||||||
break;
|
break;
|
||||||
case 14:
|
case 14:
|
||||||
errorTitle = t`Banned`;
|
errorTitle = t`Banned`;
|
||||||
type = t`ban`;
|
type = 'ban';
|
||||||
break;
|
break;
|
||||||
case 15:
|
case 15:
|
||||||
errorTitle = t`Range Banned`;
|
errorTitle = t`Range Banned`;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user