add style for all admins link

This commit is contained in:
Christophe Robillard 2022-11-08 09:58:26 +01:00
parent 24e7de71e3
commit 3b2df47ba0
3 changed files with 33 additions and 28 deletions

View file

@ -1,3 +1,31 @@
#all-demarches .procedure {
cursor: pointer;
.sidebar-filter {
ul {
list-style: none;
padding-inline-start: 0;
border-top: 1px solid var(--border-plain-grey);
}
li {
border-bottom: 1px solid var(--border-plain-grey);
}
button {
font-size: 1rem;
line-height: 1.5rem;
}
legend {
width: 100%;
display: flex;
justify-content: space-between;
}
.reinit a {
background-image: none;
}
}
.main-filter-header {
display: flex;
justify-content: space-between;
}

View file

@ -1,26 +0,0 @@
.sidebar-filter {
ul {
list-style: none;
padding-inline-start: 0;
border-top: 1px solid var(--border-plain-grey);
}
li {
border-bottom: 1px solid var(--border-plain-grey);
}
button {
font-size: 1rem;
line-height: 1.5rem;
}
legend {
width: 100%;
display: flex;
justify-content: space-between;
}
.reinit a {
background-image: none;
}
}

View file

@ -64,6 +64,9 @@
= b.label(class: 'fr-label') { t b.text, scope: 'activerecord.attributes.procedure.aasm_state' }
.fr-col-9
.main-filter-header.fr-my-3w
.search
= link_to 'Voir la liste des administeurs', '#', class: 'fr-btn fr-btn--secondary btn-admins'
.fr-table.fr-table--bordered
%table#all-demarches
%caption