From 030f93595e2a65c78250eb568ca3847f3b1e1286 Mon Sep 17 00:00:00 2001 From: Sayam Samal Date: Fri, 20 Sep 2024 01:07:01 +0530 Subject: [PATCH] icons: Replace previous bot icon with new single antenna bot icon. Co-authored-by: Alex Vandiver --- web/shared/icons/bot.svg | Bin 613 -> 1880 bytes web/styles/components.css | 2 -- web/styles/inbox.css | 11 ++--------- web/styles/left_sidebar.css | 4 ---- web/styles/message_row.css | 3 +-- web/styles/popovers.css | 8 ++++---- web/styles/recent_view.css | 1 - 7 files changed, 7 insertions(+), 22 deletions(-) diff --git a/web/shared/icons/bot.svg b/web/shared/icons/bot.svg index 361e048773c97140c129de5adfc4029f7056e086..c05ea94cf423a9ad4ffe9013d35bba80a04b9980 100644 GIT binary patch literal 1880 zcmYjS&2F1H47}$lgzo`li4-ZZh;vw9a>=!a+}dq64w_Ahtx@;!cc`B)H4IpzpW$#w z$+tg$J%{Vdx6ApsW!=L0>E-!+8RK6sPuIWRe;>CLQpk$$7XEp8eLZe(?{80A`2Fwe z+t1^6zFdBMIvlRoYrJxN|L^%gDWwC5x4WBw&+U&dmvi`b+#YHaB?&olCOHk{u%s#_ z01J@;OCom2xmAZInXuhds|1QE1BVt#aSpg>0V>>qnVwpd+PDUe1w<_>3&L`2)vyOx zawrk|?=!{bS~5pAs$(_)Sux+ENeU!jvls{Q(DejZ)daARSP9vO)`%m#7Thp%Y5(Il>h=5wum0Slkgwu4A2x3P&9d+DM!{ixu`m zP?#z|57DRmk;pu>=Qud011sV(Xo=~j!f01G9j=kNs+W(6FpC^(Q$l&E8jw~-ZEDO0 z8&R-i*qTgHVenAKuSVnAi`xW_18Wg4yl4Tl#!^}XR8mlCq>_jnms~S&V%5H$T5cza zjk&ufwWya4ZlPJwN5&9_jH`RfHLGGbr>YE0#VQtaCGJgV-lXuOn%5^+>+Dly2gs#sA1f=db!;WRXqPc7 z>@=`T`oqk}2V6olkAx8esAQ-fL4c}jUO|8jtp+@_<5ClA#iKTI19nsK#(CyD>JRQj zvu^9;GIKF6vsdI*4B)N{56RSvmoUYey|w`(_RidQd*k)0kJ4Fe4IR6e&Z3uobWk79 z!p(74zs~HrP0l^{8FTk$s@a|UaP{$_xfyurL5A0$zlPm%$Ur`di{C>d5AVu*FA#1M jw#-#LN_aMCu!PC>xc(8pzJB@p`*ygyx%EH3yPN+3==FNo literal 613 zcmb_a%WA_g5d0OPyVhE1^(wZZw_N%Wh7>zsH=!|h$=7!!yKMqF7Q?XK8I5+q|Ee;@HSH3&ux* z;8TYXkhsjK^P|8Zfp$O52P(QK3?%ZS0Zf5w#z8^y^lE`j5*rpLc0&yo-4ekC(=lZ! z3m7-S-;sDQnnl^f7RjzKJVt~V!=ipo9&b^_q+r}8*=AE^wkP=zhyt^mV$Xda5kd2X z6wRmzycZb`3GDt}nomt_vI?B_w}}7)ZJ}LI3~& diff --git a/web/styles/components.css b/web/styles/components.css index 9573747f6d..5bb03435ea 100644 --- a/web/styles/components.css +++ b/web/styles/components.css @@ -99,8 +99,6 @@ a.no-underline:hover { i.zulip-icon.zulip-icon-bot { color: var(--color-icon-bot); - vertical-align: top; - padding: 0 2px; } .tippy-content { diff --git a/web/styles/inbox.css b/web/styles/inbox.css index 3d9985daeb..e3862c968d 100644 --- a/web/styles/inbox.css +++ b/web/styles/inbox.css @@ -262,11 +262,10 @@ top: 0; } - .zulip-icon-bot { + .zulip-icon-bot, + .zulip-icon-triple-users { opacity: 0.7; - font-size: 11px; margin-right: 5px; - margin-left: 1px; } .inbox-row { @@ -422,12 +421,6 @@ .user_block { display: flex; align-items: center; - - .zulip-icon-triple-users { - margin-right: 5px; - align-self: flex-start; - opacity: 0.7; - } } } } diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css index fb17f1a76f..d6b3d8485b 100644 --- a/web/styles/left_sidebar.css +++ b/web/styles/left_sidebar.css @@ -1243,10 +1243,6 @@ li.topic-list-item { } } - .zulip-icon.zulip-icon-bot { - font-size: 90%; /* Reduce the bulkiness of this icon */ - } - .unread_count { grid-area: markers-and-controls; /* TODO: This is an alternative method diff --git a/web/styles/message_row.css b/web/styles/message_row.css index bf20469d6b..376d70f4c4 100644 --- a/web/styles/message_row.css +++ b/web/styles/message_row.css @@ -380,9 +380,8 @@ align-items: baseline; .zulip-icon.zulip-icon-bot { - font-size: 12px; align-self: center; - padding: 0 0 0 5px; + margin-left: 5px; } .sender_name { diff --git a/web/styles/popovers.css b/web/styles/popovers.css index 83eb2b2d4a..bcb39d7a7d 100644 --- a/web/styles/popovers.css +++ b/web/styles/popovers.css @@ -537,10 +537,6 @@ ul.popover-group-menu-member-list { vertical-align: middle; } - .zulip-icon.zulip-icon-bot { - padding: unset; - } - #default-section { vertical-align: top; @@ -1046,6 +1042,10 @@ ul.popover-group-menu-member-list { line-height: 1.1111em; color: var(--color-text-full-name); word-break: break-word; + + .zulip-icon.zulip-icon-bot { + vertical-align: middle; + } } .popover-menu-user-type { diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css index f2d7876531..7482ca01df 100644 --- a/web/styles/recent_view.css +++ b/web/styles/recent_view.css @@ -490,7 +490,6 @@ .fa-group, .zulip-icon.zulip-icon-bot { - font-size: 0.8rem; opacity: 0.6; }