File: /var/www/apran-mwa-mozil.org/wp-content/themes/itfirm/assets/scss/comments.scss
.bypostauthor {
display: block;
}
.comments-area {
.comment-list-wrap {
margin-top: 55px;
}
.comment-respond {
margin-top: 50px;
.logged-in-as {
margin-bottom: 25px;
font-size: 14px;
a {
color: inherit;
&:hover {
color: $primary_color;
}
}
}
}
.no-comments {
display: none;
}
}
.comment-title {
font-size: 18px;
text-transform: capitalize;
margin-bottom: 2px;
a {
color: inherit;
&:hover {
color: $primary_color;
}
}
}
.comment-list {
padding: 0;
list-style: none;
li {
.children {
padding-left: 120px;
@media #{$max-sm} {
padding-left: 78px;
}
@media #{$max-xs} {
padding-left: 0;
}
li {
list-style: none;
margin-top: 35px;
}
}
.comment-respond {
margin-top: 45px;
margin-bottom: 50px;
margin-left: 120px;
@media #{$max-sm} {
margin-left: 78px;
margin-top: 0;
}
@media #{$max-xs} {
margin-left: 0;
margin-top: 20px;
}
}
}
> li {
margin-bottom: 35px;
&:last-child {
margin-bottom: 0;
}
> .children > li > .children > li > .children > li > .children {
padding-left: 0;
.children {
padding-left: 0;
}
}
}
}
.comment-inner {
display: flex;
flex-wrap: nowrap;
@media #{$max-xs} {
display: block;
text-align: center;
}
img.avatar {
width: 90px;
height: 90px;
min-width: 90px;
margin-right: 30px;
float: left;
@include border-radius(100px);
@media #{$max-sm} {
width: 60px;
height: 60px;
min-width: 60px;
margin-right: 18px;
}
@media #{$max-xs} {
float: none;
margin: 0 auto 0 auto;
width: 92px;
height: 92px;
min-width: 92px;
margin-bottom: -45px;
position: relative;
z-index: 99;
opacity: 1;
}
}
}
.comment-date {
font-size: 14px;
color: $primary_color;
border-bottom: 1px solid rgba($primary_color_hex, 0.55);
margin-bottom: 24px;
line-height: normal;
display: inline-block;
@include transition(all 300ms linear 0ms);
}
.comment-content {
position: relative;
flex-grow: 1;
padding: 14px 22px 34px;
@include transition(.3s cubic-bezier(.24,.74,.58,1));
@media #{$max-sm} {
padding-left: 0;
padding-right: 0;
}
@media #{$max-xs} {
padding-top: 70px;
}
a {
word-wrap: break-word;
}
.comment-text {
color: inherit;
font-size: 15px;
line-height: 27px;
p:last-child {
margin-bottom: 0;
}
ol, ul {
margin-bottom: 32px;
ul, ol {
margin-bottom: 0;
}
}
ul li {
list-style: outside;
}
img {
margin: 6px 0;
}
}
}
.comment-reply {
position: absolute;
top: 20px;
right: 23px;
@media #{$max-xs} {
position: static;
margin-top: 22px;
}
a {
line-height: 35px;
display: inline-block;
padding: 0 17px;
font-size: 14px;
color: #fff;
@include border-radius(0px);
background-color: $secondary_color;
position: relative;
font-weight: 500;
z-index: 1;
i {
margin-left: 2px;
font-size: 9px;
}
&:hover {
color: #fff;
background-color: $primary_color;
}
}
}
.comment-reply-title small {
display: inline-block;
vertical-align: top;
margin-top: -5px;
margin-left: 10px;
a {
line-height: 35px;
display: inline-block;
padding: 0 18px;
font-size: 14px;
font-weight: 500;
color: #fff;
@include border-radius(0px);
background-color: $primary_color;
i {
margin-left: 4px;
}
&:hover {
color: #fff;
background-color: $secondary_color;
}
}
}
.comment-holder {
display: flex;
flex-wrap: nowrap;
margin-top: 5px;
.comment-meta {
flex-grow: 1;
margin-right: 30px;
}
@media #{$max-xs} {
display: block;
margin-top: 0;
margin-bottom: 14px;
.comment-meta {
margin-right: 0;
}
}
}
.comment-form {
.row {
> div {
margin-top: 30px;
}
}
.form-submit {
margin-top: 33px;
margin-bottom: 0;
.submit {
padding-left: 32px;
padding-right: 32px;
}
}
.comment-form-comment {
display: flex;
flex-wrap: wrap;
}
}
.comment-form-cookies-consent {
font-size: 14px;
line-height: 26px;
padding-left: 24px;
position: relative;
margin-top: 20px;
color: #1b1b1b;
input, label:before, label:after {
position: absolute;
width: 14px;
height: 14px;
left: 0;
top: 6px;
cursor: pointer;
}
label {
cursor: pointer;
&:before {
content: '';
z-index: 1;
background-color: #e9e9e9;
}
}
label:after {
content: '\f10c';
font-family: "Caseicon";
font-weight: 400;
z-index: 2;
font-size: 10px;
color: #000;
opacity: 0;
line-height: 12px;
text-align: center;
top: 6px;
}
input {
z-index: 99;
opacity: 0;
&:checked + label:after {
opacity: 1;
}
}
}
#commentform {
padding: 35px 34px 35px 34px;
background-color: #fff;
@include box-shadow(0 0 35px rgba(#0c0c0c, 0.05));
@media #{$max-sm} {
padding-left: 20px;
padding-right: 20px;
}
}
.comments-title, .comment-reply-title {
font-size: 22px;
margin-bottom: 30px;
padding-bottom: 11px;
position: relative;
display: inline-block;
&:before {
content: '';
width: 40px;
height: 3px;
position: absolute;
left: 0;
bottom: 0;
@include background-horizontal-right($gradient_color_from, $gradient_color_to);
}
}
.comments-title {
margin-bottom: 42px;
}