1 /* improvedtableparser.css - some additional styles for ImprovedTableParser 2 * which can be included in screen.css and print.css 3 * using... 4 * 5 * @import "improvedtableparser.css"; 6 * 7 * ...before any rules. 8 * 9 * Copyright (c) 2012 by Paul Boddie 10 * Licensed under the GNU GPL (v2 or later), see COPYING.txt for details. 11 */ 12 13 .sortablecolumn { 14 position: relative; 15 padding-bottom: 0.5em; 16 } 17 18 .sortablecolumn .sortcolumns { 19 display: none; 20 position: absolute; 21 top: 1em; 22 left: 0; 23 z-index: 3; 24 background-color: #fff; 25 color: #000; 26 border: 1px solid #000; 27 padding: 0; 28 } 29 30 .sortablecolumn:hover .sortcolumns { 31 display: block; 32 } 33 34 /* Column listings. */ 35 36 .sortcolumns ol { 37 margin: 0.5em; 38 padding: 0.25em 1.5em 0.25em 1.5em; 39 } 40 41 .sortcolumns li { 42 white-space: nowrap; 43 border-top: 2px solid #fff; 44 } 45 46 .sortcolumns a { 47 text-decoration: none !important; 48 color: inherit !important; 49 } 50 51 .sortcolumn:hover { 52 border-top: 2px solid #f66; 53 } 54 55 /* Column removal and inactive columns. */ 56 57 a.altdirection, 58 a.removecolumn, 59 .unlinkedcolumn { 60 margin-left: 0.25em; /* replaces the container used for the pop-up */ 61 } 62 63 a.removecolumn { 64 color: inherit !important; 65 } 66 67 a.removecolumn:hover { 68 text-decoration: line-through !important; 69 } 70 71 /* Positioning of pop-up elements. */ 72 73 .sortcolumn-container { 74 position: relative; 75 padding-right: 0.25em; 76 } 77 78 /* New column pop-up. */ 79 80 .sortcolumn .newsortcolumn { 81 display: none; 82 position: absolute; 83 bottom: 0.5em; 84 right: 0.25em; 85 z-index: 4; 86 } 87 88 .sortcolumn:hover .newsortcolumn { 89 display: block; 90 } 91 92 .newsortcolumn { 93 background-color: #f66; 94 color: #000; 95 padding: 0.5em; 96 }