Commit Graph
178 Commits
Author SHA1 Message Date
Martin BrennanandGitHub b23c4764a2 DEV: Put full width styles into their own file (#132)
Followup f1d5b69293

We want to make it super clear that this is to be removed when we merge
full width into core, keeping it in desktop.scss together with other
styles will make that harder.
2025-04-15 13:46:20 +10:00
Jordan VidrineandGitHub 7ab29303dd UX: Mobile composer fixes (#136) 2025-04-14 16:33:30 -05:00
KrisandGitHub 776071fdb0 UX: adjust disabled create button tooltip styles (#135) 2025-04-14 16:22:17 -05:00
Jordan VidrineandGitHub 2d193b4d7a UX: Quick fixes (#134) 2025-04-14 15:52:12 -05:00
Jordan VidrineandGitHub 24165a53a6 UX: Login layout fixes (#133) 2025-04-14 13:59:24 -05:00
KrisandGitHub 3a9917862d UX: main-outlet needs dynamic bottom padding when composer open (#119)
When the composer is open the `#main-outlet`'s bottom padding needs to
match the composer height, so the content behind the composer can be
scrolled into view.

Reported here:
https://meta.discourse.org/t/help-us-test-horizon-our-newest-theme/360484/26?u=awesomerobot
2025-04-14 09:06:42 -04:00
KrisandGitHub 0cd52c07fe UX: fix topic progress height (#118)
Before: 

![image](https://github.com/user-attachments/assets/b41d9c5f-6a7a-4cae-aa87-375e54b94bf9)


After:

![image](https://github.com/user-attachments/assets/e6969dcd-83b3-4e3c-a868-1dbd70ecf195)
2025-04-14 08:59:33 -04:00
KrisandGitHub 1e6a4a8a57 DEV: port sidebar new topic component into theme (#129)
This moves the [sidebar new topic button
component](https://github.com/discourse/discourse-sidebar-new-topic-button)
into the theme directly

If you have installed this theme previously, you should manually remove
the component.
2025-04-14 08:58:46 -04:00
Jordan VidrineandGitHub b40a5a6e9a UX: Adjust avatar spacing (#131) 2025-04-12 09:03:55 -05:00
Jordan VidrineandGitHub 3a0a5b0f30 UX: Fix chat backgrounds (#130) 2025-04-11 17:06:41 -05:00
Jordan VidrineandGitHub e3aed16e2b UX: remove gap on avatars in PM list (#128) 2025-04-11 15:47:12 -05:00
Jordan VidrineandGitHub 23f4362f7e UX: Visual fixes (#127) 2025-04-11 15:33:58 -05:00
KrisandGitHub f1d5b69293 DEV: port full-width component to be included directly (#126)
Removes the [full-width
component](https://github.com/discourse/discourse-full-width-component)
dependency by adding most of the code directly to the theme. There was
one grid definition in the CSS I ended up removing because it was
conflicting with an existing override in the theme.

Anyone who has previously installed the theme should manually remove the
full-width component from it.
2025-04-11 15:46:25 -04:00
Jordan VidrineandGitHub 18ffe04242 UX: New PM design (#125) 2025-04-11 13:43:17 -05:00
David TaylorandGitHub b220d87a0d DEV: Trigger basic-html view for unsupported browsers (#124) 2025-04-10 20:39:30 +01:00
KrisandGitHub 8e5cef819d UX: fix account activation layout (#123)
fixes this too-wide layout issue


![image](https://github.com/user-attachments/assets/9b2c8a1a-e395-44b5-acdb-cb289f69dcfb)
2025-04-10 13:19:52 -04:00
chapoiandGitHub 2653732bc3 UX: post notice styling (#122)
![CleanShot 2025-04-10 at 11 14
07@2x](https://github.com/user-attachments/assets/c5c8f918-fbf4-4a39-b65d-09ddf045fe74)
⬇️ 
![CleanShot 2025-04-10 at 11 13
28@2x](https://github.com/user-attachments/assets/449d824a-15e3-49fb-9acb-25cee76e8acb)
2025-04-10 13:56:17 +02:00
Jordan VidrineandGitHub 2a0f5ec599 UX: font set experimental screen styles (#121) 2025-04-09 12:12:10 -05:00
Loïc GuitautandGitHub 3c7ccc97a7 DEV: Add system spec to check core features are working fine (#117) 2025-04-09 15:41:21 +02:00
KrisandGitHub 2674364309 DEV: use wildcard selector for common container behavior (#120) 2025-04-08 16:01:08 -05:00
chapoiandGitHub 5299986ed1 UX: iteration for the timeline scroll design (#116)
Attempt to make the timeline less eye-drawing, while still enhancing the
feel of "this is a draggable area" by emphasising the handle. Also added
a slight decrease of width.

| Before | After |
|--------|--------|
| ![CleanShot 2025-04-07 at 20 17
29@2x](https://github.com/user-attachments/assets/7997a797-1ffa-43b7-94fa-010974aeae51)
| ![CleanShot 2025-04-07 at 20 17
02@2x](https://github.com/user-attachments/assets/7372e1e2-8530-4045-bcdf-0ef73aa6698e)
|
2025-04-08 18:31:10 +02:00
Jordan VidrineandGitHub 34b26abb6e UX: fix width (#114) 2025-04-04 14:04:58 -05:00
Jordan VidrineandGitHub c735718f1b DEV: Add more user logic (#113) 2025-04-04 11:47:00 -05:00
Jordan VidrineandGitHub cdcbffc483 UX: More color fixes (#111) 2025-04-03 16:13:23 -05:00
Jordan VidrineandGitHub d8c44934f4 UX: Theme name change (#112) 2025-04-03 16:13:02 -05:00
Martin BrennanandGitHub 00b2402cbb DEV: Core feature spec refinement (#106)
Followup e4b99976eb

This allows us to skip core feature specs more granularly,
since the topic ones work fine except create for example.

Also adds a topic create spec, since this theme uses the sidebar
new topic button component. We can rely on the /new-topic route
instead.
2025-04-03 13:40:27 +10:00
KrisandGitHub c9c468c677 UX: fix PM user input spacing (#110)
Before:


![image](https://github.com/user-attachments/assets/3327adce-b26e-4644-82fe-d4f9611ad8e0)

After:


![image](https://github.com/user-attachments/assets/33f6a819-fa34-40f1-98de-469ab0f161f0)
2025-04-02 15:07:51 -04:00
KrisandGitHub 85d94e9eca UX: fix cakeday & user directory containers (#109)
Before:


![image](https://github.com/user-attachments/assets/dbc14156-2def-42c1-bbc4-b2366a9b89fa)


![image](https://github.com/user-attachments/assets/92554725-ce2d-4756-9f9e-e49b91f0c227)


After:


![image](https://github.com/user-attachments/assets/a2c90617-6efa-4bdb-8149-cd7d5cea6e95)


![image](https://github.com/user-attachments/assets/2188f0be-58ef-4996-8628-57705cc6d52c)
2025-04-02 15:07:35 -04:00
Jordan VidrineandGitHub d0078cdd3e UX: Adjust icon colors (#108) 2025-04-02 10:50:37 -05:00
Jordan VidrineandGitHub 759fd0b218 UX: Header outline (#107) 2025-04-02 08:28:08 -05:00
Jordan VidrineandGitHub 1c85ae4626 UX: More accessible colors (#105) 2025-04-01 20:01:29 -05:00
Jordan VidrineandGitHub f4c6876923 UX: Topic excerpt fix (#104) 2025-04-01 15:09:04 -05:00
Martin BrennanandGitHub e4b99976eb DEV: Add core feature spec (#100) 2025-04-01 12:49:37 -05:00
chapoiandGitHub def09bcca5 UX: adapt topic card layout for bookmarks & assigned list (#97) 2025-04-01 12:48:52 -05:00
Jordan VidrineandGitHub 05d4b79fc9 UX: Add hover colors (#103) 2025-04-01 12:25:52 -05:00
KrisandGitHub 5570fb9feb UX: fix group page container, round border (#102)
Fixes the spacing on the group container and rounds the header 

Before:


![image](https://github.com/user-attachments/assets/3384841a-82b0-4f17-a0be-a32bd405bd29)


After:


![image](https://github.com/user-attachments/assets/1450cb2d-bd7a-4fb4-b7a8-b800b8b40d0d)
2025-04-01 12:50:19 -04:00
Jordan VidrineandGitHub 5bbba7cacc UX: Define header colors (#101) 2025-04-01 09:52:12 -05:00
Martin BrennanandGitHub 96da1d3439 FIX: Issues with FOUC and dark mode when switching palettes (#99)
Followup 6a4b979514

In this commit I changed how we load the selected palette
stylesheet so the system specs would know when the CSS is actually
loaded, however this introduced an issue where the user would see
a FOUC when switching palettes. I also introduced a bug where
if you chose to force dark mode then switched the palette, you would
see light mode instead.

This commit fixes both issues, by swapping the CSS link with a preloaded
one then waiting for the preload before switching the href of the
existing link, and removes `mode` shenanigans causing the light mode
issue.
2025-04-01 13:07:26 +10:00
KrisandGitHub 878da19552 UX: fix category nav padding on small screens (#98)
This adjusts the active state of the dropdown by employing negative
margin to compensate for the padding

before:

![image](https://github.com/user-attachments/assets/e8c8a544-3527-4d6c-a513-0291a6a15ab5)


after:

![image](https://github.com/user-attachments/assets/4a53a0ee-a07d-43b0-9ab6-3542d86bbe8c)
2025-03-31 17:02:30 -04:00
chapoiandGitHub 17bd1c2346 UX: fix chat border (#96) 2025-03-31 10:50:44 +02:00
Martin BrennanandGitHub 6a4b979514 FIX: Color palette switching when Horizon is not default (#95)
When Horizon is not the default theme, and the color palette
switcher is used, we were ending up in a broken CSS state because
the color definitions were not loaded correctly when calling
`/color-scheme-stylesheet/` to get the new stylesheet URLs.

The problem was that we were not giving the theme ID to this URL,
we were only doing `/color-scheme-stylesheet/:palette_id`, not
`/color-scheme-stylesheet/:palette_id/:theme_id`, so the theme
color definitions like the ones that define the background color
were not loaded.

This commit fixes the issue and also changes to recreating the
`<link>` tags for the CSS in the head so we can check if they
are loaded correctly for easier testing in system specs.
2025-03-31 18:23:07 +10:00
b4e451e64b DEV: Experimenting with using built in core color palettes for the color picking component (#71)
This PR is the beginning of converting the color picker to use built in
core color palettes.
The `color_schemes` defined in `about.json` are created in core when the
theme is imported,
and we then show all user-selectable color palettes in this sidebar
footer menu.

An important caveat here is that all of the Horizon themes must be
changed to `user_selectable`
otherwise they will not show up in the color palette selector in the
sidebar.

When choosing a color palette that also has a corresponding dark color
palette,
*both* light mode and dark mode are correctly saved with the color
palette(s) chosen,
using the color palette cookie we already have in core.

Anon users can also set a palette, which will be saved in a cookie.

---------

Co-authored-by: Sérgio Saquetim <saquetim@discourse.org>
Co-authored-by: Martin Brennan <martin@discourse.org>
Co-authored-by: Osama Sayegh <asooomaasoooma90@gmail.com>
2025-03-31 13:28:28 +10:00
chapoiandGitHub 0473f90cd9 Lower z-index of powered-by-discourse badge (#93) 2025-03-30 20:33:59 -05:00
Jordan VidrineandGitHub 3e3f410839 UX: More card fixes (#94) 2025-03-28 16:43:52 -05:00
Jordan VidrineandGitHub 2046f525d4 UX: More logic for title columns (#87) 2025-03-28 10:49:28 -05:00
chapoiandGitHub 9945f1d899 FIX: remove overflow prop (#91) 2025-03-28 08:27:36 -05:00
chapoiandGitHub f70524a44b UX: fix minimised draft bg colour for composer (#89)
Followup fix for #84
2025-03-28 14:17:45 +01:00
Martin BrennanandGitHub 0a416d317e FIX: Messed up CSS grid on messages list (#88)
This needs a better follow-up, but the messages topic list
is currently busted. Removing the overridden topic-list-item
grid for messages helps.
2025-03-28 12:39:49 +10:00
chapoiandGitHub 910bc855c1 Composer styling on desktop (#84) 2025-03-27 16:41:20 -05:00
chapoiandGitHub e20b83b79d Misc mobile fixes (#83) 2025-03-27 16:35:08 -05:00