style: fix download attestation button in dark mode

This commit is contained in:
Colin Darie 2023-12-12 17:33:40 +01:00
parent 93f1cd97a1
commit b384da73a3
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
5 changed files with 1 additions and 13 deletions

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="20" viewBox="0 0 16 20"><g fill="none" fill-rule="evenodd"><path d="M11.5 8H15l-7 7-7-7h3.5V1h7zM1 19h14" stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/><path d="M-4-2h24v24H-4z"/></g></svg>

Before

Width:  |  Height:  |  Size: 281 B

View file

@ -51,10 +51,6 @@
background-image: image-url("icons/download.svg");
}
&.download-white {
background-image: image-url("icons/download-white.svg");
}
&.lock {
background-image: image-url("icons/lock.svg");
}

View file

@ -4,9 +4,4 @@
.patron-section {
margin-bottom: 20px;
}
.icon.download-white {
background-color: $blue-france-500;
box-shadow: 0px 0px 1px 2px $blue-france-500;
}
}

View file

@ -25,7 +25,6 @@
%span.icon.preview
%span.icon.retry
%span.icon.download
%span.icon.download-white
%span.icon.frown
%span.icon.meh
%span.icon.smile

View file

@ -68,8 +68,7 @@
- if dossier.attestation.present?
.action
= link_to attestation_dossier_path(dossier), target: '_blank', rel: 'noopener', class: 'button primary' do
%span.icon.download-white
= link_to attestation_dossier_path(dossier), class: "fr-btn fr-icon-download-line fr-btn--icon-left", target: '_blank', rel: 'noopener' do
= t('views.users.dossiers.show.status_overview.accepte_attestation')