blob: 0474e36b12fa96fdefe50655b6c81b49433df257 [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;
12}
13
14.vc span + span {
15 margin-left: 5pt;
16}
17
18.vc .docGroup {
19 position: relative;
20 background-color: #7ba400;
21 color: white;
22 margin-left: 2em;
23 display: inline-block;
24 border-radius: 10px;
25 border-width: 0 3px 0 3px;
26 border-style: solid;
27 padding-left: 10px;
28 padding-right: 10px;
29}
30
31.vc .operators {
32 opacity: 0;
33 white-space: nowrap;
34 padding: 0;
35 font-size: 0;
36 line-height: 0;
37}
38
39.vc .operators > span,
40.vc .docGroup::before {
41 font-size: 9pt;
42 line-height: 1.3em;
43}
44
45.vc .operators > span {
46 padding: 0 4px;
47 display: inline-block;
48}
49
50.vc .operators > span.and {
51 background-color: white;
52 color: #7ba400;
53}
54
55.vc .operators > span.or {
56 background-color: #ffa500;
57 color: white;
58}
59
60.vc .operators > span.delete {
61 background-color: red;
62 border-radius: inherit;
63 color: white;
64}
65
66.vc .docGroup[data-operation=and]::before,
67.vc .docGroup[data-operation=and] .operators {
68 background-color: white;
69}
70
71.vc .docGroup[data-operation=or] {
72 border-color: #ffa500;
73}
74
75.vc .docGroup[data-operation=or]::before,
76.vc .docGroup[data-operation=or] .operators {
77 border-color: #ffa500;
78 background-color: #ffa500;
79 color: white;
80}
81
82.vc .docGroup::before,
83.vc .operators {
84 color: #7ba400;
85 border-color: white;
86 text-align: center;
87 font-weight: bold;
88 border-style: solid;
89}
90
91.vc .docGroup::before,
92.vc .docGroup > .operators {
93 position: absolute;
94 display: block;
95 top: 10px;
96 vertical-align: middle;
97}
98
99
100
101.vc .docGroup::before {
102 width: 3em;
103 /* width */
104 left: -3em;
105 /* border sizes (own and reals) */
106 margin-left: -5px;
107 border-width: 2px 0 2px 2px;
108 border-top-left-radius: 7px;
109 border-bottom-left-radius: 7px;
110}
111
112.vc .docGroup[data-operation=and]::before {
113 content: "und";
114}
115
116.vc .docGroup[data-operation=or]::before {
117 content: "oder";
118}
119
120.vc .doc > .operators {
121 display: inline-block;
122 border-width: 2px 2px 2px 2px;
123 border-radius: 7px;
124}
125
126.vc .docGroup > .operators {
127 left: 3px;
128 border-width: 2px 2px 2px 0;
129 border-top-right-radius: 7px;
130 border-bottom-right-radius: 7px;
131 margin-left: 100%;
132}
133
134.vc .docGroup:hover {
135 background-color: rgba(255,255,255,0.2);
136}
137
138.vc .docGroup:hover > .operators,
139.vc .doc:hover > .operators {
140 opacity: 1;
141}