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.

recent_topics: Make avatars bigger and borderless.

Aman Agrawalae43ef5959a3
diff --git a/static/styles/night_mode.scss b/static/styles/night_mode.scss
index 885d0271dd4..71078eb7307 100644
--- a/static/styles/night_mode.scss
+++ b/static/styles/night_mode.scss
@@ -409,6 +409,10 @@ on a dark background, and don't change the dark labels dark either. */
color: hsl(0, 0%, 100%);
}
+ .recent_avatars_others {
+ color: hsl(0, 0%, 100%) !important;
+ }
+
.btn-recent-filters {
background-color: hsl(211, 29%, 14%);
border-color: hsl(0, 0%, 0%);
diff --git a/static/styles/recent_topics.scss b/static/styles/recent_topics.scss
index a874b91a0d6..9a9a9f759e0 100644
--- a/static/styles/recent_topics.scss
+++ b/static/styles/recent_topics.scss
@@ -59,6 +59,11 @@
display: flex;
flex-direction: column;
+ td {
+ vertical-align: middle;
+ padding: 3px 8px 3px 8px;
+ }
+
a {
color: hsl(205, 47%, 42%);
text-decoration: none;
@@ -138,7 +143,10 @@
display: inline-flex; /* Causes LI items to display in row. */
list-style-type: none;
margin: auto; /* Centers vertically / horizontally in flex container. */
- height: 15px !important;
+ height: 24px;
+ padding: 4px;
+ border-radius: 6px;
+ overflow: hidden;
/*
By using the row-reverse layout, the visual ordering will be opposite of
@@ -151,26 +159,26 @@
}
.recent_avatars_item {
- height: 18px;
- margin: 0px 0px 0px 0px;
- padding: 0px 0px 0px 0px;
+ height: 24px;
+ margin: 0;
+ padding: 0 1.5px 0 1.5px;
position: relative;
- min-width: 18px;
+ min-width: 24px;
}
.recent_avatars_img,
.recent_avatars_others {
- border: 1px solid hsl(221.1, 23.5%, 15.9%);
- border-left: 0 !important;
+ border: 0;
border-radius: 6px;
color: hsl(0, 0%, 100%);
display: block;
- height: 18px;
+ height: 24px;
text-align: center;
}
.recent_avatars_others {
- background-color: hsl(205.2, 76.5%, 50%);
+ color: hsl(0, 0%, 0%);
+ line-height: 24px;
}
thead th {