Skip to content

Commit

Permalink
Only highlight sortable column headers on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
flack committed Jul 18, 2024
1 parent d84b055 commit e5e90fa
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions static/midcom.grid/jqGrid.custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,29 @@ a.ui-jqgrid-titlebar-maximize span
border-right-color: rgba(0, 0, 0, .07);
}

.ui-jqgrid .ui-jqgrid-view th.ui-state-hover
.ui-jqgrid .ui-jqgrid-view th.ui-state-hover div.ui-jqgrid-sortable
{
background: -ms-linear-gradient(top, rgba(255, 255, 240, .35) 0%, rgba(255, 255, 230, .3) 6%, rgba(255, 255, 240, .25) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(255, 255, 240, .35) 0%, rgba(255, 255, 230, .3) 6%, rgba(255, 255, 240, .25) 100%); /* W3C */
}

.ui-jqgrid .ui-jqgrid-htable th div
.ui-jqgrid .ui-jqgrid-htable th.ui-th-column div
{
font-weight: normal;
position: relative
position: relative;
margin: 0;
padding: 2px;
}

.ui-jqgrid .ui-jqgrid-htable th input
{
margin: 0;
}
.ui-jqgrid .ui-jqgrid-htable th .s-ico
{
position: absolute;
right: 0;
top: 1px;
right: 2px;
top: 3px;
font-size: 90%
}

Expand Down

0 comments on commit e5e90fa

Please sign in to comment.