]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Add custom closed registrations message to landing page when set
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 23 Mar 2019 01:24:01 +0000 (02:24 +0100)
committerThibaut Girka <thib@sitedethib.com>
Tue, 26 Mar 2019 15:01:59 +0000 (16:01 +0100)
Port SCSS changes from 55a9658ad8552804c7c585df12d46c391b84dd94 to glitch-soc

app/javascript/flavours/glitch/styles/forms.scss

index 9ef45e425a7184755107b088d42385a9d1ba624d..3ea1047865af781f213d5afd5d2b64f533155610 100644 (file)
@@ -475,6 +475,42 @@ code {
       }
     }
   }
+
+  &__overlay-area {
+    position: relative;
+
+    &__overlay {
+      position: absolute;
+      top: 0;
+      left: 0;
+      width: 100%;
+      height: 100%;
+      display: flex;
+      justify-content: center;
+      align-items: center;
+      background: rgba($ui-base-color, 0.65);
+      backdrop-filter: blur(2px);
+      border-radius: 4px;
+
+      &__content {
+        text-align: center;
+
+        &.rich-formatting {
+          &,
+          p {
+            color: $primary-text-color;
+          }
+        }
+      }
+    }
+  }
+}
+
+.block-icon {
+  display: block;
+  margin: 0 auto;
+  margin-bottom: 10px;
+  font-size: 24px;
 }
 
 .flash-message {