Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

bot_settings: Use same copy icon across the app.

Hardik Dharmani7721100378be
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 29ec84f96e7..967a4f9fa1f 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -880,8 +880,16 @@ input[type="checkbox"] {
color: hsl(0deg 56% 73%);
}
- .copy-gold {
- color: hsl(51deg 90% 50%);
+ .copy_zuliprc {
+ padding: 0 4px;
+
+ #clipboard_image {
+ margin: 0 -2px 0 0;
+
+ path {
+ fill: hsl(51deg 90% 50%);
+ }
+ }
}
.purple {
diff --git a/web/templates/settings/bot_avatar_row.hbs b/web/templates/settings/bot_avatar_row.hbs
index fb3ebaa00e7..d6e84abf2d7 100644
--- a/web/templates/settings/bot_avatar_row.hbs
+++ b/web/templates/settings/bot_avatar_row.hbs
@@ -12,7 +12,7 @@
<i class="fa fa-download sea-green" aria-hidden="true"></i>
</a>
<button type="submit" id="copy_zuliprc" class="btn copy_zuliprc tippy-zulip-delayed-tooltip" data-tippy-content="{{t 'Copy zuliprc' }}">
- <i class="fa fa-clipboard copy-gold"></i>
+ {{> ../copy_to_clipboard_svg }}
</button>
<button type="submit" class="btn deactivate_bot danger-red tippy-zulip-delayed-tooltip" data-tippy-content="{{t 'Deactivate bot' }}" data-user-id="{{user_id}}">
<i class="fa fa-user-times" aria-hidden="true"></i>