Commit Graph

250 Commits

Author SHA1 Message Date
Kris
e0aac75607 Restrict width of category heading to prevent mobile overflow 2018-12-04 19:01:27 -05:00
Kris
28ddaf80d2 Adding max-width to category logos 2018-12-04 13:01:27 -05:00
Sam
cc04c86859 UX: do not restrict width of category image, only height
This was a recent visual regression which caused a fair amount of pain.
Previously we only restricted height
2018-12-03 09:35:16 +11: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
Penar Musaraj
93d4281706 FIX: alignment issue in PM inbox when bulk selecting 2018-11-25 15:24:26 -05:00
Sam
42572ff138 Revert font awesome 5 changes
We are still pushing ahead on this 100% just need a bit longer to prepare
all plugins
2018-11-08 16:12:18 +11:00
Penar Musaraj
005e1ecb9b
FEATURE: Update Font Awesome to v5.4.1 and SVGs (#6557)
* First take on subsetting svg icons

* FontAwesome 5 svg subset WIP

* Include icons from plugins/badges into svg sprite subset

* add svg icon support to themes

* Add spec for SvgSprite

* Misc. SVG icon fixes

* Use FA5 svgs in local-dates plugin

* CSS adjustments, fix SVG icons in group flair

* Use SVG icons in poll plugin

* Add SVG icons to /wizard
2018-11-07 13:05:43 -05:00
Kris
a15a43605e Simplifying category page markup 2018-08-17 23:07:07 -04:00
Kris
8c46ecf7f3 UX: Improving tag topic list navigation consistency 2018-08-16 00:02:26 -04:00
Kris
b79fedd540 Streamlining some breakpoint mixins 2018-07-12 16:39:16 -04:00
Kris
a201103127 removing some old styles 2018-07-12 00:53:24 -04:00
Joffrey JAFFEUX
174d392e5a
DEV: adds prettier (#5956)
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn`

It's recommended to configure your editor to run prettier on file save.
2018-06-08 11:49:31 +02:00
Kris
0163798c0e Define primary table borders in one place 2018-04-30 20:45:49 -04:00
Kris
14ea67c80b Better spacing for nav header 2018-04-24 19:27:17 -04:00
Kris
9e690bf238
UX: Cleaning up category badge alignment (#5561) 2018-02-02 19:03:25 -05:00
Kris
76317957ed UX: Removing some old references to the star feature 2018-01-26 13:05:29 -05:00
Joffrey JAFFEUX
3a290ee625
FEATURE: replaces category/tag dropdowns by select-kit 2018-01-24 11:48:20 +01:00
Kris
c3103cb23e FIX: Users column too wide on tablet 2018-01-23 09:45:46 -05:00
Kris
91ff79a289 UX: User column heading needs a width 2018-01-17 09:54:09 -05:00
Kris
0c01e0b2fe
UX: Implementing a z-index system (#5507) 2018-01-16 19:05:12 -05:00
Kris
674013129a
UX: Type system rebuild (#5492) 2018-01-12 17:27:38 -05:00
Kris
4bf558f941 UX: Reducing number of overall font sizes 2017-12-20 15:57:49 -05:00
Kris
2d9d43ed1a UX: Removing px font defintions and replacing with em 2017-12-18 15:49:11 -05:00
Joffrey JAFFEUX
dd5562322b Revert "FIX: reflects discourse icons naming scheme s/d-icon-*/d-*"
This reverts commit b5ed980235.
2017-11-23 18:24:26 +01:00
Joffrey JAFFEUX
b5ed980235
FIX: reflects discourse icons naming scheme s/d-icon-*/d-* 2017-11-21 16:01:15 +01:00
Régis Hanol
ddd4ddc020 missing 1px in .posters column when there are 5 posters and OP is most recent poster 2017-11-17 12:42:19 +01:00
Kris
dc2d9f05dc removing scale-color, first pass 2017-10-13 11:57:10 -04:00
Joffrey JAFFEUX
cf6fb7622e Replaces all notification-options like dropdowns with select-box 2017-09-08 20:47:39 +02:00
Robin Ward
8ccde140e5 Convert latest-topic-list to components and remove nested tables 2017-08-13 12:45:26 -04:00
Robin Ward
67556e6381 REFACTOR: Category / Tag Dropdown headers had extra classes 2017-07-28 16:19:33 -04:00
Robin Ward
6dfa3625df REFACTOR: Replace fa-* in SCSS with d-icon-* 2017-07-27 15:09:30 -04:00
Robin Ward
3152eabbb0 UX: Use flat button style for bulk selection 2017-07-25 12:00:19 -04:00
Robin Ward
5dd56a41d9 Merge branch 'master' into master 2017-07-24 12:01:48 -04:00
awesomerobot
c29b7aa65d initial pass at color simplification 2017-07-14 21:43:35 -04:00
Jeff Atwood
bfd892bbbc better responsive layout for new topic btn 2017-06-23 01:52:09 -07:00
Neil Lalonde
3681b350cd FIX: new topics alert wasn't covering the entire topic list column headings 2017-05-19 11:05:38 -04:00
Rafael dos Santos Silva
46b3c2e9c5 Use CSS animations for post and topic highlights 2016-12-05 20:20:52 -02:00
Régis Hanol
4d6028ea2d UX: new 'category_page_style' site setting 2016-08-22 23:01:43 +02:00
Jeff Atwood
03ce370d5e right align category counts 2016-08-19 12:57:07 -07:00
Régis Hanol
4960365689 UX: unread/new topic counts under topic counts column in /categories 2016-08-19 18:10:42 +02:00
Régis Hanol
eb953c0904 FIX: /categories page on mobile 2016-08-19 01:47:00 +02:00
Régis Hanol
6d1d7b7c8f UX: new /categories layout 2016-08-17 23:23:16 +02:00
Arpit Jalan
605a302546 UX: move category logo above navigation 2016-06-18 14:20:37 +05:30
Neil Lalonde
f3f6c2f98f FEATURE: tag groups 2016-06-06 14:18:48 -04:00
Robin Ward
1fc335d84a FIX: When showing subcategory list you couldn't see the bulk button 2016-03-10 13:28:22 -05:00
Jeff Atwood
2b64ccb98c clean up portrait .topic-list CSS media query stuff 2015-10-23 17:15:13 -07:00
Jeff Atwood
56c9b4b6e2 UX: hide topic list views column on <= 850px w 2015-10-23 16:35:26 -07:00
Sam
7ec6e87b4d Revert "UX: Love hearts." 2015-09-01 08:45:08 +10:00
Guo Xiang Tan
be0d971eb3 UX: Love hearts. 2015-08-31 00:46:39 +08:00
Sam
83f76acbcb FIX: we need the bulk action glyph above everything 2015-08-27 11:43:56 +10:00
Jeff Atwood
d38c4d5f74 scale-color $lightness must use $secondary for dark themes 2015-08-20 02:42:12 -07:00
Kane York
2f595f27e9 CLEANUP: Coalesce repeated CSS properties 2015-08-18 22:02:33 -07:00
Simon Cossar
6ca8f14db4 Remove padding from media query 2015-07-20 01:03:26 -07:00
Simon Cossar
8840a611ab Substitute wrap for container 2015-07-20 00:47:53 -07:00
Jeff Atwood
73e68271eb add pointer cursor to top field 2015-07-01 13:26:37 -07:00
awesomerobot
f20c28c16b replacing the remnants of the old color variable code 2015-06-14 22:59:49 -04:00
awesomerobot
0ba88d2355 changing color of progress bar 2015-05-19 21:19:28 -04:00
Jeff Atwood
cf90550cf1 remove tiger striping from category page 2015-05-19 16:48:27 -07:00
Jeff Atwood
ce1fe8c8c2 remove topic list striping, use bottom border 2015-05-11 16:09:46 -07:00
Sam
c6a5081763 FEATURE: reorder participants in topic so always chronological
FEATURE: tie breaker for same number of posts is last post date
UX: highlight for latest poster when it is OP
2015-04-06 17:27:05 +10:00
Jeff Atwood
0e6c54537a UX: remove "last poster" style from topic list 2015-04-04 14:09:56 -07:00
Jeff Atwood
a752cce5e6 try the "McWumbly shadow" effect v2 2015-04-04 13:48:53 -07:00
Jeff Atwood
19be0ff744 try "the McWumbly shadow" effect 2015-04-03 23:07:49 -07:00
Sam
4dbd065026 work-in-progress full page search 2015-04-02 16:02:07 +11:00
Sam
f4a051c2c3 UX: remove visited styling from topic list 2015-03-10 21:30:46 +11:00
Kris Aubuchon
8932b9afcf rebuilding the category badge css 2015-03-06 13:51:16 -05:00
Jeff Atwood
10403676d7 minor /categories CSS tweaks 2015-02-07 15:46:04 -08:00
Jeff Atwood
3948a960cd minor tweak for new topic alignment 2015-02-04 11:29:56 -08:00
Kris Aubuchon
5621b1f663 simple change that grants a bit more flexibility to the category and title in the topic list 2015-01-29 10:53:13 -05:00
Jeff Atwood
f4a9ba8c9d tighten up spacing on category dropdown button 2015-01-29 03:51:07 -08:00
Sam
57dd4554f1 bar style fixes 2015-01-29 17:49:14 +11:00
Jeff Atwood
8ef2a111a0 fix left margin on tablet portrait w/topic + list 2015-01-25 23:45:36 -08:00
Jeff Atwood
1ed34be1b9 make topic list pin color consistent with lock 2015-01-21 03:15:56 -08:00
Jeff Atwood
aa423212a0 make topic list bookmark color consistent with lock 2015-01-20 16:39:11 -08:00
Jeff Atwood
a9ef92f3d8 latest topics on category page too damn small 2015-01-12 02:56:55 -08:00
Sam
1358ed2aad FEATURE: show bookmarked topics in topic list 2015-01-09 11:41:10 +11:00
Sam
6785675150 clean up support for filter=liked and filter=bookmarked 2015-01-07 18:50:28 +11:00
Jeff Atwood
a398f356ae clean up unused category page CSS 2015-01-06 14:15:12 -08:00
Jeff Atwood
b9d773ddcd private category layout on /categories was busted 2015-01-06 13:42:41 -08:00
Régis Hanol
aff49a1e0d Merge pull request #3043 from fantasticfears/patch-9
expanding active column width
2014-12-17 11:22:05 +01:00
Jeff Atwood
dfd7e69df7 Merge pull request #3044 from awesomerobot/master
changing font sizes to ems, so fonts scale a bit more gracefully
2014-12-15 19:22:35 -08:00
Kris Aubuchon
3eebc0e589 changing font sizes to ems, so fonts scale a bit more gracefully 2014-12-15 22:12:56 -05:00
Régis Hanol
a014507da4 FIX: semantic HTML for category with images 2014-12-15 15:39:13 +01:00
Erick Guan
6e59a450c1 expanding active column width
When the post gets older, its translation text needs more space
2014-12-15 22:33:37 +08:00
Jeff Atwood
7e609e1834 do we need #list-area margin-bottom so big? 2014-12-10 00:33:45 -08:00
Kris Aubuchon
d8c8264b4e fixing loading spinner alignment and striping 2014-12-04 17:05:47 -05:00
Jeff Atwood
85e9aaa4fa fix width of users column in topic lists 2014-11-13 01:02:37 -08:00
Robin Ward
6f7cf8599f Merge pull request #2949 from fantasticfears/master
css tweak - expanding some room for zh_CN
2014-11-07 10:55:55 -05:00
Kris Aubuchon
5c84c74a69 some cleanup for new usercards on dark themes 2014-11-06 11:33:30 -05:00
Erick Guan
951b6e6bb8 css tweak - expanding some room for zh_CN 2014-11-06 22:06:21 +08:00
Kris Aubuchon
faece5a504 new usercard style 2014-10-29 19:48:20 -04:00
Jeff Atwood
5c0bb56748 remove unnecessary @includes on box-shadow 2014-10-10 15:02:46 -07:00
Sam Saffron
4e91059f89 FIX: missing avatar when sizing down window 2014-09-19 12:35:35 +10:00
Sam
d6a5552340 tweak new topic styling 2014-09-04 11:07:32 +10:00
Kris Aubuchon
a8e6e1e3d5 adding highlight back to topic-list 2014-08-22 10:45:51 -04:00
Robin Ward
b46a373ff9 UX: Show User popup when clicking on a user in the topic list. 2014-08-19 16:22:37 -04:00
Robin Ward
aa41548e8e UX: When clicking an activity date, pop up a little menu with options to
go to beginning or end of the topic.
2014-08-15 16:39:57 -04:00
Sam
49f738fe27 FEATURE: allow users to dismiss unread posts 2014-08-08 16:29:51 +10:00