From ca240000f18ee4ec7dde3ab8803eeb772b31be6f Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Sun, 6 May 2018 23:26:51 +0300 Subject: [PATCH] fix pinned comments style --- web/app/components/comment/_pinned/comment_pinned.scss | 7 ------- web/app/components/comment/index.js | 1 - .../root/__pinned-comment/root__pinned-comment.scss | 2 ++ .../root/__pinned-comments/root__pinned-comments.scss | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 web/app/components/comment/_pinned/comment_pinned.scss diff --git a/web/app/components/comment/_pinned/comment_pinned.scss b/web/app/components/comment/_pinned/comment_pinned.scss deleted file mode 100644 index 5a30cbec..00000000 --- a/web/app/components/comment/_pinned/comment_pinned.scss +++ /dev/null @@ -1,7 +0,0 @@ -.comment_pinned { - &, &.comment_view_admin { - .comment__username { - font-weight: 700; - } - } -} diff --git a/web/app/components/comment/index.js b/web/app/components/comment/index.js index 95a94aa4..202e79c7 100644 --- a/web/app/components/comment/index.js +++ b/web/app/components/comment/index.js @@ -31,7 +31,6 @@ require('./__vote/_type/_down/comment__vote_type_down.scss'); require('./__vote/_type/_up/comment__vote_type_up.scss'); require('./_level/comment_level.scss'); -require('./_pinned/comment_pinned.scss'); require('./_replying/comment_replying.scss'); require('./_useless/comment_useless.scss'); diff --git a/web/app/components/root/__pinned-comment/root__pinned-comment.scss b/web/app/components/root/__pinned-comment/root__pinned-comment.scss index 0765cfda..64166ed2 100644 --- a/web/app/components/root/__pinned-comment/root__pinned-comment.scss +++ b/web/app/components/root/__pinned-comment/root__pinned-comment.scss @@ -1,4 +1,6 @@ .root__pinned-comment { + border-bottom-color: #bdd8d8; + &:last-child { margin-bottom: 0; border-bottom: 0; diff --git a/web/app/components/root/__pinned-comments/root__pinned-comments.scss b/web/app/components/root/__pinned-comments/root__pinned-comments.scss index e0c3f88c..089cebd5 100644 --- a/web/app/components/root/__pinned-comments/root__pinned-comments.scss +++ b/web/app/components/root/__pinned-comments/root__pinned-comments.scss @@ -3,6 +3,6 @@ .root__pinned-comments { margin-top: 24px; padding: ($offset / 3) ($offset / 2); - border: 2px solid #0aa; border-radius: 2px; + background: #d8efef; }