Commit Graph

211 Commits

Author SHA1 Message Date
Bianca Nenciu
1d26a473e7 FEATURE: Show "Recently used devices" in user preferences (#6335)
* FEATURE: Added MaxMindDb to resolve IP information.

* FEATURE: Added browser detection based on user agent.

* FEATURE: Added recently used devices in user preferences.

* DEV: Added acceptance test for recently used devices.

* UX: Do not show 'Show more' button if there aren't more tokens.

* DEV: Fix unit tests.

* DEV: Make changes after code review.

* Add more detailed unit tests.

* Improve logging messages.

* Minor coding style fixes.

* DEV: Use DropdownSelectBoxComponent and run Prettier.

* DEV: Fix unit tests.
2018-10-09 22:21:41 +08:00
Kris
ab1e5732d7 UX: Category colorpicker restyle 2018-10-04 15:47:46 -04:00
Kris
ff47609141 UX: Improve custom field layout on signup 2018-10-03 22:26:05 -04:00
Kris
7228c4964c Flag reason "something else" fix 2018-10-02 12:05:21 -04:00
Kris
324b57c207 Prevent flexbox from shrinking inputs 2018-10-02 10:42:49 -04:00
Joe
026bab116a
UX: label alignment for Firefox / IE 2018-09-19 23:48:48 +08:00
Joe
0ac64b6d50
UX: radio / checkbox inputs margin fix 2018-09-19 21:22:40 +08:00
Joe
e844fa5370
UX: general cleanup of inputs, buttons and select elements - part 1 2018-09-19 20:37:04 +08:00
Bianca Nenciu
f5e0356fb2 correct miscellaneous issues with user login history 2018-09-02 17:24:54 +10:00
Régis Hanol
6ada825a4d fix linting 2018-08-31 10:49:44 +02:00
Bianca Nenciu
931cffcebe FEATURE: Let users see their user auth tokens. (#6313) 2018-08-31 10:18:06 +02:00
Kris
b79fedd540 Streamlining some breakpoint mixins 2018-07-12 16:39:16 -04:00
Joffrey JAFFEUX
174d392e5a
DEV: adds prettier (#5956)
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn`

It's recommended to configure your editor to run prettier on file save.
2018-06-08 11:49:31 +02:00
Kris
108e622a61 Matching select-kit padding with inputs 2018-04-19 11:36:09 -04:00
Guo Xiang Tan
dcd1d422d1 UX: Allow admins to set users as owners while adding users.
https://meta.discourse.org/t/adding-owners-members-ux-is-inconsistent-and-misleading/58084/9
2018-03-26 17:33:50 +08:00
Kris
677e126fbf UX: Implementing a box-shadow system, cleaning up existing shadows 2018-02-20 12:18:20 -05:00
Kris
add641cbbc
UX: Input and search cleanup (#5546)
* Cleaning up input sizes

* alignment

* more alignment adjustments
2018-01-31 11:44:51 -05:00
Bruno Perel
6750ff6873 (S)CSS cleanup: 0px => O and removal of duplicated properties (#5526) 2018-01-25 09:53:36 -05:00
Sam
ce815276d0 Small and big should be limited via rem so it works large font mode 2018-01-22 14:22:30 +11:00
Arpit Jalan
104859af47 FIX: prevent <big> nesting abuse 2018-01-19 12:42:30 +05:30
Kris
0c01e0b2fe
UX: Implementing a z-index system (#5507) 2018-01-16 19:05:12 -05:00
Kris
674013129a
UX: Type system rebuild (#5492) 2018-01-12 17:27:38 -05:00
Kris
dea3e84f18 UX: Reducing number of font-sizes used in common 2017-12-21 12:59:19 -05:00
Kris
2d9d43ed1a UX: Removing px font defintions and replacing with em 2017-12-18 15:49:11 -05:00
Kris
d615a37eba UX: Hiding composer preview reduces width of composer overlay 2017-12-01 22:23:12 -05:00
Kris
ada1d6b987
Composer restyle
* composer restyle, some input normalization

* style adjustments: spacing, preview background, colors

* small spacing adjustments, removing default iOS input appearance, fixing merge

* small width adjustment

* fixing mobile link modal for small devices

* FIX: more resilient allowInitiatlValueMutation implementation

* Build scrollMap only on scroll.

* FIX: pick date and time was not reseting state

* FIX: removes auto sizing and touchstart support for now

* Revert "FIX: reflects discourse icons naming scheme s/d-icon-*/d-*"

This reverts commit b5ed980235.

* tweak icon-library generation

* FIX: regression preventing to set number of hours before closing

This commit also adds a full test suite for editing topic timer.

* FIX: makes allowInitialValueMutation more restrictive

* FIX: invite-list expects initial value mutation

* fixing tag input spacing

* minor input cleanup

* bump onebox version

* FIX: avoids test failing at some times of the day

* FIX: various issues when editing category permissions

This commit also adds multiple tests
2017-11-27 15:23:18 -05:00
Kris
a62457bf29 fixing the input color issue on mobile (#5299) 2017-11-10 07:03:19 +11:00
Kris
dc2d9f05dc removing scale-color, first pass 2017-10-13 11:57:10 -04:00
minusfive
fd91e53e68 Cleaned, de-duplicated/DRYed and organized discourse.css (common, mobile and desktop) 2017-09-04 10:56:28 -07:00
minusfive
77469cfb88 Unnest top level selectors from body 2017-08-18 13:00:26 -04:00
awesomerobot
c29b7aa65d initial pass at color simplification 2017-07-14 21:43:35 -04:00
Neil Lalonde
f8584e28d7 UX: improved layout of flag handling UI on mobile 2017-05-24 15:52:29 -04:00
Neil Lalonde
0756602dfa UX: h1, h2, etc css reset should give them a bottom margin 2017-05-24 10:38:25 -04:00
Neil Lalonde
fa77bbf04f FIX: mobile modal close button position, mobile layout of radio buttons and checkboxes 2017-05-18 17:08:52 -04:00
Guo Xiang Tan
17da0bd11f UX: Display wiki icon on post edits indicator. 2017-01-17 06:33:58 +08:00
Rafael dos Santos Silva
46b3c2e9c5 Use CSS animations for post and topic highlights 2016-12-05 20:20:52 -02:00
Guo Xiang Tan
a6b86036ca FIX: Workaround box-shadow and box-radius bug on safari. 2016-11-16 18:22:59 +08:00
Jeff Atwood
27b276df5c copyedit on first notification 2016-11-16 02:13:12 -08:00
Guo Xiang Tan
6ad66ee138 FIX: Reduce spread to make it work on Safari. 2016-11-16 16:54:51 +08:00
Guo Xiang Tan
a9680e5a9e UX: Reduce number of words used. 2016-11-16 12:44:22 +08:00
Guo Xiang Tan
0debab47a3 UX: Tweaks for dark theme. 2016-11-16 12:35:29 +08:00
Guo Xiang Tan
1761317b37 UX: Add help text to first notification. 2016-11-16 12:24:33 +08:00
Guo Xiang Tan
5613c5f81a UX: Add "spotlight" on first notification. 2016-11-15 10:57:16 +08:00
Guo Xiang Tan
298b82f59e UX: Tweak position of radar ping. 2016-11-14 08:45:51 +08:00
Guo Xiang Tan
263a43bcfd UX: Use a gradient instead of a border. 2016-11-09 09:56:36 +08:00
Jeff Atwood
ba4ef3424f minor tweak to ping effect 2016-11-08 03:57:32 -08:00
Guo Xiang Tan
a8b7599d4a FEATURE: Add a radial ping when user's first notification has not been read. 2016-11-08 16:23:12 +08:00
Neil Lalonde
f3f6c2f98f FEATURE: tag groups 2016-06-06 14:18:48 -04:00
Régis Hanol
29d3af0a3b UX: fix the font-size of the messages in the active flags list 2016-05-18 23:34:06 +02:00
Jeff Atwood
6a6e3a6a3a FIX: add global hidden overflow on all topic bodies 2016-02-22 01:17:50 -08:00
Jeff Atwood
d81728f70d don't allow relative dates to wrap 2016-02-06 14:22:55 -08:00
Robin Ward
47495a5713 FEATURE: Replace composer editor with ember version 2015-11-06 09:49:16 -05:00
Robin Ward
94b60e62a2 FEATURE: New markdown editor re-written in Ember
Note this commit leaves out the biggest occurrence of the editor
which is the post/topic composer.

To avoid major breakage, this replaces it everywhere else it was
used:

* User preferences (About Me)
* Admin Customizations > Text Content
* Category Templates
* Editing Queued Posts

A future commit will replace the main composer with this editor
and will remove the unused pagedown code.
2015-10-19 11:01:20 -04:00
Régis Hanol
24f09edbed UX: replace cancel uploading link with icon + fix color (Take 2) 2015-09-16 22:04:48 +02:00
Robin Ward
52f7ab3a06 Revert "UX: replace cancel uploading link with icon + fix color"
This reverts commit 1689f436d9.
2015-09-16 15:15:07 -04:00
Régis Hanol
1689f436d9 UX: replace cancel uploading link with icon + fix color 2015-09-16 17:54:09 +02:00
Kane York
342eba4374 FEATURE: Category reordering dialog 2015-09-06 16:53:52 -07:00
Jeff Atwood
d38c4d5f74 scale-color $lightness must use $secondary for dark themes 2015-08-20 02:42:12 -07:00
Robin Ward
54c0bea294 Darken asides on a dark theme. Create a mixin to DRY things up. 2015-08-19 13:27:41 -04:00
Kane York
a4da72a83b FIX: Dark theme fixes for admin, quotes, code 2015-08-18 12:23:06 -07:00
Simon Cossar
c8085cf576 remove top and bottom padding 2015-07-20 01:01:55 -07:00
Simon Cossar
8840a611ab Substitute wrap for container 2015-07-20 00:47:53 -07:00
Robin Ward
20a338362f FIX: Allow multiple pagedown editors at once. 2015-07-13 16:36:38 -04:00
awesomerobot
f20c28c16b replacing the remnants of the old color variable code 2015-06-14 22:59:49 -04:00
Sam
05cb4b7660 Bump cold mapping down so it maintains old readability 2015-05-29 15:19:28 +10:00
Jeff Atwood
8c9cee6fe3 UX: coldmap now progressively dimmer primary color 2015-05-27 00:36:16 -07:00
Jeff Atwood
42a8e742f8 UX: switch to lighter grey for all quotes 2015-05-22 02:11:18 -07:00
Arpit Jalan
c2510e610d UX: fix blockquote in firefox 2015-05-19 15:10:19 +05:30
Jens Maier
5d4a22920e Remove white corners from avatars
See https://meta.discourse.org/t/round-avatars-in-topic-list/27098/103?u=elberet
2015-04-08 11:14:06 +02:00
Jeff Atwood
19be0ff744 try "the McWumbly shadow" effect 2015-04-03 23:07:49 -07:00
Jeff Atwood
51a9bc055b UX: switch to circle avatars by default 2015-04-02 15:10:15 -07:00
Kris Aubuchon
36087919b6 adding clearfix to body 2015-03-27 14:42:27 -04:00
Jeff Atwood
2a46418284 add back in @-webkit-keyframes 2014-12-25 02:19:06 -08:00
Jeff Atwood
8b3babdbde add back in a few -webkit- css3 prefixes
due to http://shouldiprefix.com/ and iOS mainly!
2014-12-25 01:41:44 -08:00
Jeff Atwood
b91f9f4142 remove a bunch of needless css prefixes 2014-12-25 01:05:45 -08:00
Jeff Atwood
e122e52fb8 kill some -webkit-transition CSS 2014-12-23 23:18:57 -08:00
Jeff Atwood
576861505e just use plain CSS3 transition 2014-12-23 03:09:17 -08:00
Kris Aubuchon
bcb03474d6 fixing base line-height and big/small abuse 2014-12-17 14:51:47 -05:00
Kris Aubuchon
3eebc0e589 changing font sizes to ems, so fonts scale a bit more gracefully 2014-12-15 22:12:56 -05:00
Kris Aubuchon
d8c8264b4e fixing loading spinner alignment and striping 2014-12-04 17:05:47 -05:00
Robin Ward
0d12ed2231 UX: More spinner upgrades 2014-11-13 15:40:28 -05:00
Kris Aubuchon
6ca555eee0 simplifying the spinner due to IE/Win Chrome issues 2014-11-11 09:22:14 -05:00
Kris Aubuchon
a0e5605869 updated loading spinner 2014-11-05 20:13:51 -05:00
Kris Aubuchon
59e0c1b9cd trying out a new css-only loading spinner 2014-11-05 10:08:20 -05:00
Sam
4d82a571fb FIX: restrict the size of small tags (when nested) 2014-11-03 11:23:18 +11:00
Régis Hanol
7525a896df UX: make the blue notification float over the column headers on desktop 2014-10-29 00:46:05 +01:00
Jeff Atwood
9e9bfe03c0 add overflow:hidden to blockquote (for images) 2014-10-16 22:45:45 -07:00
Jeff Atwood
3483c7b0de UX: drop text from loading spinner, make bigger 2014-10-03 13:38:55 -07:00
Jeff Atwood
5fe1f99bf5 drop text from loading spinner 2014-10-02 14:50:13 -07:00
Kris Aubuchon
a8e6e1e3d5 adding highlight back to topic-list 2014-08-22 10:45:51 -04:00
Jeff Atwood
c04b7cfe8a only do two levels of coldmapping 2014-08-14 22:27:10 -07:00
Jeff Atwood
f8cb0b6452 we have two sets of heatmap colors, apparently 2014-08-14 21:55:17 -07:00
Jeff Atwood
c32f64fe94 more betterer heat/coldmap color scheme 2014-08-14 21:36:35 -07:00
Jeff Atwood
e539e6ff21 try grey instead of blue for coldmap range 2014-08-14 16:42:31 -07:00
Kris Aubuchon
56e7ca10fe swapping around heatmap low/high 2014-08-14 09:33:41 -04:00
Kris Aubuchon
982b007604 heatmap/coldmap should stay red/blue despite theming 2014-08-13 16:38:49 -04:00
Kris Aubuchon
1557f07e87 reverting notification style 2014-07-25 23:06:14 -04:00
Kris Aubuchon
ab8bade9c6 fixing PM notification badge 2014-07-25 13:37:42 -04:00
Robin Ward
7a739eb373 FIX: Don't lose background class while navigating from /latest to
`/new`
2014-07-01 16:06:47 -04:00
Robin Ward
288bb5588f Use different approach for background image 2014-07-01 13:40:09 -04:00
Jeff Atwood
fc12091a93 get rid of some needless (?) img styles on mobile 2014-06-23 01:17:23 -07:00
Jeff Atwood
4d6ca00e2b remove user page mini-avatar wrappers 2014-05-28 23:21:27 -07:00
Jeff Atwood
13ff9980ac Merge pull request #2385 from fantasticfears/css_modal
fix user/username error class
2014-05-26 11:00:41 -07:00
Kris Aubuchon
9c02ad73ac merging more styles into base, also fixing <big> abuse 2014-05-26 11:33:47 -04:00
Erick Guan
ecbda44be4 fix user/username error class 2014-05-26 17:46:31 +08:00
Kris Aubuchon
7accf5aafa some simple style cleanup 2014-05-19 23:55:46 -04:00
Kris Aubuchon
ffa33c572c making the color customizer a little nicer with dark themes 2014-05-19 01:17:59 -04:00
Neil Lalonde
c4d3aa3d47 Theming: a UI to choose some base colors that are applied to all the site css. CSS compiled outside of asset pipeline. 2014-05-14 10:18:12 -04:00
Kris Aubuchon
8ea63006e4 simplifying and segmenting color variables 2014-05-06 01:50:51 -04:00
Sam
2debf7d97d Correct colors for tracking glyph in notification area 2014-04-24 10:48:04 +10:00
Kris Aubuchon
e4d1aaa290 pulling some more styles out of desktop/mobile to common/base 2014-04-20 15:17:11 -04:00