discourse/app/assets/stylesheets/mobile
Martin Brennan ff96d541e9
FEATURE: Add fullscreen button for code blocks (#16044)
This commit extends the original copy-codeblocks initializer,
renaming it to codeblock-buttons, and adding another button
to make the code block fullscreen in a modal window. The fullscreen
code is then run through highlight.js.

This commit also moves much of the code out of the initializer
and into a reusable CodeblockButtons class, so it can also be used
in the fullscreen code modal for the copy + paste button.

The fullscreen button will not be shown if there is no scroll overflow
in the code block, nor will it be shown on mobile. This commit also
changes the fullscreen table button to not show on mobile.

This will make long lines of code much easier to read and interact
with. This is gated behind the same `show_copy_button_on_codeblocks`
site setting.
2022-03-01 08:37:24 +10:00
..
components UX: Make banner full-width (#15038) 2021-11-22 19:43:45 +01:00
select-kit DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
_index.scss FEATURE: ability to add description to tags (#15125) 2021-12-01 09:18:56 +11:00
admin_badges.scss General admin style cleanup 2019-10-04 13:25:54 -04:00
admin_customize.scss DEV: Clean up some styles (#14374) 2021-09-20 09:52:03 -04:00
admin_report_counters.scss FIX: quality/bugfix dashboard/reports pass (#6283) 2018-08-17 16:19:25 +02:00
admin_report_table.scss DEV: allows reports to display an html title (#12687) 2021-04-22 13:38:10 +02:00
admin_report.scss FIX: quality/bugfix dashboard/reports pass (#6283) 2018-08-17 16:19:25 +02:00
admin_reports.scss FIX: IE11 layout glitches 2019-01-21 13:40:55 -05:00
alert.scss UX: margin improvement for mobile alerts 2021-06-25 09:18:06 +08:00
buttons.scss Mobile SCSS cleanup and removing unused styles 2019-01-23 14:36:53 -05:00
compose.scss FIX: Composer fields on small desktop sizes (#15729) 2022-02-01 21:33:06 +01:00
dashboard.scss UX: Styling adjustments for admin new features (#12189) 2021-02-23 11:58:20 -05:00
directory.scss FEATURE: Add group filter to user directory (#13330) 2021-06-08 13:20:08 -05:00
discourse.scss FIX: Mobile nav styling (#14309) 2021-09-10 15:13:26 -04:00
edit-category.scss Add category breadcrumbs to edit category page (#13126) 2021-05-25 13:40:11 -05:00
emoji.scss UX: improves picker on automatic dark themes (#10515) 2020-08-24 15:04:11 +02:00
group.scss UX: Fix tab groups editing layout issues on mobile (#14329) 2021-09-14 09:55:40 -04:00
header.scss REFACTOR: Remove position fixed from the header and use sticky instead (#10781) 2020-10-19 17:26:38 -04:00
history.scss UX: History controls should use nav-pill styles (#13904) 2021-07-30 19:52:15 -04:00
lightbox.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
login.scss UX: Fix login header z-index (#15848) 2022-02-07 13:31:03 -06:00
menu-panel.scss UX: prevent user menu overflow on tiny screens (#15964) 2022-02-15 20:13:11 -05:00
modal.scss DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
personal-message.scss FEATURE: New style for personal messages (#13800) 2021-07-21 10:41:04 -04:00
push-notifications-mobile.scss Feature: Push notifications for Android (#5792) 2018-05-04 15:31:48 -07:00
reviewables.scss UX: Fix date input display in iOS (#14307) 2021-09-10 15:13:45 -04:00
ring.scss UX: Reduce number of words used. 2016-11-16 12:44:22 +08:00
search.scss UX: Fix topic status icon size in mobile search results (#15251) 2021-12-09 14:32:12 -05:00
tagging.scss FEATURE: ability to add description to tags (#15125) 2021-12-01 09:18:56 +11:00
topic-list.scss UX: update navigation-container scaling & wrapping (#15372) 2021-12-20 17:08:03 -05:00
topic-post.scss FEATURE: Add fullscreen button for code blocks (#16044) 2022-03-01 08:37:24 +10:00
topic.scss UX: Prevent overflow on mobile timeline dates (#15182) 2021-12-03 13:48:26 -05:00
upload.scss FEATURE: use native file picker in composer (#13552) 2021-06-30 12:45:47 +04:00
user-badges.scss UX: Improve user profile header layout on mobile 2019-03-20 14:56:34 -04:00
user.scss UX: Change layout of invites page to match other user pages (#14520) 2021-10-05 15:30:31 -05:00