Commit Graph

3019 Commits

Author SHA1 Message Date
Karl Stolley
8022e26ed4 search_pills: Increase opacity in dark mode. 2025-09-09 12:49:59 -07:00
Sayam Samal
fa154b675d dark_theme: Clean up feedback container styles.
The feedback container doesn't have a border so it doesn't make sense
to have a border color defined for the dark theme, and the hover color
change on the `a` tag was an unintended side effect of
commit d73a5d06c0, which while correcting
the hover effect on the typeaheads, also affected the link hover styles
in the feedback container.

This commit, due the reasons mentioned above, removes the entire CSS
block related to the feedback container from web/styles/dark_theme.css.

Fixes part of #35880.
2025-09-09 09:21:36 -07:00
Sayam Samal
f724ad7a33 dark_theme: Clean up read receipts modal styles.
Fixes part of #35880.
2025-09-09 09:21:16 -07:00
Aman Agrawal
39b560e611 inbox: Remove empty space below filters for hidden folders.
Hidden folders occupied space due to bottom margin.

Fixed by moving the margin to elements which have `display: none`
property so that margin is removed.
2025-09-05 10:35:38 -07:00
Rakshit
8814a557a2 settings: Abbreviate long bot owner names in bot management modal.
Previously, long owner names could wrap onto two lines in the bot
management modal, breaking the layout. This commit adds CSS to keep
names on a single line and abbreviate with an ellipsis if too long.

Fixes #23266.
2025-09-03 17:38:55 -07:00
Karl Stolley
be53f22fff layout: Tweak dropdown for correct icon-label alignment. 2025-09-03 17:37:14 -07:00
Karl Stolley
f5d3834dbf recents: Match filter dropdown states with filter input. 2025-08-29 11:32:24 -07:00
Karl Stolley
d90a1d8a2e recents: Match filters to filter-topic input. 2025-08-29 11:32:24 -07:00
Aman Agrawal
77d8140eb2 left_sidebar: Fix muted channel visible in collapsed folder on search.
While searching in left sidebar, if you collapse a folder, muted
or inactive channels are still visible.

This is due specificity of hiding the channel when folder is
collapsed was lower than that of showing it when a search
is active.

Fixed by increasing the specificity of hiding it when folder
is collapsed.
2025-08-29 10:27:09 -07:00
Karl Stolley
71fcee5093 me_messages: Don't apply an ellipsis to me messages. 2025-08-28 15:20:11 -07:00
Karl Stolley
165c47cb14 compose: Ensure textarea is hidden in compose preview.
This corrects a subtle bug where being zoomed in in
a narrow window causes textarea bleedthrough behind
elements like the audio player.
2025-08-28 15:20:11 -07:00
Karl Stolley
8a40b0699a audio: Present download button with tooltip.
Fixes #35636.
2025-08-28 15:20:11 -07:00
Karl Stolley
cacd73fd8b audio: Present audio player in wrapped element. 2025-08-28 15:20:11 -07:00
Karl Stolley
3787fb3b02 message_list: Process me-messages as having message content. 2025-08-28 15:20:11 -07:00
Karl Stolley
2660c876fa recents: Align filter tops top left, right sidebars. 2025-08-28 10:11:25 -07:00
Karl Stolley
b71352c4dc inbox: Align filters to left, right sidebars. 2025-08-28 10:11:25 -07:00
Karl Stolley
a5ab61f83a right_sidebar: Eliminate gap between filter, vdots area. 2025-08-28 10:11:25 -07:00
Karl Stolley
545b14abfa right_sidebar: Establish last-item/next-heading concord. 2025-08-28 10:11:25 -07:00
Karl Stolley
4f08718163 sidebars: Add easily adjustable space below sidebar filters. 2025-08-28 10:11:25 -07:00
Karl Stolley
b3fb672b5d sidebars: Bring left, right sidebar tops into concord. 2025-08-28 10:11:25 -07:00
Karl Stolley
176ba669c2 left_sidebar: Zero out space below Views. 2025-08-28 10:11:25 -07:00
Aman Agrawal
2671aff7c3 left_sidebar: Allow user to navigation on section headers. 2025-08-28 10:00:59 -07:00
Aman Agrawal
693e86746e header-avatar: Remove background and border around loaded image. 2025-08-28 10:00:04 -07:00
Evy Kassirer
258797c2fb app_components: Use variable for default dropdown widget button.
Followup to https://github.com/zulip/zulip/pull/33297/files#r1951862116
2025-08-28 09:58:59 -07:00
Sahil Batra
ead413f9f8 banners: Apply text-align property to banner-label element.
Adding "text-align: start" css to banner-label element makes
sure that the banner text is not aligned as per the alignment
of parent element, as we require left alignment of text for
all the banners. Only navbar banners have text align in center
but that is handled by adjusting the flex layout of the
banner-content, parent of banner-label, element.
2025-08-28 09:46:52 -07:00
Pratik Chanda
cef1bc487e css: Fix slow-send-spinner not applying on all messagebox-content.
Earlier, slow-send-spinner was working correctly for message with
messagebox-includes-sender. Any subsequent messages with
slow-send-spinner would result in broken animated because of rules
not applying properly.

This commit fixes this behaviour by applying the rules for all
messagebox-content and fixing the animation.
2025-08-27 12:57:23 -07:00
Aman Agrawal
3e7e81581c inbox: Show muted icon for muted channels. 2025-08-27 10:30:12 -07:00
Shubham Padia
5938f685ad starlight_help: Display gradient for the idle status icon.
Fixes #35496.

We were displaying a solid color until we figured out how to accurately
display the gradient in the SVG itself.
2025-08-19 23:40:51 -07:00
Anders Kaseorg
72e762f075 stylelint: Fix property-no-deprecated.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-14 21:37:50 -07:00
Anders Kaseorg
1539a23af0 stylelint: Fix nesting-selector-no-missing-scoping-root.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-14 21:37:50 -07:00
Rakshit
1a9d8acd40 settings: Use monospace font for displaying API key.
Previously, the API key was shown using a variable-width font, making
characters harder to distinguish. This change applies a monospace font to
improve readability and visual consistency.

Fixes #35189.

Co-authored-by: rxkshit04 <rakshitatwork@gmail.com>
Co-authored-by: cpu-ram <petr.stepanenko@gmail.com>
2025-08-13 14:14:04 -07:00
Karl Stolley
3df21d8780 left_sidebar: Ensure home view unreads are shown on hover. 2025-08-13 13:59:13 -07:00
Karl Stolley
2174f55b87 left_sidebar: Correct unread-pulse on collapsed views. 2025-08-13 13:59:13 -07:00
Karl Stolley
0b13129f54 left_sidebar: Correct no-alpha color to match home view.
This corrects what's probably a very long-standing
regression left over from past experiments with
attention levels on different unread counters.
2025-08-13 13:59:13 -07:00
Maneesh Shukla
bfdd28c638 banners: Hide empty banner-action-buttons using CSS.
Previously, the action buttons container was only hidden via
conditional rendering in the template. This commit adds a CSS-based
approach to also hide the container when it becomes empty, using the
:empty pseudo-class. This ensures correct behavior if we later have a
class of banners where the buttons area is dynamically updated, and
buttons are removed dynamically.
2025-08-13 10:31:18 -07:00
Karl Stolley
b7ac8ea5d8 left_sidebar: Suppress home-view dot with zero unreads. 2025-08-13 09:57:33 -07:00
Karl Stolley
0aa2baa9ca left_sidebar: Remove z-index from sidebar-search.
Now that the left-sidebar filter sits atop the area,
it's no longer necessary to set a z-index here.

This also fixes a bug where a hovered unread in the
collapsed views would be clipped by the filter box
above.
2025-08-13 09:57:33 -07:00
apoorvapendse
68ea286ced links: Fix glitchy underlines in left sidebar.
This fixes the underlines and blue color that are
visible when selecting multiple topics/channels.

Comment: https://github.com/zulip/zulip/pull/34977#issuecomment-3181802391
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-13 00:11:57 -07:00
Evy Kassirer
ef3a68961d left_sidebar: Show add-stream icon when focused during keyboard navigation. 2025-08-12 19:24:46 -07:00
Evy Kassirer
fd3c1977a9 left_sidebar: Hide mention indicator on expanded folder except on hover. 2025-08-12 19:24:29 -07:00
Evy Kassirer
4e930bf660 ui_util: Toggle classname for unread mentions instead of using hide/show. 2025-08-12 19:24:29 -07:00
apoorvapendse
1001c0d60a left_sidebar: Improve text selection for channel names.
Fixes:
https://chat.zulip.org/#narrow/channel/9-issues/topic/.E2.9C.94.20.F0.9F.8E.AF.20focus.20bug.20with.20.22first.20unread.22.20channel.20click.20policy/near/2222421.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-12 17:40:00 -07:00
apoorvapendse
ab01079f40 message_header: Improve text selection.
Fixes: #34959.
2025-08-12 17:40:00 -07:00
apoorvapendse
14231e9fe2 left_sidebar: Improve text selection in buddy list.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-12 17:40:00 -07:00
apoorvapendse
0bc1bdda86 left_sidebar: Improve text selection for dm box.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-12 17:40:00 -07:00
apoorvapendse
4288734030 left_sidebar: Improve text selection for topic text.
Fixes: #34959.

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-12 17:40:00 -07:00
Tim Abbott
ed97ae3c96 settings: Improve textarea starting heights.
Having the textarea not be super small greatly reduces the temptation
to immediately resize it when working with it.

This helps reduce the impact of #35663.
2025-08-12 17:09:01 -07:00
Tim Abbott
b13019bc7b invite: Fix resizing of custom message textarea.
Horizontal resizing could overflow the region, which looked busted, or
shrink it, which is useless.

Fixes part of #35663.
2025-08-12 17:09:01 -07:00
Karl Stolley
39b69ab90a inbox: Move lefthand padding to avoid disturbing grid.
This fixes a subtle alignment issue with unreads in
the DM header row versus the actual DM rows that
follow.
2025-08-12 14:06:37 -07:00
Karl Stolley
39025636b1 dropdown_lists: Scope alignment tweaks to folder selector. 2025-08-12 13:45:48 -07:00