style: fix download attestation button in dark mode
This commit is contained in:
parent
93f1cd97a1
commit
b384da73a3
5 changed files with 1 additions and 13 deletions
|
@ -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 |
|
@ -51,10 +51,6 @@
|
||||||
background-image: image-url("icons/download.svg");
|
background-image: image-url("icons/download.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
&.download-white {
|
|
||||||
background-image: image-url("icons/download-white.svg");
|
|
||||||
}
|
|
||||||
|
|
||||||
&.lock {
|
&.lock {
|
||||||
background-image: image-url("icons/lock.svg");
|
background-image: image-url("icons/lock.svg");
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,9 +4,4 @@
|
||||||
.patron-section {
|
.patron-section {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon.download-white {
|
|
||||||
background-color: $blue-france-500;
|
|
||||||
box-shadow: 0px 0px 1px 2px $blue-france-500;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
%span.icon.preview
|
%span.icon.preview
|
||||||
%span.icon.retry
|
%span.icon.retry
|
||||||
%span.icon.download
|
%span.icon.download
|
||||||
%span.icon.download-white
|
|
||||||
%span.icon.frown
|
%span.icon.frown
|
||||||
%span.icon.meh
|
%span.icon.meh
|
||||||
%span.icon.smile
|
%span.icon.smile
|
||||||
|
|
|
@ -68,8 +68,7 @@
|
||||||
|
|
||||||
- if dossier.attestation.present?
|
- if dossier.attestation.present?
|
||||||
.action
|
.action
|
||||||
= link_to attestation_dossier_path(dossier), target: '_blank', rel: 'noopener', class: 'button primary' do
|
= link_to attestation_dossier_path(dossier), class: "fr-btn fr-icon-download-line fr-btn--icon-left", target: '_blank', rel: 'noopener' do
|
||||||
%span.icon.download-white
|
|
||||||
= t('views.users.dossiers.show.status_overview.accepte_attestation')
|
= t('views.users.dossiers.show.status_overview.accepte_attestation')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue