]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Add system checks to dashboard in admin UI
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 3 Apr 2021 12:12:30 +0000 (14:12 +0200)
committerClaire <claire.github-309c@sitedethib.com>
Mon, 5 Apr 2021 12:34:36 +0000 (14:34 +0200)
Port SCSS changes from 487e37d6d46d81caac54c536791ad1a16a4eb267

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
app/javascript/flavours/glitch/styles/forms.scss

index a65ef44541239ad05a1a684d585523c41b5409b2..b93acd6cd4021da5c5ab5f92199323d7bd0eb4d8 100644 (file)
@@ -595,6 +595,12 @@ code {
     color: $valid-value-color;
   }
 
+  &.warning {
+    border: 1px solid rgba($gold-star, 0.5);
+    background: rgba($gold-star, 0.25);
+    color: $gold-star;
+  }
+
   &.alert {
     border: 1px solid rgba($error-value-color, 0.5);
     background: rgba($error-value-color, 0.1);
@@ -616,6 +622,19 @@ code {
     }
   }
 
+  &.warning a {
+    font-weight: 700;
+    color: inherit;
+    text-decoration: underline;
+
+    &:hover,
+    &:focus,
+    &:active {
+      text-decoration: none;
+      color: inherit;
+    }
+  }
+
   p {
     margin-bottom: 15px;
   }
@@ -672,6 +691,29 @@ code {
   }
 }
 
+.flash-message-stack {
+  margin-bottom: 30px;
+
+  .flash-message {
+    border-radius: 0;
+    margin-bottom: 0;
+    border-top-width: 0;
+
+    &:first-child {
+      border-radius: 4px 4px 0 0;
+      border-top-width: 1px;
+    }
+
+    &:last-child {
+      border-radius: 0 0 4px 4px;
+
+      &:first-child {
+        border-radius: 4px;
+      }
+    }
+  }
+}
+
 .form-footer {
   margin-top: 30px;
   text-align: center;