]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix color of show more link in report dialog in web UI
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 22 Mar 2022 05:08:05 +0000 (06:08 +0100)
committerClaire <claire.github-309c@sitedethib.com>
Wed, 23 Mar 2022 08:32:59 +0000 (09:32 +0100)
Port 69f9dc4f4eed9211a0a4ff55c18f64c99165a9e0 to glitch-soc

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

index 7e691835633aab18089e0cb66b2fe30ccbe8be81..61c292b193862dbe74e67bfa2a5cf50ff5c7ffa1 100644 (file)
     color: $inverted-text-color;
   }
 
+  .status__content__spoiler-link {
+    color: $primary-text-color;
+    background: $ui-primary-color;
+
+    &:hover {
+      background: lighten($ui-primary-color, 8%);
+    }
+  }
+
   .dialog-option .poll__input {
     border-color: $inverted-text-color;
     color: $ui-secondary-color;
index ad6c24ea6335ae47ee9a496e26c7030c401bb534..0d7dfd64d7ee6836c056b9f3a902744fcc40a2e7 100644 (file)
   .status__content__spoiler-link {
     background: lighten($ui-base-color, 30%);
 
-    &:hover {
+    &:hover,
+    &:focus {
       background: lighten($ui-base-color, 33%);
       text-decoration: none;
     }
   background: lighten($ui-base-color, 30%);
   border: 0;
   color: $inverted-text-color;
-  font-weight: 500;
+  font-weight: 700;
   font-size: 11px;
   padding: 0 5px;
   text-transform: uppercase;
   line-height: inherit;
   cursor: pointer;
-  vertical-align: bottom;
+  vertical-align: top;
 
   &:hover {
     background: lighten($ui-base-color, 33%);
@@ -760,7 +761,8 @@ a.status__display-name,
     background: $ui-base-lighter-color;
     color: $inverted-text-color;
 
-    &:hover {
+    &:hover,
+    &:focus {
       background: lighten($ui-base-color, 29%);
       text-decoration: none;
     }