style: replace legacy folder icon
This commit is contained in:
parent
eff2b856df
commit
2a31fc68d7
11 changed files with 10 additions and 29 deletions
|
@ -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 |
|
@ -15,10 +15,6 @@ $dossier-actions-bar-border-width: 1px;
|
|||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
|
||||
.icon.folder {
|
||||
vertical-align: -3px;
|
||||
}
|
||||
}
|
||||
|
||||
.dossier-form-actions {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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?
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue