.c-comment {}
.c-comment-tab {
display: flex;
margin-bottom: 25px;
}
.c-comment-tab-item {
display: flex;
flex: 1;
text-align: center;
}
.c-comment-tab-item a,
.c-comment-tab-item p {
display: block;
width: 100%;
padding: 15px;
font-size: 14px;
line-height: 1.8;
color: var(--tcd-root-font-color);
text-decoration: none;
background: #fff;
border-color: #ddd;
border-style: solid;
border-width: 1px 0 1px 1px;
}
.c-comment-tab-item:last-child > * {
border-right-width: 1px;
}
.c-comment-tab-item.is-active a,
.c-comment-tab-item.is-active p {
position: relative;
color: #000;
background-color: #eee;
}
.c-comment-tab-item.is-active a::after,
.c-comment-tab-item.is-active p::after {
position: absolute;
right: 0;
bottom: -12px;
left: 0;
width: 0;
height: 0;
margin: auto;
content: "";
border-style: solid;
border-width: 6px;
border-top-color: #ddd;
border-right-color: transparent;
border-bottom-color: transparent;
border-left-color: transparent;
}
@media (any-hover: hover) {
.c-comment-tab-item:not(.is-active) a:hover {
color: #fff;
background-color: rgba(var(--tcd-accent-color, 0,0,0),1);
border-color: rgba(var(--tcd-accent-color, 0,0,0),1);
}
}
@media (max-width: 992px) {
.c-comment {
margin-top: 40px;
}
}
@media (max-width: 767px) {
.c-comment-item-act {
position: static;
padding-left: 0;
margin-top: 10px;
}
.c-comment-tab-item a,
.c-comment-tab-item p {
padding: 9px 10px;
}
.c-comment-tab-item.is-active a,
.c-comment-tab-item.is-active p {
display: flex;
align-items: center;
justify-content: center;
}
}
.c-comment-list-item {
padding: 15px 20px 0;
margin-bottom: 15px;
background: #fff;
border: 1px solid #ddd;
}
.c-comment-item-body {
font-size: 14px;
line-height: 1.8;
}
.c-comment-item-body p {
margin-bottom: 15px;
}
.c-comment-item-header {
position: relative;
margin-bottom: 10px;
}
.c-comment-item-meta img.avatar {
float: left;
width: 40px;
height: 40px;
margin-right: 10px;
border-radius: 50%;
}
.c-comment-item-author {
display: block;
margin-bottom: 9px;
}
a.c-comment-item-author {
text-decoration: underline;
}
.c-comment-item-date {
display: block;
font-size: 14px;
color: #999;
}
.c-comment-item-act {
position: absolute;
top: 0;
right: 0;
padding-left: 10px;
margin-top: 5px;
font-size: 14px;
}
.c-comment-item-act > li {
display: inline;
padding-right: 10px;
margin-right: 6px;
border-right: 1px solid #aaa;
}
.c-comment-item-act > li:last-child {
padding-right: 0;
margin-right: 0;
border-right: 0;
}
.c-comment-item-note {
display: block;
padding: 10px 15px;
margin-bottom: 1em;
font-size: 12px;
color: #33a8e5;
background: #d6f4f0;
border: 1px solid #94ddd4;
}
.c-comment-trackback-url {
padding: 10px;
font-size: 14px;
background: #fafafa;
} .c-comment-form-wrapper {
padding: 15px;
margin-top: 30px;
background: #fff;
border: 1px solid #ddd;
}
.c-comment-cancel {
margin-bottom: 1em;
font-size: 12px;
color: #666;
}
.c-comment-cancel a {
color: #666;
}
.c-comment-cancel a::before {
display: inline-block;
font-family: "design_plus";
content: "\e910";
}
.c-comment-form-login {
font-size: 14px;
color: #666;
}
.c-comment-form-login a {
color: #666;
}
.c-comment-input {
margin-bottom: 12px;
text-align: left;
}
.c-comment-input input {
width: 100%;
padding: 5px;
border: 1px solid #ddd;
}
.c-comment-input textarea {
width: 100%;
height: 150px;
padding: 5px;
margin-top: 15px;
overflow: auto;
line-height: 1.5;
border: 1px solid #ddd;
}
.c-comment-label-text {
display: block;
margin-bottom: 5px;
font-size: 14px;
color: #666;
}
.c-comment-form-submit.p-button {
display: block;
margin: 15px auto 0;
}
.c-comment-form-hidden {
display: none;
} .c-comment-password-protected {
padding: 10px 20px;
color: #fff;
text-align: center;
background-color: #000;
border-radius: 5px;
}
.c-comment-password-protected p {
font-size: 12px;
line-height: 1.6;
}