Commit Graph

76 Commits

Author SHA1 Message Date
Toby Zerner
690df87ad0 Make sure search input has a background when focused 2015-08-27 08:47:06 +09:30
Toby Zerner
3e4a8fe769 Collapse search input on tablets. closes flarum/core#162
While this solution isn't perfect (perhaps a search icon which opens a
dropdown would be better, like Discourse does) - it'll do for now :)
2015-08-27 08:34:19 +09:30
Toby Zerner
0b8aa5c124 Add header comment; PSR-2 fixes; remove seeders 2015-08-26 16:56:32 +09:30
Toby Zerner
4ed379794a Refactor side navigation CSS 2015-08-13 13:07:50 +09:30
Toby Zerner
9c7fab5d8c Support running in subdirectory with base_path config 2015-08-13 12:58:59 +09:30
Toby Zerner
3f809761d3 Improve extensions page
- Allow extensions to define an icon in their flarum.json
- Show a "please wait" modal when enabling/disabling an extension
- Styling tweaks
2015-08-07 08:51:03 +09:30
Toby Zerner
7a883b5563 Give the body some padding-bottom 2015-08-06 14:03:14 +09:30
Toby Zerner
c8084c3925 Remove footer and move language selection to header 2015-08-06 12:16:55 +09:30
Toby Zerner
0d968536bc Tweak dropdown caret margins 2015-08-05 19:21:00 +09:30
Toby Zerner
1679f1e27b Implement edit user modal
EditUserHandler is a bit rough
2015-08-05 11:49:37 +09:30
Toby Zerner
f49d0e5341 Allow locale to be selected in footer 2015-08-05 09:50:57 +09:30
Toby Zerner
17a863efc7 Make header slightly more compact 2015-08-04 17:15:05 +09:30
Toby Zerner
e6e2cdd3e9 Responsive fixes
- Make composer absolutely positioned on mobile to work around iOS 8/9
bug
- Make search results dropdown appear on mobile

closes flarum/core#137
2015-08-04 11:27:51 +09:30
Toby Zerner
06a246f5cf Tweak some styles 2015-08-04 10:49:41 +09:30
Toby Zerner
83e8503df1 Rough implementation of appearance settings 2015-08-03 14:35:51 +09:30
Toby Zerner
70901b1420 Rough extension management implementation 2015-08-03 12:03:30 +09:30
Toby Zerner
5e84c789e3 Make badges smaller 2015-08-02 17:27:04 +09:30
Toby Zerner
e13bc1ac62 Make sure the last form group doesn't have a bottom margin 2015-08-02 17:26:12 +09:30
Toby Zerner
d44ffd1866 Remove modal responsibility for loading UI; using loading button state 2015-08-02 17:25:05 +09:30
Toby Zerner
fde7afd3e2 Finish admin permissions page and clean up everything 2015-07-31 20:16:47 +09:30
Toby Zerner
42fd8e26c1 Begin implementing permissions page 2015-07-29 21:00:27 +09:30
Toby Zerner
f96cac6057 Implement basic settings page 2015-07-29 21:00:09 +09:30
Toby Zerner
e863bd53d3 Get admin area working again 2015-07-29 20:58:22 +09:30
Toby Zerner
d097e8fda8 Only style mobile dropdown menus differently if they're within a dropdown 2015-07-28 17:58:43 +09:30
Toby Zerner
0f1fb2de17 Fix mobile unread notifications indicator 2015-07-28 17:41:36 +09:30
Toby Zerner
e2a4cf5ccb Add preview button to composer 2015-07-28 13:34:42 +09:30
Toby Zerner
283dcad848 Fix Safari header redraw problem. closes flarum/core#187 2015-07-28 10:13:58 +09:30
Toby Zerner
8d1ff8e6ae Update alert colors 2015-07-27 12:49:22 +09:30
Toby Zerner
52c9539be3 Appearance tweaks 2015-07-23 16:39:20 +09:30
Toby Zerner
1e74d57526 Fix notification list appearance 2015-07-23 14:32:21 +09:30
Toby Zerner
314846d9a2 Centre title button on mobile 2015-07-22 10:00:30 +09:30
Toby Zerner
1c4456260a Apply modal width on the correct class 2015-07-22 10:00:20 +09:30
Toby Zerner
5e91401f13 Add Button--text class to create buttons that look like muted text
e.g. post actions
2015-07-22 10:00:02 +09:30
Toby Zerner
0cb3378658 Merge branch 'evented-api' 2015-07-21 10:40:38 +09:30
Toby Zerner
96bae40d4b Make "on" switches always green instead of theme-based 2015-07-20 18:13:15 +09:30
Toby Zerner
0d8f09df78 Migrate old style 2015-07-20 18:13:01 +09:30
Toby Zerner
440e30760e Reset dropdown menu line spacing
Was causing issues in the avatar editor dropdown
2015-07-18 22:58:51 +09:30
Toby Zerner
5085c09c30 Slightly darken buttons when clicked 2015-07-18 13:06:53 +09:30
Toby Zerner
fc3e9c353d Fix notifications appearance on dark header 2015-07-18 10:07:22 +09:30
Toby Zerner
0b702d8b73 Make sure responsive controls appear where they're supposed to 2015-07-17 17:53:03 +09:30
Toby Zerner
7e75eb16ff Add them back 2015-07-17 15:05:34 +09:30
Toby Zerner
12caded0c9 Temporarily remove some files
Git is playing up and won't let me push.
2015-07-17 15:04:55 +09:30
Toby Zerner
a9ded36b57 Major CSS revamp
- Get rid of Bootstrap (except we still rely on some JS)
- Use BEM class names
- Rework variables/theme config
- Fix various bugs, including some on mobile

The CSS is still not ideal – it needs to be cleaned up some more. But
that can be a focus for after beta.
2015-07-17 14:47:49 +09:30
Toby Zerner
1d21670663 New look for discussion reply/unread count
Also decrease the max page width by 100px
2015-07-05 13:52:46 +09:30
Toby Zerner
3d429d9af3 Give badges a bit of a shadow 2015-07-04 12:25:33 +09:30
Toby Zerner
9e6ad1f244 Only show search suggestion excerpt if we have it
We won’t have it if we didn’t do a fulltext search
2015-06-26 12:08:23 +09:30
Toby Zerner
aae40472cf Tweak post controls on mobile 2015-06-24 17:56:52 +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
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
c75e4f5a74 Tweak hero appearance 2015-06-19 13:55:20 +09:30