1 @import 'mediawiki.mixins';
3 /* stylelint-disable selector-class-pattern */
7 // Reserve space for table sortable controls
8 // This selector is not perfect as it will not correctly handle cases with
9 // merged header cells, so ensure it is removed after the JS has run by using
10 // the :not( .jquery-tablesorter ) selector.
11 // It will still prevent a visible jump in the majority of simpler cases.
12 // The second selector in this rule is for after the JS has run.
13 .client-js .sortable:not( .jquery-tablesorter ) > * > tr:first-child > th:not( .unsortable ),
14 .jquery-tablesorter th.headerSort {
15 .background-image-svg( 'images/sort_both.svg', 'images/sort_both.png' );
17 background-repeat: no-repeat;
18 background-position: center right;
24 .background-image-svg( 'images/sort_up.svg', 'images/sort_up.png' );
28 .background-image-svg( 'images/sort_down.svg', 'images/sort_down.png' );