mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46: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 React, { FC } from 'react';
|
||||||
|
|
||||||
import { Manager, Popper, Reference } from 'react-popper';
|
|
||||||
|
|
||||||
import { Avatar } from '~/components/common/Avatar';
|
import { Avatar } from '~/components/common/Avatar';
|
||||||
import { MenuButton } from '~/components/menu';
|
import { MenuButton } from '~/components/menu';
|
||||||
|
|
|
@ -34,7 +34,7 @@ const ProfileQuickInfo: FC<ProfileQuickInfoProps> = ({ user }) => {
|
||||||
<div className={styles.username}>~{user.username}</div>
|
<div className={styles.username}>~{user.username}</div>
|
||||||
|
|
||||||
<div className={classNames(styles.status, { [styles.active]: isActive })}>
|
<div className={classNames(styles.status, { [styles.active]: isActive })}>
|
||||||
{isActive ? 'в сознании' : 'деактивирован'}
|
{isActive ? 'юнит в сознании' : 'юнит деактивирован'}
|
||||||
</div>
|
</div>
|
||||||
</Filler>
|
</Filler>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
|
@ -24,15 +24,18 @@ div.top.top {
|
||||||
.username {
|
.username {
|
||||||
font: $font_12_regular;
|
font: $font_12_regular;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
|
text-transform: lowercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fullname {
|
.fullname {
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
font: $font_12_regular;
|
font: $font_12_regular;
|
||||||
margin-top: $gap;
|
margin-top: $gap;
|
||||||
|
color: darken(white, 50%);
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
color: $olive;
|
color: $olive;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue