Raise the specificity of the sortable header.
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Sun, 25 Sep 2011 17:26:33 +0000 (17:26 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Sun, 25 Sep 2011 17:26:33 +0000 (17:26 +0000)
Many installations have something like: table.wikitable th {background:color;} which would override the background of the sortable header.

skins/common/shared.css

index f80f8ad..959e3b0 100644 (file)
@@ -925,17 +925,17 @@ ol:lang(or) li {
        background-position: 0% 100%;
 }
 /* Table Sorting */
-th.headerSort {
+table.sortable th.headerSort {
        background-image: url(images/sort_both.gif);
        cursor: pointer;
        background-repeat: no-repeat;
        background-position: center right;
        padding-right: 21px;
 }
-th.headerSortUp {
+table.sortable th.headerSortUp {
        background-image: url(images/sort_up.gif);
 }
-th.headerSortDown {
+table.sortable th.headerSortDown {
        background-image: url(images/sort_down.gif);
 }