blob: e05c3cbf4a4d30c5b3f2cc3e5109f2792d3c4a20 [file] [log] [blame]
Nils Diewald966abf12014-12-20 02:27:45 +00001@charset "utf-8";
2
3/*
4 sidebar: #496000
5 orange: #f4eebb
6*/
7
8body {
9 background-color: #7ba400;
10 color: white;
11 font-family: tahoma, verdana, arial;
Nils Diewald0297ba12015-01-05 21:56:12 +000012 font-size: 10pt;
Nils Diewald966abf12014-12-20 02:27:45 +000013}
14
Nils Diewald0297ba12015-01-05 21:56:12 +000015.vc .doc > span + span {
Nils Diewald966abf12014-12-20 02:27:45 +000016 margin-left: 5pt;
17}
18
19.vc .docGroup {
20 position: relative;
21 background-color: #7ba400;
22 color: white;
Nils Diewald966abf12014-12-20 02:27:45 +000023 display: inline-block;
24 border-radius: 10px;
Nils Diewald966abf12014-12-20 02:27:45 +000025 border-style: solid;
Nils Diewald0297ba12015-01-05 21:56:12 +000026
27 /* See margin-left in docGroup::before */
28 margin-left: 2.8em;
29 border-width: 0 3px 0 3px;
30 padding: .6em .5em;
31}
32
Nils Diewald86dad5b2015-01-28 15:09:07 +000033.vc .rewritten .rewrite {
Nils Diewald2fe12e12015-03-06 16:47:06 +000034 margin-left: 4pt;
Nils Diewald86dad5b2015-01-28 15:09:07 +000035 display: inline-block;
Nils Diewald2fe12e12015-03-06 16:47:06 +000036 color: #ffa500;
37}
38
39.vc .rewritten .rewrite:after {
40 font-family: FontAwesome;
41 font-style: normal;
42 font-weight: normal;
43 content: "\f040"; // "\f14b";
44 text-decoration: underline;
Nils Diewald86dad5b2015-01-28 15:09:07 +000045}
46
47.vc .rewritten .rewrite span {
48 display: none;
49}
50
Nils Diewald2fe12e12015-03-06 16:47:06 +000051/*
Nils Diewald86dad5b2015-01-28 15:09:07 +000052.vc .rewritten .rewrite:hover span {
53 display: block;
54}
Nils Diewald2fe12e12015-03-06 16:47:06 +000055*/
Nils Diewald86dad5b2015-01-28 15:09:07 +000056
Nils Diewald6ac292b2015-01-15 21:33:21 +000057.vc .docGroup .docGroup {
58 display: block;
59}
60
Nils Diewald0297ba12015-01-05 21:56:12 +000061.vc > .docGroup {
62 margin-left: 0;
Nils Diewald966abf12014-12-20 02:27:45 +000063}
64
65.vc .operators {
66 opacity: 0;
67 white-space: nowrap;
68 padding: 0;
69 font-size: 0;
70 line-height: 0;
71}
72
Nils Diewald0297ba12015-01-05 21:56:12 +000073.vc .operators > span {
74 cursor: pointer;
Nils Diewald966abf12014-12-20 02:27:45 +000075 font-size: 9pt;
76 line-height: 1.3em;
Nils Diewald966abf12014-12-20 02:27:45 +000077 padding: 0 4px;
78 display: inline-block;
79}
80
81.vc .operators > span.and {
82 background-color: white;
83 color: #7ba400;
84}
85
Nils Diewald0297ba12015-01-05 21:56:12 +000086.vc .doc > .operators > span.and {
87 border-radius: inherit;
88 border-top-right-radius: 0;
89 border-bottom-right-radius: 0;
90}
91
Nils Diewald966abf12014-12-20 02:27:45 +000092.vc .operators > span.or {
93 background-color: #ffa500;
94 color: white;
95}
96
97.vc .operators > span.delete {
98 background-color: red;
99 border-radius: inherit;
100 color: white;
101}
102
Nils Diewald0297ba12015-01-05 21:56:12 +0000103.vc .doc > .operators > span.delete {
104 border-top-left-radius: 0;
105 border-bottom-left-radius: 0;
106}
107
108.vc .doc > .operators {
109 margin-left: 10px;
110}
111
112.vc .docGroup[data-operation=or] > .doc::before,
113.vc .docGroup[data-operation=or] > .docGroup::before {
114 content: "oder";
115}
116
117.vc .docGroup[data-operation=and] > .doc::before,
118.vc .docGroup[data-operation=and] > .docGroup::before {
119 content: "und";
120}
121
122.vc .docGroup[data-operation] > .doc:first-child::before,
123.vc .docGroup[data-operation] > .docGroup:first-child::before {
124 content: '';
125}
126
127.vc .docGroup[data-operation] > .doc::before,
128.vc .docGroup[data-operation] > .docGroup::before {
129 display: inline-block;
130 text-align: right;
131 width: 2.2em;
132}
133
134
135.vc .docGroup[data-operation] > .doc::before {
136 padding-right: 1.2em;
137}
138
139.vc .docGroup[data-operation] > .docGroup::before {
140 position: absolute;
141}
142
143.vc .docGroup[data-operation] > .doc::before {
144 margin-right: .1em;
145}
146
147.vc .docGroup > .docGroup::before {
148 margin-left: -3.4em;
149}
150
151/*
Nils Diewald966abf12014-12-20 02:27:45 +0000152.vc .docGroup[data-operation=and]::before,
153.vc .docGroup[data-operation=and] .operators {
154 background-color: white;
155}
Nils Diewald0297ba12015-01-05 21:56:12 +0000156*/
157
158.vc .docGroup[data-operation] > .doc::before,
159.vc .docGroup[data-operation] > .docGroup::before {
160 color: #496000;
161}
Nils Diewald966abf12014-12-20 02:27:45 +0000162
163.vc .docGroup[data-operation=or] {
164 border-color: #ffa500;
165}
166
Nils Diewald0297ba12015-01-05 21:56:12 +0000167.vc .docGroup[data-operation=or] > .operators {
Nils Diewald966abf12014-12-20 02:27:45 +0000168 border-color: #ffa500;
169 background-color: #ffa500;
170 color: white;
171}
172
Nils Diewald0297ba12015-01-05 21:56:12 +0000173.docGroup > .operators {
174 z-index: 30;
175}
176
Nils Diewaldd5070b02015-01-11 01:44:47 +0000177.docGroup
178.docGroup > .operators {
Nils Diewald0297ba12015-01-05 21:56:12 +0000179 z-index: 31;
180}
181
Nils Diewaldd5070b02015-01-11 01:44:47 +0000182.docGroup
183.docGroup
184.docGroup > .operators {
Nils Diewald0297ba12015-01-05 21:56:12 +0000185 z-index: 32;
186}
187
Nils Diewaldd5070b02015-01-11 01:44:47 +0000188.docGroup
189.docGroup
190.docGroup
191.docGroup > .operators {
Nils Diewald0297ba12015-01-05 21:56:12 +0000192 z-index: 33;
193}
194
Nils Diewaldd5070b02015-01-11 01:44:47 +0000195.docGroup
196.docGroup
197.docGroup
198.docGroup
199.docGroup > .operators {
Nils Diewald0297ba12015-01-05 21:56:12 +0000200 z-index: 34;
201}
202
Nils Diewaldd5070b02015-01-11 01:44:47 +0000203.docGroup
204.docGroup
205.docGroup
206.docGroup
207.docGroup
208.docGroup > .operators {
209 z-index: 35;
210}
211
212.docGroup
213.docGroup
214.docGroup
215.docGroup
216.docGroup
217.docGroup
218.docGroup > .operators {
219 z-index: 36;
220}
221
Nils Diewald0297ba12015-01-05 21:56:12 +0000222.vc .doc > span.key,
223.vc .doc > span.value {
224 font-weight: bold;
225}
226
Nils Diewald966abf12014-12-20 02:27:45 +0000227.vc .operators {
228 color: #7ba400;
229 border-color: white;
230 text-align: center;
231 font-weight: bold;
232 border-style: solid;
233}
234
Nils Diewald966abf12014-12-20 02:27:45 +0000235.vc .docGroup > .operators {
236 position: absolute;
237 display: block;
238 top: 10px;
239 vertical-align: middle;
240}
241
Nils Diewald966abf12014-12-20 02:27:45 +0000242.vc .doc > .operators {
243 display: inline-block;
Nils Diewald0297ba12015-01-05 21:56:12 +0000244 border-color: #ffa500;
Nils Diewald966abf12014-12-20 02:27:45 +0000245 border-width: 2px 2px 2px 2px;
246 border-radius: 7px;
247}
248
249.vc .docGroup > .operators {
250 left: 3px;
251 border-width: 2px 2px 2px 0;
252 border-top-right-radius: 7px;
253 border-bottom-right-radius: 7px;
254 margin-left: 100%;
Nils Diewald0297ba12015-01-05 21:56:12 +0000255 padding: 0;
Nils Diewald966abf12014-12-20 02:27:45 +0000256}
257
258.vc .docGroup:hover {
Nils Diewald86dad5b2015-01-28 15:09:07 +0000259 background-color: rgba(255,255,255,0.05);
Nils Diewald966abf12014-12-20 02:27:45 +0000260}
261
262.vc .docGroup:hover > .operators,
263.vc .doc:hover > .operators {
264 opacity: 1;
265}