diff --git a/bookwyrm/static/css/bookwyrm/_all.scss b/bookwyrm/static/css/bookwyrm/_all.scss index 79e5cf52..31e732eb 100644 --- a/bookwyrm/static/css/bookwyrm/_all.scss +++ b/bookwyrm/static/css/bookwyrm/_all.scss @@ -36,6 +36,18 @@ body { flex-direction: column; } +::-webkit-scrollbar { + width: 12px; + height: 12px; +} +::-webkit-scrollbar-thumb { + background: $scrollbar-thumb; + border-radius: 0.5em; +} +::-webkit-scrollbar-track { + background: $scrollbar-track; +} + button { border: none; margin: 0; diff --git a/bookwyrm/static/css/themes/bookwyrm-dark.scss b/bookwyrm/static/css/themes/bookwyrm-dark.scss index 0a4f6f23..96997c4a 100644 --- a/bookwyrm/static/css/themes/bookwyrm-dark.scss +++ b/bookwyrm/static/css/themes/bookwyrm-dark.scss @@ -28,6 +28,8 @@ $background-body: rgb(24, 27, 28); $background-secondary: rgb(28, 30, 32); $background-tertiary: rgb(32, 34, 36); $modal-background-background-color: rgba($black, 0.8); +$scrollbar-track: $background-secondary; +$scrollbar-thumb: $light; /* highlight colors */ $primary-highlight: $primary; diff --git a/bookwyrm/static/css/themes/bookwyrm-light.scss b/bookwyrm/static/css/themes/bookwyrm-light.scss index c74d2ee2..69c1a806 100644 --- a/bookwyrm/static/css/themes/bookwyrm-light.scss +++ b/bookwyrm/static/css/themes/bookwyrm-light.scss @@ -19,6 +19,8 @@ $scheme-main: $white-bis; $background-body: $white; $background-secondary: $white-ter; $background-tertiary: $white-bis; +$scrollbar-track: $background-secondary; +$scrollbar-thumb: $grey-lighter; /* highlight colors */ $primary-highlight: $primary-light; diff --git a/bookwyrm/templates/snippets/goal_progress.html b/bookwyrm/templates/snippets/goal_progress.html index bc8fd53b..ae14bb91 100644 --- a/bookwyrm/templates/snippets/goal_progress.html +++ b/bookwyrm/templates/snippets/goal_progress.html @@ -14,6 +14,11 @@ {% blocktrans with username=goal.user.display_name read_count=progress.count|intcomma goal_count=goal.goal|intcomma path=goal.local_path %}{{ username }} has read {{ read_count }} of {{ goal_count}} books.{% endblocktrans %} {% endif %}

- + {% endwith %} diff --git a/bookwyrm/templates/snippets/status/content_status.html b/bookwyrm/templates/snippets/status/content_status.html index fed32584..bee4af1d 100644 --- a/bookwyrm/templates/snippets/status/content_status.html +++ b/bookwyrm/templates/snippets/status/content_status.html @@ -37,7 +37,7 @@ {% endwith %} {% endif %} -
+
{% if status_type == 'Review' %}