Files
mattermost/webapp/sass/layout/_post-right.scss
2017-06-18 11:23:17 -07:00

162 lines
2.9 KiB
SCSS

@charset 'UTF-8';
.post-right__container {
@include display-flex;
@include flex-direction(column);
height: 100%;
.post-right-root-message {
padding: 1em 1em 0;
}
.post-right-comments-container {
position: relative;
}
.help_format_text {
bottom: -63px;
right: auto;
}
.post {
&.post--root {
border-bottom: 1px solid #ddd;
padding-bottom: 1em;
.post__body {
background: transparent !important;
}
}
.post__header {
.col__reply {
background: transparent !important;
border: none !important;
right: 5px;
text-align: right;
top: 0;
}
}
.post__body {
width: 100%;
}
}
hr {
border: none;
}
.date-separator {
hr {
border-top: 1px solid #eee;
}
}
.post-create__container {
width: 100%;
.btn {
margin-bottom: 10px;
&.disabled {
background: grey !important;
border-color: transparent !important;
}
}
.custom-textarea {
min-height: 100px;
}
.msg-typing {
@include opacity(.7);
display: block;
float: left;
font-size: 13px;
height: 20px;
line-height: 20px;
margin-top: 3px;
max-width: 230px;
min-width: 1px;
}
.post-create-footer {
padding: 5px 0 30px;
width: 100%;
}
.post-right-comments-upload-in-progress {
@include opacity(.7);
margin-right: 10px;
padding: 6px 0;
}
.emoji-picker {
position: absolute;
top: -361px;
right: 0px;
}
}
}
.post-right-header {
border-bottom: $border-gray;
color: #999;
font-size: 1em;
font-weight: 400;
height: 39px;
padding: 10px 10px 0 15px;
text-transform: uppercase;
}
.post-right-root-container {
border-bottom: $border-gray;
padding: 5px 10px;
ul {
margin-bottom: 2px;
padding-left: 0;
}
}
.post-right-channel__name {
font-weight: 600;
margin: 0 0 15px;
}
.post-right-root-container li {
display: inline;
list-style-type: none;
padding-right: 3px;
}
.post-right-root-time {
color: #a8adb7;
}
.post-right-create-comment-container {
bottom: 0;
left: 0;
margin-bottom: 18px;
padding: 5px;
position: absolute;
width: 100%;
}
.post-right__scroll {
-webkit-overflow-scrolling: touch;
@include flex(1 1 auto);
padding-top: 10px;
position: relative;
.file-preview__container {
margin-top: 5px;
}
}
.post-right-comment-time {
color: #a8adb7;
}