discourse/app/assets/stylesheets
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
..
common FEATURE: Add fullscreen button for code blocks (#16044) 2022-03-01 08:37:24 +10:00
desktop FEATURE: Add fullscreen button for code blocks (#16044) 2022-03-01 08:37:24 +10:00
mobile FEATURE: Add fullscreen button for code blocks (#16044) 2022-03-01 08:37:24 +10:00
vendor FEATURE: Allow theme tests to be run in production (take 2) (#12845) 2021-04-28 23:12:08 +03:00
admin.scss
color_definitions.scss UX: Styleguide changes & color variable additions (#15984) 2022-02-17 14:39:29 -06:00
common.scss DEV: refactor font sizing into css custom variables (#12746) 2021-04-28 17:21:59 -07:00
desktop_rtl.scss
desktop.scss DEV: Added support for custom site setting 'emoji_list' (#12414) 2021-04-07 15:32:05 +02:00
embed.scss DEV: Refactor font and category background importers (#12312) 2021-03-10 11:05:56 -05:00
ember_cli.scss DEV: Require Ember CLI to be used in development mode (#12738) 2021-04-29 14:13:36 -04:00
mobile_rtl.scss
mobile.scss DEV: Refactor font and category background importers (#12312) 2021-03-10 11:05:56 -05:00
publish_desktop_rtl.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_desktop.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_mobile_rtl.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_mobile.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish.scss DEV: Remove SCSS color vars fallbacks (#13035) 2021-05-12 08:56:15 -04:00
test_helper.scss FEATURE: Allow theme tests to be run in production (take 2) (#12845) 2021-04-28 23:12:08 +03:00
testem.scss DEV: Add colors/styling to Ember CLI and qunit tests (#12617) 2021-04-06 11:48:44 -04:00
wcag.scss FEATURE: Add last visit indication to topic view page. (#13471) 2021-07-05 14:17:31 +08:00
wizard.scss FIX: Align progress text (#15856) 2022-02-07 18:18:17 -06:00