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:
parent
efe7800743
commit
946a78a7ef
3 changed files with 5 additions and 4 deletions
|
@ -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';
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue