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.

inbox: Use blue box to indicate focus.

Aman Agrawal55eb0e4e0746
diff --git a/web/src/inbox_ui.js b/web/src/inbox_ui.js
index ad431a25920..8e2f22af6b6 100644
--- a/web/src/inbox_ui.js
+++ b/web/src/inbox_ui.js
@@ -41,7 +41,7 @@ const COLUMNS = {
RECIPIENT: 1,
UNREAD_COUNT: 2,
};
-let col_focus = COLUMNS.RECIPIENT;
+let col_focus = COLUMNS.COLLAPSE_BUTTON;
let row_focus = 0;
const ls_filter_key = "inbox_filters";
diff --git a/web/styles/inbox.css b/web/styles/inbox.css
index 1d9f4e6100e..8f19cae5073 100644
--- a/web/styles/inbox.css
+++ b/web/styles/inbox.css
@@ -129,6 +129,7 @@
&:focus {
outline: 0;
+ box-shadow: inset 0 0 0 2px var(--color-outline-focus);
.toggle-inbox-header-icon {
opacity: 1;
@@ -198,12 +199,9 @@
}
&:focus {
+ box-shadow: inset 0 0 0 2px var(--color-outline-focus);
outline: 0;
padding: 0;
-
- .inbox-topic-name a {
- box-shadow: inset 0 -3px 0 var(--color-outline-focus);
- }
}
.inbox-left-part {
@@ -264,7 +262,7 @@
having an underline focus will not work very well.
*/
.inbox-row:focus {
- box-shadow: inset 2px 0 0 0 var(--color-outline-focus);
+ box-shadow: inset 0 0 0 2px var(--color-outline-focus);
}
}