add sort & view for species

This commit is contained in:
Julie Blanc 2026-02-15 23:14:52 +01:00
parent 718ca47696
commit 6fff7422e8
26 changed files with 1448 additions and 432 deletions

View file

@ -2,15 +2,13 @@
.species-list .taxon{
.btn-edit {
@include icon(20px);
}
.chart-edit{
@include chart-edit(40px);
}
.chart-edit, .btn-edit{
.chart-edit, .btn-edit{
display: none;
}
@ -21,11 +19,10 @@
position: relative;
background-color: var(--color-green-light);
padding: 20px;
padding: calc(var(--padding-inner)*0.75);
.vernacular{ order: 1; }
.latin{ order: 2; }
figure{ order: 3; }
.name{ order: 1; }
figure{ order: 2; }
figure{
@include fig-ratio(1/1);
@ -41,6 +38,8 @@
border-radius: var(--radius-small);
padding: 4px 1ch;
margin-bottom: calc(var(--spacing)*0.25);
font-size: var(--fs-normal);
line-height: 1.1;
a{
color: white;
text-decoration: none;
@ -53,6 +52,7 @@
font-style: italic;
margin-bottom: calc(var(--spacing)*0.75);
color: var(--color-txt);
font-size: var(--fs-small);
}
.vernacular, .latin{