Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
| 2 | |
| 3 | ol { |
| 4 | width: auto; |
| 5 | margin: 2pt; |
| 6 | overflow: hidden; |
| 7 | list-style-type: none; |
| 8 | font-size: 9pt; |
| 9 | padding: 0; |
| 10 | margin-bottom: 2em; |
| 11 | text-indent: 0; |
| 12 | border: 1px solid #ccc; |
| 13 | font-family: verdana, tahoma, arial; |
| 14 | text-shadow: 1px 1px rgba(255, 255, 255, 0.4); |
| 15 | } |
| 16 | |
| 17 | ol > li { |
| 18 | border-style: solid; |
| 19 | border-color: #ffa500; |
| 20 | border-width: 0; |
| 21 | } |
| 22 | |
| 23 | ol > li:not(.active) { |
| 24 | width: 999999%; |
| 25 | margin-left: -499999.5%; |
| 26 | background-color: #f5f5f5; |
| 27 | overflow: hidden; |
| 28 | white-space: no-wrap; |
| 29 | cursor: pointer; |
| 30 | padding: 10px 0; |
| 31 | text-indent: 0; |
| 32 | } |
| 33 | |
| 34 | ol > li:nth-of-type(even) { |
| 35 | background-color: #ddd; |
| 36 | } |
| 37 | |
| 38 | ol > li > span, |
| 39 | ol > li > span > span { |
| 40 | white-space: no-wrap !important; |
| 41 | } |
| 42 | |
| 43 | ol.free-aligned > li:not(.active) > span.left { |
| 44 | display: inline-block; |
| 45 | text-align: right; |
| 46 | width: 50.0046%; |
| 47 | } |
| 48 | |
| 49 | ol.free-aligned > li:not(.active) > span.separator { |
| 50 | width: 0px; |
| 51 | height: 1em; |
| 52 | margin-bottom: -2px; |
| 53 | display: inline-block; |
| 54 | line-height: 100%; |
| 55 | border: 1px solid #009EE0; |
| 56 | margin-left: 2px; |
| 57 | margin-right: 2px; |
| 58 | } |
| 59 | |
| 60 | ol.free-aligned > li > span.right { |
| 61 | text-align: left; |
| 62 | } |
| 63 | |
| 64 | ol.left-aligned > li > span.context-left { |
| 65 | display: inline-block; |
| 66 | text-align: right; |
| 67 | width: 50.001%; |
| 68 | } |
| 69 | |
| 70 | ol.right-aligned { |
| 71 | text-align: right; |
| 72 | } |
| 73 | |
| 74 | ol.right-aligned > li:not(.active) > span.context-right { |
| 75 | display: inline-block; |
| 76 | text-align: left; |
| 77 | width: 49.9915%; |
| 78 | } |
| 79 | |
| 80 | li > span { |
| 81 | color: #666; |
| 82 | } |
| 83 | |
| 84 | .match { |
| 85 | font-weight: bold; |
| 86 | color: #333; |
| 87 | padding-left: 4pt; |
| 88 | padding-right: 2pt; |
| 89 | } |
| 90 | |
| 91 | em, em.level-0 { |
| 92 | border-bottom-width: 2px; |
| 93 | border-bottom-style: solid; |
| 94 | padding-bottom: 0px; |
| 95 | font-style: normal; |
| 96 | } |
| 97 | |
| 98 | em > em, em.level-1 { |
| 99 | padding-bottom: 3px; |
| 100 | } |
| 101 | |
| 102 | em > em > em, em.level-2 { |
| 103 | padding-bottom: 6px; |
| 104 | } |
| 105 | |
| 106 | .class-0 { border-color: #c1002b; } |
| 107 | .class-1 { border-color: #009ee0; } |
| 108 | .class-2 { border-color: #f29400; } |
| 109 | |
| 110 | span.more:before { |
| 111 | content: "…"; |
| 112 | padding-left: 2pt; |
| 113 | padding-right: 2pt; |
| 114 | } |
| 115 | |
| 116 | /* active view */ |
| 117 | ol li.active { |
| 118 | text-align: left; |
| 119 | width: auto; |
| 120 | cursor: normal; |
| 121 | white-space: wrap; |
| 122 | height: auto; |
| 123 | padding: 5pt; |
| 124 | padding-left: 3em; |
| 125 | padding-bottom: 12px; |
| 126 | border-width: 2px; |
| 127 | background-color: #f4eebb; |
| 128 | position: relative; |
| 129 | } |
| 130 | |
| 131 | ol li.active > span { |
| 132 | line-height: 1.7em; |
| 133 | width: auto; |
| 134 | } |
| 135 | |
| 136 | ol li.active span.context-left { |
| 137 | margin-left: 0; |
| 138 | display: inline; |
| 139 | overflow: visible; |
| 140 | text-align: left; |
| 141 | width: auto; |
| 142 | } |
| 143 | |
| 144 | |
| 145 | /* Korap-Actions: */ |
| 146 | ol > li ul.action { |
| 147 | display: none; |
| 148 | } |
| 149 | |
| 150 | ol > li ul.action a { |
| 151 | color: white; |
| 152 | text-decoration: none; |
| 153 | text-shadow: none; |
| 154 | } |
| 155 | |
| 156 | ol > li.active ul.action { |
| 157 | background-color: #ffa500; |
| 158 | display: block; |
| 159 | margin: 0; |
| 160 | padding: 0; |
| 161 | z-index: 4; |
| 162 | text-indent: 0; |
| 163 | list-style-type: none; |
| 164 | list-style-position: inline; |
| 165 | } |
| 166 | |
| 167 | ol > li.active ul.action.right { |
| 168 | position: absolute; |
| 169 | right: 0; |
| 170 | bottom: 0; |
| 171 | height: 1.2em; |
| 172 | } |
| 173 | |
| 174 | ol > li.active ul.action.left { |
| 175 | position: absolute; |
| 176 | float: left; |
| 177 | padding: 0pt 3pt; |
| 178 | height: 100%; |
| 179 | width: 2em;; |
| 180 | /* |
| 181 | margin: -5pt 2pt 2pt -5pt; |
| 182 | */ |
| 183 | left: 0; |
| 184 | top: 0; |
| 185 | } |
| 186 | |
| 187 | ol > li.active ul.action.right li { |
| 188 | float: left; |
| 189 | padding-left: 1em; |
| 190 | } |