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