Skip to content
Snippets Groups Projects
Commit 35ed31ce authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

align sorting display and remove obsolete icons, fixes #2580

Closes #2580

Merge request studip/studip!1737
parent a01a83b4
No related branches found
No related tags found
No related merge requests found
public/assets/images/dreieck_down.png

1.24 KiB

public/assets/images/dreieck_down@2x.png

1.33 KiB

public/assets/images/dreieck_up.png

1.25 KiB

public/assets/images/dreieck_up@2x.png

1.31 KiB

...@@ -649,14 +649,15 @@ table.withdetails { ...@@ -649,14 +649,15 @@ table.withdetails {
display: inline-block; display: inline-block;
height: 16px; height: 16px;
margin-left: 0; margin-left: 0;
.retina-background-image('dreieck_@{direction}.png', 'dreieck_@{direction}@2x.png', 16px, 16px); .background-icon('arr_1@{direction}');
vertical-align: text-top; vertical-align: text-bottom;
width: 16px; width: 16px;
} }
} }
.sortable-table { .sortable-table {
.header, .tablesorter-header:not(.sorter-false) { .header,
.tablesorter-header:not(.sorter-false) {
white-space: nowrap; white-space: nowrap;
color: @base-color; color: @base-color;
...@@ -664,18 +665,20 @@ table.withdetails { ...@@ -664,18 +665,20 @@ table.withdetails {
color: @active-color; color: @active-color;
cursor: pointer; cursor: pointer;
} }
&.tablesorter-headerDesc:hover .tablesorter-header-inner::after {
.background-icon('arr_1down', 'status-red');
}
&.tablesorter-headerAsc:hover .tablesorter-header-inner::after {
.background-icon('arr_1up', 'status-red');
}
} }
.headerSortUp, .tablesorter-headerDesc .tablesorter-header-inner { .headerSortUp,
.tablesorter-headerDesc .tablesorter-header-inner {
.sortable-dreieck('down'); .sortable-dreieck('down');
&::after {
vertical-align: inherit;
}
} }
.headerSortDown, .tablesorter-headerAsc .tablesorter-header-inner { .headerSortDown,
.tablesorter-headerAsc .tablesorter-header-inner {
.sortable-dreieck('up'); .sortable-dreieck('up');
&::after {
vertical-align: inherit;
}
} }
.tablesorter-headerUnSorted:not(.sorter-false) .tablesorter-header-inner { .tablesorter-headerUnSorted:not(.sorter-false) .tablesorter-header-inner {
margin-right: 15px; margin-right: 15px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment