]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Add interrelationship icon
authorTakeshi Umeda <noel.yoshiba@gmail.com>
Thu, 12 Nov 2020 16:43:12 +0000 (01:43 +0900)
committerThibaut Girka <thib@sitedethib.com>
Thu, 12 Nov 2020 21:24:24 +0000 (22:24 +0100)
Port SCSS changes from 148ce97e21092500a2abeb87f6dc3c0adf5f28e4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/variables.scss
app/javascript/flavours/glitch/styles/widgets.scss

index 1ed1a57787e4c05bf8f2e6ee20e1f13cc2f1ab3b..6e242281b95c4cc093d78d03f0057d16f83186e9 100644 (file)
@@ -36,6 +36,8 @@ $dark-text-color: $ui-base-lighter-color !default;
 $secondary-text-color: $ui-secondary-color !default;
 $highlight-text-color: $ui-highlight-color !default;
 $action-button-color: $ui-base-lighter-color !default;
+$passive-text-color: $gold-star !default;
+$active-passive-text-color: $success-green !default;
 // For texts on inverted backgrounds
 $inverted-text-color: $ui-base-color !default;
 $lighter-text-color: $ui-base-lighter-color !default;
index 5314255738fcd273dc16de2deaf0e8444326e968..b397844a2fc6d1dece0449deeccb72f82266e01c 100644 (file)
     vertical-align: initial !important;
   }
 
+  &__interrelationships {
+    width: 21px;
+  }
+
+  .fa {
+    font-size: 16px;
+
+    &.active {
+      color: $highlight-text-color;
+    }
+
+    &.passive {
+      color: $passive-text-color;
+    }
+
+    &.active.passive {
+      color: $active-passive-text-color;
+    }
+  }
+
   @media screen and (max-width: $no-gap-breakpoint) {
     tbody td.optional {
       display: none;