Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_profile: Fix alignment and color of edit icon.
Vector736dd7efae855a
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.cssindex 4062a3fa83b..2b0a5fcaef5 100644--- a/web/styles/dark_theme.css+++ b/web/styles/dark_theme.css@@ -59,6 +59,16 @@}/************************* MODAL DARK THEME *******************/+ .user_profile_manage_own_edit_button,+ .user_profile_manage_others_edit_button {+ color: hsl(200deg 100% 50%);+ cursor: pointer;++ &:hover {+ color: hsl(200deg 79% 66%);+ }+ }+.dialog_exit_button {background-color: hsl(211deg 29% 14%);color: hsl(0deg 0% 100%);diff --git a/web/styles/modal.css b/web/styles/modal.cssindex 79c3b2292e2..fc4ceb357f0 100644--- a/web/styles/modal.css+++ b/web/styles/modal.css@@ -60,12 +60,13 @@text-overflow: ellipsis;}+ .user_profile_manage_own_edit_button,.user_profile_manage_others_edit_button {color: hsl(200deg 100% 50%);cursor: pointer;&:hover {- color: hsl(200deg 79% 66%);+ color: hsl(200deg 100% 25%);}}}diff --git a/web/styles/popovers.css b/web/styles/popovers.cssindex 47fc7059266..045d3473c4f 100644--- a/web/styles/popovers.css+++ b/web/styles/popovers.css@@ -506,10 +506,15 @@ ul {.user_profile_manage_own_edit_button,.user_profile_manage_others_edit_button {width: 25px;+ height: 14px;text-align: center;font-size: 18px;}+ #user_profile_manage_own_edit_link {+ height: 25px;+ }+.deactivated-user-icon {margin: -1px;vertical-align: middle;diff --git a/web/templates/user_profile_modal.hbs b/web/templates/user_profile_modal.hbsindex 6cfa6b2ea64..2ae5bf31c72 100644--- a/web/templates/user_profile_modal.hbs+++ b/web/templates/user_profile_modal.hbs@@ -19,7 +19,7 @@{{/if}}<span class="user_profile_name">{{> user_full_name name=full_name}}</span>{{#if is_me}}- <a href="/#settings/profile">+ <a id="user_profile_manage_own_edit_link" href="/#settings/profile"><i class="fa fa-edit tippy-zulip-tooltip user_profile_manage_own_edit_button" data-tippy-content="{{t 'Edit profile' }}" aria-hidden="true"></i></a>{{/if}}