1
0
mirror of https://github.com/flarum/core.git synced 2025-07-22 17:21:27 +02:00
Commit Graph

127 Commits

Author SHA1 Message Date
Toby Zerner
00588ce39d Make dropdown menu icons a nicer fixed width 2017-07-22 16:09:51 +09:30
Toby Zerner
1af83fad99 Only display "show language selector" toggle if there is more than one language 2017-07-22 11:47:50 +09:30
Toby Zerner
aabb55e1dd 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
2880f17983 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
109782154c Prevent page zoom on input focus in iOS 10. fixes flarum/core#1023 2016-09-03 23:12:59 +09:30
zcodes
33b0a4ecba reduce fontawesome relative path in less files. 2016-07-30 13:17:17 +08:00
zcodes
b052b33bbd 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
1d0621951b Make alert control color consistent on focus 2016-06-05 09:23:36 +09:30
Toby Zerner
44d44ef0aa Increase muted text contrast 2016-06-04 18:10:22 +09:30
Toby Zerner
79fff37bce 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
1935cca730 Increase text contrast in dark mode 2016-06-03 14:51:00 +09:30
Franz Liedke
16ded627a1 Merge branch 'pr/936'
Closes #814.
2016-05-12 23:56:47 +09:00
Franz Liedke
0da8d86f64 Final tweaks to inline code styling
Refs #814.
2016-05-12 23:56:12 +09:00
Franz Liedke
226e5759a4 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
249cee3548 Added variables for code color & background; Dark mode & light mode 2016-05-08 17:08:32 -04:00
Toby Zerner
15f177bdf7 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
b55983c09e Reconfigure z-index hierarchy: show dropdowns above post composer 2016-03-28 13:32:23 +10:30
Toby Zerner
5e207b1882 Tweak badge shadow radius 2016-03-28 10:25:47 +10:30
Toby Zerner
ed5baaf36d Prevent long forum title in mobile drawer from entering viewport 2016-03-28 10:23:58 +10:30
Toby Zerner
ee00920032 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
c95dbc0cb4 Remove white border from badges, decrease overlap 2016-03-11 12:01:47 +10:30
Toby Zerner
c1236bc7ff 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
2ff8fc0126 Tweak padding on user dropdown button so avatar is flush with border radius 2016-01-19 19:19:16 +10:30
Toby Zerner
90437016ea 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
d4e52a6ad8 Various user interface tweaks 2015-12-03 15:02:52 +10:30
Toby Zerner
88f03f1d95 Truncate long title controls on mobile 2015-12-01 11:48:54 +10:30
Toby Zerner
ca83a5b9ea Truncate long dropdown menu items (e.g. tags in the sidebar)
ref #391
2015-11-21 14:01:07 +10:30
Toby Zerner
4752fa6785 Improve spacing of drawer elements 2015-11-21 13:21:27 +10:30
Toby Zerner
f14c238625 Tweak mobile drawer appearance 2015-11-21 13:16:46 +10:30
Toby Zerner
b780111af5 Show "reply" action in discussion menu on mobile 2015-11-20 12:35:07 +10:30
Toby Zerner
6a4023bbe7 Align checkboxes and textareas to the left in centered forms 2015-11-04 12:54:17 +10:30
Toby Zerner
5c0b6d68f5 Merge branch 'loading-indicator' 2015-11-03 18:13:11 +10:30
Toby Zerner
80094ae413 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
eef5101238 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
e69d277c87 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
eed3755aa9 Display "Loading..." text while JS is loading 2015-11-02 16:47:36 +10:30
Franz Liedke
66d4e51a18 Use correct method for notification drawer on mobile
Refs #500.
2015-09-29 01:28:47 +02:00
Toby Zerner
3888f16893 Vendor prefix badge shadow 2015-09-23 10:52:26 +09:30
Toby Zerner
3ac9efde3e Allow discussions to be hidden and restored 2015-09-22 17:48:21 +09:30
Toby Zerner
2c1283af42 Update to FontAwesome 4.4.0 2015-09-22 17:11:51 +09:30
Toby Zerner
2976541d5c 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
a2a0d8ee83 Distinguish links in alerts 2015-09-18 14:39:20 +09:30
Toby Zerner
f2d4b0cc6c Increase text contrast
closes #390
2015-09-14 15:16:19 +09:30
Toby Zerner
cb1cdc1c08 Style disabled fields properly 2015-09-14 14:49:28 +09:30
Malay Ladu
555a408f6c Add green color for online indicator on user cards
Closes #452.
2015-09-11 08:49:07 +02:00
Toby Zerner
54554578a3 Increase text contrast slightly 2015-09-08 10:24:20 +09:30
Toby Zerner
b3853c7650 Slightly darken light grey text 2015-09-04 12:19:20 +09:30
Franz Liedke
588dc96685 Add a first empty state to the discussion list 2015-09-03 09:59:33 +02:00
Rody Molenaar
64033af4a6 Align select 2015-08-31 21:57:43 +02:00
Toby Zerner
41e7ee712b Properly style modal title bar on mobile
closes #286
2015-08-31 13:46:59 +09:30