2013-09-16 05:19:07 -04:00
|
|
|
@import '../_variables'
|
|
|
|
@import '../_mixins'
|
|
|
|
|
|
|
|
.page.chat
|
|
|
|
padding-top: 0px
|
|
|
|
height: 100%
|
|
|
|
borderbox()
|
|
|
|
|
|
|
|
.conversation
|
|
|
|
position: relative
|
|
|
|
bottom: 0px
|
|
|
|
left: 0px
|
|
|
|
right: 0px
|
|
|
|
padding: 0px
|
|
|
|
height: 100%
|
|
|
|
width: 100%
|
|
|
|
borderbox()
|
|
|
|
|
|
|
|
header
|
|
|
|
padding: 5px
|
2013-09-19 10:28:07 -04:00
|
|
|
border-bottom: 2px solid $grayOutline
|
2013-09-16 05:19:07 -04:00
|
|
|
position: fixed
|
|
|
|
right: 0px
|
2013-09-27 11:31:02 -04:00
|
|
|
left: 201px
|
2013-09-16 05:19:07 -04:00
|
|
|
z-index: 10
|
|
|
|
borderbox()
|
2013-09-19 10:28:07 -04:00
|
|
|
background: $grayBackground
|
2013-09-16 05:19:07 -04:00
|
|
|
|
|
|
|
.avatar
|
|
|
|
margin-right: 5px
|
2013-09-25 03:18:37 -04:00
|
|
|
avatar()
|
2013-09-16 05:19:07 -04:00
|
|
|
position: absolute
|
|
|
|
top: 11px
|
|
|
|
left: 11px
|
|
|
|
vertical-align: top
|
|
|
|
|
|
|
|
.name
|
|
|
|
margin: 15px
|
|
|
|
padding: 0px
|
|
|
|
margin-left: 45px
|
|
|
|
font-size: 14px
|
|
|
|
line-height: 14px
|
|
|
|
|
2013-09-23 14:23:23 -04:00
|
|
|
.tzo:not(:empty)
|
|
|
|
position: absolute
|
|
|
|
right: 15px
|
|
|
|
top: 50%
|
|
|
|
height: 20px
|
|
|
|
margin-top: -10px
|
|
|
|
padding: 0 5px
|
|
|
|
roundall(3px)
|
|
|
|
text-transform: uppercase
|
|
|
|
font-size: 9px
|
|
|
|
font-weight: bold
|
|
|
|
line-height: 20px
|
|
|
|
color: lighten($baseText, 30%)
|
|
|
|
background: $grayOutline
|
|
|
|
|
2013-09-16 05:19:07 -04:00
|
|
|
.messages
|
|
|
|
margin: 0px
|
|
|
|
padding: 0px
|
2013-09-19 10:39:07 -04:00
|
|
|
padding-top: 130px
|
2013-09-16 05:19:07 -04:00
|
|
|
overflow-y: auto
|
|
|
|
overflow-x: hidden
|
|
|
|
position: relative
|
|
|
|
bottom: 75px
|
|
|
|
width: 100%
|
|
|
|
borderbox()
|
|
|
|
|
|
|
|
li
|
|
|
|
position: relative
|
|
|
|
z-index: 1
|
|
|
|
list-style: none
|
2013-09-26 06:55:27 -04:00
|
|
|
padding: 10px 0
|
2013-09-16 05:19:07 -04:00
|
|
|
width: 100%
|
2013-09-26 07:03:35 -04:00
|
|
|
min-height: 50px
|
2013-09-16 05:19:07 -04:00
|
|
|
display: block
|
|
|
|
borderbox()
|
2013-09-26 06:55:27 -04:00
|
|
|
border-bottom: 1px solid $grayOutline
|
2013-09-16 05:19:07 -04:00
|
|
|
|
2013-09-26 06:55:27 -04:00
|
|
|
&:last-of-type
|
2013-09-19 12:35:34 -04:00
|
|
|
border: none
|
|
|
|
|
2013-09-25 23:38:00 -04:00
|
|
|
.messageAvatar
|
2013-09-26 07:03:35 -04:00
|
|
|
position: absolute
|
|
|
|
top: 50%
|
|
|
|
left: 10px
|
|
|
|
margin-top: -15px
|
2013-09-25 23:38:00 -04:00
|
|
|
|
|
|
|
img
|
|
|
|
avatar()
|
2013-09-26 07:03:35 -04:00
|
|
|
|
2013-09-25 23:38:00 -04:00
|
|
|
.name
|
|
|
|
text-indent: -9999em
|
|
|
|
position: absolute
|
|
|
|
width: 1px
|
|
|
|
|
|
|
|
.messageWrapper
|
|
|
|
margin-left: 50px
|
|
|
|
|
2013-09-16 05:19:07 -04:00
|
|
|
.message
|
|
|
|
font-size: 12px
|
|
|
|
margin: 0px
|
|
|
|
display: inline-block
|
|
|
|
padding-right: 11px
|
|
|
|
min-width: 20px
|
|
|
|
width: 100%
|
|
|
|
borderbox()
|
|
|
|
|
2013-09-24 07:27:58 -04:00
|
|
|
&:not(.mine)
|
|
|
|
color: $activeBlue
|
|
|
|
|
2013-09-16 05:19:07 -04:00
|
|
|
&.mine
|
2013-09-19 10:45:11 -04:00
|
|
|
background: white
|
2013-09-16 05:19:07 -04:00
|
|
|
|
|
|
|
.timestamp
|
2013-09-19 12:35:34 -04:00
|
|
|
color: darken($grayOutline, 20%)
|
2013-09-16 05:19:07 -04:00
|
|
|
|
|
|
|
&.delayed
|
|
|
|
.timestamp:before
|
|
|
|
content: '@ '
|
|
|
|
|
|
|
|
&.edited
|
|
|
|
.timestamp:before
|
|
|
|
content: 'edited '
|
|
|
|
|
2013-09-24 05:05:10 -04:00
|
|
|
&.pending
|
2013-09-25 07:18:14 -04:00
|
|
|
color: lighten($baseText, 50%)
|
2013-09-24 05:05:10 -04:00
|
|
|
|
2013-09-16 05:19:07 -04:00
|
|
|
.body
|
|
|
|
display: inline
|
|
|
|
word-break: break-word
|
|
|
|
padding: 0px
|
|
|
|
margin: 0px
|
|
|
|
|
|
|
|
.timestamp
|
2013-09-19 12:35:34 -04:00
|
|
|
font-size: 10px
|
2013-09-16 05:19:07 -04:00
|
|
|
font-weight: bold
|
2013-09-19 12:35:34 -04:00
|
|
|
color: lighten($activeBlue, 50%)
|
2013-09-16 05:19:07 -04:00
|
|
|
float: right
|
|
|
|
display: block
|
|
|
|
|
2013-09-24 16:24:35 -04:00
|
|
|
.sender
|
|
|
|
display: block
|
|
|
|
|
2013-09-16 05:19:07 -04:00
|
|
|
.chatBox
|
|
|
|
borderbox()
|
2013-09-18 12:28:09 -04:00
|
|
|
border-top: 1px solid $grayOutline
|
2013-09-16 05:19:07 -04:00
|
|
|
bottom: 0px
|
|
|
|
position: fixed
|
|
|
|
right: 0px
|
2013-09-27 15:10:30 -04:00
|
|
|
left: 201px
|
2013-09-16 05:19:07 -04:00
|
|
|
z-index: 200
|
|
|
|
|
|
|
|
form
|
2013-09-18 12:28:09 -04:00
|
|
|
background: $grayBackground
|
2013-09-16 05:19:07 -04:00
|
|
|
padding: 11px
|
|
|
|
|
|
|
|
.formwrap
|
|
|
|
borderbox()
|
|
|
|
width: 100%
|
|
|
|
padding-right: 80px
|
|
|
|
position: relative
|
|
|
|
|
|
|
|
textarea
|
|
|
|
width: 100%
|
2013-09-23 14:54:35 -04:00
|
|
|
position: relative
|
2013-09-16 05:19:07 -04:00
|
|
|
height: 30px
|
|
|
|
line-height: 18px
|
|
|
|
padding: 5px
|
2013-09-23 14:54:35 -04:00
|
|
|
background: white
|
2013-09-16 05:19:07 -04:00
|
|
|
|
|
|
|
&.editing
|
2013-09-23 14:54:35 -04:00
|
|
|
background-color: #fffcea
|
|
|
|
border: 1px solid #efe391
|
|
|
|
color: #d2bd2d
|