about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-01-20 11:50:19 +0100
committerThibaut Girka <thib@sitedethib.com>2019-01-20 11:50:19 +0100
commit8001a9b97bded0329f91397f2316328a8ba0d97a (patch)
tree8d55e42ef22bc528493a1310c92c54e75009bc66 /app/javascript
parent6dbb10c4b7b1bfbe740145d1b4ce6d3b6dff9af9 (diff)
[Glitch] Add information about how to opt-in to the directory on the directory
Port SCSS changes from a492a9bcd355d4f0998990905177ac4f9699cc3c to glitch-soc
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/flavours/glitch/styles/widgets.scss27
1 files changed, 27 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/widgets.scss b/app/javascript/flavours/glitch/styles/widgets.scss
index d44a1ef06..0699900dc 100644
--- a/app/javascript/flavours/glitch/styles/widgets.scss
+++ b/app/javascript/flavours/glitch/styles/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;
+    }
+  }
+}