Commit Graph

159 Commits

Author SHA1 Message Date
Maneesh Shukla
975f86581f banners: Redesign "configure your email" demo organization banners.
Fixes: #34448.
2025-05-13 12:04:24 -07:00
Lauryn Menard
fde3e01236 demo-orgs: Use banners for org settings demo organization warning.
Migrate the demo organization warning that's shown on all the tabs
for organization settings to use the shared banner code.

Updates links in the current warning to be buttons in the banner,
and matches the navbar alert banner for demo organizations.

Fixes #34447.
2025-05-07 16:48:12 -07:00
Karl Stolley
f20aed49d4 page_loader: Correct hard-coded pixel values. 2025-04-28 16:08:53 -07:00
Karl Stolley
3671a6a39c decorated_channels: Rename privacy-icon class. 2025-04-22 11:26:12 -07:00
evykassirer
e84c318e10 settings: Move stream_sorter_toggle CSS to subscriptions stylesheet.
It's only used for subscriptions so it makes more sense for it to
live there.
2025-04-11 10:27:25 -07:00
Maneesh Shukla
9e2e2da7e1 organization-settings: Redesign edit and delete buttons in settings tables.
Fixes part of #34200.
2025-04-10 11:32:43 -07:00
Sayam Samal
b115368a81 settings: Update save button style when "Saved" is shown.
This commit updates the save button style in the settings component to
ensure that the button appears as a borderless attention + success
intent action button alongside the "Saved" label, when an updated
setting is saved.
2025-04-07 18:22:16 -07:00
Sayam Samal
616a957842 settings: Improve subsection header styling.
This commit makes all the subsection header as flex boxes, and improves
it's CSS styling.
2025-04-07 18:22:16 -07:00
Sayam Samal
6bf2887991 settings: Update save and discard buttons to redesigned button styles.
This commit updates the save and discard buttons in the setting modals
to use redesigned button styles along with the new loading indicator.
2025-04-07 18:22:16 -07:00
Karl Stolley
30752a0011 dark_theme: Set color variables for overlays, non-empty indicators. 2025-04-04 14:04:52 -07:00
Karl Stolley
8b9942c015 dark_theme: Remove unused colorblock selectors.
None of these selectors appear in any template or JavaScript.
2025-04-04 14:04:52 -07:00
Karl Stolley
c72e9bed36 dark_theme: Clean up .placeholder definitions. 2025-04-04 14:04:52 -07:00
Karl Stolley
76401a19c9 settings_tables: Prevent header/icon collapse onto second line. 2025-04-04 10:59:28 -07:00
Karl Stolley
728b9f18df settings_tables: Simplify table header background colors.
By moving the header background to <thead>, we achieve two things:

1. We avoid a bug in Chrome where the table background bled through
   between header cells.
2. We no longer need `!important` on the data-sort hover, because
   there is no longer a color set there.
2025-04-04 10:59:28 -07:00
Karl Stolley
e5a00b3163 settings_tables: Set variables for header colors. 2025-04-04 10:59:28 -07:00
Anders Kaseorg
f2a171a881 Revert "css: Remove unused transition property."
This reverts commit 7d08f32ebb.

The commit message is factually incorrect, and the change broke our
fade-out transitions.  visibility can be transitioned, and there is a
specific rule for what that means.  This is critical for transitioning
opacity in the fade-out direction: if you fail to also transition
visibility, then the element disappears immediately regardless of
opacity.

https://developer.mozilla.org/en-US/docs/Web/CSS/visibility#interpolation

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-04-03 10:59:08 -07:00
Aman Agrawal
7d08f32ebb css: Remove unused transition property.
`visibility` cannot be animated since it is a boolean.

This fixes composition failure error in Chrome dev tools when
these animations are triggered that the animation has
no visible change.
2025-04-03 10:44:33 -07:00
Karl Stolley
ede630a6dd settings: Add new sort arrows to all settings tables. 2025-04-02 13:14:07 -07:00
evykassirer
f00cc8f14d settings: Center save/discard buttons vertically. 2025-03-14 16:35:05 -07:00
evykassirer
6f9ad9e74b settings: Wrap save/discard buttons as a unit on narrow screens. 2025-03-14 16:35:05 -07:00
evykassirer
3cb9ebd4a0 settings: Clean up styling for save/discard buttons.
This commit scales the X icon with font-size, centers it more
consistently, and scales the button height with font-size.
2025-03-14 16:35:05 -07:00
Karl Stolley
e713bcb1db compose: Better align widget icons for long channel names. 2025-03-12 23:15:50 -07:00
evykassirer
82ee8ca7cc stream_settings: Center loading spinner, scale padding with font-size. 2025-03-12 16:32:15 -07:00
Sahil Batra
6f6059da73 personal_menu: Support changing information density settings.
This commit adds UI in personal popover menu for user to change
font-size and line-height.

Fixes part of #33186.
2025-03-10 16:07:37 -07:00
sanchi-t
423ee27a23 stream_privacy: Add archive icon for archived channels.
Archived channels are now displayed with an archived
icon.
2025-03-07 18:08:41 -08:00
Karl Stolley
370f3aa8d0 tables: Remove remaining padding on sort.
With the sort arrow icons no longer positioned absolutely, this
padding is unnecessary (icons now participate in the width).
2025-03-07 15:26:15 -08:00
Karl Stolley
e65b57cdbf tables: Remove unnecessary styles that interfere with centering. 2025-03-07 15:26:15 -08:00
Anders Kaseorg
e381dfd448 styles: Remove obsolete ‘transition: none …’ workaround.
https://github.com/kristerkari/stylelint-high-performance-animation/issues/216
was fixed upstream.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-03-04 15:30:11 -08:00
Sayam Samal
06abc0bcff saved_snippets: Improve saved snippets UI.
This commit improves the saved snippets UI through the following ways:
- Reduces the space between the saved snippet title and description for
  a more interconnected feel.
- Changes the delete icon from the old font-awesome icons to using the
  new icon button component.
- Adds line-clamping to the saved snippet description to display two
  lines of text instead of one, presenting the user with more context.
2025-03-04 10:36:15 -08:00
Sayam Samal
196fcd5c0a inline_topic_edit: Show invalid input error visually on empty topic.
This commit adds the `invalid-input` class to the inline topic edit
input element when the new topic name is considered empty as a result
of realm_mandatory_topics property being set to True. This adds the
red glow borders to the invalid input field, which visually
communicates that some thing is wrong with the new topic name.
2025-02-26 17:26:35 -08:00
Maneesh Shukla
3db2104fe9 drafts: Add a copy draft button.
This adds a button to the draft overlay that allows the user to copy
the draft to the clipboard.
2025-02-23 15:54:07 -08:00
evykassirer
2af6f6a0d5 dropdown: Move general rule for width to app_components.css. 2025-02-13 16:09:04 -08:00
evykassirer
9f9fc10e23 banners: Use em for font size. 2025-02-12 12:17:26 -08:00
Vector73
51b47f4233 dropdown_widget: Add sticky_bottom_option element.
Adds `sticky_bottom_option` element to the `dropdown_widget` to
support moving of "Add a new saved snippet" button to the bottom
sticky area of the dropdown for better accessibility and UX.
2025-01-30 09:46:32 -08:00
Jitendra Kumar
f96484eed5 style: Center the ⌘ symbol by replacing it with an icon.
This commit updates the keyboard shortcuts UI by replacing
the ⌘ symbol with a more symmetrically aligned icon.

Fixes: #32926
2025-01-24 16:48:26 -08:00
Harsh
c7dd259b9e styles: Remove 'old_clear_search_button' styles. 2025-01-07 17:22:47 -08:00
Harsh
92a02c7a18 left_sidebar: Use same 'zulip-icon-close' in all search-boxes. 2025-01-07 17:22:47 -08:00
Harsh
4bf1ce7c5e settings: Use 'zulip-icon-close' instead of 'fa-remove' in search box.
fixes #32598
2025-01-07 17:22:47 -08:00
Harsh
4b5e578b9f Rename "clear_search_button" to "old_clear_search_button".
This temporary change allows us to preserve these old styles
while iteratively move all the close buttons to new styles.
Once the migration is complete, `old_clear_search_button` won't
exist anymore and there will be new styles for `clear_search_button`.
2025-01-07 17:22:47 -08:00
Shubham Padia
213c9e6a7a css: Use em instead of base font size css variable for small buttons.
Clearing the pending TODO to use em instead of calc and the
`--base-font-size-px` variable.
2025-01-06 09:49:16 -08:00
Karl Stolley
f679edf967 user_names: Display users and status emoji inline in recents, inbox.
Fixes #29778
2024-12-17 11:01:21 -08:00
Saubhagya Patel
cb75feafbb css: Remove unused CSS.
This commit removes some unused CSS from the
`app_components.css` file.

Fixes part of #32168.
2024-12-12 13:06:18 -08:00
Sahil Batra
f4cbdd8c9c css: Remove unnecessary CSS for ".clear_search_button".
We can remove some of the CSS properties for
".clear_search_button" selectors because they
were being overridden by CSS set using more
specific selectors or by CSS set using
".bootstrap-btn" selector.

As a result, we can remove some the overriding
CSS as well where they were being used to set
default values.
2024-12-10 09:47:01 -08:00
Sayam Samal
543a6c51dc bootstrap: Rename btn-* -> button-* classes.
This commit is a part of the efforts to rename btn-related classes
and variables to align with Zulip's no-abbreviations policy and
streamline the search results.
2024-11-14 12:03:36 -08:00
Sayam Samal
467b36dc4a copy: Rename copy-btn -> copy-button.
This commit is a part of the efforts to rename btn-related classes
and variables to align with Zulip's no-abbreviations policy and
streamline the search results.
2024-11-14 12:03:36 -08:00
Karl Stolley
0e3be942b9 unread_count: Introduce classes for different counts.
This includes more prominent quiet counts, with increased
font-weight and, in dark mode, a brighter text color.
2024-11-07 14:56:38 -08:00
Karl Stolley
ee63e836f8 marker_icons: Reduce opacity to spec on follow, mention icons. 2024-11-04 15:31:12 -08:00
Karl Stolley
eb31fdbe3c buttons: Shore up styles on a.button instances. 2024-10-29 10:41:32 -07:00
Karl Stolley
aaaa52c5c0 buttons: Ensure active buttons take .button:active background color. 2024-10-29 10:41:32 -07:00
Karl Stolley
8c90c9d68d modals: Set new background, border colors. 2024-10-25 15:39:13 -07:00