mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-27 01:02:14 +05:30
Тёмный фон для кнопки раскрытия юзербара
This commit is contained in:
parent
81c2b48cd1
commit
f09e35627e
@ -37,7 +37,7 @@ export default class LoggedInPanel extends Component {
|
||||
<div className={classNames(styles.activeAccount, {
|
||||
[styles.activeAccountExpanded]: isAccountSwitcherActive
|
||||
})}>
|
||||
<button className={buttons.green} onClick={this.onExpandAccountSwitcher}>
|
||||
<button className={styles.activeAccountButton} onClick={this.onExpandAccountSwitcher}>
|
||||
<span className={styles.userIcon} />
|
||||
<span className={styles.userName}>{user.username}</span>
|
||||
<span className={styles.expandIcon} />
|
||||
|
@ -12,13 +12,21 @@
|
||||
border-right: $border;
|
||||
}
|
||||
|
||||
.activeAccountButton {
|
||||
composes: green from 'components/ui/buttons.scss';
|
||||
}
|
||||
|
||||
.activeAccountExpanded {
|
||||
.activeAccountButton {
|
||||
background-color: darker($green);
|
||||
}
|
||||
|
||||
.accountSwitcherContainer {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.expandIcon {
|
||||
transform: rotate(180deg);
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
}
|
||||
|
||||
@ -37,6 +45,7 @@
|
||||
margin-left: 4px;
|
||||
font-size: 6px;
|
||||
color: #CCC;
|
||||
transition: .2s;
|
||||
}
|
||||
|
||||
.userName {
|
||||
|
Loading…
Reference in New Issue
Block a user