#49 : Comments thread and submission form now support data-isso-avatar="false"

This commit is contained in:
Schoewilliam 2014-05-22 20:06:31 +04:00
parent 4f98bca202
commit dd14bb91db

View File

@ -1,4 +1,6 @@
#isso-thread * { #isso-thread * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }
#isso-thread a { #isso-thread a {
@ -14,7 +16,7 @@
font-weight: bold; font-weight: bold;
} }
#isso-thread .textarea { #isso-thread .textarea {
min-height: 48px; min-height: 58px;
outline: 0; outline: 0;
} }
#isso-thread .textarea.placeholder { #isso-thread .textarea.placeholder {
@ -27,14 +29,26 @@
.isso-comment { .isso-comment {
max-width: 68em; max-width: 68em;
padding-top: 0.95em;
margin: 0.95em auto; margin: 0.95em auto;
} }
.isso-comment:not(:first-of-type),
.isso-follow-up .isso-comment {
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.isso-comment > div.avatar, .isso-comment > div.avatar,
.postbox > .avatar { .postbox > .avatar {
display: block; display: block;
float: left; float: left;
width: 7%; width: 7%;
margin: 5px 0 0; margin: 3px 15px 0 0;
}
.postbox > .avatar {
float: left;
margin: 5px 10px 0 5px;
width: 48px;
height: 48px;
overflow: hidden;
} }
.isso-comment > div.avatar > svg, .isso-comment > div.avatar > svg,
.postbox > .avatar > svg { .postbox > .avatar > svg {
@ -46,6 +60,8 @@
} }
.isso-comment > div.text-wrapper { .isso-comment > div.text-wrapper {
display: block; display: block;
}
.isso-comment .isso-follow-up {
padding-left: calc(7% + 20px); padding-left: calc(7% + 20px);
} }
.isso-comment > div.text-wrapper > .isso-comment-header, .isso-comment > div.text-wrapper > .isso-comment-footer { .isso-comment > div.text-wrapper > .isso-comment-header, .isso-comment > div.text-wrapper > .isso-comment-footer {
@ -105,6 +121,7 @@
.isso-comment > div.text-wrapper > .isso-comment-footer { .isso-comment > div.text-wrapper > .isso-comment-footer {
font-size: 0.80em; font-size: 0.80em;
color: gray !important; color: gray !important;
clear: left;
} }
.isso-comment > div.text-wrapper > .isso-comment-footer a { .isso-comment > div.text-wrapper > .isso-comment-footer a {
font-weight: bold; font-weight: bold;
@ -138,7 +155,7 @@
} }
.postbox > .form-wrapper { .postbox > .form-wrapper {
display: block; display: block;
padding: 5px 0 0 calc(7% + 20px); padding: 0;
} }
.postbox > .form-wrapper > .auth-section, .postbox > .form-wrapper > .auth-section,
.postbox > .form-wrapper > .auth-section .post-action { .postbox > .form-wrapper > .auth-section .post-action {
@ -152,6 +169,10 @@
border: 1px solid rgba(0, 0, 0, 0.2); border: 1px solid rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
} }
#isso-thread .textarea:focus,
#isso-thread input:focus {
border-color: rgba(0, 0, 0, 0.8);
}
.postbox > .form-wrapper > .auth-section .input-wrapper { .postbox > .form-wrapper > .auth-section .input-wrapper {
display: inline-block; display: inline-block;
position: relative; position: relative;