style: replace legacy folder icon

This commit is contained in:
Colin Darie 2023-11-28 09:50:43 +01:00
parent eff2b856df
commit 2a31fc68d7
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
11 changed files with 10 additions and 29 deletions

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" fill-rule="evenodd"><path stroke="#000091" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2z"/><path d="M0 0h24v24H0z"/></g></svg>

Before

Width:  |  Height:  |  Size: 337 B

View file

@ -15,10 +15,6 @@ $dossier-actions-bar-border-width: 1px;
h1 {
font-size: 2rem;
.icon.folder {
vertical-align: -3px;
}
}
.dossier-form-actions {

View file

@ -30,15 +30,6 @@
padding: (2 * $default-spacer) $default-spacer;
}
.icon.folder {
position: relative;
.notifications {
top: -3px;
right: -6px;
}
}
.notification-col {
a {
font-size: 16px;

View file

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

View file

@ -49,7 +49,7 @@
- else
%span.fr-badge= procedure.instructeurs.count
%span.icon.folder.fr-ml-1w
= dsfr_icon('fr-icon-file-text-fill fr-ml-1w')
%span.fr-badge= procedure.dossiers.state_not_brouillon.visible_by_administration.count
.text-right

View file

@ -37,7 +37,7 @@
%tr
%td.number-col
= link_to(expert_avis_path(avis.procedure, avis), class: 'cell-link') do
%span.icon.folder
= dsfr_icon('fr-icon-file-text-line')
#{avis.dossier.id}
%td= link_to(avis.dossier.user_email_for(:display), expert_avis_path(avis.procedure, avis), class: 'cell-link')
%td= link_to(avis.procedure.libelle, expert_avis_path(avis.procedure, avis), class: 'cell-link')

View file

@ -46,7 +46,7 @@
- @deleted_dossiers.each do |deleted_dossier|
%tr
%td.text-center
%span.icon.folder
= dsfr_icon('fr-icon-file-text-line')
%td.number-col
= deleted_dossier.dossier_id
%td

View file

@ -145,12 +145,12 @@
- else
- if p.hidden_by_administration_at.present?
%span.cell-link
%span.icon.folder
= dsfr_icon('fr-icon-file-text-line')
- else
%a.cell-link{ href: path }
%span.icon.folder
- if @not_archived_notifications_dossier_ids.include?(p.dossier_id)
%span.notifications{ 'aria-label': 'notifications' }
= dsfr_icon('fr-icon-file-text-line')
- if @not_archived_notifications_dossier_ids.include?(p.dossier_id)
%span.notifications{ 'aria-label': 'notifications' }
%td.number-col
- if p.hidden_by_administration_at.present?

View file

@ -1,6 +1,6 @@
%td.text-center
%p.cell-link
%span.icon.folder
= dsfr_icon('fr-icon-file-text-line')
%td.number-col
%p.cell-link= p.dossier_id

View file

@ -37,7 +37,7 @@
%tr{ class: [p.hidden_by_administration_at.present? && "file-hidden-by-user"] }
- if instructeur_and_expert_dossier
%td.text-center.cell-link
%span.icon.folder
= dsfr_icon('fr-icon-file-text-line')
%td.number-col
.cell-link= p.dossier_id
%td
@ -54,7 +54,7 @@
%td.text-center
%a.cell-link{ href: path }
%span.icon.folder
= dsfr_icon('fr-icon-file-text-line')
%td.number-col
%a.cell-link{ href: path }= p.dossier_id

View file

@ -6,7 +6,6 @@
%span.icon.unfollow
%span.icon.archive
%span.icon.unarchive
%span.icon.folder
%span.icon.accept
%span.icon.refuse
%span.icon.without-continuation