Skip to content

Commit

Permalink
added sorting markers to objectItems list
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr. Frank Hoffmann authored and Dr. Frank Hoffmann committed Jun 21, 2018
1 parent bcf0dcb commit e134535
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion src/zmi/styles/resources/zmi_base.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ form.zmi-upload {

/* MAIN / OBJECTLIST */


.zmi table.objectItems td {
line-height:1.7rem;
}
Expand Down Expand Up @@ -216,6 +215,44 @@ form.zmi-upload {
.zmi table.objectItems tr.checked {
background-color:#007bff1c !important;
}


/* Table Object-Items: Sorting Links*/
.zmi table.objectItems th a:hover {
color:black;
}
.zmi table.objectItems th a:after {
color:transparent;
margin-left:.15rem !important;
}
.zmi table.objectItems th a.zmi-sort_key::after,
.zmi table.objectItems th a.zmi-sort_key::after {
color:black;
}
.zmi table.objectItems th a.zmi-sort_key[title*='ASC']:after,
.zmi table.objectItems th a.zmi-sort_key[title*='DESC']:hover:after,
.zmi table.objectItems th a[title*='DESC']:after {
content:"↓";
/*
content:"\f0d7";
font-family: "Font Awesome\ 5 Free",Fontawesome;
*/
}
.zmi table.objectItems th a.zmi-sort_key[title*='DESC']:after,
.zmi table.objectItems th a.zmi-sort_key[title*='ASC']:hover:after,
.zmi table.objectItems th a[title*='ASC']:after {
content:"↑";
/*
content:"\f0d8";
font-family: "Font Awesome\ 5 Free",Fontawesome;
*/
}
.zmi table.objectItems th a[title*='DESC']:hover:after,
.zmi table.objectItems th a[title*='ASC']:hover:after {
color:red;
}


.zmi main:not(.zmi-patch) > form > table.table {
margin: 0 -1rem;
max-width: calc(100% + 1.9rem);
Expand Down

0 comments on commit e134535

Please sign in to comment.