Commit Graph

194 Commits

Author SHA1 Message Date
Toby Zerner
4046644e13 Fix responsive controls 2015-06-25 15:05:22 +09:30
Toby Zerner
ae8729250b Give notifications dropdown a responsive max height 2015-06-25 10:32:13 +09:30
Toby Zerner
6d72fd16a3 Tweak notification grid icon appearance 2015-06-25 09:57:46 +09:30
Toby Zerner
7de842c1d8 Nitpicking 2015-06-25 09:48:01 +09:30
Toby Zerner
df3e732d4b Make relevant posts span full width on mobile 2015-06-25 08:12:12 +09:30
Toby Zerner
aae40472cf Tweak post controls on mobile 2015-06-24 17:56:52 +09:30
Toby Zerner
e8bb044701 Discussion list refactor, gestures
Also make base Component class automatically assign this.element :)
2015-06-24 17:56:39 +09:30
Toby Zerner
e466dcc626 Significantly improve mobile UX
Most of #137 done.

- Use FastClick to make everything feel more responsive
- Use transforms for animations to make them silky smooth
- Style the drawer the same as the header to keep things simple
- Revert to fixed composer, but allow it to be minimised
- Add a separate notifications page for mobile so it’s easy to go back
- Add indicator to the menu button when there are unread notifications
- Close the drawer when navigating away
- Make dropdowns/modals scrollable
- Many other mobile tweaks and bug fixes

Didn’t take much care to keep CSS clean, due to #103
2015-06-24 11:44:53 +09:30
Toby Zerner
3a8fc1592c Extend hover area for post control visibility 2015-06-23 10:57:09 +09:30
Toby Zerner
6e5329047c Add light horizontal rule between posts. closes flarum/core#133
Also remove time information from event posts (it’s not useful)
2015-06-23 10:36:36 +09:30
Toby Zerner
0a4af568d1 Tweak avatar/count alignment 2015-06-20 10:28:58 +09:30
Toby Zerner
ec059f496f Make discussion list more compact 2015-06-19 20:57:36 +09:30
Toby Zerner
c75e4f5a74 Tweak hero appearance 2015-06-19 13:55:20 +09:30
Toby Zerner
46347023cc Implement time gap indicators
Get rid of short human times (1m, 1h, 1d) for now
2015-06-19 10:00:19 +09:30
Toby Zerner
c2da4a946f Remove unused CSS 2015-06-18 13:01:04 +09:30
Franz Liedke
1cbc60ca41 Merge branch 'master' into psr-7
Conflicts:
	src/Api/Actions/Discussions/IndexAction.php
	src/Api/Actions/SerializeAction.php
	src/Core/Formatter/FormatterManager.php
	src/Extend/ForumAssets.php
	src/Forum/Actions/IndexAction.php
	src/Forum/ForumServiceProvider.php
2015-06-17 00:52:50 +02:00
Toby Zerner
42fe2a28dd Increase text contrast
I think you will like this change @franzliedke :)
2015-06-11 18:42:05 +09:30
Franz Liedke
285a92212e Remove obsolete include 2015-06-08 10:00:13 +02:00
Toby Zerner
0f08a4378c Style tweaks 2015-06-03 18:11:43 +09:30
Toby Zerner
5d89618bbd Implement search on front end 2015-06-03 18:10:56 +09:30
Toby Zerner
c7a6f8650e Make user activity posts more compact 2015-06-01 17:55:13 +09:30
Toby Zerner
8638e9c9ca Tweak reply placeholder appearance 2015-06-01 17:54:37 +09:30
Toby Zerner
bfc4201338 Add icon to post edit composer 2015-06-01 10:29:11 +09:30
Toby Zerner
56981c1297 Add reply placeholder to bottom of post stream 2015-06-01 10:28:24 +09:30
Toby Zerner
d33bac533d Tweak composer full screen styles. closes flarum/core#102 2015-06-01 08:48:50 +09:30
Toby Zerner
acb6a8d8c5 Add some missing post content styles 2015-06-01 08:48:10 +09:30
Toby Zerner
a1da95962d Move theme config to database 2015-05-31 11:18:19 +09:30
Toby Zerner
1603c10ae9 Padding tweak 2015-05-30 14:58:47 +09:30
Toby Zerner
2e82fb4015 Refactor discussion list styles, fix loading indicator height in pane 2015-05-29 18:31:17 +09:30
Toby Zerner
cafa6c7b5d New and improved post stream. 2015-05-29 18:17:50 +09:30
Toby Zerner
8f0989fb80 Various appearance tweaks 2015-05-27 16:22:02 +09:30
Toby Zerner
6fed357605 Allow ActionButtons to be disabled 2015-05-27 16:21:15 +09:30
Toby Zerner
796c2590a2 Add unread indicator to scrubber. closes #94 2015-05-27 16:18:21 +09:30
Toby Zerner
dee9bb1c6d Tweak post-signup welcome appearance 2015-05-26 18:05:20 +09:30
Toby Zerner
85ba97ed5c Improve appearance/behaviour of login/signup/forgot modals 2015-05-26 16:25:25 +09:30
Toby Zerner
7a1ae67192 Make loading indicators stand out less when using a custom primary color 2015-05-21 15:58:56 +09:30
Toby Zerner
d69e481037 Make hero light 2015-05-21 13:10:25 +09:30
Toby Zerner
ca343edf00 Bump up discussion list title size again 2015-05-21 13:09:26 +09:30
Toby Zerner
80c0900388 Just being picky 2015-05-20 11:12:48 +09:30
Toby Zerner
0102f31e06 Tweak notifications appearance 2015-05-18 18:56:11 +09:30
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