comments css fixed

This commit is contained in:
Sergey Yarkov 2020-07-26 03:01:35 +03:00
parent 37fe7fd02b
commit 4d723a75cc
2 changed files with 55 additions and 55 deletions

View File

@ -93,20 +93,6 @@
} }
& .article-comments { & .article-comments {
margin: 25px 0; margin: 25px 0;
& div.gt-header > div.gt-header-comment > div.gt-header-controls > a > span > span.gt-svg {
display: none;
}
& .gt-container {
& .gt-comment-content {
transition: none;
&:hover {
box-shadow: none;
}
}
& .gt-header-textarea {
transition: none;
}
}
} }
} }
} }
@ -142,47 +128,6 @@
& .article-more { & .article-more {
color: $white-clr; color: $white-clr;
} }
& .article-comments {
& .gt-container {
color: $white-clr;
& .gt-header-textarea {
background-color: #2A2A2A;
color: $white-clr;
}
& .gt-comments {
& .markdown-body pre {
background: none;
color: #fff;
}
}
& .gt-meta {
border-bottom: 1px solid rgba(153, 153, 153, 0.2)
}
& .gt-comment-content {
background-color: #2A2A2A;
}
& .gt-comment-content:hover {
box-shadow: none;
}
& .gt-btn-preview {
background-color: #2A2A2A;
color: #ffffff;
border: 1px solid rgba(153, 153, 153, 0.2);
&:hover {
background-color: #414141;
}
}
& .gt-header-preview {
background-color: #2A2A2A;
& p, a, h1, h2 ,h3, h4, h5, h6 {
color: $white-clr;
}
}
& .gt-svg svg {
fill: $white-clr !important;
}
}
}
& p, h1, h2, h3, h4, h5, h6, ul, ol { & p, h1, h2, h3, h4, h5, h6, ul, ol {
color: $white-clr; color: $white-clr;
} }

View File

@ -22,6 +22,22 @@
} }
} }
div.gt-header > div.gt-header-comment > div.gt-header-controls > a > span > span.gt-svg {
display: none;
}
article .gt-container {
& .gt-comment-content {
transition: none;
&:hover {
box-shadow: none;
}
}
& .gt-header-textarea {
transition: none;
}
}
.btn-loadMore { .btn-loadMore {
background: none; background: none;
text-decoration: underline; text-decoration: underline;
@ -152,6 +168,45 @@
.dark { .dark {
background: #202020; background: #202020;
article .gt-container {
color: $white-clr;
& .gt-header-textarea {
background-color: #2A2A2A;
color: $white-clr;
}
& .gt-comments {
& .markdown-body pre {
background: none;
color: #fff;
}
}
& .gt-meta {
border-bottom: 1px solid rgba(153, 153, 153, 0.2)
}
& .gt-comment-content {
background-color: #2A2A2A;
}
& .gt-comment-content:hover {
box-shadow: none;
}
& .gt-btn-preview {
background-color: #2A2A2A;
color: #ffffff;
border: 1px solid rgba(153, 153, 153, 0.2);
&:hover {
background-color: #414141;
}
}
& .gt-header-preview {
background-color: #2A2A2A;
& p, a, h1, h2 ,h3, h4, h5, h6 {
color: $white-clr;
}
}
& .gt-svg svg {
fill: $white-clr !important;
}
}
& .light-default-light { & .light-default-light {
background: #282c34; background: #282c34;
} }