2016-05-17 21:52:27 +08:00
|
|
|
@import '../../stylesheets/variables/palette';
|
|
|
|
|
|
|
|
.header {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
justify-content: center;
|
|
|
|
height: 80px;
|
|
|
|
|
|
|
|
h2 {
|
2016-05-20 02:22:56 +08:00
|
|
|
font-size: 1rem;
|
2016-05-17 21:52:27 +08:00
|
|
|
margin-left: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.unreadMessages {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
p {
|
2016-05-20 02:22:56 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
flex-flow: column;
|
2016-05-17 21:52:27 +08:00
|
|
|
color: $color-white;
|
2016-05-20 02:22:56 +08:00
|
|
|
height: 1.3rem;
|
|
|
|
padding: 0 8px;
|
2016-05-17 21:52:27 +08:00
|
|
|
text-align: center;
|
2016-05-20 02:22:56 +08:00
|
|
|
border-radius: 0.5rem/50%;
|
2016-05-17 21:52:27 +08:00
|
|
|
margin: 0;
|
2016-05-20 02:22:56 +08:00
|
|
|
font-size: 0.8rem;
|
2016-05-17 21:52:27 +08:00
|
|
|
background-color: $color-danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.userList {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
height: 100vh;
|
|
|
|
|
|
|
|
background-color: $color-white;
|
|
|
|
color: $color-gray-dark;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.userListItem, .chatListItem {
|
|
|
|
padding: 5px;
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 10px;
|
|
|
|
margin-left: 15px;
|
|
|
|
margin-top: 10px;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-bottom-left-radius: 5px;
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($color-white, 7%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chatThumbnail {
|
2016-05-20 02:22:56 +08:00
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
2016-05-17 21:52:27 +08:00
|
|
|
flex-basis: 30px;
|
|
|
|
height: 30px;
|
|
|
|
|
2016-05-20 02:22:56 +08:00
|
|
|
font-size: 1.1rem;
|
2016-05-17 21:52:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chatName {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin: 0;
|
2016-05-20 02:22:56 +08:00
|
|
|
font-size: 0.9rem;
|
2016-05-17 21:52:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail {
|
2016-05-20 02:22:56 +08:00
|
|
|
flex-basis: 2rem;
|
|
|
|
height: 2rem;
|
2016-05-17 21:52:27 +08:00
|
|
|
|
2016-05-20 02:22:56 +08:00
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
font-size: 1.05rem;
|
2016-05-17 21:52:27 +08:00
|
|
|
text-align: center;
|
|
|
|
border-radius: 20px;
|
|
|
|
border: 2px solid $color-gray-light;
|
|
|
|
color: $color-gray-light;
|
|
|
|
}
|
|
|
|
|
2016-05-20 02:22:56 +08:00
|
|
|
.thumbnailContainer {
|
|
|
|
flex-basis: 2rem;
|
|
|
|
height: 2rem;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
justify-content: center;
|
|
|
|
border-radius: 20px;
|
|
|
|
}
|
|
|
|
|
2016-05-17 21:52:27 +08:00
|
|
|
.voiceUser{
|
|
|
|
background-color: $color-success;
|
|
|
|
color: $color-white;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.presenter {
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.moderator {
|
|
|
|
border: none;
|
|
|
|
color: $color-white;
|
|
|
|
background-color: $color-primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.userName {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-left: 15px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
h3, p {
|
|
|
|
margin: 0;
|
2016-05-20 02:22:56 +08:00
|
|
|
font-size: 0.9rem;
|
2016-05-17 21:52:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2016-05-20 02:22:56 +08:00
|
|
|
font-size: 0.8rem;
|
2016-05-17 21:52:27 +08:00
|
|
|
font-style: italic;
|
|
|
|
color: $color-gray-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.userIcons {
|
2016-05-20 02:22:56 +08:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row;
|
|
|
|
justify-content: space-between;
|
2016-05-17 21:52:27 +08:00
|
|
|
text-align: right;
|
2016-05-20 02:22:56 +08:00
|
|
|
font-size: 1rem;
|
|
|
|
flex-basis: 4rem;
|
2016-05-17 21:52:27 +08:00
|
|
|
color: $color-gray-light;
|
2016-05-20 02:22:56 +08:00
|
|
|
|
|
|
|
span {
|
|
|
|
text-align: center;
|
|
|
|
flex-basis: 1rem;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
transition: 0.3s all;
|
|
|
|
&:hover {
|
|
|
|
color: $color-gray;
|
|
|
|
}
|
|
|
|
}
|
2016-05-17 21:52:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.smallTitle {
|
|
|
|
margin-bottom: 0;
|
|
|
|
color: $color-text;
|
2016-05-20 02:22:56 +08:00
|
|
|
font-size: 0.9rem;
|
2016-05-17 21:52:27 +08:00
|
|
|
text-transform: uppercase;
|
|
|
|
margin: 10px 30px;
|
2016-05-20 02:22:56 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrollable {
|
|
|
|
overflow: auto;
|
2016-05-17 21:52:27 +08:00
|
|
|
}
|
|
|
|
// .messages,
|
|
|
|
// .participants {
|
|
|
|
// h3 {
|
|
|
|
// @extend .smalltitle;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// .userList {
|
|
|
|
// display: flex;
|
|
|
|
// flex-flow: column;
|
|
|
|
// background-color: $color-white;
|
|
|
|
// color: $color-gray-dark;
|
|
|
|
// height: 100vh;
|
|
|
|
//
|
|
|
|
// h2 {
|
|
|
|
// font-size: 20px;
|
|
|
|
// margin: 20px 30px;
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// ul {
|
|
|
|
// margin: 0;
|
|
|
|
// padding: 0;
|
|
|
|
// list-style: none;
|
|
|
|
// li {
|
|
|
|
// display: inline-block;
|
|
|
|
// a {
|
|
|
|
// text-decoration: none;
|
|
|
|
// height: 100%;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// .userListItem, .ChatListItem {
|
|
|
|
// cursor: pointer;
|
|
|
|
// width: 100%;
|
|
|
|
// display: block;
|
|
|
|
// line-height: 40px;
|
|
|
|
// margin-top: 10px;
|
|
|
|
// padding: 5px;
|
|
|
|
// padding-left: 30px;
|
|
|
|
// transition: all 0.3s;
|
|
|
|
//
|
|
|
|
// &:hover {
|
|
|
|
// background-color: darken($color-white, 7%);
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// &:first-child {
|
|
|
|
// margin-top: 0px;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// .userName {
|
|
|
|
// display: inline-block;
|
|
|
|
// margin-left: 50px;
|
|
|
|
// vertical-align: middle;
|
|
|
|
// width: calc(100% - 50px);
|
|
|
|
// h3 {
|
|
|
|
// line-height: normal;
|
|
|
|
// color: $color-gray-dark;
|
|
|
|
// text-transform: none;
|
|
|
|
// margin: 0;
|
|
|
|
// }
|
|
|
|
// p {
|
|
|
|
// line-height: normal;
|
|
|
|
// margin: 0;
|
|
|
|
// font-size: 14px;
|
|
|
|
// color: $color-text;
|
|
|
|
// font-style: italic;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// .thumbnail {
|
|
|
|
// position: absolute;
|
|
|
|
// font-size: 25px;
|
|
|
|
// color: $color-white;
|
|
|
|
// text-align: center;
|
|
|
|
// line-height: 40px;
|
|
|
|
// display: inline-block;
|
|
|
|
// width: 40px;
|
|
|
|
// height: 40px;
|
|
|
|
// border-radius: 5px;
|
|
|
|
// background-color: $color-primary;
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// .chatThumbnail {
|
|
|
|
// position: absolute;
|
|
|
|
// font-size: 25px;
|
|
|
|
// color: $color-gray-light;
|
|
|
|
// width: 40px;
|
|
|
|
// height: 40px;
|
|
|
|
// display: inline-block;
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// .chatName {
|
|
|
|
// display: inline-block;
|
|
|
|
// margin-left: 50px;
|
|
|
|
// vertical-align: middle;
|
|
|
|
// width: calc(100% - 50px);
|
|
|
|
// h3 {
|
|
|
|
// line-height: normal;
|
|
|
|
// color: $color-gray-dark;
|
|
|
|
// text-transform: none;
|
|
|
|
// margin: 0;
|
|
|
|
// }
|
|
|
|
// }
|