|
|
@ -1,9 +1,9 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div id="chatInformation">
|
|
|
|
<div id="chatInformation">
|
|
|
|
<icon class="closeBtn" onclick="this.parentNode.style.display = 'none'" ic="./sym/ic_close_white_24px.svg" />
|
|
|
|
|
|
|
|
<div id="box">
|
|
|
|
<div id="box">
|
|
|
|
|
|
|
|
<div class="scrollContainer">
|
|
|
|
<div class="informationBox">
|
|
|
|
<div class="informationBox">
|
|
|
|
<div class="picBoxBig"><div class="placeholderBig"><p>{{session.currentRoom.name.substr(0,2)}}</p></div></div>
|
|
|
|
<div class="picBoxBig"><div class="placeholderBig">{{session.currentRoom.name.substr(0,2)}}</div></div>
|
|
|
|
<div class="roomInformation">
|
|
|
|
<div class="roomInformation">
|
|
|
|
<div class="roomName">{{session.currentRoom.name}}</div>
|
|
|
|
<div class="roomName">{{session.currentRoom.name}}</div>
|
|
|
|
<div class="users">{{session.currentRoom.members.length}} members</div>
|
|
|
|
<div class="users">{{session.currentRoom.members.length}} members</div>
|
|
|
@ -23,6 +23,8 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<icon class="closeBtn" onclick="this.parentNode.style.display = 'none'" ic="./sym/ic_close_white_24px.svg" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import icon from './icon.vue';
|
|
|
|
import icon from './icon.vue';
|
|
|
@ -65,6 +67,12 @@ export default {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-height: 40rem) {
|
|
|
|
|
|
|
|
#chatInformation{
|
|
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
.closeBtn{
|
|
|
|
.closeBtn{
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
top: 0;
|
|
|
@ -73,28 +81,25 @@ export default {
|
|
|
|
box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#box{
|
|
|
|
#box{
|
|
|
|
position: relative;
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top: 0;
|
|
|
|
width: calc(100% - 2rem);
|
|
|
|
width: calc(100% - 2rem);
|
|
|
|
padding: 0.001rem 1rem 1rem;
|
|
|
|
padding: 0 1rem 0 1rem;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-y: auto;
|
|
|
|
max-height: calc(100% - 8rem);
|
|
|
|
overflow-x: hidden;
|
|
|
|
margin-top: 2rem;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.informationBox{
|
|
|
|
.scrollContainer{
|
|
|
|
margin-top: 0.2rem;
|
|
|
|
padding: 1rem 0 1rem 0;
|
|
|
|
height: 5rem;
|
|
|
|
|
|
|
|
padding: 0.2rem;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.picBoxBig{
|
|
|
|
.picBoxBig{
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
background-color: #42b983 ;
|
|
|
|
background-color: #42a7b9;
|
|
|
|
|
|
|
|
padding-top: 1.5rem;
|
|
|
|
width: 5rem;
|
|
|
|
width: 5rem;
|
|
|
|
height: 5rem;
|
|
|
|
height: 3.5rem;
|
|
|
|
border-radius: 5rem;
|
|
|
|
border-radius: 5rem;
|
|
|
|
}
|
|
|
|
font-size: 2rem;
|
|
|
|
.placeholderBig{
|
|
|
|
|
|
|
|
padding-top: 1rem;
|
|
|
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.roomInformation{
|
|
|
|
.roomInformation{
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
@ -119,7 +124,7 @@ export default {
|
|
|
|
.picBox{
|
|
|
|
.picBox{
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
left: 1rem;
|
|
|
|
left: 1rem;
|
|
|
|
background-color: #00BCD4;
|
|
|
|
background-color: #42a7b9;
|
|
|
|
width: 3rem;
|
|
|
|
width: 3rem;
|
|
|
|
height:3rem;
|
|
|
|
height:3rem;
|
|
|
|
border-radius: 2rem;
|
|
|
|
border-radius: 2rem;
|
|
|
|