shiran
3efe032ebf
style(topic-cards): 移除卡片背景遮罩层并重置列表区域背景色
...
Discourse Theme / ci (push) Failing after 1s
- 移除了卡片元素的负z-index背景遮罩层
- 为列表区域添加了背景色重置样式
- 解决了背景颜色覆盖问题
- 优化了卡片显示效果
2026-02-20 13:19:24 +08:00
shiran
7cdbcb539e
feat(theme): 添加首页背景图片功能
...
Discourse Theme / ci (push) Failing after 0s
- 在设置中新增 home_bg_image 配置选项
- 实现主题 SCSS 中的背景图片样式逻辑
- 添加对首页背景图片的条件渲染支持
- 集成上传功能以支持自定义背景图片
- 设置默认值为空字符串以避免初始加载问题
- 添加中文描述文档以便用户理解功能用途
2026-02-20 13:16:48 +08:00
shiran
ddf40963aa
style(topic-cards): 优化卡片样式和过渡效果
...
Discourse Theme / ci (push) Failing after 1s
- 将过渡属性从特定属性改为 all 以简化动画效果
- 移除复杂的径向渐变背景和遮罩组合效果
- 添加列表容器的基础样式定义
- 为列表容器添加半透明白色背景层
2026-02-20 13:11:43 +08:00
shiran
9e9ec24d56
style(topic-cards): 更新话题卡片样式以增强视觉效果
...
Discourse Theme / ci (push) Failing after 1s
- 移除话题列表项的底部边框
- 替换原有的阴影效果为更现代的多层阴影设计
- 移除卡片边框并添加渐变背景遮罩层
- 添加悬停时的变换动画和阴影过渡效果
- 优化选中状态的阴影和高亮显示
- 调整悬停和选中状态的颜色与透明度参数
2026-02-20 09:36:53 +08:00
chapoi
35d4103757
UX: hide category image on categories page ( #192 )
2025-06-27 18:25:48 +02:00
Martin Brennan
abf22a6668
UX: Only hide welcome banner on mobile devices ( #189 )
2025-06-23 12:02:35 +02:00
chapoi
ffa86a0c46
UX: hide welcome banner ( #188 )
...
Until we move forward with the search-banner on mobile, the
welcome-message feels out of place. Hiding it for now.
2025-06-20 11:39:20 +02:00
Martin Brennan
bb512645d1
UX: Unhide topics footer-message ( #180 )
...
This needs to be unhidden so the changes in the following core PR are
visible in horizon:
https://github.com/discourse/discourse/pull/32669
2025-06-19 12:56:37 +02:00
chapoi
dac23d544c
UX: Categories restyling ( #184 )
...
Some CSS sprinkling for our most used category list formats:
### Desktop: Categories and Latest Topics
| Default | Horizon |
|--------|--------|
| |

|
### Desktop: Boxes with Subcategories
| Default | Horizon |
|--------|--------|
| 
| 
|
### Mobile: Categories with Featured Topics
| Default | Horizon |
|--------|--------|
| 
| 
|
2025-06-18 15:23:24 +02:00
chapoi
1e5f71473a
UX: remove default select state for keyboard nav on topic cards ( #186 )
...
The left-border select state when using keyboard navigation is already
overruled in Horizon, but when bulk-select is enabled, this still showed
up:

Fixed:

2025-06-18 15:22:31 +02:00
chapoi
6d8415579e
UX: fix topic cards layout for messages with has-replies class ( #183 )
...
The `grid-template-areas` were not correct on the messages page
---------
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com >
Co-authored-by: Martin Brennan <martin@discourse.org >
2025-06-18 13:34:26 +10:00
chapoi
2bcd04d4f4
UX: topic cards v3 ( #182 )
...
* Bringing back the OP
* Removed reason why topic appears (again) in topic list (="activity")
* Removed likes
* New layout with indention + moved all elements left (on desktop)
| Mobile | Desktop |
|--------|--------|
| 
| 
|
| 
| 
|
| 
| 
|
| 
| 
|
| 
| 
|
---------
Co-authored-by: Jordan Vidrine <jordan@jordanvidrine.com >
2025-06-13 11:08:57 +02:00
chapoi
14aa72ad99
UX: Mini fixes and tweaks ( #179 )
...
* Changing the category & tag dropdown back into their original form.
The breadcrumb idea isn't working well.
| BC | AC |
|--------|--------|
| 
| 
|
* Alignment fix in chat navbar drawer
| BC | AC |
|--------|--------|
| 
| 
|
2025-06-09 19:41:18 +02:00
Jarek Radosz
bf9fe07f67
DEV: Update linting config and run gjs-codemod ( #177 )
2025-06-06 12:15:57 +01:00
Jordan Vidrine
31249c4f27
UX: Remove unused line & fix ipad safari browser ( #176 )
2025-06-04 14:55:25 -05:00
Kris
581332c001
UX: fix mobile timeline in PWA ( #174 )
2025-06-04 14:55:02 -04:00
chapoi
f5c4403423
UX: increase spacing of topic cards ( #175 )
...
Slightly bigger spacing to match the bigger avatars (bigger elements =>
more spacing to balance it out)
2025-06-04 16:04:11 +02:00
chapoi
b72a3c1e95
UX: Topic cards v2 ( #173 )
...
This is the second iteration on the topic card design, in which we bring
back the OP and change the layout.
**Changes**:
* Show OP avatar
* Remove activity avatar and replace by reply icon
* Remove activity icon background
* Move category tag to top left
* Replace long activity copy ("…replied at…") with dot separator
* Change date formatting to `tiny`
* Adjust bulk select styling to new layout + align checkbox to top on
mobile VS keep centred on desktop
* Why: On desktop, the avatar is taking 2 lines (usually) and aligning
the checkbox vertically looks nice. Exception for excerpts, but since
that's only available for pinned topics atm that's a low occurrence. On
mobile, the topic card is 3 lines, with a smaller avatar, which makes
the checkbox "float" around a bit when centred. Hence aligning it to the
top, which for solid avatars aligns nicely too.
* CSS refactor: grid, breakpoints
Messages/bookmarks have not been changed.
| Description | Visual |
|--------|--------|
| Large topic list | |
| Large bulk edit | 
|
| Medium topic list | 
|
| Medium bulk edit | 
|
| Small topic list | 
|
| Small bulk edit | 
|
| Messages page (remains unchanged) | 
|
| Bookmark page (remains unchanged) | 
|
2025-06-04 14:50:41 +02:00
Jordan Vidrine
0ed3912d63
UX: Fix topic card messages ( #172 )
2025-05-30 08:39:39 -05:00
Jordan Vidrine
fc6d1b5b9d
UX: RTL positioning of boxed view ( #170 )
2025-05-28 15:42:57 -05:00
Kris
04d8684b59
UX: fix new topic badge in topic list ( #167 )
...
The theme implements this in a centralized way, so we need to remove the
core implementation.
before:

after:

2025-05-21 10:54:24 -04:00
Kris
79be7731b7
UX: adjust event date alignment with topic titles ( #165 )
...
this regressed slightly with core changes
before:

after:

2025-05-21 09:59:21 -04:00
David Taylor
fe1cb262dc
UX: Allow clicking anywhere on the topic-list card ( #166 )
2025-05-21 13:37:21 +01:00
chapoi
25cc070a5b
UX: fix low z-index for popup after changes to composer-drawer interaction ( #164 )
...
Fixing:

Consequence of #161
2025-05-20 14:22:21 +02:00
Kris
7982d60967
UX: add compatibility with the top contributors sidebar ( #162 )
...
Improves compatibility with
https://meta.discourse.org/t/top-contributors-sidebar/215110
Before:

After:

---------
Co-authored-by: Jarek Radosz <jarek@cvx.dev >
2025-05-19 11:26:11 -04:00
chapoi
90eae2d3f1
Chat drawer and peakmode ( #161 )
...
To avoid very strange positioning and sizing, I'm opting to keep the
chat in front of the composer, when in peak-mode.
Still not ideal, but better than before.

⬇️

Due to the way peakmode positions itself, it's impossible to place the
chat flush next to it. And due to the way resizing works (frop the top
left, anchored right), it also can't be placed on any left-handed
alignment.
2025-05-16 12:24:05 +02:00
Kris
86d0c03b03
UX: handle opening composer from slide-in hamburger menu ( #159 )
2025-05-12 12:04:38 -04:00
Kris
d749920db7
UX: improve mobile event badge positioning ( #156 )
2025-05-10 13:46:15 -04:00
Keegan George
eda0db294d
UX: Improve styles for add translation composer view ( #158 )
...
## 🔍 Overview
This update ensures styles in composer look appropriate for the new
composer add translation view (recently added here:
https://github.com/discourse/discourse/pull/32564 )
## 📷 Screenshots
### ← Before
<img width="1473" alt="Screenshot 2025-05-08 at 11 58 54"
src="https://github.com/user-attachments/assets/76fec3f6-1cbf-4b57-a765-c2cf003ba177 "
/>
### → After
<img width="1476" alt="Screenshot 2025-05-08 at 11 58 42"
src="https://github.com/user-attachments/assets/f17e8dc5-3230-4a1f-9072-28a3c7415958 "
/>
2025-05-08 12:17:42 -07:00
Jarek Radosz
c2b71c04a8
DEV: Update linting ( #153 )
2025-05-06 16:53:12 +01:00
Kris
ec532d356e
UX: exclude wizard from #main-outlet background styling ( #155 )
...
Only a tiny sliver of the background shows currently, which seems
accidental
Before:

After:

2025-05-05 12:35:14 -04:00
Kris
755a666dae
UX: hide bootstrap mode from header ( #154 )
...
There are multiple header elements that get in the way, and we can't
really manage the position of this button well without a better
full-width solution... so I think it makes sense to hide it for now
Before:

After:

2025-05-05 12:35:00 -04:00
Keegan George
4b159e9296
UX: New topic button shouldn't appear in AI conversations page ( #152 )
...
## 🔍 Overview
This update ensures that the sidebar new topic button isn't shown on the
AI conversations sidebar. It also styles the new conversation button to
make use of Horizon's accent color
## 📸 Screenshots
### ← Before
<img width="1228" alt="Screenshot 2025-05-02 at 14 16 41"
src="https://github.com/user-attachments/assets/b187d31e-881a-4c34-b663-f4b55b8bc565 "
/>
### → After
<img width="1232" alt="Screenshot 2025-05-02 at 14 15 34"
src="https://github.com/user-attachments/assets/987cfba3-ad7c-49a9-80d8-14c3e52dd5c0 "
/>
2025-05-05 09:27:28 -07:00
Kris
e53184ac28
UX: fix experimental new new positioning ( #151 )
...
These styles were added for bulk select positioning, but turns out they
weren't needed anyway
before:

after:

2025-04-25 11:35:00 -04:00
Kris
a6293aa24b
UX: text logo line-height fix ( #150 )
...
Minor adjustment to avoid clipping descenders
before:

after:

2025-04-24 14:22:07 -04:00
Kris
45cc99a2e0
UX: better full-width support for wide logos ( #149 )
...
Helps avoid situations like this:

Some examples...
text-logos



image-logos



2025-04-24 14:04:06 -04:00
Jordan Vidrine
806b800f1f
UX: adjust styles to meet core changes ( #148 )
2025-04-23 14:44:00 -05:00
Jordan Vidrine
70af5fc68a
UX: Adjust spacing for more room ( #146 )
2025-04-21 16:36:03 -05:00
Kris
b1a9389a04
UX: minor breakpoint gap fix ( #147 )
...
Reported here:
https://meta.discourse.org/t/help-us-test-horizon-our-newest-theme/360484/55?u=awesomerobot
We have a 1px gap here where we get kind of a half-container
Before:

After:

2025-04-18 14:08:34 -04:00
Martin Brennan
f9603a24ea
DEV: Rename search -> welcome banner ( #144 )
...
Horizon is targeting the welcome banner not the search component
anymore, update CSS class names and rename the file to make this clearer
2025-04-18 12:23:44 +10:00
Jordan Vidrine
bf2fb463ae
UX: Modernize spacing a bit ( #145 )
2025-04-17 21:16:43 -05:00
Kris
d67ec3ac5f
FIX: remove SCSS mixed declarations ( #143 )
...
This fixes the SCSS mixed declaration errors (most noticeable while
running rspec)
2025-04-17 17:27:13 -04:00
Kris
cf9fd864dd
DEV: implement composer peek mode directly in theme ( #141 )
...
This implements the [composer
peek](https://github.com/discourse/composer-peek ) component directly
into the theme, and makes some minor adjustments to match theme styles:

2025-04-16 17:10:23 -04:00
Kris
36899bbbaa
UX: make theme compatible with AI gists ( #140 )
...
Before (only pinned topic excerpts, no gist toggle):

After (gists can be toggled on):

This puts the gists in the same place as the theme places excerpts and
uses the same styles. It also follows the theme pattern of hiding
excerpts/gists on mobile.
2025-04-16 15:34:52 -04:00
Jordan Vidrine
651cf2794c
UX: remove square avatar from topic posts ( #139 )
2025-04-16 12:04:41 -05:00
Jordan Vidrine
e9e166ca3a
FIX: Search header index ( #138 )
2025-04-15 20:46:27 -05:00
Martin Brennan
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 Vidrine
7ab29303dd
UX: Mobile composer fixes ( #136 )
2025-04-14 16:33:30 -05:00
Kris
776071fdb0
UX: adjust disabled create button tooltip styles ( #135 )
2025-04-14 16:22:17 -05:00
Jordan Vidrine
2d193b4d7a
UX: Quick fixes ( #134 )
2025-04-14 15:52:12 -05:00