about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorMaciek Baron <thebezet@gmail.com>2018-09-25 04:08:55 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-09-25 05:08:55 +0200
commit4b794e134d427dbc716606324adb9a885a74abec (patch)
tree70289c00b4a23042dc75a6f498a4d5eb4cbf9944 /app/javascript/styles
parent8864009e8d26d0496bec41d53255fd2cfc3f7cc4 (diff)
Add bot icon to bot avatars and migrate to newer version of Font Awesome (#8484)
* Migrate to newer version of Font Awesome

* Add bot icon to bot avatars
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/components.scss20
1 files changed, 19 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 3fb924aa4..b3f3347df 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -1110,6 +1110,12 @@
     vertical-align: middle;
     margin-right: 5px;
   }
+
+  .bot-icon {
+    position: absolute;
+    bottom: -.333em;
+    left: -.333em;
+  }
 }
 
 a .account__avatar {
@@ -1327,10 +1333,22 @@ a .account__avatar {
 .account__header__avatar {
   background-size: 90px 90px;
   display: block;
+  font-size: 1.5em;
   height: 90px;
   margin: 0 auto 10px;
-  overflow: hidden;
+  position: relative;
   width: 90px;
+
+  .bot-icon {
+    color: $dark-text-color;
+    position: absolute;
+    bottom: 0;
+    left: 0;
+
+    .light & {
+      color: $inverted-text-color;
+    }
+  }
 }
 
 .account-authorize {