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 {
display: inline-block;
height: 16px;
margin-left: 0;
.retina-background-image('dreieck_@{direction}.png', 'dreieck_@{direction}@2x.png', 16px, 16px);
vertical-align: text-top;
.background-icon('arr_1@{direction}');
vertical-align: text-bottom;
width: 16px;
}
}
.sortable-table {
.header, .tablesorter-header:not(.sorter-false) {
.header,
.tablesorter-header:not(.sorter-false) {
white-space: nowrap;
color: @base-color;
......@@ -664,18 +665,20 @@ table.withdetails {
color: @active-color;
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');
&::after {
vertical-align: inherit;
}
}
.headerSortDown, .tablesorter-headerAsc .tablesorter-header-inner {
.headerSortDown,
.tablesorter-headerAsc .tablesorter-header-inner {
.sortable-dreieck('up');
&::after {
vertical-align: inherit;
}
}
.tablesorter-headerUnSorted:not(.sorter-false) .tablesorter-header-inner {
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