zulip/web/styles
yogesh sirsat 953f026487 compose: Disable unneeded control buttons in preview mode.
Buttons which change the content in the compose textarea were so far
enabled even in preview mode, and would work, but those changes would
not be reflected in the visible preview. This is extremely confusing,
and can lead to the possibility of a user accidentally changing the
content of the compose textarea while previewing, and sending that.

Now we disable those buttons in preview mode, both when composing a new
message and when editing an existing one. We still show the tooltips,
but grey them out and make them unclickable.

Fixes: #20962
2023-09-13 15:09:16 -07:00
..
portico widgets: Rename confusing attribute name in `tabbed_sections.py`. 2023-08-31 11:55:28 -07:00
alerts.css dependencies: Upgrade JavaScript dependencies. 2023-07-21 15:58:42 -07:00
app_components.css css: Assign a variable to focus underline color of recent view. 2023-09-12 09:20:33 -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 compose: Disable unneeded control buttons in preview mode. 2023-09-13 15:09:16 -07:00
dark_theme.css topic_list: Add a CSS variable for the unmuted topic's color. 2023-09-11 17:12:21 -07:00
drafts.css drafts: Rename class name to provide more context. 2023-08-11 15:54:17 -07:00
hotspots.css css: Assign a variable to focus underline color of recent view. 2023-09-12 09:20:33 -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
inbox.css inbox: Show focus underline for non-dm rows. 2023-09-12 09:20:33 -07:00
informational_overlays.css css: Remove unnecessary CSS defined using table-condensed class. 2023-08-21 15:00:39 -07:00
input_pill.css UI redesign: Change background color. 2023-05-09 16:25:28 -07:00
left_sidebar.css inbox: Add new narrow. 2023-09-12 09:20:33 -07:00
lightbox.css css: Use 200 font weight instead of 100. 2023-07-06 17:57:37 -07:00
message_edit_history.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
message_row.css css_grid: Defensively prevent blowouts by using minmax(). 2023-08-30 15:30:40 -07:00
modal.css user_profile: Replace the id with class for pencil button. 2023-09-11 10:39:00 -07:00
popovers.css giphy: Fix giphy popover rendering on narrow screens. 2023-09-13 12:20:35 -07:00
print.css css: Rename .message_list to .message-feed. 2023-08-21 15:17:45 -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 emoji: Rename `reaction_button_visible`. 2023-09-07 14:44:18 -07:00
recent_view.css recent_view: Add table header to sort by unread count. 2023-09-13 14:58:13 -07:00
rendered_markdown.css bootstrap: Remove bootstrap CSS for <table> element. 2023-08-06 18:13:33 -07:00
right_sidebar.css bootstrap: Remove bootstrap CSS for input-append class. 2023-07-23 15:44:58 -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: Rename search_arrows to searchbox_container. 2023-07-23 15:27:53 -07:00
settings.css user_profile: Fix the gap between labels and input. 2023-09-11 10:39:00 -07:00
subscriptions.css stream_settings: Add 'Default stream' option in edit stream UI. 2023-08-09 14:38:52 -07:00
tooltips.css popovers: Ignore `data-reference-hidden` attribute for mobile popovers. 2023-09-07 14:44:18 -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: Remove box-shadow and use background-color to show focus. 2023-08-16 10:06:40 -07:00
zulip.css css: Assign a variable to focus underline color of recent view. 2023-09-12 09:20:33 -07:00