1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

fixed deactivated unit color

This commit is contained in:
Fedor Katurov 2022-07-20 16:07:08 +07:00
parent efe7800743
commit 946a78a7ef
3 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,4 @@
import React, { FC, useCallback, useState } from 'react';
import { Manager, Popper, Reference } from 'react-popper';
import React, { FC } from 'react';
import { Avatar } from '~/components/common/Avatar';
import { MenuButton } from '~/components/menu';

View file

@ -34,7 +34,7 @@ const ProfileQuickInfo: FC<ProfileQuickInfoProps> = ({ user }) => {
<div className={styles.username}>~{user.username}</div>
<div className={classNames(styles.status, { [styles.active]: isActive })}>
{isActive ? 'в сознании' : 'деактивирован'}
{isActive ? 'юнит в сознании' : 'юнит деактивирован'}
</div>
</Filler>
</Group>

View file

@ -24,15 +24,18 @@ div.top.top {
.username {
font: $font_12_regular;
opacity: 0.5;
text-transform: lowercase;
}
.fullname {
margin-bottom: 3px;
text-transform: capitalize;
}
.status {
font: $font_12_regular;
margin-top: $gap;
color: darken(white, 50%);
&.active {
color: $olive;