about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-01-18 10:25:44 +0100
committerGitHub <noreply@github.com>2019-01-18 10:25:44 +0100
commita492a9bcd355d4f0998990905177ac4f9699cc3c (patch)
tree6760121a236e9846ac65f94ec1b8253b3195f77f /app/javascript
parent4699cf853c8533cfca1f356d6c9e430c16b75335 (diff)
Add information about how to opt-in to the directory on the directory (#9834)
Fix #9833
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon/widgets.scss27
1 files changed, 27 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/widgets.scss b/app/javascript/styles/mastodon/widgets.scss
index d44a1ef06..0699900dc 100644
--- a/app/javascript/styles/mastodon/widgets.scss
+++ b/app/javascript/styles/mastodon/widgets.scss
@@ -480,3 +480,30 @@ $fluid-breakpoint: $maximum-width + 20px;
     }
   }
 }
+
+.notice-widget {
+  margin-bottom: 10px;
+  color: $darker-text-color;
+
+  p {
+    margin-bottom: 10px;
+
+    &:last-child {
+      margin-bottom: 0;
+    }
+  }
+
+  a {
+    font-size: 14px;
+    line-height: 20px;
+    text-decoration: none;
+    font-weight: 500;
+    color: $ui-highlight-color;
+
+    &:hover,
+    &:focus,
+    &:active {
+      text-decoration: underline;
+    }
+  }
+}