638 lines
15 KiB
CSS
638 lines
15 KiB
CSS
.comment-box {
|
|
padding-top: 22px;
|
|
padding-left: 42px;
|
|
}
|
|
.comment-box .edit-comment {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
z-index: 12;
|
|
}
|
|
.comment-box .edit-comment .box {
|
|
width: 650px;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
padding: 20px 15px;
|
|
}
|
|
.comment-box .edit-comment .box .text {
|
|
font-size: 18px;
|
|
font-weight: 650;
|
|
margin-bottom: 15px;
|
|
color: #000;
|
|
}
|
|
.comment-box .edit-comment .box .input-box {
|
|
margin-right: 0;
|
|
}
|
|
.comment-box .edit-comment .box .input-box .bottom {
|
|
border-top: 1px solid #ebebeb;
|
|
}
|
|
.comment-box .edit-comment .box .btn-list {
|
|
padding: 15px 0;
|
|
justify-content: flex-end;
|
|
}
|
|
.comment-box .edit-comment .box .btn-list .btn {
|
|
font-size: 14px;
|
|
color: #333;
|
|
width: 80px;
|
|
height: 28px;
|
|
line-height: 28px;
|
|
text-align: center;
|
|
border-radius: 43px;
|
|
cursor: pointer;
|
|
background-color: #fff;
|
|
border: 1px solid #ebebeb;
|
|
margin-left: 20px;
|
|
}
|
|
.comment-box .edit-comment .box .btn-list .btn.send {
|
|
background-color: #fddf6d;
|
|
border: 1px solid #fddf6d;
|
|
}
|
|
.comment-title {
|
|
font-weight: 650;
|
|
color: #000000;
|
|
font-size: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.comment-title .comment-amount {
|
|
color: #555;
|
|
font-weight: 400;
|
|
margin-left: 8px;
|
|
}
|
|
.post-comment {
|
|
background-color: #ffffff;
|
|
border: 1px solid #d7d7d7;
|
|
border-radius: 6px;
|
|
margin-bottom: 30px;
|
|
margin-right: 30px;
|
|
transition: all 5s;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
.post-comment.post-comment-focus .post-input /deep/ .el-textarea__inner {
|
|
width: 468px;
|
|
min-height: 200px !important;
|
|
max-height: 80vh;
|
|
padding-bottom: 52px;
|
|
}
|
|
.post-comment.post-comment-focus .post-input /deep/ .el-input__count {
|
|
display: block;
|
|
left: 10px;
|
|
}
|
|
.post-comment.post-comment-focus .post-ok {
|
|
height: 32px;
|
|
bottom: 10px;
|
|
right: 10px;
|
|
}
|
|
.post-comment.post-comment-focus .post-comment-input {
|
|
width: 468px;
|
|
}
|
|
.post-comment .post-comment-input {
|
|
width: 410px;
|
|
}
|
|
.post-comment .post-input {
|
|
background-color: transparent;
|
|
font-size: 14px;
|
|
resize: none;
|
|
transition: all 0.5s;
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
border: none;
|
|
}
|
|
.post-comment .post-input::placeholder {
|
|
color: #aaaaaa;
|
|
}
|
|
.post-comment .post-input::-webkit-scrollbar {
|
|
width: 0 !important;
|
|
}
|
|
.post-comment .post-input /deep/ .el-textarea__inner {
|
|
border: none;
|
|
box-shadow: none;
|
|
resize: none;
|
|
min-height: 60px !important;
|
|
padding: 10px;
|
|
transition: all 0.5s;
|
|
}
|
|
.post-comment .post-input /deep/ .el-input__count {
|
|
display: none;
|
|
}
|
|
.post-comment .post-ok {
|
|
width: 60px;
|
|
height: 62px;
|
|
background-color: var(--main-color);
|
|
color: #fff;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
transition: all 0.5s;
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
}
|
|
.input-box {
|
|
background-color: #f6f6f6;
|
|
border-radius: 10px;
|
|
padding-top: 11px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-direction: column;
|
|
margin-right: 30px;
|
|
position: relative;
|
|
}
|
|
.input-box .top {
|
|
padding: 0 14px;
|
|
position: relative;
|
|
}
|
|
.input-box .top .input-placeholder {
|
|
color: #7f7f7f;
|
|
pointer-events: none;
|
|
font-size: 14px;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 14px;
|
|
}
|
|
.input-box .top .avatar {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
display: block;
|
|
margin-right: 10px;
|
|
}
|
|
.input-box .top .input-textarea {
|
|
font-size: 14px;
|
|
border: none;
|
|
outline: none;
|
|
background-color: transparent;
|
|
min-height: 80px;
|
|
padding-bottom: 11px;
|
|
}
|
|
.input-box .top .input-textarea * {
|
|
background: transparent !important;
|
|
color: #000 !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
font-size: 14px !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
width: auto !important;
|
|
height: auto !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
.input-box .top .input-textarea img {
|
|
display: none !important;
|
|
}
|
|
.input-box .picture-box {
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px dotted rgba(215, 215, 215, 0.501961);
|
|
padding-left: 14px;
|
|
}
|
|
.input-box .picture-box .picture {
|
|
position: relative;
|
|
width: fit-content;
|
|
}
|
|
.input-box .picture-box .picture .img {
|
|
height: 60px;
|
|
border-radius: 5px;
|
|
display: block;
|
|
}
|
|
.input-box .picture-box .picture .close {
|
|
width: 17px;
|
|
height: 17px;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
transform: translate(50%, -50%);
|
|
cursor: pointer;
|
|
}
|
|
.input-box .bottom {
|
|
height: 52px;
|
|
padding: 0 14px;
|
|
justify-content: space-between;
|
|
}
|
|
.input-box .bottom .operate .item {
|
|
display: inline-flex;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.input-box .bottom .operate .item:not(:last-of-type) {
|
|
margin-right: 20px;
|
|
}
|
|
.input-box .bottom .operate .item.pitch .emoji-box {
|
|
display: flex;
|
|
}
|
|
.input-box .bottom .operate .item.pitch::after {
|
|
content: "";
|
|
width: 28px;
|
|
height: 28px;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background-color: #fff;
|
|
border-radius: 5px;
|
|
z-index: -1;
|
|
}
|
|
.input-box .bottom .operate .item .icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
/* 鼠标悬停时显示为可点击 */
|
|
}
|
|
.input-box .bottom .operate .item .emoji-box {
|
|
width: 501px;
|
|
border-radius: 8px;
|
|
background-color: #fff;
|
|
filter: drop-shadow(0 0 11px rgba(0, 0, 0, 0.1));
|
|
top: 45px;
|
|
position: absolute;
|
|
z-index: 1;
|
|
left: -15px;
|
|
border: 1px solid #ebebeb;
|
|
display: none;
|
|
flex-wrap: wrap;
|
|
font-size: 22px;
|
|
padding: 8px;
|
|
}
|
|
.input-box .bottom .operate .item .emoji-box::after {
|
|
content: "";
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 8px solid transparent;
|
|
border-right: 8px solid transparent;
|
|
border-bottom: 8px solid #ffffff;
|
|
position: absolute;
|
|
top: -8px;
|
|
left: 15px;
|
|
}
|
|
.input-box .bottom .operate .item .emoji-box .emoji-icon {
|
|
margin: 5px;
|
|
cursor: pointer;
|
|
}
|
|
.input-box .bottom .operate .item .file {
|
|
opacity: 0;
|
|
/* 隐藏输入框 */
|
|
background: transparent;
|
|
border: none;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
cursor: pointer;
|
|
}
|
|
.input-box .bottom .operate .item .file::after {
|
|
content: "";
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
.input-box .bottom .operate .item:hover .file-hint {
|
|
display: inline-block;
|
|
}
|
|
.input-box .bottom .operate .item .file-hint {
|
|
font-weight: 400;
|
|
color: #ffffff;
|
|
text-align: center;
|
|
font-size: 13px;
|
|
height: 22px;
|
|
line-height: 22px;
|
|
background-color: #333333;
|
|
border-radius: 137px;
|
|
padding: 0 8px;
|
|
margin-left: 9px;
|
|
display: none;
|
|
position: absolute;
|
|
width: max-content;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
left: 20px;
|
|
}
|
|
.input-box .bottom .btn {
|
|
font-size: 14px;
|
|
width: 80px;
|
|
height: 28px;
|
|
line-height: 28px;
|
|
text-align: center;
|
|
background-color: var(--main-color);
|
|
color: #fff;
|
|
border-radius: 43px;
|
|
cursor: pointer;
|
|
}
|
|
.input-box .cross {
|
|
cursor: pointer;
|
|
height: 12px;
|
|
position: absolute;
|
|
right: 8px;
|
|
top: 5px;
|
|
width: 12px;
|
|
z-index: 2;
|
|
}
|
|
.comment-list {
|
|
margin-bottom: 78px;
|
|
padding-top: 17px;
|
|
}
|
|
.comment-list .input-box {
|
|
margin-bottom: 12px;
|
|
margin-right: 0;
|
|
}
|
|
.comment-list .comment-item {
|
|
padding-right: 30px;
|
|
}
|
|
.comment-list .comment-item:not(:first-of-type) .comment-avatar {
|
|
margin-top: 10px;
|
|
}
|
|
.comment-list .comment-item:not(:first-of-type) .comment-header {
|
|
padding-top: 10px;
|
|
border-top: 1px dotted #d7d7d7;
|
|
}
|
|
.comment-list .comment-item .comment-avatar {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
margin-right: 10px;
|
|
cursor: pointer;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 10px;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-left {
|
|
font-size: 13px;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-left .comments-avatar {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 10px;
|
|
border-radius: 50%;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-left .comments-username {
|
|
color: #555;
|
|
margin-right: 10px;
|
|
cursor: pointer;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-left .comments-time {
|
|
color: #aaaaaa;
|
|
margin-right: 10px;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-left .comments-title {
|
|
height: 16px;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-left .comments-identity {
|
|
font-size: 12px;
|
|
color: #7f7f7f;
|
|
padding: 0 3px;
|
|
height: 20px;
|
|
background-color: #f0f2f5;
|
|
border: 1px solid #d7d7d7;
|
|
border-radius: 5px;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box {
|
|
position: relative;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box:hover .operate-box {
|
|
display: block;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box .menu-icon {
|
|
width: 14px;
|
|
height: 14px;
|
|
cursor: pointer;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box .operate-box {
|
|
display: none;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
top: 24px;
|
|
right: 0;
|
|
font-size: 12px;
|
|
color: #7f7f7f;
|
|
cursor: pointer;
|
|
width: 60px;
|
|
z-index: 2;
|
|
border-radius: 5px;
|
|
background-color: #f6f6f6;
|
|
border: 1px solid #d7d7d7;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box .operate-box .item {
|
|
height: 24px;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box .operate-box .item:not(:last-of-type) {
|
|
border-bottom: 1px solid #d7d7d7;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box .operate-box::after {
|
|
content: "";
|
|
width: 58px;
|
|
height: 36px;
|
|
position: absolute;
|
|
top: -14px;
|
|
right: 0;
|
|
z-index: -1;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-right .comment-icon {
|
|
width: 14px;
|
|
height: 13px;
|
|
margin-left: 30px;
|
|
cursor: pointer;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-right .like-box {
|
|
font-size: 12px;
|
|
color: #aaa;
|
|
margin-left: 30px;
|
|
cursor: pointer;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-right .like-box .like-icon {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-header .comment-header-right .like-box .like-quantity {
|
|
margin-left: 6px;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-text {
|
|
font-size: 14px;
|
|
line-height: 22px;
|
|
color: #333;
|
|
margin-bottom: 10px;
|
|
word-break: break-all;
|
|
min-height: 22px;
|
|
cursor: pointer;
|
|
}
|
|
.comment-list .comment-item .comment-content .comment-text .comments-reply {
|
|
color: #92a1bf;
|
|
display: inline;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-img {
|
|
width: 75px;
|
|
margin-bottom: 13px;
|
|
border-radius: 5px;
|
|
}
|
|
.comment-list .comment-item .comment-content .alreadyVoted {
|
|
font-size: 12px;
|
|
color: #aaaaaa;
|
|
background-color: #f6f6f6;
|
|
line-height: 17px;
|
|
width: fit-content;
|
|
margin-bottom: 15px;
|
|
word-break: break-word;
|
|
padding: 6px;
|
|
border-radius: 4px;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-masking {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
min-width: 1200px;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 10;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box {
|
|
margin-top: 13px;
|
|
height: 0;
|
|
transition: all 0.3s;
|
|
position: relative;
|
|
z-index: 11;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box.comments-input-box-show {
|
|
height: 184px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box.comments-input-box-show::after {
|
|
content: "";
|
|
width: 20px;
|
|
height: 20px;
|
|
display: block;
|
|
background-color: #d7d7d7;
|
|
position: absolute;
|
|
top: -2px;
|
|
left: 21px;
|
|
transform: rotate(45deg);
|
|
z-index: -1;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box.comments-input-box-show .comments-input {
|
|
border: 1px solid #d7d7d7;
|
|
background-color: #fff;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box.comments-input-box-show .comments-input /deep/ textarea {
|
|
height: 140px;
|
|
padding: 10px;
|
|
min-height: 40px !important;
|
|
overflow: auto;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box.comments-input-box-show .comments-input /deep/ .el-input__count {
|
|
display: block;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box.comments-input-box-show .comments-input .operate-bottom {
|
|
display: flex;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box .comments-input {
|
|
flex: 1;
|
|
border-color: #fff;
|
|
border-radius: 8px;
|
|
position: relative;
|
|
z-index: 1;
|
|
transition: all 0.3s;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box .comments-input /deep/ textarea {
|
|
border: none;
|
|
outline: none;
|
|
resize: none;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
width: 100%;
|
|
height: 0;
|
|
padding: 0 10px;
|
|
min-height: 0 !important;
|
|
transition: all 0.2s;
|
|
overflow: hidden;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box .comments-input /deep/ .el-textarea__inner {
|
|
box-shadow: none;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box .comments-input /deep/ .el-input__count {
|
|
left: 10px;
|
|
bottom: -32px;
|
|
width: fit-content;
|
|
display: none;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box .comments-input .operate-bottom {
|
|
justify-content: flex-end;
|
|
display: none;
|
|
transition: all 0.3s;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box .comments-input .operate-bottom .comments-btn {
|
|
width: 60px;
|
|
height: 32px;
|
|
border-radius: 6px;
|
|
background-color: var(--main-color);
|
|
font-size: 14px;
|
|
color: #ffffff;
|
|
cursor: pointer;
|
|
margin-right: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.comment-list .comment-item .comment-content .comments-input-box .comments-input .operate-bottom .comments-btn.comments-btn-cancel {
|
|
border: 1px solid #cccccc;
|
|
color: #797979;
|
|
background-color: #fff;
|
|
}
|
|
.comment-list .comment-item .child-comments .comment-avatar {
|
|
margin-top: 10px;
|
|
}
|
|
.comment-list .comment-item .child-comments .comment-header {
|
|
padding-top: 10px;
|
|
border-top: 1px dotted #d7d7d7;
|
|
}
|
|
.comment-list .comment-item .child-comments .comment-item {
|
|
padding-right: 0;
|
|
}
|
|
.comment-list .comment-item .comments-also {
|
|
color: #62b1ff;
|
|
line-height: 22px;
|
|
font-size: 13px;
|
|
height: 46px;
|
|
margin-left: 30px;
|
|
cursor: pointer;
|
|
border-top: 1px dotted #d7d7d7;
|
|
}
|
|
.comment-list .comment-item .comments-also .also-icon {
|
|
width: 10px;
|
|
height: 10px;
|
|
margin-left: 8px;
|
|
}
|
|
.comment-end {
|
|
font-size: 12px;
|
|
color: #d7d7d7;
|
|
text-align: center;
|
|
margin-bottom: 118px;
|
|
padding-right: 30px;
|
|
}
|
|
.empty-box {
|
|
padding: 80px 0 110px;
|
|
}
|
|
.detail-image-mask {
|
|
width: 100%;
|
|
height: 100%;
|
|
max-width: none;
|
|
max-height: none;
|
|
border: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
z-index: 100;
|
|
}
|
|
.detail-image-mask .detail-image {
|
|
width: 80vw;
|
|
height: 80vh;
|
|
border-radius: 8px;
|
|
background-color: #111;
|
|
}
|
|
.detail-image-mask .detail-image .detail-img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|