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.

typeahead: Improve link styling in typeahead suggestions.

Aditya Kumar Kasaudhanaabecf131c86
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index f2dc554fcd1..70bb5ed112e 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -964,6 +964,7 @@
/* Dropdown / Typeahead constants */
--color-dropdown-item: hsl(0deg 0% 20%);
+ --color-dropdown-item-link-underline: hsla(0deg 0% 20% 60%);
--color-active-dropdown-item: hsl(0deg 0% 0%);
--background-color-active-dropdown-item: hsl(220deg 12% 4.9% / 5%);
--background-color-active-typeahead-item: hsl(221.14deg 89.74% 92.35%);
@@ -1410,6 +1411,7 @@
/* Dropdown / Typeahead constants */
--color-dropdown-item: hsl(0deg 0% 75%);
+ --color-dropdown-item-link-underline: hsla(0deg 0% 75% 60%);
--color-active-dropdown-item: hsl(0deg 0% 90%);
--background-color-active-dropdown-item: hsl(220deg 12% 100% / 7%);
--background-color-active-typeahead-item: hsl(
diff --git a/web/styles/typeahead.css b/web/styles/typeahead.css
index d43be534300..25259e06e0b 100644
--- a/web/styles/typeahead.css
+++ b/web/styles/typeahead.css
@@ -93,6 +93,13 @@
text-overflow: ellipsis;
position: relative;
top: -1px;
+
+ & > a {
+ color: var(--color-dropdown-item);
+ text-decoration: underline 1px;
+ text-decoration-color: var(--color-dropdown-item-link-underline);
+ opacity: 0.6;
+ }
}
.autocomplete_secondary {