Modelo de comentários personalizados

Views:
/*Comentários personalizados by Elaine Gaspareto (http://www.elainegaspareto.com)
----------------------------------------------- */
.comments{clear:both;margin-top:10px;margin-bottom:0;line-height:18px;font-size:13px}
.comments .comments-content{margin-bottom:16px;font-weight:normal;text-align:left}
.comments .comment .comment-actions a,.comments .comment .continue a{
display:inline-block;
margin:0 0 10px 10px;
padding:0 15px;
color:#000000 !important; /*--- cor da fonte do botão reply--- */
text-align:center;
text-decoration:none;
background: #FFF5FB;
border-radius:5px;
-moz-border-radius:5px;
height:26px;
line-height:28px;
font-weight:normal;
cursor:pointer;
}
.comments .comment .comment-actions a:hover,.comments .comment .continue a:hover {
text-decoration: none;
background:#fff; /*--- cor de fundo do botão reply houver--- */
border-radius:5px;
-moz-border-radius:5px;
height:26px;
line-height:28px;
font-weight:normal;
cursor:pointer;
}

.comments .comments-content .comment-thread ol{
list-style-type:none;padding:0;text-align:none}
.comments .comments-content .inline-thread{padding:0}
.comments .comments-content .comment-thread{margin:8px 0}
.comments .comments-content .comment-thread:empty{display:none}
.comment-replies{margin-top:1em;margin-left:40px;}
.comments .comments-content .comment{margin-bottom:0;padding-bottom:0}
.comments .comments-content .comment:first-child{padding-top:16px}
.comments .comments-content .comment:last-child{border-bottom:0;padding-bottom:0}
.comments .comments-content .comment-body{position:relative;
}

.comments .comments-content .user{font-style:normal;font-weight:normal}
.comments .comments-content .user a{font-weight:normal;text-decoration:none;}
.comments .comments-content .icon.blog-author{
background-repeat: no-repeat;
  background-image: none;
width:18px;
height:18px;
display:inline-block;
margin:0 0 -4px 6px;
float:right;
}

.comments .comments-content .datetime a{
font-size:11px; tamanho da fonte da data do comentário */
text-decoration:none; color:#666; /* -- cor do link da data do comentário -- */
background: transparent; /*Fundo da data do comentário*/
margin:7px 0 2em;
line-height: 1.4em;
text-align: right; /* alinhamento da data do comentário */
letter-spacing:.1em;
}

.comment-content{margin:0 0 8px;padding:0 5px;
}

.comments .comment-block{
margin-left:45px;
position:relative;
background:#ff8eae; /* -- cor de fundo do comentário -- */
/* ---border:3px solid #fff;  cor da borda do comentário ---*/
/*Bordas arredondadas da área do comentário*/
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius: 20px;
/*Fim do código da borda arredondada*/

}

.comment-header{ /*--- linha onde fica o nome do autor do comentário --- */
background: #FDE8EE;;   /*--- cor de fundo--- */
font-size:18px;
border-bottom: double 4px #8fddf6; /*Borda de baixo do nome*/
/*---border-bottom:1px solid #C0C0C0;  cor da borda --- */
padding:5px;
}

.comment-header a{
color: $(link.color); /*--- cor do link nome do autor do comentario --- */
color: #b318c5; /*Cor da fonte*/
font-size:16px; /*Tamanho da fonte*/
font-weight: strong;

}

.comments .comments-content .owner-actions{position:absolute;right:0;top:0}
.comments .comments-replybox{border:none;height:230px;width:100%}
.comments .comment-replybox-thread{margin-top:0}
.comments .comment-replybox-single{margin-top:5px;margin-left:48px}
.comments .comments-content .loadmore a{display:block;padding:10px 16px;text-align:center}
.comments .thread-toggle{cursor:pointer;display:inline-block}
.comments .comments-content .loadmore{cursor:pointer;max-height:3em;margin-top:0}
.comments .comments-content .loadmore.loaded{max-height:0;opacity:0;overflow:hidden}
.comments .thread-chrome.thread-collapsed{display:none}
.comments .thread-toggle{display:inline-block}
.comments .thread-toggle .thread-arrow{
display:inline-block;
height:6px;
width:7px;
overflow:visible;
margin:0.3em;
padding-right:4px;
}

.comments .thread-expanded .thread-arrow{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAc AAAAHCAYAAADEUlfTAAAAG0lEQVR42mNgwAfKy8v/48I4FeA0AacVDFQBAP9wJkE/KhUMAAAAAElFTkSuQmCC") no-repeat scroll 0 0 transparent;

}

.comments .thread-collapsed .thread-arrow{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA AcAAAAHCAYAAADEUlfTAAAAJUlEQVR42mNgAILy8vL/DLgASBKnApgkVgXIkhgKiNKJ005s4gDLbCZBiSxfygAAAAB JRU5ErkJggg==") no-repeat scroll 0 0 transparent;

}

.avatar-image-container{
background:url(http://3.bp.blogspot.com/-uyq6qUMgZY4/T9hNk34hREI/AAAAAAAAAK0/l7bMt9LUPTE/s1600/imagem-arrow.png) top right no-repeat; /*--- imagem arrow---*/
-moz-border-radius: 40px;
-webkit-border-radius: 40px;
border-radius: 40px;
box-shadow: 1px 1px 3px #a7a7a7; /*Sombra do avatar*/
margin-top: -2px; /*Margem externa do topo, para alinhar o avatar*/

}
/* Contador comentários
------------------------------------------------- */
.comment-thread ol {
counter-reset: contarcomentarios;
}
.comment-thread li:before {
content: counter(contarcomentarios,decimal);
counter-increment: contarcomentarios;
float: right;
font-size: 20px;
color: #000;
padding:10px;
position:relative;
z-index:2;
}
.comment-thread ol ol {
counter-reset: contarbis;
}
.comment-thread li li:before {
content: counter(contarcomentarios,decimal) "." counter(contarbis,lower-latin);
counter-increment: contarbis;
float: right;
font-size: 18px;
color:#ddd;
padding:10px;
position:relative;
z-index:2;
}

 /*Final do código
----------------------------------------------- */
Home Sobre mim Tutoriais Loja de templates Portfólio Fanpage