Commit Graph

132 Commits

Author SHA1 Message Date
9b1c338b68 Fix modal title background in media phone 2018-03-02 12:32:07 +01:00
AFR
1a2df2d581 FontAwesome v5.0.6 (#1372)
* Update FontAwesome to v5.0.6

* Adapt DiscussionListItem-count icon to match FontAwesome 5 syntax

* Change icon name to match FontAwesome 5.0.6 fas icon

* Add font type prefix parameter to icon helper

* Add Enable Icon Prefix to show icon in Extension Page

* Fix invalid icon behavior

* Change icon name to match FontAwesome 5.0.6 far icon

* Use iconPrefix property on component

* Use full icon class name

* Update icon helper docblock

* Full icon class syntax
2018-02-23 23:42:00 +01:00
e774baf32f Remove execute permissions from php/less files 2018-01-06 11:59:25 +01:00
eeed7c20e1 Fix blurry chrome image rendering for Avatar / Logo - closes #1259 (#1276)
* Fix blurry chrome image rendering for Avatar / Logo - closes #1259

* Add comments for Chrome css fix
2017-10-29 17:24:02 +01:00
2754a8c867 Add LESS variable to configure expansion of sideNav dropdowns 2017-10-25 12:36:09 +10:30
7ec92813e3 Make dropdown menu icons a nicer fixed width 2017-07-22 16:09:51 +09:30
c1c7d4c73a Only display "show language selector" toggle if there is more than one language 2017-07-22 11:47:50 +09:30
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
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
cba278611a Prevent page zoom on input focus in iOS 10. fixes flarum/core#1023 2016-09-03 23:12:59 +09:30
203358a796 reduce fontawesome relative path in less files. 2016-07-30 13:17:17 +08:00
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
0b3cc0c18f Make alert control color consistent on focus 2016-06-05 09:23:36 +09:30
58d7be95c1 Increase muted text contrast 2016-06-04 18:10:22 +09:30
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
27556fea38 Increase text contrast in dark mode 2016-06-03 14:51:00 +09:30
696f562b0e Merge branch 'pr/936'
Closes #814.
2016-05-12 23:56:47 +09:00
aca497e7be Final tweaks to inline code styling
Refs #814.
2016-05-12 23:56:12 +09:00
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
805f86b249 Added variables for code color & background; Dark mode & light mode 2016-05-08 17:08:32 -04:00
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
ff77912dc6 Reconfigure z-index hierarchy: show dropdowns above post composer 2016-03-28 13:32:23 +10:30
53b32eda12 Tweak badge shadow radius 2016-03-28 10:25:47 +10:30
6d69e90662 Prevent long forum title in mobile drawer from entering viewport 2016-03-28 10:23:58 +10:30
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
dc757fae5f Remove white border from badges, decrease overlap 2016-03-11 12:01:47 +10:30
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
ad2bbdd115 Tweak padding on user dropdown button so avatar is flush with border radius 2016-01-19 19:19:16 +10:30
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
b9148364fa Various user interface tweaks 2015-12-03 15:02:52 +10:30
d96e57eabb Truncate long title controls on mobile 2015-12-01 11:48:54 +10:30
2088fceb8b Truncate long dropdown menu items (e.g. tags in the sidebar)
ref #391
2015-11-21 14:01:07 +10:30
5b25a77e82 Improve spacing of drawer elements 2015-11-21 13:21:27 +10:30
59c534a882 Tweak mobile drawer appearance 2015-11-21 13:16:46 +10:30
bd750ca154 Show "reply" action in discussion menu on mobile 2015-11-20 12:35:07 +10:30
3518fb2299 Align checkboxes and textareas to the left in centered forms 2015-11-04 12:54:17 +10:30
30856a8e2b Merge branch 'loading-indicator' 2015-11-03 18:13:11 +10:30
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
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
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
7dcb99621d Display "Loading..." text while JS is loading 2015-11-02 16:47:36 +10:30
f5b5d9ca5c Use correct method for notification drawer on mobile
Refs #500.
2015-09-29 01:28:47 +02:00
858feb5ac0 Vendor prefix badge shadow 2015-09-23 10:52:26 +09:30
264725d872 Allow discussions to be hidden and restored 2015-09-22 17:48:21 +09:30
3eafed0ae3 Update to FontAwesome 4.4.0 2015-09-22 17:11:51 +09:30
efca923d30 Add "Debug" button to inspect the response of a failed AJAX request
Related to #118
2015-09-18 16:46:46 +09:30
80665450fc Distinguish links in alerts 2015-09-18 14:39:20 +09:30
ff8ec59310 Increase text contrast
closes #390
2015-09-14 15:16:19 +09:30
8eda6c7d36 Style disabled fields properly 2015-09-14 14:49:28 +09:30
b05f83d25a Add green color for online indicator on user cards
Closes #452.
2015-09-11 08:49:07 +02:00