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 padding-top: 4px; 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 padding-top: 2px; 54 } 55 56 /* Column removal and inactive columns. */ 57 58 a.altdirection, 59 a.removecolumn, 60 .unlinkedcolumn { 61 margin-left: 0.25em; /* replaces the container used for the pop-up */ 62 } 63 64 a.removecolumn { 65 color: inherit !important; 66 } 67 68 a.removecolumn:hover { 69 text-decoration: line-through !important; 70 } 71 72 /* Positioning of pop-up elements. */ 73 74 .sortcolumn-container { 75 position: relative; 76 padding-right: 0.25em; 77 } 78 79 /* New column pop-up. */ 80 81 .sortcolumn .newsortcolumn { 82 display: none; 83 position: absolute; 84 bottom: 0.5em; 85 right: 0.25em; 86 z-index: 4; 87 } 88 89 .sortcolumn:hover .newsortcolumn { 90 display: block; 91 } 92 93 .newsortcolumn { 94 background-color: #f66; 95 color: #000; 96 padding: 0.5em; 97 } 98 99 .appendcolumn { 100 list-style-type: none; 101 } 102 103 .appendcolumn .newsortcolumn { 104 visibility: hidden; 105 display: inline-block; 106 } 107 108 .appendcolumn:hover .newsortcolumn { 109 visibility: visible; 110 }