Rev 12376 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 12376 | obado | 1 | /**** |
| 2 | table_sort.css |
||
| 12377 | obado | 3 | This file can be used by table sorting scripts |
| 4 | |||
| 5 | This css comes from https://github.com/tristen/tablesort |
||
| 12376 | obado | 6 | ****/ |
| 7 | |||
| 12377 | obado | 8 | |
| 9 | th[role=columnheader]:not(.no-sort) { |
||
| 12376 | obado | 10 | cursor: pointer; |
| 11 | } |
||
| 12 | |||
| 12377 | obado | 13 | th[role=columnheader]:not(.no-sort):after { |
| 14 | content: ''; |
||
| 15 | float: right; |
||
| 16 | margin-top: 7px; |
||
| 17 | border-width: 0 4px 4px; |
||
| 18 | border-style: solid; |
||
| 19 | /*border-color: #404040 transparent;*/ |
||
| 20 | /*border-color: #F0F0F0 transparent;*/ |
||
| 21 | border-right-color: transparent; |
||
| 22 | border-left-color: transparent; |
||
| 23 | visibility: hidden; |
||
| 24 | opacity: 0; |
||
| 25 | -ms-user-select: none; |
||
| 26 | -webkit-user-select: none; |
||
| 27 | -moz-user-select: none; |
||
| 28 | user-select: none; |
||
| 29 | } |
||
| 30 | |||
| 31 | th[aria-sort=ascending]:not(.no-sort):after { |
||
| 32 | border-bottom: none; |
||
| 33 | border-width: 4px 4px 0; |
||
| 34 | } |
||
| 35 | |||
| 36 | th[aria-sort]:not(.no-sort):after { |
||
| 37 | visibility: visible; |
||
| 38 | opacity: 0.4; |
||
| 39 | } |
||
| 40 | |||
| 41 | th[role=columnheader]:not(.no-sort):hover:after { |
||
| 42 | visibility: visible; |
||
| 43 | opacity: 1; |
||
| 44 | } |