Kris
19ec341bce
DEV: allow themes to more easily set border-radii ( #19037 )
2022-11-16 11:35:09 -05:00
Kris
c937b6dd36
FIX: set max-width on category logo img ( #18703 )
2022-10-21 12:01:26 -04:00
Jarek Radosz
4170b9bb58
DEV: Use more css vars ( #18561 )
...
Followup to #18518
This time it's mostly line-height vars and a couple of other uncommon vars.
2022-10-12 16:05:42 +02:00
Jarek Radosz
ea326906e3
DEV: Use css var font sizes ( #18518 )
...
For consistency and and the ability to change all font sizes at once in the dev tools
2022-10-12 15:31:59 +02:00
Kris
b5c1132546
UX: add bulk-select to mobile topic lists ( #15386 )
2022-07-26 15:36:35 -04:00
Kris
305c4750df
UX: allow more mobile topic elements to be tapped ( #17234 )
2022-06-24 15:55:52 -04:00
Kris
8dd3d6cb97
UX: Larger clickable area for mobile topic list ( #16473 )
2022-04-26 15:01:43 -04:00
Kris
f2468f1093
Revert: UX: Make full topic row clickable on mobile ( #16440 ) ( #16472 )
2022-04-13 18:35:47 -04:00
Kris
0ff66b3b74
UX: minor mobile topic list alignment adjustments ( #16470 )
...
* UX: minor mobile topic list alignment adjustments
* use margin, not padding
2022-04-13 15:47:18 -04:00
Kris
0e88cffaf4
UX: Make full topic row clickable on mobile ( #16440 )
2022-04-12 09:44:20 -04:00
Kris
07436e9d8c
UX: update navigation-container scaling & wrapping ( #15372 )
2021-12-20 17:08:03 -05:00
Kris
8b5dec4607
UX: mobile topic list fixes follow-up to 0e371d4
( #14959 )
2021-11-15 21:07:32 -05:00
Jordan Vidrine
0e371d4c6d
SYNTAX: Use classes instead of html element targeting ( #14890 )
...
* SYNTAX: Use classes instead of html element targeting
2021-11-15 14:49:45 -06:00
Alan Guo Xiang Tan
37b8ce79c9
FEATURE: Add last visit indication to topic view page. ( #13471 )
...
This PR also removes grey old unread bubble from the topic badges by
dropping `TopicUser#highest_seen_post_number`.
2021-07-05 14:17:31 +08:00
Kris
2fb1eaa868
UX: more consistent mobile spacing ( #13297 )
2021-06-07 13:22:28 -04:00
Kris
f61d430566
UX: Improve category controls on smallest devices ( #12945 )
2021-05-06 17:51:55 -04:00
Kris
8ca6202d81
FIX: tag control styles should apply to desktop ( #12919 )
2021-05-03 13:57:10 -04:00
Kris
c0bd7db799
UX: Improve alignment and spacing of category headers ( #12829 )
2021-04-26 18:55:18 -04:00
Kris
d12707c18e
FIX: mobile topic list number alignment ( #12641 )
2021-04-07 18:14:12 -04:00
Roman Rizzi
dc3af285b2
UX: Show the Dismiss New
button at the top of the topics. ( #12403 )
...
We want to be consistent across desktop and mobile.
2021-03-16 10:07:04 -03:00
Gerhard Schlager
d055552994
Fix i18n issues reported on Crowdin ( #11747 )
...
* Pluralize `groups.errors.adding_too_many_users`
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/248/en-ar#53882
* Pluralize `js.composer.error.title_too_short`
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#41172
* Pluralize `js.composer.error.title_too_long`
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#41174
* Pluralize `js.composer.error.post_length`
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#41178
* Pluralize `js.topic.progress.jump_prompt_of`
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#41958
* Use translations to join strings about posters
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/248/en-ar#49334
It also makes some changes to the crawler view:
* Removes `poster.moreCount` which is only available on the client for PMs
* CSS class names are actually stored in `poster.extras` instead of `poster.extraClasses`
* Stop concatenating category stats
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#40740
* Pluralize `js.summary.description`
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#40782
* Pluralize `js.summary.description_time_MF`
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#40784
* Use translation to join list of tags
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#43372
* Pluralize `admin_js.admin.groups.manage.membership.automatic_membership_user_count`
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#43720
* Pluralize `js.post.controls.delete_topic_confirm_modal`
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#54804
* Stop concatenating `js.post.last_edited_on`
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#42358
* Stop concatenating `js.post.wiki_last_edited_on`
This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#42356
It also fixes a regression because `js.post.wiki_last_edited_on` wasn't used anymore since 2017.
2021-02-02 10:50:04 +01:00
Kris
d15159dff7
UX: Refactor topic list nav ( #11285 )
2021-01-06 16:15:28 -05:00
Bianca Nenciu
84e2915e71
UX: Increase the hit area of pinned topics on mobile ( #11147 )
...
It used to be only the topic title, but that area has been increased to
include the excerpt too.
2020-11-11 13:46:53 +02:00
Kris
b9fb1cebcd
Refactor: tags/show should use d-navigation ( #10927 )
2020-11-02 17:35:02 -05:00
awesomerobot
e824385e64
only remove edit button margin when text is hidden
2020-08-31 22:45:43 -04:00
Kane York
a51db9a7bf
UX: make category topic counts clickable on mobile ( #10541 )
2020-08-27 01:50:18 -07:00
Penar Musaraj
c937afc75e
FEATURE: automatic dark mode ( #10341 )
...
A first step to adding automatic dark mode color scheme switching. Adds a new SCSS file at `color_definitions.scss` that serves to output all SCSS color variables as CSS custom properties. And replaces all SCSS color variables with the new CSS custom properties throughout the stylesheets.
This is an alpha feature at this point, can only be enabled via console using the `default_dark_mode_color_scheme_id` site setting.
2020-08-03 22:57:10 -04:00
Vinoth Kannan
6a1746a0c5
FEATURE: add expandable muted categories ui to /categories
page. ( #10303 )
...
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2020-07-30 23:32:51 +05:30
Penar Musaraj
25dcc577ae
DEV: More color transformation refactoring
2020-07-29 12:01:12 -04:00
Penar Musaraj
3116591dc6
DEV: Refactor dark-light-choose()
usage in SCSS
...
Covers most, but not all, cases.
2020-07-29 09:09:37 -04:00
Penar Musaraj
fb2fce037b
DEV: Refactor .coldmap
styles
...
Component is only used in mobile category lists, no need to have it available globally
Uses opacity instead of color manipulation to deliver the same effect
2020-07-29 09:00:21 -04:00
Penar Musaraj
81ab62c72a
DEV: Refactor blend-primary-secondary()
usage in SCSS
2020-07-28 13:33:31 -04:00
Joffrey JAFFEUX
57e587f39f
DEV: removes dead code of dropdown-menu ( #9942 )
2020-06-01 11:22:35 +02:00
Kris
0e3e32f06c
Remove some legacy tiger-striping css
2020-03-04 13:50:48 -05:00
Kris
42729e6a27
Minor mobile alignment fixes
2020-02-17 13:00:31 -05:00
Kris
00477d8f88
UX: Some category page style adjustments for sub-sub categories
2019-12-20 16:17:34 -05:00
Dan Ungureanu
069bc70bd4
UX: Improve sub-sub-categories styling in categories list ( #8593 )
...
- Using h4 instead of h3 for sub-categories.
- Show category description if it does not have subcategories.
- Implemented equivalent for mobile-view.
- Include description_excerpt in basic serializer. This is needed for
displaying second-level categories in category list.
Follow-up to 9253cb79e3
.
2019-12-19 17:09:45 +02:00
tshenry
82e07cb0f4
UX: Consistent placement of category-title-before plugin outlet ( #8010 )
2019-08-16 09:04:50 +10:00
Kris
896204bef7
FIX: Don't override .is-hidden on mobile
2019-03-20 20:40:43 -04:00
Kris
ef9b249cd2
UX: More consistent table header styles, removing duplicate styles
2019-02-26 21:40:17 -05:00
Kris
4f897dde50
UX: Improve alignment of new post badge on mobile
2019-01-18 16:17:24 -05:00
Kris
60189e8c92
Mobile alignment fixes
2018-12-13 15:26:52 -05:00
Kris
050c02228e
UX: Globally dim categories slightly
2018-12-07 20:01:38 -05:00
Kris
d16a4b895f
only dim categories, not all topic stats per 547eaa6
2018-12-07 13:35:57 -05:00
Kris
547eaa6060
UX: Dim visited post info along with title
2018-12-07 11:09:56 -05:00
Kris
db32d29eaa
UX: Refactoring topic statuses for consistent icon sizes & colors
2018-12-06 19:22:04 -05:00
Kris
28ddaf80d2
Adding max-width to category logos
2018-12-04 13:01:27 -05:00
Vinoth Kannan
5db50d6cdc
UX: Use aspect ratio to calculate width and height precisely
...
Followup on 1da265d
2018-11-29 09:32:03 +05:30
Vinoth Kannan
1da265db11
UX: category images have no sizes ( #6662 )
2018-11-27 08:40:06 +08:00
Penar Musaraj
03deda2147
Upgrade to FontAwesome 5 (take two) ( #6673 )
...
* Add missing icons to set
* Revert FA5 revert
This reverts commit 42572ff
* use new SVG syntax in locales
* Noscript page changes (remove login button, center "powered by" footer text)
* Cast wider net for SVG icons in settings
- include any _icon setting for SVG registry (offers better support for plugin settings)
- let themes store multiple pipe-delimited icons in a setting
- also replaces broken onebox image icon with SVG reference in cooked post processor
* interpolate icons in locales
* Fix composer whisper icon alignment
* Add support for stacked icons
* SECURITY: enforce hostname to match discourse hostname
This ensures that the hostname rails uses for various helpers always matches
the Discourse hostname
* load SVG sprite with pre-initializers
* FIX: enable caching on SVG sprites
* PERF: use JSONP for SVG sprites so they are served from CDN
This avoids needing to deal with CORS for loading of the SVG
Note, added the svg- prefix to the filename so we can quickly tell in
dev tools what the file is
* Add missing SVG sprite JSONP script to CSP
* Upgrade to FA 5.5.0
* Add support for all FA4.7 icons
- adds complete frontend and backend for renamed FA4.7 icons
- improves performance of SvgSprite.bundle and SvgSprite.all_icons
* Fix group avatar flair preview
- adds an endpoint at /svg-sprites/search/:keyword
- adds frontend ajax call that pulls icon in avatar flair preview even when it is not in subset
* Remove FA 4.7 font files
2018-11-26 16:49:57 -05:00