style: replace accept legacy icon

This commit is contained in:
Colin Darie 2023-11-28 14:33:32 +01:00
parent 458d53e471
commit 494aa2bf40
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
7 changed files with 3 additions and 13 deletions

View file

@ -1 +0,0 @@
<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="m0 0h24v24h-24z"/><g stroke="#15ad70" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m12 1c-6.072 0-11 4.928-11 11s4.928 11 11 11 11-4.928 11-11-4.928-11-11-11z"/><path d="m6 12.093 4.182 3.907 7.818-8"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 371 B

View file

@ -39,10 +39,6 @@
margin-right: 4px;
}
.autosave-icon.icon.accept {
vertical-align: -8px;
}
.autosave-retry {
&:disabled {
.autosave-retry-label {

View file

@ -27,10 +27,6 @@
background-image: image-url("icons/unarchive.svg");
}
&.accept {
background-image: image-url("icons/accept.svg");
}
&.edit {
background-image: image-url("icons/edit-folder-blue.svg");
}

View file

@ -11,7 +11,7 @@
= link_to t('.more_information'), t("links.common.faq.autosave_url"), class: 'autosave-more-infos fr-link fr-link--sm', **external_link_attributes
%p.autosave-status.succeeded.fr-mb-0
%span.autosave-icon.icon.accept
= dsfr_icon('fr-icon-checkbox-circle-fill fr-text-default--success autosave-icon')
%span.autosave-label
- if annotation?
= t('.annotations.confirmation')

View file

@ -4,7 +4,7 @@
- menu.with_item do
= link_to('#', onclick: "DS.showMotivation(event, 'accept');", role: 'menuitem') do
%span.icon.accept
= dsfr_icon('fr-icon-checkbox-circle-fill fr-text-default--success')
.dropdown-description
%h4 Accepter
Lusager sera informé que son dossier a été accepté

View file

@ -5,7 +5,6 @@
%span.icon.follow
%span.icon.unfollow
%span.icon.unarchive
%span.icon.accept
%span.icon.edit
%span.icon.bubble
%span.icon.attached

View file

@ -58,7 +58,7 @@
- elsif dossier.accepte?
.accepte
%p.decision{ role: 'status' }
%span.icon.accept
= dsfr_icon('fr-icon-checkbox-circle-fill fr-text-default--success')
= t('views.users.dossiers.show.status_overview.acceptee_html')
- if dossier.motivation.present?