diff --git a/static/src/scss/_commento.scss b/static/src/scss/_commento.scss deleted file mode 100644 index 146682e..0000000 --- a/static/src/scss/_commento.scss +++ /dev/null @@ -1,35 +0,0 @@ -#commento { - .commento-profile-button { - @include dark-mode { - fill: $dark-mode-text; - } - } - - .commento-name, - #commento-mod-tools-lock-button, - .commento-login-text, - .commento-anonymous-checkbox-container label { - @include dark-mode { - color: $dark-mode-text; - } - } - - #commento-textarea-root, - #commento-guest-details-input-root, - .commento-textarea-container textarea { - @include dark-mode { - background-color: $black; - color: $dark-mode-text; - } - } - - .commento-card { - @include dark-mode { - border-top: 1px solid color.adjust($black, $alpha: -0.4); - - p { - color: $dark-mode-text; - } - } - } -} diff --git a/static/src/scss/_comments.scss b/static/src/scss/_comments.scss new file mode 100644 index 0000000..d4296f0 --- /dev/null +++ b/static/src/scss/_comments.scss @@ -0,0 +1,46 @@ +section.comments { + margin-top: 2rem; +} + +.comentario-text-muted, +.comentario-root, +.comentario-card .comentario-name { + @include dark-mode { + color: $dark-mode-text !important; + } +} + +.comentario-add-comment-host, +.comentario-comment-editor textarea, +.comentario-toolbar.comentario-disabled { + background-color: transparent !important; +} + +.comentario-add-comment-host:not(.comentario-editor-inserted) { + border: 1px solid color.adjust($white, $alpha: -0.5) !important; +} + +.comentario-comment-editor textarea { + background-color: transparent !important; + @include dark-mode { + color: $dark-mode-text !important; + } +} + +.comentario-footer a { + color: $link !important; +} + +.comentario-btn-link { + color: $link !important; +} + +.comentario-card { + @include dark-mode { + border-top: 1px solid color.adjust($white, $alpha: -0.5); + + p { + color: $dark-mode-text; + } + } +} diff --git a/static/src/scss/base.scss b/static/src/scss/base.scss index 8a84baf..dc91189 100644 --- a/static/src/scss/base.scss +++ b/static/src/scss/base.scss @@ -19,7 +19,7 @@ @import "spotify"; @import "404"; @import "password_required"; -@import "commento"; +@import "comments"; @import "similar_content"; @import "support_pill"; diff --git a/website/common/templates/common/comments.html b/website/common/templates/common/comments.html index 2d3b424..e2875aa 100644 --- a/website/common/templates/common/comments.html +++ b/website/common/templates/common/comments.html @@ -1,5 +1,5 @@ -
-
+
+
- +