Commit Graph

404 Commits

Author SHA1 Message Date
Toby Zerner
9135749bb4 Rename JS sub-components so that descriptors are before the noun, not after
To be consistent with the naming in PHP world.

e.g. ReplyComposer instead of ComposerReply
2015-05-18 18:50:24 +09:30
Toby Zerner
9f42fbe450 Make sure links never have an underline 2015-05-18 16:46:44 +09:30
Toby Zerner
4233723ff6 Tweak codeblock styles 2015-05-18 16:46:13 +09:30
Toby Zerner
10acb839cf Correct composer position when pane is pinned but screen is too small to actually show it 2015-05-18 15:17:33 +09:30
Toby Zerner
921a75135f Fix select-input appearance on Firefox 35+. Closes #43 2015-05-18 15:11:31 +09:30
Toby Zerner
e605860e89 Fade out post when it is being edited 2015-05-18 14:24:18 +09:30
Toby Zerner
561645b0b4 Tweak discussion list badges positioning 2015-05-18 13:49:39 +09:30
Toby Zerner
aa2bc23039 Drastically improve how the composer looks and behaves
- New, cleaner, more prominent look
- Make it statically positioned down the bottom on mobile, so you can
still scroll up to look at posts
- Fix some bugs with animation, jumping between views
2015-05-18 10:40:14 +09:30
Toby Zerner
35b46288b0 Slightly increase contrast between primary/muted text 2015-05-18 10:36:04 +09:30
Toby Zerner
8390baa4c8 Make discussion list titles smaller again 2015-05-18 10:35:42 +09:30
Toby Zerner
281f475d28 More compact discussion list styling 2015-05-18 08:00:33 +09:30
Toby Zerner
15d35fa5db Fix author tooltip wrapping 2015-05-14 23:10:22 +09:30
Toby Zerner
d96da61b1b New look for notifications 2015-05-14 22:41:08 +09:30
Toby Zerner
e78951ca39 Add styling for quotes 2015-05-14 22:41:07 +09:30
Toby Zerner
78c6637940 Tweak gap loading indicator appearance 2015-05-14 22:41:07 +09:30
Toby Zerner
f1769c2d54 Tweak post footer/actions appearance 2015-05-14 22:41:07 +09:30
Toby Zerner
3aab626b22 Add pulsate/flash animations for drawing attention to posts 2015-05-14 22:41:07 +09:30
Toby Zerner
7d5921ca5e New look for highlighted posts 2015-05-14 22:41:07 +09:30
Toby Zerner
0befac4082 Make controls buttons slightly bigger 2015-05-14 22:41:07 +09:30
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