Remove role color highlighting from custom css (#33493)
This commit is contained in:
parent
bbe9dcfade
commit
7ad44e22ed
5 changed files with 2 additions and 46 deletions
|
@ -1,7 +1,7 @@
|
|||
.announcements-list__item
|
||||
- if can?(:update, role)
|
||||
= link_to edit_admin_role_path(role), class: 'announcements-list__item__title' do
|
||||
%span.user-role{ class: "user-role-#{role.id}" }
|
||||
%span.user-role
|
||||
= material_symbol 'group'
|
||||
|
||||
- if role.everyone?
|
||||
|
@ -10,7 +10,7 @@
|
|||
= role.name
|
||||
- else
|
||||
%span.announcements-list__item__title
|
||||
%span.user-role{ class: "user-role-#{role.id}" }
|
||||
%span.user-role
|
||||
= material_symbol 'group'
|
||||
|
||||
- if role.everyone?
|
||||
|
|
|
@ -2,9 +2,3 @@
|
|||
<%= raw custom_css_styles %>
|
||||
|
||||
<%- end %>
|
||||
<%- @user_roles.each do |role| %>
|
||||
.user-role-<%= role.id %> {
|
||||
--user-role-accent: <%= role.color %>;
|
||||
}
|
||||
|
||||
<%- end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue