change BanInfo
This commit is contained in:
parent
8f91b3c241
commit
7d2161883d
|
@ -119,7 +119,9 @@ const BanInfo = ({ close }) => {
|
|||
<React.Fragment key="btnr">
|
||||
<button
|
||||
type="button"
|
||||
style={{ fontSize: 16 }}
|
||||
style={{
|
||||
animation: 'glowing 1300ms infinite',
|
||||
}}
|
||||
onClick={handleSubmit}
|
||||
>
|
||||
{(submitting) ? '...' : t`Why?`}
|
||||
|
@ -129,7 +131,6 @@ const BanInfo = ({ close }) => {
|
|||
)}
|
||||
<button
|
||||
type="submit"
|
||||
style={{ fontSize: 16 }}
|
||||
onClick={close}
|
||||
>
|
||||
{t`OK`}
|
||||
|
|
|
@ -43,14 +43,12 @@ const GlobalCaptcha = ({ close }) => {
|
|||
<button
|
||||
type="button"
|
||||
onClick={close}
|
||||
style={{ fontSize: 16 }}
|
||||
>
|
||||
{t`Cancel`}
|
||||
</button>
|
||||
|
||||
<button
|
||||
type="submit"
|
||||
style={{ fontSize: 16 }}
|
||||
>
|
||||
{t`Send`}
|
||||
</button>
|
||||
|
|
|
@ -968,6 +968,13 @@ tr:nth-child(even) {
|
|||
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 */
|
||||
|
||||
|
|
|
@ -247,7 +247,7 @@ export function receivePixelReturn(
|
|||
break;
|
||||
case 14:
|
||||
errorTitle = t`Banned`;
|
||||
type = t`ban`;
|
||||
type = 'ban';
|
||||
break;
|
||||
case 15:
|
||||
errorTitle = t`Range Banned`;
|
||||
|
|
Loading…
Reference in New Issue
Block a user