discourse/app/assets/stylesheets/common/base
Joe 994ca8f6de
FIX: Linear gradient with stops makes R2 confused (#17650)
Context: https://meta.discourse.org/t/the-theme-is-broken-in-right-to-left-languages-even-in-meta/233908

We use the R2 gem to do the magic RTL CSS conversion. There are cases where we feed it too much, and it gets confused. The issue here is that we use a linear gradient with CSS variables, an RGBA function, and we set the stops.

This makes R2 choke and causes it to return jumbled CSS, which means that any CSS that comes after that rule is junk and doesn't apply.

This PR removes the stops from the gradient. This shouldn't cause any visual changes since these are the default stops.

More explanation of the issue here: https://meta.discourse.org/t/user-card-will-not-open-on-the-mobile/171268/6?u=johani
2022-07-26 03:03:02 +08:00
..
_index.scss FEATURE: Replace hamburger dropdown with Sidebar when undock (#17600) 2022-07-22 13:06:47 +08:00
_topic-list.scss A11Y: Focus last viewed topic in topic lists (take 3) (#16257) 2022-03-23 13:03:56 +03:00
about.scss UX: More consistent table header styles, removing duplicate styles 2019-02-26 21:40:17 -05:00
activation.scss UX: better account-created page (#17452) 2022-07-14 20:43:00 +05:30
alert.scss UX: Fix z-index for new topic alert (#13676) 2021-07-09 15:22:30 -04:00
bbcode.scss remove built-in support for bbcode size 2016-03-27 09:29:27 -07:00
cat_reorder.scss UX: Increase width & center category reorder input (#10928) 2020-10-15 14:42:42 +11:00
category-list.scss FEATURE: Add mobile support for subcategories-with-featured-topics (#16118) 2022-03-08 22:06:27 +00:00
code_highlighting.scss UX: update hljs-builtin-name highlight (#16859) 2022-05-18 15:55:40 +02:00
colorpicker.scss FEATURE: Use native color-picker (#15748) 2022-02-01 11:18:13 -03:00
compose.scss FIX: Use CSS transition to make room for composer (#16750) 2022-05-17 22:44:25 +03:00
composer-user-selector.scss UX: Reducing usage of btn-small, simplifying styles 2019-01-11 19:41:09 -05:00
crawler_layout.scss FIX: Mobile usability issues in crawler view (#17465) 2022-07-13 11:59:16 +08:00
d-icon.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
d-popover.scss UX: update color on arrow tippy box (#17263) 2022-06-28 13:25:40 +02:00
directory.scss UX: Normalize sizing for inputs, buttons, dropdowns (#14226) 2021-09-09 11:01:56 -04:00
discourse.scss FIX: CSS tweak and production position fix for miniprofiler (#17493) 2022-07-14 13:03:43 +02:00
edit-category.scss FEATURE: Allow multiple required tag groups for a category (#16381) 2022-04-06 14:08:06 +01:00
edit-topic-timer-modal.scss UX: Normalize sizing for inputs, buttons, dropdowns (#14226) 2021-09-09 11:01:56 -04:00
ember-select.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
emoji.scss UX: Larger images in mobile emoji picker (#17013) 2022-06-07 12:00:09 -04:00
empty-state.scss FIX: Small tweaks to "no messages" education (#12588) 2021-04-07 09:28:10 +10:00
exception.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
explain-reviewable.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
faqs.scss UX: more consistent mobile spacing (#13297) 2021-06-07 13:22:28 -04:00
group.scss FIX: Make group members bulk operations consistent (#17561) 2022-07-20 16:54:21 +03:00
groups.scss UX: improve group page grid sizes (#17208) 2022-06-22 17:14:22 -04:00
header.scss UX: only transition header on sidebar toggle (#17646) 2022-07-25 13:27:56 -04:00
history.scss Fix CSS for collapsed table cells when showing insertion in Raw mode (#12489) 2021-03-23 10:43:25 +01:00
lightbox.scss FIX: Do not add CSS transition effect to animated images (#12803) 2021-04-22 14:05:48 -04:00
login.scss UX: better account-created page (#17452) 2022-07-14 20:43:00 +05:30
magnific-popup.scss FEATURE: Add link to original image in lightbox (#15640) 2022-03-08 19:39:46 +02:00
menu-panel.scss UX: make sidebar hamburger menu occupy full width (#17649) 2022-07-25 14:18:57 -04:00
modal.scss DEV: Minor fixes to json schema editor styling (#16634) 2022-05-05 09:52:58 +08:00
not-found.scss FEATURE: Add site setting to show more detailed 404 errors. (#8014) 2019-10-08 14:15:08 +03:00
onebox.scss UX: Prevent jitter in some onebox images (#17611) 2022-07-22 17:14:28 +08:00
personal-message.scss UX: prioritize moderator bg color in PMs (#13833) 2021-07-23 13:06:48 -04:00
popup-menu.scss UX: popup menu buttons need focus style (#11962) 2021-02-04 09:37:45 -05:00
redirection.scss FIX: show an error page on click tracking error 2018-03-17 00:33:11 +01:00
request-group-membership-form.scss UX: Split up group form into smaller sections. 2018-04-09 15:14:50 +08:00
request_access.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
reviewables.scss UX: Normalize sizing for inputs, buttons, dropdowns (#14226) 2021-09-09 11:01:56 -04:00
rtl.scss UX: Fix extra indent on lists when supporting mixed text direction (#15110) 2021-11-26 12:32:45 -05:00
search-menu.scss FEATURE: show recent searches in quick search panel (#15024) 2021-11-25 15:44:15 -05:00
search.scss UX: prevent user grid blowout on full page search (#16672) 2022-05-10 09:48:01 +08:00
share_link.scss UX: Move post date under title in share-modal (#16455) 2022-04-27 16:36:08 +03:00
shared-drafts.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
sidebar-footer.scss FIX: Linear gradient with stops makes R2 confused (#17650) 2022-07-26 03:03:02 +08:00
sidebar-section-link.scss UX: Properly size emoji in sidebar section link text (#17610) 2022-07-22 15:58:21 +08:00
sidebar-section.scss UX: Only hide section header icons when sidebar is pinned on Desktop (#17604) 2022-07-22 14:27:46 +08:00
sidebar.scss UX: Only hide section header icons when sidebar is pinned on Desktop (#17604) 2022-07-22 14:27:46 +08:00
tagging.scss FIX: use font-down 2022-01-05 10:25:39 +08:00
tooltip.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
topic-admin-menu.scss UX: Tweak topic-admin-menu alignment/size (#16564) 2022-04-26 16:02:46 +02:00
topic-post.scss Revert "UX: missing specificity (#17324)" (#17426) 2022-07-11 20:20:40 +02:00
topic.scss UX: core adjustments and styles for the experimental sidebar (#17271) 2022-06-29 10:49:01 +08:00
upload.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
user-badges.scss UX: core adjustments and styles for the experimental sidebar (#17271) 2022-06-29 10:49:01 +08:00
user.scss Fix user nav overflow bug on ipad (#16702) 2022-05-10 16:38:14 +01:00