zulip/web/styles
Palash Baderia 624fea2e8e upload_banner: Add a cancel button.
This commit adds a cancel button to the upload banner, replacing
the previous close icon. Now, the cancel button is used to cancel
the upload process, while the close icon is used to remove the
upload banner without interrupting the upload.

A new case has been added to the switch statement in the 'upload.js'
file to handle the functionality of hiding the banner called
'upload_banner_hide_button'.

Replaced the functionality of the 'compose_banner_close_banner' case
inside the switch statement with a new case called
'upload_banner_cancel_button'. The cancel button is now assigned
the selector 'upload_banner_cancel_button'.

`Cancel` button is only preset for banner which tracks
progress while a file is being uploaded.

To maintain consistency with other banners, the cancel button's
dimensions and color have been adjusted to match the style of other
buttons present in different banners.

Fixes: #21156
2023-07-06 16:11:09 -07:00
..
portico portico: Define variable for modal background color. 2023-07-03 21:49:34 -07:00
alerts.css alerts: Fix vertical alignment of "x" button. 2023-05-29 14:49:32 -07:00
app_components.css tooltips: Use tippy tooltips for drafts and schedule message overlays. 2023-06-13 16:49:54 -07:00
components.css bot_icon: Adjust bot-icon color for light and dark modes. 2023-06-23 14:43:22 -07:00
compose.css upload_banner: Add a cancel button. 2023-07-06 16:11:09 -07:00
dark_theme.css upload_banner: Add a cancel button. 2023-07-06 16:11:09 -07:00
drafts.css drafts: Add abstract classes for messages in an overlay. 2023-04-14 17:38:37 -07:00
hotspots.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
image_upload_widget.css image_upload_widget: Refactor style of upload_widget's preview_image. 2023-03-27 10:19:29 -07:00
informational_overlays.css modals: Fix background color bug from background color changes. 2023-05-23 21:40:11 -07:00
input_pill.css UI redesign: Change background color. 2023-05-09 16:25:28 -07:00
left_sidebar.css web-styles: Update references to "private message" and "PM". 2023-06-26 11:07:28 -07:00
lightbox.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
message_edit_history.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
message_row.css date_row: Expand padding around date reference. 2023-06-12 12:52:51 -07:00
modal.css streams: Warn when archiving a notification stream. 2023-07-06 16:04:11 -07:00
popovers.css giphy: Migrate Giphy popover to Tippy. 2023-07-05 14:43:19 -07:00
progress_bar.css refactor: Refactor progress_bar CSS to remove redundant code. 2023-04-05 15:47:14 -07:00
pygments.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
reactions.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
recent_topics.css css: Use a variable to track bottom_whitespace height. 2023-05-30 12:41:08 -07:00
rendered_markdown.css css: Move mention-pill colors under rendered markdown. 2023-05-23 12:57:24 -07:00
right_sidebar.css UI redesign: Change background color. 2023-05-09 16:25:28 -07:00
scheduled_messages.css scheduled_messages_overlay_ui: Use CSS to display no scheduled messages. 2023-05-01 22:45:03 -07:00
search.css search: Stop disabling and enabling the search close button. 2023-06-30 12:05:30 -07:00
settings.css settings: Remove settings_text_input class from url type inputs. 2023-06-23 11:53:38 -07:00
subscriptions.css stream_settings: Fix scroll at max-height. 2023-06-29 11:19:01 -07:00
tooltips.css hotkey-hint: Fix text not middle aligned at different zoom levels. 2023-05-31 00:23:57 -07:00
typing_notifications.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
user_circles.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
user_status.css css: Hyphenate .status-emoji selector. 2023-03-27 17:31:31 -07:00
widgets.css widgets: Add CSS to set width of inputs. 2023-03-27 22:34:30 -07:00
zulip.css stream_settings: Fix scroll at max-height. 2023-06-29 11:19:01 -07:00