Skip to content

Instantly share code, notes, and snippets.

@mikebranski
Created March 1, 2009 03:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikebranski/72199 to your computer and use it in GitHub Desktop.
Save mikebranski/72199 to your computer and use it in GitHub Desktop.
/* CSS for Comments Module for Virb 2's Photographer profile skin */
/*************************************************
* COMMENTS
*************************************************/
#comments.module {
border-top-width: 5px;
}
#comments.module form {
margin: 0;
padding: 0;
}
#comments.module .awaiting_approval,
#comments.module p {
font: normal 11px "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
}
#comments.module .awaiting_approval {
color: <virb name="delete-link-color" />;
}
#comments.module #add_comment_wrapper p {
padding-bottom: 0;
}
#comments.module .comment {
position: relative;
border-top: solid 1px <virb name="border-color" />;
padding: 10px 10px 5px 45px;
}
#comments.module .comment.edit_delete {
padding-bottom: 25px;
}
#comments.module #add_comment_wrapper.comment {
border-top: solid 1px <virb name="border-color" />;
border-bottom: none;
}
#comments.module .comment.firstRow {
border-top: solid 1px <virb name="border-color" />;
}
#comments.module .comment.odd {
background: <virb name="row-background-color" />;
}
#comments.module p.avatar {
position: absolute;
top: 10px;
left: 10px;
}
#comments.module p.avatar img {
width: 25px;
height: 25px;
}
#comments.module p {
padding-bottom: 10px;
line-height: 140%;
}
#comments.module p.meta {
padding-bottom: 10px;
color: <virb name="meta-color" />;
}
#comments.module p.meta .edit_delete {
position: absolute;
right: 10px;
bottom: 10px;
}
#comments.module p.meta .edit_delete a.delete_comment,
#comments.module p.meta .edit_delete a.delete_comment:visited {
color: <virb name="delete-link-color" />;
padding: 0 0 0 3px;
border: none;
}
#comments.module .comment form.reply_form,
#comments.module .comment form.edit_form,
#comments.module .replies form.edit_form,
#unsaved_comment,
#unsaved_comment_reply {
display: none;
}
#comments.module .replies {
padding: 0 0 0 68px;
}
#comments.module .comment_reply {
position: relative;
border-bottom: solid 1px <virb name="border-color" />;
padding: 10px 10px 10px 55px;
}
#comments.module .comment_reply p.meta {
padding-bottom: 0px;
padding-top: 2px;
}
#comments.module textarea {
height: 45px;
}
#right_side #comments.module textarea {
width: 135px;
font-size: 10px;
}
.btn-form_post {
background: <virb name="content-background-color" />;
margin: 10px 0;
font: bold 10px Helvetica, Arial, Verdana, sans-serif;
color: <virb name="link-color" />;
text-transform: uppercase;
-moz-border-radius: 14px;
-webkit-border-radius: 14px;
border-radius: 14px;
border: 1px solid <virb name="content-border-color" />;
padding: 7px 15px;
}
.btn-form_post:hover {
cursor: pointer;
background: <virb name="row-background-color" />;
color: <virb name="link-hover-color" />;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment