finishes initial ui for the compact userlist

This commit is contained in:
Gabriel Carvalho de Campes 2016-08-25 17:50:37 +00:00
parent 39b4b9676a
commit 1d8f859e74
5 changed files with 12 additions and 7 deletions

View File

@ -51,7 +51,7 @@ export default class App extends Component {
const { userList } = this.props;
const userListStyle = {};
userListStyle[styles.minview] = true;
userListStyle[styles.minview] = false;
if (userList) {
return (

View File

@ -118,7 +118,7 @@ $actionsbar-height: 50px; // TODO: Change to ActionsBar real height
}
.minview {
flex-basis: 5vw;
flex-basis: 4.6rem;
}
.chat {

View File

@ -30,7 +30,7 @@ class UserList extends Component {
super(props);
this.state = {
compact: true,
compact: false,
};
}
@ -83,7 +83,7 @@ class UserList extends Component {
description="Title for the messages list"
defaultMessage="Messages"
/>
</h3> : <hr></hr>
</h3> : <hr className={styles.separator}></hr>
}
<div className={styles.scrollableList}>
<ReactCSSTransitionGroup
@ -126,7 +126,7 @@ class UserList extends Component {
defaultMessage="Participants"
/>
&nbsp;({this.props.users.length})
</h3> : <hr></hr>
</h3> : <hr className={styles.separator}></hr>
}
<ReactCSSTransitionGroup
transitionName={listTransition}

View File

@ -130,6 +130,13 @@ $user-icons-color-hover: $color-gray;
flex-shrink: 1;
}
.separator {
margin: 1rem auto;
width: 2.2rem;
border: 0;
border-top: 1px solid $color-gray-lighter;
}
.enter, .appear {
opacity: 0.01;
}

View File

@ -20,8 +20,6 @@
}
.userItemContentsCompact {
background-color: red;
margin-right: 0.7rem;
}
.userName {