Commit Graph

74 Commits

Author SHA1 Message Date
Jarek Radosz ea326906e3
DEV: Use css var font sizes (#18518)
For consistency and and the ability to change all font sizes at once in the dev tools
2022-10-12 15:31:59 +02:00
Kris f0005401b7
UX: core adjustments and styles for the experimental sidebar (#17271) 2022-06-29 10:49:01 +08:00
awesomerobot c161f5e0b2 fix badge wrapping on user summary 2021-07-27 12:48:16 +08:00
Jarek Radosz 15320d432b
DEV: Make badges grid a `grid` (#13719)
Even grid gaps, more space for text, removed on-hover shadow

Co-authored-by: awesomerobot <kris.aubuchon@discourse.org>
2021-07-13 21:58:51 +02:00
Bianca Nenciu ee87d8c93b
FEATURE: Make max number of favorite configurable (#13480)
It used to be hardcoded to 2 and now it uses max_favorite_badges site
setting. When zero, it disables favorite badges.
2021-06-22 18:58:03 +03:00
Joffrey JAFFEUX 1cd0424ccd
FEATURE: lets users favorite 2 badges to show on user-card (#13151) 2021-06-01 10:33:40 +02:00
Penar Musaraj c937afc75e
FEATURE: automatic dark mode (#10341)
A first step to adding automatic dark mode color scheme switching. Adds a new SCSS file at `color_definitions.scss` that serves to output all SCSS color variables as CSS custom properties. And replaces all SCSS color variables with the new CSS custom properties throughout the stylesheets. 

This is an alpha feature at this point, can only be enabled via console using the `default_dark_mode_color_scheme_id` site setting.
2020-08-03 22:57:10 -04:00
Penar Musaraj 3116591dc6
DEV: Refactor `dark-light-choose()` usage in SCSS
Covers most, but not all, cases.
2020-07-29 09:09:37 -04:00
Joe fd4557a9ef UX: Mobile editor style fixes (#7878) 2019-07-11 09:57:53 -04:00
Kris 589351d996 UX: Give badge icons width to accommodate for dimensionless SVGs 2019-07-05 12:37:18 -04:00
Bianca Nenciu 1e1adb1afa FIX: Links in badge summary were not clickable. (#7303) 2019-04-03 11:35:27 +02:00
Kris 95e16ab0a6 UX: Badge checkmarks should be round 2019-01-31 15:27:46 -05:00
Joe d720215183 UX: admin badge page improvements 2019-01-23 11:29:51 +01:00
Kris 83f0afbec9 Usercards sometimes not wrapping correctly in Safari 2019-01-11 12:50:16 -05:00
Kris 6213e020e6 Improving usercard badge alignment 2018-12-14 22:16:18 -05:00
Kris 4cc0a3503b Adding space between badges for medium-sized viewports 2018-12-11 09:45:49 -05:00
Kris b79fedd540 Streamlining some breakpoint mixins 2018-07-12 16:39:16 -04:00
Kris a201103127 removing some old styles 2018-07-12 00:53:24 -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 b519beb314 Turning admin dashboard user counts into badges 2018-05-23 16:55:57 -04:00
Kris c684843c53 Improving title selection on badge pages 2018-03-02 16:15:58 -05:00
Kris 5e11bc79ff Fixing some regressions for profile badges 2018-03-02 14:43:54 -05:00
Kris 0783f8b9e6 Fixing badge detail positioning 2018-03-02 13:21:36 -05:00
Kris 0ec1dc9237 UX: Improving badge page layout 2018-03-02 12:43:01 -05:00
Kris 677e126fbf UX: Implementing a box-shadow system, cleaning up existing shadows 2018-02-20 12:18:20 -05:00
Kris 674013129a
UX: Type system rebuild (#5492) 2018-01-12 17:27:38 -05:00
Maja Komel 2a32536645 grey out disabled badges in admin overview (#5416)
* gray out disabled badges in admin overview

* fix style
2017-12-27 16:57:21 +11:00
Kris dea3e84f18 UX: Reducing number of font-sizes used in common 2017-12-21 12:59:19 -05:00
Kris dc2d9f05dc removing scale-color, first pass 2017-10-13 11:57:10 -04:00
minusfive 611d62e4a5 Cleanup, deduplicate, debug user css, separated user-info component css 2017-09-01 06:32:27 -07:00
Bianca Nenciu ac8bc04ad7 Set user title from the badge view (#5049)
* title info under notification

* create badge-title as component

* display available titles, close button

* remove visual feedback when grant new badge

* Made changes after review.

* Some minor fixes.
2017-08-17 16:32:37 -04:00
awesomerobot c29b7aa65d initial pass at color simplification 2017-07-14 21:43:35 -04:00
Sam 81c08fe451 missing badge count in dark theme 2017-04-20 11:52:06 -04:00
Jeff Atwood d065d4186a very minor CSS tweak to badge h3 2016-08-11 10:00:01 -07:00
Jeff Atwood 0463187772 darken the gold a bit 2016-04-05 00:05:38 -07:00
Régis Hanol 61d61cd410 fix custom badge images on FF 2016-03-30 22:06:17 +02:00
Régis Hanol bf579174c1 UX: improved user summary page 2016-03-30 18:05:16 +02:00
Régis Hanol aec88dc443 FIX: like badges should respect bronze/silver/gold colors 2016-03-29 15:48:46 +02:00
Sam 6bb97dcabb FIX: external hyperlinks broken in badge cards
also, we were allowing nesting of A tags which is not really allowed
2016-03-29 16:21:52 +11:00
Jeff Atwood c53ef51c91 some badge image layout fixes 2016-03-28 11:40:04 -07:00
Jeff Atwood b4d3973aa1 add success color to check on badges 2016-03-25 14:03:00 -07:00
Robin Ward 83b79a4e1e UX: Show a user's badges as cards 2016-03-25 16:10:38 -04:00
Robin Ward 27c793a990 UX: Show badges as cards on the badges index and show page 2016-03-25 15:33:06 -04:00
Jeff Atwood f0c022351d de-line the badge page a bit 2016-03-24 15:47:00 -07:00
Robin Ward db15772ab1 UX: Make user info rendering more consistent 2016-03-24 13:49:35 -04:00
Jeff Atwood 3ae1df63d5 more minor badge page tweaks 2016-03-23 02:32:44 -07:00
Jeff Atwood 96119981ac simplify badge page layout a bit 2016-03-23 02:27:34 -07:00
Sam 1b8010ed71 display long description for badges 2016-03-23 17:34:53 +11:00
Tomas Ibarra 0cb936bdcd Fix pink hearts on the badges section. 2016-03-17 15:29:39 -07:00
Sam ca3e2b4da3 FEATURE: you can not drill down and see why you have badges
Clicking on badges filters down the list to a particular user.
2016-01-18 17:59:20 +11:00