Commit Graph

126 Commits

Author SHA1 Message Date
Toby Zerner
c1c7d4c73a Only display "show language selector" toggle if there is more than one language 2017-07-22 11:47:50 +09:30
Toby Zerner
afc597c189 Remove fa-fw class from all icons
Often it is desirable to NOT have this class applied, and it is easier
to apply its styles if needed rather than un-apply it.
2017-07-22 11:45:42 +09:30
David Sevilla Martin
fcdf36b3d0
Added search input types to 3 inputs total, closes #726
* Added type search to search bar (forum)
* Added CSS `box-sizing: inherit` to search <input> because bootstrap styles mess up the search box
* Added type color to both color settings in appearance (admin)
2016-11-27 19:39:47 -05:00
Toby Zerner
cba278611a Prevent page zoom on input focus in iOS 10. fixes flarum/core#1023 2016-09-03 23:12:59 +09:30
zcodes
203358a796 reduce fontawesome relative path in less files. 2016-07-30 13:17:17 +08:00
zcodes
1ced0456ca Fixed fontawesome relative path
If install flarum in the site's root directory, it seems nothing
is wrong because the server software will trim the path, but if
install flarum in a sub directory, the font file of fontawesome
will not load correctly.
2016-07-29 22:02:50 +08:00
Toby Zerner
0b3cc0c18f Make alert control color consistent on focus 2016-06-05 09:23:36 +09:30
Toby Zerner
58d7be95c1 Increase muted text contrast 2016-06-04 18:10:22 +09:30
Toby Zerner
feffe53a86 Add ability to upload a logo + favicon, and add custom header HTML
Closes #268. Not going to bother with a preview SVG or anything fancy for now – we can think about that as part of #746. Right now it's just good to finally get this functionality in!

Also need to think about apple-touch-icon, msTile stuff, and social sharing image. Not sure if this is all too much for core, but it's definitely too much for the current Appearance page layout. Again, something to think about as part of #746.

Code is a bit rough around the edges, but figured there's not much point in using the command bus properly since #870.
2016-06-04 18:05:46 +09:30
Toby Zerner
27556fea38 Increase text contrast in dark mode 2016-06-03 14:51:00 +09:30
Franz Liedke
696f562b0e
Merge branch 'pr/936'
Closes #814.
2016-05-12 23:56:47 +09:00
Franz Liedke
aca497e7be
Final tweaks to inline code styling
Refs #814.
2016-05-12 23:56:12 +09:00
Franz Liedke
619561cf56
Install FontAwesome via Composer.
This also updates the asset publishing and LESS paths accordingly.

Refs #891.
2016-05-09 21:28:38 +09:00
David Sevilla Martín
805f86b249
Added variables for code color & background; Dark mode & light mode 2016-05-08 17:08:32 -04:00
Toby Zerner
d1c25a4bad Fix regression with full-screen composer being obscured by header/side pane
This is not ideal as dropdowns appear above the header, but it will probably be resolved when we redo the composer's full screen mode soon enough.
2016-03-29 18:24:23 +10:30
Toby Zerner
ff77912dc6 Reconfigure z-index hierarchy: show dropdowns above post composer 2016-03-28 13:32:23 +10:30
Toby Zerner
53b32eda12 Tweak badge shadow radius 2016-03-28 10:25:47 +10:30
Toby Zerner
6d69e90662 Prevent long forum title in mobile drawer from entering viewport 2016-03-28 10:23:58 +10:30
Toby Zerner
589e903c71 Fix search box overlapping forum title in some cases. closes #697
- Fix jank in shrinking animation when search box loses focus after overlapping forum title.
- Use solid colors instead of transparent whites/blacks for colored header controls so that search box isn't transparent when it does overlap forum title.
- This also simplifies colored header variables, making them more analogous to the non-colored header variables, and allowing for the removal of some conditional CSS in the notifications dropdown button.

Some more radical changes to header layout (flexbox?) may be made when we implement the new mobile design (#867), but for now this is an acceptable fix.
2016-03-28 10:23:49 +10:30
Toby Zerner
dc757fae5f Remove white border from badges, decrease overlap 2016-03-11 12:01:47 +10:30
Toby Zerner
dfef3c1ff1 Slightly widen index sidebar, overflow buttons properly
First half of #349 fix. Supersedes #734 (190px wide instead of 200px, correctly modify margin-left of .sideNavOffset, more descriptive commit message)
2016-02-07 12:10:02 +10:30
Toby Zerner
ad2bbdd115 Tweak padding on user dropdown button so avatar is flush with border radius 2016-01-19 19:19:16 +10:30
Toby Zerner
94a62293eb Extract Google font import to a head string, make overideable
Allowing headStrings to be named is a bit of a stopgap solution. Really ClientView needs to be given much more power with headStrings and footStrings as separate objects, similar to the ItemList in the JS app.
2016-01-12 18:29:21 +10:30
Toby Zerner
b9148364fa Various user interface tweaks 2015-12-03 15:02:52 +10:30
Toby Zerner
d96e57eabb Truncate long title controls on mobile 2015-12-01 11:48:54 +10:30
Toby Zerner
2088fceb8b Truncate long dropdown menu items (e.g. tags in the sidebar)
ref #391
2015-11-21 14:01:07 +10:30
Toby Zerner
5b25a77e82 Improve spacing of drawer elements 2015-11-21 13:21:27 +10:30
Toby Zerner
59c534a882 Tweak mobile drawer appearance 2015-11-21 13:16:46 +10:30
Toby Zerner
bd750ca154 Show "reply" action in discussion menu on mobile 2015-11-20 12:35:07 +10:30
Toby Zerner
3518fb2299 Align checkboxes and textareas to the left in centered forms 2015-11-04 12:54:17 +10:30
Toby Zerner
30856a8e2b Merge branch 'loading-indicator' 2015-11-03 18:13:11 +10:30
Toby Zerner
3d3be6983a Apply split dropdown styles on mobiles too
Normal split dropdowns, not in the context of the app's primary control (top-right toolbar button), may be used by extensions (e.g. embed)
2015-11-03 18:09:49 +10:30
Toby Zerner
96b85f1330 Use icon instead of "Discussions" text, fix bugs
- Fix admin page crash
- Only show invisible pin button on desktop; hide it completely on ≤ tablet
2015-11-03 15:54:06 +10:30
Toby Zerner
25932cf7c4 Add label to back button, change behaviour
The back button longer shows if the user hasn't actually navigated anywhere. e.g. if they come in directly to a discussion, it will be hidden.
2015-11-03 15:54:05 +10:30
Toby Zerner
7dcb99621d Display "Loading..." text while JS is loading 2015-11-02 16:47:36 +10:30
Franz Liedke
f5b5d9ca5c Use correct method for notification drawer on mobile
Refs #500.
2015-09-29 01:28:47 +02:00
Toby Zerner
858feb5ac0 Vendor prefix badge shadow 2015-09-23 10:52:26 +09:30
Toby Zerner
264725d872 Allow discussions to be hidden and restored 2015-09-22 17:48:21 +09:30
Toby Zerner
3eafed0ae3 Update to FontAwesome 4.4.0 2015-09-22 17:11:51 +09:30
Toby Zerner
efca923d30 Add "Debug" button to inspect the response of a failed AJAX request
Related to #118
2015-09-18 16:46:46 +09:30
Toby Zerner
80665450fc Distinguish links in alerts 2015-09-18 14:39:20 +09:30
Toby Zerner
ff8ec59310 Increase text contrast
closes #390
2015-09-14 15:16:19 +09:30
Toby Zerner
8eda6c7d36 Style disabled fields properly 2015-09-14 14:49:28 +09:30
Malay Ladu
b05f83d25a Add green color for online indicator on user cards
Closes #452.
2015-09-11 08:49:07 +02:00
Toby Zerner
1aaff46f8e Increase text contrast slightly 2015-09-08 10:24:20 +09:30
Toby Zerner
9277fca0ec Slightly darken light grey text 2015-09-04 12:19:20 +09:30
Franz Liedke
f0c240f863 Add a first empty state to the discussion list 2015-09-03 09:59:33 +02:00
Rody Molenaar
6f13a246db Align select 2015-08-31 21:57:43 +02:00
Toby Zerner
5af5f1fc77 Properly style modal title bar on mobile
closes #286
2015-08-31 13:46:59 +09:30
Huy Tran
cf68c95fb8 Make Google Web Font work on both HTTP and HTTPS 2015-08-27 20:17:42 -07:00