summaryrefslogtreecommitdiff
path: root/web/source/css
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-07-24 10:40:56 +0200
committerLibravatar GitHub <noreply@github.com>2024-07-24 10:40:56 +0200
commit325b4a2b4a1dc2fba6a72f0a10dc88b98f57f05c (patch)
tree8f3c8cdec61a901418c8d729c3a0641a6bda158b /web/source/css
parent[bugfix] Serialize empty conversation account list as empty list, not null (#... (diff)
downloadgotosocial-325b4a2b4a1dc2fba6a72f0a10dc88b98f57f05c.tar.xz
[feature] Allow user to set "bot" flag; show bot icon on profile (#3135)
* [feature] Allow user to set "bot" flag; show bot icon on profile * tweak * update customs
Diffstat (limited to 'web/source/css')
-rw-r--r--web/source/css/profile.css49
1 files changed, 40 insertions, 9 deletions
diff --git a/web/source/css/profile.css b/web/source/css/profile.css
index 3f7f43d0d..c8a948a49 100644
--- a/web/source/css/profile.css
+++ b/web/source/css/profile.css
@@ -134,16 +134,47 @@
font-size: 1.5rem;
font-weight: bold;
}
-
- .username {
- min-width: 0;
+
+ .bot-username-wrapper {
+ display: flex;
+ gap: 0.5rem;
grid-area: username;
- line-height: $username-size;
-
- font-size: 1rem;
- font-weight: bold;
- color: $fg-accent;
- user-select: all;
+ align-items: center;
+
+ .bot-legend-wrapper {
+ display: flex;
+ gap: 0.25rem;
+ align-items: center;
+
+ background: $bg;
+ color: $fg;
+
+ border-radius: $br;
+ padding: 0.1rem 0.4rem 0.2rem 0.4rem;
+
+ font-variant: small-caps;
+ font-weight: bold;
+
+ cursor: default;
+
+ .bot-icon {
+ /*
+ FA icon is weirdly
+ aligned so tweak it
+ */
+ margin-top: 0.25rem;
+ }
+ }
+
+ .username {
+ min-width: 0;
+ line-height: $username-size;
+
+ font-size: 1rem;
+ font-weight: bold;
+ color: $fg-accent;
+ user-select: all;
+ }
}
.role {