forgeplus-react/src/modules/comment/Comment.css

278 lines
5.0 KiB
CSS
Raw Normal View History

2020-03-16 14:12:11 +08:00
/*评论列表*/
.panel-comment_item .t_area {
2020-04-28 17:23:34 +08:00
font-size: 12px;
color: #CCCCCC;
}
.pagination-contaner {
margin: 12px auto 20px auto;
2020-03-16 14:12:11 +08:00
}
2020-04-28 17:23:34 +08:00
2020-03-16 14:12:11 +08:00
.panel-comment_item .orig_reply i {
2020-04-28 17:23:34 +08:00
font-size: 14px !important;
margin-left: 12px;
2020-03-16 14:12:11 +08:00
}
2020-04-28 17:23:34 +08:00
/* ke style 代码块*/
.panel-comment_item ol.linenums {
overflow: auto;
2020-03-16 14:12:11 +08:00
}
2020-04-28 17:23:34 +08:00
.panel-comment_item .rewarded {
color: #FF7500 !important
2020-03-16 14:12:11 +08:00
}
2020-04-28 17:23:34 +08:00
.panel-comment_item .rewarded.normalUser {
cursor: inherit;
}
#tab_con_4 .-layout-v {
overflow-y: auto;
2020-03-16 14:12:11 +08:00
}
/* ----------------------------------------------------- CommentInput START */
/*收起的时候radius变化*/
#mini_comment_section .df .ke-container {
2020-04-28 17:23:34 +08:00
border-radius: 15px;
2020-03-16 14:12:11 +08:00
}
2020-04-28 17:23:34 +08:00
2020-03-16 14:12:11 +08:00
#mini_comment_section .df .buttons {
2020-04-28 17:23:34 +08:00
width: 70px;
margin-bottom: 5px;
}
#mini_comment_section .buttons i {
font-size: 18px;
color: #656565;
vertical-align: baseline;
}
#mini_comment_section i.newReplyIcon {
color: #4DACFF;
cursor: pointer;
}
#mini_comment_section .buttons {
margin-bottom: 10px;
}
#mini_comment_section .buttons>p {
margin-top: 4px;
display: none;
}
#mini_comment_section .df .buttons>p {
margin-top: 14px;
display: block;
}
#mini_comment_section {
height: auto;
background-color: #FFF;
/*border-top: 1px solid #f0f1fe;*/
display: flex;
box-shadow: 0px -3px 5px 0px rgba(76, 172, 255, 0.2);
z-index: 99;
}
#mini_comment_section #editor_panel {
margin-bottom: 9px
}
/* commentInput 上传图片的图标挪动到左下*/
#mini_comment_section #editor_panel>div:nth-child(1) {
position: absolute;
bottom: 8px;
right: 88px;
}
#mini_comment_section .ke-toolbar-icon-url {
background-image: url('../../images/tpi/upload-image.png');
background-position: 0px 0px;
background-size: 30px 30px;
width: 30px;
height: 30px;
}
#mini_comment_section .ke-outline {
height: 30px;
margin-bottom: -11px;
width: 30px;
margin-right: -5px;
border: none;
margin: 0px;
padding: 0px;
/* ie上传图片看不见的问题 */
position: absolute;
top: -30px;
left: -30px;
left: -24px;
z-index: 999;
}
#mini_comment_section i.replyIcon {
font-size: 20px;
}
#shixun_comment_block .dot {
width: 4px;
height: 4px;
border-radius: 2px;
background-color: #4CACFF;
width: 4px;
position: relative;
bottom: 30px;
left: 18px;
display: block;
}
2020-03-16 14:12:11 +08:00
#mini_comment_section .ke-container {
2020-04-28 17:23:34 +08:00
border-radius: 6px;
border-color: #EAEAEA;
/*max-height: 400px; */
/*解决上传图片后看不到评论按钮的问题*/
2020-03-16 14:12:11 +08:00
}
2020-04-28 17:23:34 +08:00
.commentTxt {
width: 100%;
height: 95px;
border: 1px solid #EAEAEA;
border-radius: 10px;
padding-left: 5px;
}
2020-03-16 14:12:11 +08:00
#game_praise_tread {
2020-04-28 17:23:34 +08:00
cursor: pointer;
2020-03-16 14:12:11 +08:00
}
2020-04-28 17:23:34 +08:00
2020-03-16 14:12:11 +08:00
.commentsbtn {
2020-04-28 17:23:34 +08:00
margin-top: 2px;
2020-03-16 14:12:11 +08:00
}
#shixun_comment_block {
2020-04-28 17:23:34 +08:00
margin: 0px 10px;
margin-bottom: -2px;
2020-03-16 14:12:11 +08:00
}
.panel-comment_item a.task-btn-orange {
2020-04-28 17:23:34 +08:00
background: #4CACFF;
2020-03-16 14:12:11 +08:00
}
/* ----------------------------------------------------- CommentInput END */
.childrenCommentsView {
2020-04-28 17:23:34 +08:00
background: #F4F4F4;
border-radius: 4px;
margin-bottom: 6px;
position: relative;
margin-top: 6px;
}
.childrenCommentsView .trangle {
position: absolute;
border-color: black;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid #F4F4F4;
left: 13px;
top: -9px;
border-bottom: 10px solid #F4F4F4;
}
2020-03-16 14:12:11 +08:00
.childComment {
2020-04-28 17:23:34 +08:00
padding: 2px 8px;
}
.childComment .iconfont.icon-jiangli {
margin-top: 2px;
2020-03-16 14:12:11 +08:00
}
.childComment:hover {
2020-04-28 17:23:34 +08:00
background: #EBEBEB;
}
.childComment .iconfont {
display: none;
}
.childComment p.orig_reply {
margin-bottom: 0px;
}
.childComment:hover .iconfont {
display: inline;
}
2020-03-16 14:12:11 +08:00
.noCommentTitle {
2020-04-28 17:23:34 +08:00
text-align: center;
margin-top: 20px;
font-size: 16px;
2020-03-16 14:12:11 +08:00
}
.blink {
animation: blink-animation 3s steps(5, start) infinite;
-webkit-animation: blink-animation 3s steps(5, start) infinite;
}
2020-04-28 17:23:34 +08:00
2020-03-16 14:12:11 +08:00
@keyframes blink-animation {
to {
visibility: hidden;
}
}
2020-04-28 17:23:34 +08:00
2020-03-16 14:12:11 +08:00
@-webkit-keyframes blink-animation {
to {
visibility: hidden;
}
}
/*md 编辑器 emoji */
.J_Comment_Reply img.emoji {
2020-04-28 17:23:34 +08:00
width: 24px;
2020-03-16 14:12:11 +08:00
}
.noCommentTitle {
2020-04-28 17:23:34 +08:00
text-align: center;
margin-top: 20px;
font-size: 16px;
height: 100px;
line-height: 100px;
2020-03-16 14:12:11 +08:00
}
2020-04-28 17:23:34 +08:00
.break_word_comments {
/* 这个样式影响到了行高 */
/* white-space: pre-wrap!important; */
word-break: break-word;
/* 影响了 ul li的样式 https://testeduplus2.educoder.net/courses/1748/common_homeworks/12131/740898/appraise */
/* line-height: 14px; */
width: 100%;
word-wrap: break-word;
margin-bottom: 4px;
margin-top: 4px;
2020-03-16 14:12:11 +08:00
}
2020-04-28 17:23:34 +08:00
.childComment .break_word_comments {
line-height: 22px;
2020-03-16 14:12:11 +08:00
}
form.df .tips {
2020-04-28 17:23:34 +08:00
display: none;
2020-03-16 14:12:11 +08:00
}
.loadMoreChildComments {
2020-04-28 17:23:34 +08:00
text-align: center;
height: 24px;
background: #F1F1F1;
cursor: pointer;
2020-03-16 14:12:11 +08:00
}
2020-04-28 17:23:34 +08:00
.loadMoreChildComments i.icon-xiajiantou {
position: relative;
bottom: 5px;
}