[openstreetmap/openstreetmap-website] Replace custom role icon helpers with inline_svg_tag (PR #6215)
Anton Khorev
notifications at github.com
Mon Jul 21 18:42:44 UTC 2025
@AntonKhorev commented on this pull request.
> @@ -20,3 +20,13 @@ $table-border-factor: .1;
$list-group-hover-bg: rgba(var(--bs-emphasis-color-rgb), .075);
$enable-negative-margins: true;
+
+.role-icon-administrator {
+ color: #f69e42;
+}
+.role-icon-moderator {
+ color: #447eff;
+}
+.role-icon-importer {
+ color: #38e13a;
+}
Put them in another file, `colors.scss`.
I hope to use `common.scss` for print style later, Bootstrap has [some support for that](https://getbootstrap.com/docs/5.3/utilities/display/#display-in-print).
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6215#discussion_r2219977793
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6215/review/3039283083 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250721/6ddbba2e/attachment.htm>
More information about the rails-dev
mailing list