Commit Graph

231 Commits

Author SHA1 Message Date
Robin Ward
e4c2b5e430 REFACTOR: CSS improvements to improve targetting and remove !important 2017-07-28 15:52:57 -04:00
Robin Ward
6dfa3625df REFACTOR: Replace fa-* in SCSS with d-icon-* 2017-07-27 15:09:30 -04:00
Robin Ward
3152eabbb0 UX: Use flat button style for bulk selection 2017-07-25 12:00:19 -04:00
Robin Ward
5da848088a UX: Refactor composer buttons into flat buttons 2017-07-25 12:00:19 -04:00
awesomerobot
c29b7aa65d initial pass at color simplification 2017-07-14 21:43:35 -04:00
Sam
ff6b9aee47 no opacity rule for btn-primary 2017-05-12 15:11:44 -04:00
Robin Ward
5bbc477baa UX: Better looking bulk actions modal 2017-05-11 14:48:06 -04:00
Neil Lalonde
2503241ce5 FEATURE: rebuild user preferences page to use tabs 2017-05-02 16:52:18 -04:00
cpradio
d69122c385 UX: Change banner close button to be floated to the right 2017-04-24 20:51:02 -04:00
Neil Lalonde
703e6faf54 Revert "remove important from extra-info-wrapper color" 2017-04-20 16:27:10 -04:00
Neil Lalonde
3d32158893 remove important from extra-info-wrapper color 2017-04-20 11:53:41 -04:00
Guo Xiang Tan
5c39c8f24b UX: Improve the way users set timers for TopicStatusUpdate. 2017-04-20 14:25:45 +08:00
Sam
a3e8c3cd7b FEATURE: Native theme support
This feature introduces the concept of themes. Themes are an evolution
of site customizations.

Themes introduce two very big conceptual changes:

- A theme may include other "child themes", children can include grand
children and so on.

- A theme may specify a color scheme

The change does away with the idea of "enabled" color schemes.

It also adds a bunch of big niceties like

- You can source a theme from a git repo

- History for themes is much improved

- You can only have a single enabled theme. Themes can be selected by
    users, if you opt for it.

On a technical level this change comes with a whole bunch of goodies

- All CSS is now compiled using a custom pipeline that uses libsass
    see /lib/stylesheet

- There is a single pipeline for css compilation (in the past we used
    one for customizations and another one for the rest of the app

- The stylesheet pipeline is now divorced of sprockets, there is no
   reliance on sprockets for CSS bundling

- CSS is generated with source maps everywhere (including themes) this
    makes debugging much easier

- Our "live reloader" is smarter and avoid a flash of unstyled content
   we run a file watcher in "puma" in dev so you no longer need to run
   rake autospec to watch for CSS changes
2017-04-12 10:53:49 -04:00
Rimian Perkins
95f7b60212 less restrictive to allow plugin outlets
for extra-nav-items
2017-03-06 14:38:57 +11:00
Sam
06570f8e5a UX: less restrictive selector to allow for plugin outlets
Currently plugin outlets in LIs will generate a wrapping SPAN,
this makes an allowence in core for nave extenstions (like solved does)
2017-02-02 12:18:03 -05:00
Guo Xiang Tan
a5fead3857 UX: Redesign group page to follow user page. 2016-12-22 13:08:59 +08:00
Guo Xiang Tan
3666575b46 UX: Improve styling for groups page. 2016-12-15 12:19:13 +08:00
Erick Guan
52763f5115
FEATURE: Allow posting a link with topics 2016-12-05 17:20:54 +01:00
Rafael dos Santos Silva
03ec480c65 Removes UI for print, adds CTRL+P shortcut 2016-09-26 20:46:55 -03:00
Régis Hanol
467564eb82 fix unread/new badge in /categories page 2016-08-24 22:04:30 +02:00
Régis Hanol
6d1d7b7c8f UX: new /categories layout 2016-08-17 23:23:16 +02:00
Guo Xiang Tan
72b321b7b4 Revert "UX: Centering Badge notification styles on mobile."
This reverts commit fce902ab1e.
2016-08-08 09:02:46 +08:00
Guo Xiang Tan
2332422a85 UX: Text wasn't centered properly in badge notification. 2016-08-04 10:51:11 +08:00
Sam
6d10812b26 FEATURE: auto expand incoming/outgoing links 2016-06-08 16:49:01 +10:00
scossar
7811213ff9 vertical-align text-top 2016-05-15 16:01:13 -07:00
Sam
b35682112b UX: don't change color of number in badge on hover 2016-05-13 18:47:40 +10:00
Régis Hanol
fd93fff39b update pikaday.js to latest and replace date inputs with pikadays 2016-04-15 17:58:32 +02:00
Régis Hanol
bf579174c1 UX: improved user summary page 2016-03-30 18:05:16 +02:00
Ubuntu
5c603bf8ec Added Instagram login method 2016-02-25 12:13:59 +10:00
Jeff Atwood
15ce3b2f49 minor banner X close position adjustment 2016-02-24 16:46:28 -08:00
Jeff Atwood
6eb8730fce tweak banner close X button a bit 2016-02-22 15:57:31 -08:00
Guo Xiang Tan
ee38572be3 UX: Set max-width on category column to trigger overflow. 2016-02-10 16:34:43 +08:00
Guo Xiang Tan
abc4454e89 UX: Set max-width in order to trigger overflow. 2016-02-10 16:27:03 +08:00
Guo Xiang Tan
d220eb34ff Remove unused mixin. 2016-02-10 16:17:41 +08:00
Guo Xiang Tan
350f1685e5 UX: Hashtag color for dark theme. 2016-01-29 17:28:41 +08:00
Guo Xiang Tan
fc83525a2b FIX: Missing tag in CSS. 2016-01-21 20:39:48 +08:00
Guo Xiang Tan
bd86e88b05 UX: Remove category hashtag decoration. 2016-01-21 12:27:52 +08:00
Sam
d18085c57d Merge pull request #3962 from scossar/category-dropdown-badge-wrapper-width
FIX: category-dropdown-menu badge-wrapper width
2016-01-19 19:54:43 +11:00
Guo Xiang Tan
843f93594f UX: Smaller margins for category badges. 2016-01-19 13:45:18 +08:00
Guo Xiang Tan
4a7f560a35 FEATURE: Decorate category hashtag links. 2016-01-19 10:58:15 +08:00
scossar
02c3884661 box-sizing border box 2016-01-17 11:46:37 -08:00
Sam
a8b5192efd FEATURE: User page refactor
Re-organise user page so it is easier to find interesting info
split it into tabs

- Introduce notifications and messages tabs
- Stop couting stuff for the user page to speed up rendering
- Suppress more information when viewing your own profile
2015-12-20 16:45:49 +11:00
Guo Xiang Tan
a4fec28b52 UX: Fix misaligned topic list border. 2015-11-17 19:22:54 +08:00
Arpit Jalan
2eece87206 UX: clip long category names in suggested topics 2015-10-14 19:02:57 +05:30
Jeff Atwood
42f252d3ba make bar and bullet drop-down cat fullwidth 2015-09-25 00:26:41 -07:00
Robin Ward
b12ace5f9d FEATURE: Add staff gear icon to composer with options 2015-09-15 16:42:04 -04:00
Neil Lalonde
bc52b72145 FIX: long category names overflow outside of bullet style category badges 2015-09-09 16:20:04 -04:00
Neil Lalonde
74eacba12f FIX: long category names overflow outside of box style badges 2015-09-09 14:46:40 -04:00
Robin Ward
4a6f617f4d UX: Long category names pushed badges to a new line in the hamburger 2015-09-02 15:42:20 -04:00
Sam
c2e9644558 Revert "flexbox for the post header"
This reverts commit bef3084516.
2015-09-02 12:20:35 +10:00
awesomerobot
bef3084516 flexbox for the post header 2015-09-01 10:38:37 -04:00
Robin Ward
3ae5a0a2df UX: Merge notifications and user dropdown 2015-08-28 16:11:40 -04:00
Jeff Atwood
5a14dcc991 Merge pull request #3685 from riking/dark-theme-fix
Dark theme fix, part 6
2015-08-21 11:43:37 -07:00
Kane York
e2e7e6df44 FIX: Unread post circle colors in dark theme 2015-08-21 11:19:02 -07:00
Neil Lalonde
73264648f2 FIX: emoji upload button always appeared disabled 2015-08-21 13:13:23 -04:00
Kane York
aaccb73a3b Use choose-grey(5%) instead of diff(97%) 2015-08-20 14:35:28 -07:00
Jeff Atwood
d38c4d5f74 scale-color $lightness must use $secondary for dark themes 2015-08-20 02:42:12 -07:00
Robin Ward
4062e4a464 Merge pull request #3671 from riking/css-cleanup
CLEANUP: Coalesce repeated CSS properties
2015-08-19 12:13:49 -04:00
Kane York
2f595f27e9 CLEANUP: Coalesce repeated CSS properties 2015-08-18 22:02:33 -07:00
Kane York
c4e5594826 FIX: Keyboard shortcuts dark theme 2015-08-18 21:42:41 -07:00
Kane York
7ee0ee6769 Optimize CSS properties 2015-08-18 21:40:19 -07:00
Kane York
6a0eba3ba2 Oops, that should fix it.. 2015-08-18 13:23:50 -07:00
Kane York
c8c3b057cb FIX: Unread posts in dark theme 2015-08-18 12:29:55 -07:00
Kane York
a4da72a83b FIX: Dark theme fixes for admin, quotes, code 2015-08-18 12:23:06 -07:00
Guo Xiang Tan
2fd4115fd9 UX: Social login buttons alignment off on mobile. 2015-08-01 12:00:47 +08:00
Sam
6d9674278e UX: remove zocial and use font awesome instead
UX: use github logo for github login
2015-07-21 15:47:58 +10:00
awesomerobot
792a12349b switching bullet-badges to flexbox to solve alignment 2015-07-14 21:29:05 -04:00
awesomerobot
46fccada69 fixing category selector background color (to match button bg) 2015-06-23 22:08:12 -04:00
awesomerobot
f20c28c16b replacing the remnants of the old color variable code 2015-06-14 22:59:49 -04:00
Neil Lalonde
ec6b21227e slightly better alignment for bullet category badge 2015-06-03 11:35:15 -04:00
Neil Lalonde
8449896f3d more bullet category vertical alignment fussing 2015-06-02 10:50:33 -04:00
awesomerobot
93de39f1da a few color variable fixes for the topic map 2015-06-01 21:13:37 -04:00
Neil Lalonde
7430da0ec4 FIX: unread counts with 2 digits were wrapping in hamburger menu 2015-05-30 14:39:41 -04:00
Neil Lalonde
fbcc8045ec FIX: hanging lowercase characters were cut off in bar style category badges 2015-05-30 14:39:05 -04:00
Neil Lalonde
5f3451a3ea another fix for bullet category badges to prevent wrapping with unread counts on long category names 2015-05-29 12:59:00 -04:00
Neil Lalonde
80ee30003a FIX: bullet style category badges for long category names 2015-05-29 12:08:52 -04:00
Erick Guan
54ce66fc62 FIX: ensure not found category badge consistent with style 2015-05-13 19:30:19 +08:00
Régis Hanol
a737090442 - FEATURE: revamped poll plugin
- add User.staff scope
- inject MessageBus into Ember views (so it can be used by the poll plugin)
- REFACTOR: use more accurate is_first_post? method instead of post_number == 1
- FEATURE: add support for JSON-typed custom fields
- FEATURE: allow plugins to add validation
- FEATURE: add post_custom_fields to PostSerializer
- FEATURE: allow plugins to whitelist post_custom_fields
- FIX: don't bump when post did not save successfully
- FEATURE: polls are supported in any post
- FEATURE: allow for multiple polls in the same post
- FEATURE: multiple choice polls
- FEATURE: rating polls
- FEATURE: new dialect allowing users to preview polls in the composer
2015-04-23 19:33:29 +02:00
Kris Aubuchon
a87bf1d9aa some fixes for tag alignment 2015-04-14 15:54:17 -04:00
Régis Hanol
e9e57f3059 UX: banner topic's background was blue 2015-03-30 10:42:14 +02:00
Kris Aubuchon
a5cffcaa7f lighter yellow directory highlight, badge fix on mobile 2015-03-25 21:29:01 -04:00
Régis Hanol
dce258017f FIX: Avatar shows over banner on mobile
cf. https://meta.discourse.org/t/avatar-shows-over-banner-on-mobile/26668
2015-03-23 16:08:46 +01:00
Kris Aubuchon
3d6c636aa8 a few small alignment fixes for bullet categories 2015-03-10 10:34:04 -04:00
Kris Aubuchon
b89fa00f79 bullet category fixes 2015-03-09 23:47:30 -04:00
Kris Aubuchon
6c9eeb0792 adding a new "bullet" category style 2015-03-09 12:25:27 -04:00
Kris Aubuchon
8932b9afcf rebuilding the category badge css 2015-03-06 13:51:16 -05:00
Sam
f555bbb416 FEATURE: long descriptions for badges to help teach people 2015-02-27 17:19:18 +11:00
Sam
8248abf73c UX: clean up box category styling 2015-02-25 17:42:10 +11:00
NomNuggetNom
44e8087e20 Fix misaligned dropdown categories 2015-02-21 22:02:08 -05:00
Kris Aubuchon
f6035411c9 box category alignment fix 2015-02-12 23:24:07 -05:00
Kris Aubuchon
0bc35a6360 fixing unread count alignment 2015-02-08 18:09:12 -05:00
Sam
dd9c23eb5e we need access to badge category bg in drop down for extensibility 2015-02-06 16:20:55 +11:00
Sam
8b95511816 correct bad styling in user->pref->categories 2015-01-31 17:04:53 +11:00
Sam
d9ae4e791e woops should be a bit more specific 2015-01-30 19:17:26 +11:00
Sam
833b7b8f0b fix header primary missing color 2015-01-30 17:57:46 +11:00
Sam
e77eaf9c95 adjust styling for tagged topics 2015-01-30 12:33:27 +11:00
Sam
ffee7ba789 fix style 2015-01-29 18:37:38 +11:00
Sam
1a694c04e4 correct box styles 2015-01-29 17:49:14 +11:00
Sam
cd5564f623 more styling tweaks 2015-01-29 17:49:14 +11:00
Sam
6495bca540 bar style fixes 2015-01-29 17:49:14 +11:00