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.

sidebars: Replace chevron with ellipsis-v icon from the sidebars.

SiddharthVarshney177ec5b2d518
diff --git a/static/styles/left-sidebar.scss b/static/styles/left-sidebar.scss
index d13d4424eb8..8923c3d98e1 100644
--- a/static/styles/left-sidebar.scss
+++ b/static/styles/left-sidebar.scss
@@ -366,6 +366,7 @@ li.top_left_starred_messages {
padding-right: 0.25em;
display: inline-block;
width: 13px;
+ vertical-align: middle;
}
/*
@@ -379,29 +380,35 @@ li.top_left_starred_messages {
}
/*
- The All Messages and Stream chevrons are
+ The All Messages and Stream ellipsis-v(vertical 3 dots) are
pretty similar.
*/
.all-messages-sidebar-menu-icon,
.starred-messages-sidebar-menu-icon,
.stream-sidebar-menu-icon {
- top: 3px;
- font-size: 0.8em;
+ top: 1px;
+ right: 0px;
+ font-size: 1.0em;
+ text-align: center;
+ padding: 0px 6px 0px 6px;
}
/*
- For topic chevrons we use a slightly smaller
+ For topic ellipsis-v(vertical 3 dots) we use a slightly smaller
font to show they're "lower" in the hierarchy,
which also affects it positioning.
*/
.topic-sidebar-menu-icon {
- top: 1px;
- font-size: 0.7em;
+ top: 0px;
+ right: 0px;
+ font-size: 0.9em;
+ text-align: center;
+ padding: 1px 6px 0px 6px;
}
/*
When you hover over list items, we hover
- the relevant chevrons in light gray.
+ the relevant ellipsis-v(vertical 3 dots) in light gray.
*/
li.top_left_all_messages:hover .all-messages-sidebar-menu-icon,
li.top_left_starred_messages:hover .starred-messages-sidebar-menu-icon,
diff --git a/static/styles/right-sidebar.scss b/static/styles/right-sidebar.scss
index c10bb5dbaf1..6665dbe99a2 100644
--- a/static/styles/right-sidebar.scss
+++ b/static/styles/right-sidebar.scss
@@ -29,15 +29,18 @@
.user-list-sidebar-menu-icon {
position: absolute;
- top: 0px;
- right: 10px;
- font-size: 0.8em;
+ top: 1px;
+ right: 0px;
+ font-size: 1.0em;
display: none;
+ text-align: center;
+ padding: 0px 6px 0px 6px;
i {
padding-right: 0.25em;
display: inline-block;
width: 13px;
+ vertical-align: middle;
}
&:hover {
diff --git a/static/templates/stream_sidebar_row.hbs b/static/templates/stream_sidebar_row.hbs
index 2a71a85292a..366733fd9a0 100644
--- a/static/templates/stream_sidebar_row.hbs
+++ b/static/templates/stream_sidebar_row.hbs
@@ -12,6 +12,6 @@
<div class="count"><div class="value"></div></div>
</div>
- <span class="stream-sidebar-menu-icon"><i class="fa fa-chevron-down" aria-hidden="true"></i></span>
+ <span class="stream-sidebar-menu-icon"><i class="zulip-icon ellipsis-v-solid" aria-hidden="true"></i></span>
</div>
</li>
diff --git a/static/templates/topic_list_item.hbs b/static/templates/topic_list_item.hbs
index 639ed31e978..1f8ae2972f9 100644
--- a/static/templates/topic_list_item.hbs
+++ b/static/templates/topic_list_item.hbs
@@ -8,6 +8,6 @@
</div>
</span>
<span class="topic-sidebar-menu-icon">
- <i class="fa fa-chevron-down" aria-hidden="true"></i>
+ <i class="zulip-icon ellipsis-v-solid" aria-hidden="true"></i>
</span>
</li>
diff --git a/static/templates/user_presence_row.hbs b/static/templates/user_presence_row.hbs
index a208148f140..05ca64317b9 100644
--- a/static/templates/user_presence_row.hbs
+++ b/static/templates/user_presence_row.hbs
@@ -12,5 +12,5 @@
</a>
<span class="count"><span class="value">{{#if num_unread}}{{num_unread}}{{/if}}</span></span>
</div>
- <span class="user-list-sidebar-menu-icon"><i class="fa fa-chevron-down" aria-hidden="true"></i></span>
+ <span class="user-list-sidebar-menu-icon"><i class="zulip-icon ellipsis-v-solid" aria-hidden="true"></i></span>
</li>
diff --git a/templates/zerver/app/left_sidebar.html b/templates/zerver/app/left_sidebar.html
index 1301f7fe83e..e53793973fe 100644
--- a/templates/zerver/app/left_sidebar.html
+++ b/templates/zerver/app/left_sidebar.html
@@ -13,7 +13,7 @@
<span class="value"></span>
</span>
</a>
- <span class="arrow all-messages-sidebar-menu-icon"><i class="fa fa-chevron-down" aria-hidden="true"></i></span>
+ <span class="arrow all-messages-sidebar-menu-icon"><i class="zulip-icon ellipsis-v-solid" aria-hidden="true"></i></span>
</li>
<li class="top_left_private_messages">
<div class="private_messages_header top_left_row">
@@ -54,7 +54,7 @@
<span class="value"></span>
</span>
</a>
- <span class="arrow starred-messages-sidebar-menu-icon"><i class="fa fa-chevron-down" aria-hidden="true"></i></span>
+ <span class="arrow starred-messages-sidebar-menu-icon"><i class="zulip-icon ellipsis-v-solid" aria-hidden="true"></i></span>
</li>
</ul>
<div id="streams_list" class="zoom-out">