about summary refs log tree commit diff
path: root/app/javascript/styles/mastodon-light/diff.scss
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2023-03-30 15:16:20 +0200
committerGitHub <noreply@github.com>2023-03-30 15:16:20 +0200
commit68a192e7186733885b1d70160170c4772fab7242 (patch)
treeb02d7ebe507a5a5ff84a2103cc3b9c99c017e355 /app/javascript/styles/mastodon-light/diff.scss
parenta9b5598c97fc4d3302b61b260097ef41c2ebe377 (diff)
Change "direct message" nomenclature to "private mention" in web UI (#24248)
Diffstat (limited to 'app/javascript/styles/mastodon-light/diff.scss')
-rw-r--r--app/javascript/styles/mastodon-light/diff.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon-light/diff.scss b/app/javascript/styles/mastodon-light/diff.scss
index 58f161f81..7498477ca 100644
--- a/app/javascript/styles/mastodon-light/diff.scss
+++ b/app/javascript/styles/mastodon-light/diff.scss
@@ -264,7 +264,7 @@ html {
 
 // Change the background colors of statuses
 .focusable:focus {
-  background: $ui-base-color;
+  background: lighten($white, 4%);
 }
 
 .detailed-status,
@@ -697,3 +697,11 @@ html {
     url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(lighten($ui-base-color, 8%))}'/></svg>")
     no-repeat right 8px center / auto 16px;
 }
+
+.status__wrapper-direct {
+  background-color: rgba($ui-highlight-color, 0.1);
+
+  &:focus {
+    background-color: rgba($ui-highlight-color, 0.15);
+  }
+}