Commit Graph

385 Commits

Author SHA1 Message Date
Toby Zerner
ed3648702c Formatting 2015-05-14 22:41:06 +09:30
Toby Zerner
a06a973d89 Only give dropdown menu items padding if they have an icon 2015-05-14 22:41:06 +09:30
Toby Zerner
781dc2ef0c New component for post excerpts, which will be shown in search results
Perhaps also in user activity stream. They are used in the mentions
extension.

In order to generate the excerpt, each formatter can implement a
“strip” method which basically converts block formatting into inline
formatting.
2015-05-14 22:41:05 +09:30
Toby Zerner
e19190ca68 Make link styles more obvious 2015-05-11 12:11:38 +09:30
Toby Zerner
4d17e172a7 Close the drawer when page content is touched. Fixes #69 2015-05-11 11:03:40 +09:30
Toby Zerner
a89803c957 Tweak user activity item appearance 2015-05-07 10:27:42 +09:30
Toby Zerner
c9f3ac9d66 Hide badges on deleted posts 2015-05-07 08:58:20 +09:30
Toby Zerner
515e61b77f Tweak discussion list spacing 2015-05-07 06:38:09 +09:30
Toby Zerner
719080ff1f Tweak heading line height 2015-05-07 06:38:01 +09:30
Toby Zerner
9fe334b4f8 Add semibold weight 2015-05-07 06:37:41 +09:30
Toby Zerner
bde9bf9378 Fix FontAwesome path 2015-05-06 12:12:22 +09:30
Toby Zerner
c6f368f045 Don't obstruct author tooltip 2015-05-06 11:40:35 +09:30
Toby Zerner
7d2cdd20d3 Don't wrap long author tooltips 2015-05-06 11:35:30 +09:30
Toby Zerner
54f731942e Add user group badges 2015-05-06 11:25:19 +09:30
Toby Zerner
707c60d3ab Tweak user card UI 2015-05-06 11:24:42 +09:30
Toby Zerner
45033d7d59 Fix up hidden post styles; don't show user card 2015-05-06 08:33:00 +09:30
Toby Zerner
ae2930dc35 Show login modal if replying as guest; disable button if no permission
Also hide the first item in dropdown-split menus
2015-05-04 11:08:45 +09:30
Toby Zerner
538784744c Show login modal when starting a discussion as a guest 2015-05-04 10:44:03 +09:30
Toby Zerner
4cb9ed851d Slightly thicken the post highlight border again 2015-05-03 11:53:37 +09:30
Toby Zerner
5ea864ba89 Make post highlight more subtle 2015-05-02 08:48:35 +09:30
Toby Zerner
8bc9552e83 Tweak composer styles
- Make minimised content look nicer, non-interactive
- Fix margins on tablet
2015-05-02 08:48:18 +09:30
Toby Zerner
fbdd730ce3 Make discussion hero extensible 2015-05-02 08:36:04 +09:30
Toby Zerner
80e8630c1c Don't let discussion details in list wrap 2015-05-02 08:34:09 +09:30
Toby Zerner
066a379f43 Tweak header/footer control layout 2015-05-02 08:33:05 +09:30
Toby Zerner
4d04d801d1 Unify icon class name, change the way icons are floated in menus 2015-05-02 08:32:45 +09:30
Toby Zerner
ee40acd5c2 Show modal close button above content 2015-05-02 08:30:35 +09:30
Toby Zerner
e4a880c4f4 Skin colour tweaks 2015-05-02 08:29:43 +09:30
Toby Zerner
ac269683ed Merge remote-tracking branch 'upstream/master' 2015-04-25 22:45:27 +09:30
Toby Zerner
31ec6f27ce Update some styles for the Mithril app 2015-04-25 22:31:37 +09:30
Toby Zerner
b61017efdc Clean up LESS files 2015-04-25 22:31:30 +09:30
Toby Zerner
cf8e4b9913 Make badge icons not blurry by making sure they can centre accurately 2015-04-03 16:59:50 +10:30
Maksim Knyshov
1bd69f80c7 Remove unneeded .gitkeep's 2015-03-31 22:38:15 +03:00
Toby Zerner
9ae5563947 Set up responsive admin layout 2015-03-30 12:46:55 +10:30
Toby Zerner
d64ca6bce3 Extract .side-nav into a common file 2015-03-30 12:45:48 +10:30
Toby Zerner
40a6d77e74 Big front-end asset/filestructure refactor
- Extract shared Ember components into a “flarum-common” ember-cli
addon. This can be used by both the forum + admin Ember apps, keeping
things DRY
- Move LESS styles into their own top-level directory and do a similar
thing (extract common styles)
- Add LESS/JS compilation and versioning to PHP (AssetManager)
- Set up admin entry point

(Theoretical) upgrade instructions:
- Delete everything in [app_root]/public
- Set up tooling in forum/admin Ember apps (npm install/update, bower
install/update) and then build them (ember build)
- php artisan vendor:publish
- Upgrade flarum/flarum repo (slight change in a config file)
- If you need to trigger a LESS/JS recompile, delete the .css/.js files
in [app_root]/public/flarum. I set up LiveReload to do this for me when
I change files in less/ or ember/

Todo:
- Start writing admin app!
- Remove bootstrap/font-awesome from repo and instead depend on their
composer packages? Maybe? (Bower is not an option here)
2015-03-29 22:13:26 +10:30