2018-03-21 17:44:27 +00:00
|
|
|
@import 'constants';
|
|
|
|
|
2018-03-22 19:08:22 +00:00
|
|
|
@keyframes slide-list{
|
|
|
|
from{ transform: translateY(-1em); }
|
|
|
|
to{ transform: translateY(0); }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-03-21 17:44:27 +00:00
|
|
|
#WRAPPER > div.container{
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: #{$menu-width + $dialog-width};
|
|
|
|
width: calc( 100% - #{$menu-width + $dialog-width} );
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
background-color: $container-bg;
|
|
|
|
|
|
|
|
|
|
|
|
/* (1) Container HEADER */
|
|
|
|
& > div.header{
|
2018-03-21 23:53:32 +00:00
|
|
|
display: flex;
|
2018-03-21 17:44:27 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: $header-height;
|
|
|
|
|
|
|
|
border-bottom: #{$bb-height} solid darken($container-bg, 5%);
|
|
|
|
box-shadow: 0 #{$bb-offset - $bb-height} 0 darken($container-bg, 2%);
|
|
|
|
|
|
|
|
z-index: 200;
|
|
|
|
|
2018-03-21 23:53:32 +00:00
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
|
|
|
// {1} Title //
|
|
|
|
& > div.title{
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
padding: .2em .5em;
|
|
|
|
padding-left: 1.3em;
|
|
|
|
margin-left: .7em;
|
|
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
background: url('../asset/svg/dialog.text.svg') left center no-repeat;
|
|
|
|
background-size: auto 60%;
|
|
|
|
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
2018-03-21 17:44:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* (2) Container BODY */
|
|
|
|
& > div.body{
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: calc( #{$header-height} + #{$bb-offset} );
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: calc( 100% - #{$header-height} - #{$bb-offset} );
|
|
|
|
|
|
|
|
background-color: $container-bg;
|
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
flex-direction: column;
|
2018-03-22 15:01:41 +00:00
|
|
|
justify-content: flex-start;
|
2018-03-22 20:58:14 +00:00
|
|
|
align-items: stretch;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
|
|
|
overflow: hidden;
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-21 17:44:27 +00:00
|
|
|
z-index: 100;
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
div.message-stack{
|
2018-03-22 15:01:41 +00:00
|
|
|
|
|
|
|
display: flex;
|
2018-03-22 20:58:14 +00:00
|
|
|
height: calc( 100% - #{$input-height} );
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
flex-direction: column;
|
|
|
|
flex-wrap: nowrap;
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
overflow: auto;
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
// {1} Message Container //
|
|
|
|
div.message{
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
display: flex;
|
|
|
|
position: relative;
|
2018-03-22 19:08:22 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
margin: 0 1.3em;
|
|
|
|
padding: 1em 0;
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
&:not(:last-child){ border-bottom: 1px solid #474a4f; }
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
flex-direction: row;
|
|
|
|
justify-content: stretch;
|
|
|
|
align-items: flex-start;
|
|
|
|
flex-wrap: wrap;
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
transition: transform .1s ease-in-out;
|
|
|
|
animation: slide-list .3s cubic-bezier(.49, .4, .26, 1.93);
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
// {1} Meta Data //
|
|
|
|
& > span.meta{
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
flex: 1 1 90%;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
margin: 0 4em;
|
|
|
|
margin-bottom: .5em;
|
|
|
|
|
|
|
|
// {2} Author //
|
|
|
|
& > span.author{
|
|
|
|
padding-right: .5em;
|
|
|
|
|
|
|
|
color: #fff;
|
|
|
|
font-size: .9em;
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover{ text-decoration: underline; }
|
|
|
|
}
|
|
|
|
|
|
|
|
// {3} Date //
|
|
|
|
& > span.date{
|
|
|
|
font-size: .8em;
|
|
|
|
color: #595d63;
|
|
|
|
}
|
2018-03-22 15:01:41 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
// {2} Message Text //
|
|
|
|
& > span.text{
|
|
|
|
flex: 1 1 90%;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
margin: 0 4em;
|
|
|
|
|
|
|
|
color: hsla(0,0%,100%,.7);
|
|
|
|
|
2018-03-22 15:01:41 +00:00
|
|
|
}
|
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
// {3} Icon circle //
|
|
|
|
& > div.icon{
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
width: 2.5em;
|
|
|
|
height: 2.5em;
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
border-radius: 50% / 50%;
|
|
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
transition: opacity .2s ease-in-out;
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
&:hover{
|
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
}
|
2018-03-22 15:01:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
}
|
2018-03-22 15:01:41 +00:00
|
|
|
|
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
div.message-input{
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
display: block;
|
|
|
|
height: $input-height;
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
margin: 0 1em;
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
border-top: 1px solid #474a4f;
|
|
|
|
box-shadow: -1em 1em 0 1em #36393f,
|
|
|
|
1em 1em 0 1em #36393f;
|
2018-03-22 15:01:41 +00:00
|
|
|
|
2018-03-22 20:58:14 +00:00
|
|
|
background-color: #36393f;
|
2018-03-22 15:01:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-03-21 17:44:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|