blob: 84a32aa4a9697e58bbe8528abe66e206b7442f98 [file] [log] [blame]
Nils Diewald33e15552014-06-13 19:38:37 +00001@charset "utf-8";
Nils Diewald33e15552014-06-13 19:38:37 +00002/*
3 light orange: #f4eebb;
4 dark orange: #ffa500;
5 dark green: #496000;
6 light green: #7ba400;
7
8 Search for: [orth=erstens]
9*/
10
11ol {
12 width: auto;
13 overflow: hidden;
14 list-style-type: none;
15 font-size: 10pt;
16 margin: 0;
17 padding: 0;
18 text-indent: 0;
19 border: 1px solid #ccc;
20 font-family: verdana, tahoma, arial;
21 text-shadow: 1px 1px rgba(255, 255, 255, 0.4);
22}
23
24ol > li {
25 border-style: solid;
26 border-color: #ffa500;
27 border-width: 0;
28}
29
30ol > li:not(.active) {
31 width: 99999%;
32 margin-left: -49999.5%;
33 background-color: #f5f5f5;
34 overflow: hidden;
35 white-space: no-wrap;
36 cursor: pointer;
37 padding: 10px 0;
38 text-indent: 0;
39}
40
41ol > li:nth-of-type(even) {
42 background-color: #ddd;
43}
44
Nils Diewald1eba6572014-06-17 19:49:53 +000045ol > li > div > div.snippet > span,
46ol > li > div > div.snippet > span > span {
Nils Diewald33e15552014-06-13 19:38:37 +000047 white-space: no-wrap !important;
48}
49
Nils Diewald1eba6572014-06-17 19:49:53 +000050ol.free-aligned > li:not(.active) > div > div.snippet > span.left {
Nils Diewald33e15552014-06-13 19:38:37 +000051 display: inline-block;
52 text-align: right;
53 width: 50.046%;
54}
55
Nils Diewald1eba6572014-06-17 19:49:53 +000056ol.free-aligned > li:not(.active) > div > div.snippet > span.separator {
Nils Diewald33e15552014-06-13 19:38:37 +000057 width: 0px;
58 height: 1em;
59 margin-bottom: -2px;
60 display: inline-block;
61 line-height: 100%;
62 border: 1px solid #009EE0;
63 margin-left: 2px;
64 margin-right: 2px;
65}
66
Nils Diewald1eba6572014-06-17 19:49:53 +000067ol.free-aligned > li > div > div.snippet > span.right {
Nils Diewald33e15552014-06-13 19:38:37 +000068 text-align: left;
69}
70
Nils Diewald1eba6572014-06-17 19:49:53 +000071ol.left-aligned > li > div > div.snippet > span.context-left {
Nils Diewald33e15552014-06-13 19:38:37 +000072 display: inline-block;
73 text-align: right;
74 width: 50.01%;
75}
76
77ol.right-aligned {
78 text-align: right;
79}
80
Nils Diewald1eba6572014-06-17 19:49:53 +000081ol.right-aligned > li:not(.active) > div > div.snippet > span.context-right {
Nils Diewald33e15552014-06-13 19:38:37 +000082 display: inline-block;
83 text-align: left;
84 width: 49.915%;
85}
86
Nils Diewald1eba6572014-06-17 19:49:53 +000087li > div > div.snippet > span {
Nils Diewald33e15552014-06-13 19:38:37 +000088 color: #666;
89}
90
91.match {
92 font-weight: bold;
93 text-shadow: 1px 1px rgba(255, 255, 255, 0.9);
94 color: #111;
95 padding-left: 4pt;
96 padding-right: 2pt;
97}
98
99em, em.level-0 {
100 border-bottom-width: 2px;
101 border-bottom-style: solid;
102 padding-bottom: 0px;
103 font-style: normal;
104}
105
106em > em, em.level-1 {
107 padding-bottom: 3px;
108}
109
110em > em > em, em.level-2 {
111 padding-bottom: 6px;
112}
113
114.class-0 { border-color: #c1002b; }
115.class-1 { border-color: #009ee0; }
116.class-2 { border-color: #f29400; }
117
118span.more:before {
119 content: "…";
120 padding-left: 2pt;
121 padding-right: 2pt;
122}
123
124/* active view */
125ol > li.active {
126 text-align: left;
127 width: auto;
128 cursor: normal;
129 white-space: wrap;
130 height: auto;
131 border-width: 2px;
132 background-color: #f4eebb;
133 position: relative;
Nils Diewald33e15552014-06-13 19:38:37 +0000134}
135
Nils Diewald1eba6572014-06-17 19:49:53 +0000136ol > li.active > div > div.snippet {
Nils Diewald33e15552014-06-13 19:38:37 +0000137 margin: 5pt 10pt;
138 margin-right: 3em;
Nils Diewald33e15552014-06-13 19:38:37 +0000139}
140
Nils Diewald1eba6572014-06-17 19:49:53 +0000141ol > li.active > div {
142 min-height: 42pt;
143}
144
145ol > li.active > div > div.snippet > span {
Nils Diewald33e15552014-06-13 19:38:37 +0000146 line-height: 1.4em;
147 width: auto;
148}
149
Nils Diewald1eba6572014-06-17 19:49:53 +0000150ol > li.active > div > div.snippet > span.context-left {
Nils Diewald33e15552014-06-13 19:38:37 +0000151 margin-left: 0;
152 display: inline;
153 overflow: visible;
154 text-align: left;
155 width: auto;
156}
157
158/* Korap-Actions: */
159ol > li ul.action {
160 display: none;
161}
162
163ol > li ul.action li {
164 cursor: pointer;
165 color: white;
166 text-decoration: none;
167}
168
169ol > li.active ul.action {
170 background-color: #ffa500;
171 font-size: 12pt;
172 color: white;
173 text-shadow: none;
174 display: block;
175 margin: 0;
176 padding: 0;
177 z-index: 4;
178 text-indent: 0;
179 list-style-type: none;
180 list-style-position: inline;
181}
182
183/*
184ol > li.active ul.action.right {
185 position: absolute;
186 right: 0;
187 bottom: 0;
188 height: 1.2em;
189}
190
191ol > li.active ul.action.right li {
192 float: left;
193 padding-left: 1em;
194}
195*/
196
197ol > li.active ul.action.right {
198 position: absolute;
199 float: right;
200 text-align: center;
201 padding: 0pt 3pt;
202 height: 100%;
203 width: 1.2em;;
204 right: 0;
205 top: 0;
206}
207
208ol > li:not(.active) p {
209 display: none;
210}
211
212ol > li.active p {
213 background-color: #ffa500;
214 color: white;
215 text-shadow: none;
216 padding: 3pt 10pt;
Nils Diewald1eba6572014-06-17 19:49:53 +0000217 margin: 0pt;
Nils Diewald33e15552014-06-13 19:38:37 +0000218 width: 100%;
219 bottom: 0;
Nils Diewald1eba6572014-06-17 19:49:53 +0000220 z-index: 300;
Nils Diewald33e15552014-06-13 19:38:37 +0000221}