comment_app_frontend 0.1.3

A Comment App Front End Server
Documentation
.comment-header {
    font-size: 80%;
}

.comment-footer {
    font-size: 70%;
}
form {
    margin: 0;
}

ul, li {
    list-style: none;
    padding: 0; 
}

form.cb-enable-comment {
    padding: 0;
    margin: 0;
}

ul.replies {
    padding-left: 1em;
    border: 1px solid lightgrey;
    border-width: 0 0 0 1px;
}
li.comment {
    border: 1px solid lightgray;
    border-width: 0 0 1px 0;
}

.btn {
    color: blue;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

/* on mouse-over */
.btn:hover {
    background: #eee;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: fixed;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    right: 3em;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}


.dropdown-content a:hover {
    background-color: greenyellow;
}

img.shown,
img.hidden {
    display: none;
}
img.shown:hover {
    background-color: rgb(0, 0, 0, 0.2);
    border-radius: 50%;
    width: 9px;
    height: 9px;    
}
.dropdown:hover img.shown{
    display: block;
}

.icons {
    width: 9px;
    height: 9px;
}

.icons-large {
    width: 15px;
    height: 15px;
}

.avatar {
    width: 30px;
    height: 30px;
}

div {
    margin: 0;
    padding: 0;
}

div.add-comment,
div.edit-comment,
div.add-reply,
div.edit-reply {
    display: flex;
}

div.add-comment textarea,
div.edit-comment textarea,
div.add-reply textarea,
div.edit-reply textarea {
    flex: auto;
    border: none;
    outline: none;
    border-bottom: 1px solid black;
} 

div.add-comment textarea:focus,
div.edit-comment textarea:focus,
div.add-reply textarea:focus,
div.edit-reply textarea:focus {
    border-bottom: 2px solid blue;
}

div.add-comment-control,
div.edit-comment-control,
div.add-reply-control,
div.edit-reply-control {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

div.add-comment-control input#submit-comment,
div.edit-comment-control input#submit-comment-edit,
div.add-reply-control input#submit-reply,
div.edit-reply-control input#submit-reply-edit {
    order: 0;
    margin: 0 5px;
}

div.add-comment-control span.anonymous-text {
    font-size: 0.7em;
    order: 1;
}

div.add-comment-control input#is-anonymous-cb {
    order: 2;
}

div.edit-comment-control input#cancel-comment-edit,
div.add-reply-control input#cancel-reply,
div.edit-reply-control input#cancel-reply-edit {
    order: 0;
    margin: 0 5px;
}

div.add-comment-control input#submit-add-comment {
    margin-left: 10px;
    margin-top: 2px;
}

div.comment-top-row,
div.reply-top-row {
    display: flex;
}

div.comment-top-left,
div.reply-top-left {
    flex: 1;
    display: flex;
}

div.name-ago {
    display: flex;
    flex-direction: column;
}

div .name-ago .time-ago {
    font-size: 0.7em;
}

div.comment-top-right,
div.reply-top-right {
    flex: 1;
    display: flex;
    flex-direction: row-reverse;
}

div.comment-bottom-row,
div.reply-bottom-row {
    display: flex;
}

div.comment-bottom-left,
div.reply-bottom-left {
    flex: 1;
    display: flex;
    align-items: center;
}

div.comment-bottom-right,
div.reply-bottom-right {
    flex: 1;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

div.comment-bottom-right.reply-box {
    display: flex;
}

span.downvotes-count {
    font-size: 0.7em;
}

span.upvotes-count {
    font-size: 0.7em;
    margin-right: 10px;
    margin-left: -10px;
}

span.upvote {
    font-size: 0.7em;
    margin-right: 10px;
    margin-left: -10px;
}

input.upvotes-icon {
    margin-right: 10px;
}

img.icons {
    margin-right: 5px;
}

.show-replies-box:hover,
.reply-box:hover, 
.upvotes-form:hover,
.reply-bottom-left {
    cursor: pointer;
}

span.comments-header {
    font-size: 2em;
    font-weight: bold;
}

span.comments-total {
    margin-right: 10px;
}

span.replies-count {
    font-size: 0.7em;
    margin-left: -5px;
}

span.replies {
    font-size: 0.7em;
    margin-right: 5px;
}

span.reply {
    font-size: 0.7em;
    margin-right: 5px;
    margin-left: -5px;
}