summaryrefslogtreecommitdiffstats
path: root/kmymoney2/html/kmymoney2.css
blob: a18dfded99ed0af6cc98d943c9164657ac108899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370

@media screen {

  A.el { text-decoration: none; }
  A.elRef { font-weight: bold }
  A.code { text-decoration: none; font-weight: normal; color: #4C59A6 }
  A.codeRef { font-weight: normal; color: #4C59A6 }
  A:hover { text-decoration: none; font-weight: normal; color: #4C59A6 }

  body {
    background-color: Window;
    color:WindowText;
    font-family: verdana, arial, sans-serif;
  }

  .setcolor { /*sets color of some spacing elements (such as the column between assets and liabilities) to the desired color*/
    background-color:Window;
}

body#summaryview { /* set body attributes that affect only the summary view (and not reports) */
    background: url(./images/bg-texture.png) repeat fixed;
}


#vieweffect { /* creates a dropshadow at the top of the view creating a resessed effect */
    background: url(./images/top-shadow.png) repeat-x top;
    margin:0px -10px 0px -10px;
    position:fixed;
    top:-5px;
    width:100%;
    height:20px;
    z-index:50;
}

  #summarytitle { /* "your financial summary" title on summary page */
    display:block;
    margin-bottom:6px;
    text-align: right;
    color:WindowText;
    Font-size:20px;
    padding:10px 15px 15px 0;
  }

  .shadow {/*wraps .displayblock -can be used for special decorative effects like a drop shadow */
   background: url(./images/shadow.png) no-repeat bottom right;
    margin:0px 5px 30px 15px;
  }

  .displayblock {/*ties together a summary header and a table into a single content block*/
    display:block;
    position:relative;
    top:-6px;
    left:-6px;
    background-color: Window;
    border-right: 1px solid gray;
    border-bottom: 1px solid gray;
    border-left: 1px solid lightgrey;
/*border:1px solid WindowText;*/
    padding: 0px;
  }

  .summaryheader { /*section labels over each table in the financial summary*/
   background: HighLight url(./images/currencyflourish.png) no-repeat bottom right;
    color:HighLightText;
    Font-size:1.2em;
    font-weight:bold;
    padding:5px 10px;
  }

  .summarytable { /*the tables in the financial summary */
    padding:5px;
  }

  .summarytable td { /*style <td> in the tables in the financial summary */
    padding:5px 10px;
    border-left: medium solid Window; 
    border-right: medium solid window; 
    color:WindowText;
  }

  .itemtitle { /*<tr> -additional label for table headers. example "Assets" and "Liabilities"*/
    color:HighLight;
    Font-weight:bold;
  }

  .itemtitle td { /*<td> table data cells related to .itemtitle*/
    padding:0px 10px 0px 10px;
    border-left: 0px; 
    border-right: 0px;
    font-size:1.2em;
  }

  .item { /*<tr> -item labels (table headers) for sections in the financial summary */
    font-weight:bold;
    color:WindowText;
  }

  .item td { /*<td> table data cells related to .item*/
    border-left: 0px; 
    border-right: 0px;
    border-bottom:3px solid WindowText;
  }

  .warningtitle { /*<tr> -set warning background color -overdue payments -items of this class also belong to the class called "itemtitle"*/
    color:red;/*set programatically, not by css*/
    background-color: infobackground;
  }

  .warning { /*<tr> -set warning background color -items of this class also belong to the class called "item"*/
    background-color: infobackground;
  }

  th.left, td.left {/*rule to align table header and table data cells*/
    text-align: left;
  }

  th.right, td.right {/*rule to align table header and table data cells*/
    text-align: right;
  }

  th.center, td.center {/*rule to align table header and table data cells*/
    text-align: center;
  }

  .gap { /* used for spacing in financial summary and reports if needed -match to background color of body if you don't want it to show.*/

  }

/***********************************************************/
/* These affect only the reports found in the reports view */

  h2.report { /* header -title on report pages */
    font-size: 18px;
    font-family: verdana, arial, sans-serif;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    color:WindowText;
    }

  .itemheader { /*column labels in reports */
    font-family: verdana, arial, helvetica, sans-serif;
    font-weight: bold;
    background-color: Window;
    color: WindowText;
    padding-top: 5px;
    padding-left: 20px;
    padding-bottom: 5px;
  }

  div.subtitle { /*subtitle of each report page*/
    text-align: center;
    color:WindowText;
  }

  table.report {/*center the report*/
    margin-left:auto;
    margin-right:auto;
  }

  table.report th {/*styles table header cells*/
    padding: 0.5em 0.5em;
  }

  table.report td {/*styles table cells- but not background color*/
    font-size: 9pt;
    padding: 0 0.5em;
    text-align: right;
  }

  table.report td.leftborder {/*does not appear to be in use*/
    border-left: 1px solid;
  }

  table.report td.left {/*far left column*/
    text-align: left;
  }

  table.report td.left0 {/*does not appear to be in use*/
    text-align: left;
  }

  table.report td.left1 {/*does not appear to be in use*/
    text-align: left;
    text-indent: 1.0em;
  }

  table.report td.left2 {/*does not appear to be in use*/
    text-align: left;
    text-indent: 2.0em;
  }

  table.report tr#subtotal td {/*line separating row groups*/
    border-bottom: 1px solid black;
    font-weight: normal;
  }

table.report tr#solo td {/*line separating rows that are not groups*/
    border-bottom: 1px solid black;
    font-weight: normal;
  }
  
table.report tr#topparent td.left {/*parent label for each row group containing children*/
    font-weight: bold;
  }

  table.report tr#solo td.left {/*label for each row group _not_ containing children*/
    font-weight: bold;
  }

  table.report tr.sectionheader td { /* label (title) of each section -subtotals  -for example 'Income' and 'Expenses' */
    font-weight: bold;
    padding: 0.5em 0.5em 0 0.5em;
    color:WindowText;
  }

  table.report tr.sectionfooter td { /* totals for each section -subtotals */
    border-top: 1px solid black;
    padding: 0 0.5em 0.5em 0.5em;
    color:WindowText;
  }

  table.report tr.reportfooter td { /* "Grand Total" totals" */
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    padding: 0 0.5em 0 0.5em;
    color:WindowText;
  }

  table.report tr.reportfooter td.left { /* "Grand Total" label in the left column */
    font-weight: bold;
    color:WindowText;
  }

  table.report tr.spacer td {/*used to make a table row act as a spacer when needed*/
    font-size: 4pt;
    padding: 1em 0;
  }
}

@media print {

  body  { background: white; margin: 0; padding: 0 }
  body  { font-family: helvetica, arial; font-size: 10pt }
  td,th { font-family: helvetica, arial; font-size:  9pt }

  thead { display: table-header-group }
  tbody { display: table-row-group }
  tfoot { display: table-footer-group }
  tr    { page-break-inside: avoid }

  div.gap { display: none }
  .spacer { display: none }

  h2.report,
  div.subtitle { margin: 6pt; padding: 0; text-align: center }
  div.subtitle { margin-bottom: 18pt }

  table { border-collapse: separate; border-spacing: 1px; }
  table { margin-left: auto; margin-right: auto }
  td    { vertical-align: baseline }

  table.report {/*center the report*/
    margin-left:auto;
    margin-right:auto;
  }

  table.report th {/*styles table header cells*/
    padding: 0.5em 0.5em;
  }

  table.report td {/*styles table cells- but not background color*/
    text-align: right;
  }
  table.report td.left {/*far left column*/
    text-align: left;
  }

  table.report td.left0 {/*does not appear to be in use*/
    text-align: left;
  }

  table.report td.left1 {/*does not appear to be in use*/
    text-align: left;
    text-indent: 1.0em;
  }

  table.report td.left2 {/*does not appear to be in use*/
    text-align: left;
    text-indent: 2.0em;
  }

  table.report tr#subtotal td {/*line separating row groups*/
    border-bottom: 1px solid black;
    font-weight: normal;
  }

table.report tr#solo td {/*line separating rows that are not groups*/
    border-bottom: 1px solid black;
    font-weight: normal;
  }

table.report tr#topparent td.left {/*parent label for each row group containing children*/
    font-weight: bold;
  }

  table.report tr#solo td.left {/*label for each row group _not_ containing children*/
    font-weight: bold;
  }

  th { border-bottom: 1pt solid black }
/*  th             { background: #cccccc } */
  tr.item0 td    { background: #f2f2ff }
  tr.item1 td    { background: #f2fff2 }
  tr.row-even td { background: #f2f2ff }
  tr.row-odd  td { background: #f2fff2 }

  tr.item0 td,
  tr.item1 td,
  tr.itemA td,
  tr.itemZ td { font-style: italic }

  td.left0,
  td.left1,
  td.left2,
  td.left   { text-align: left  }
  td.center { text-align: center  }
  td.right  { text-align: right }
  td, th    { padding: 2pt 4pt }

  tr.sectionheader td.left,
  tr.sectionfooter td.left,
  tr.sectionheader td.left0,
  tr.sectionfooter td.left0 {
    padding-top: 12pt; font-size: 1.1em; font-weight: bold
  }

  tr.sectionheader td.left1,
  tr.sectionfooter td.left1,
  tr.sectionheader td.left2,
  tr.sectionfooter td.left2 {
    padding-top:  6pt; font-size: 0.9em; font-weight: bold
  }

  tr.reportfooter td.left {
    padding-top: 12pt; font-size: 1.1em; font-weight: bold
  }

  #subtotal { font-style: italic }
/*  #topparent td, #solo td { border-top: 1px solid gray } */
}

tr.item0 td,tr.item1 td,tr.itemA td,tr.itemZ td {
    font-style: italic;
  }

tr.itemA td {
    border-bottom: 1px dotted gray;
  }

tr.itemZ td {
    border-top: 1px dotted gray;
  }

.item0 .value,.item1 .value {
    padding-right: 2em;
  }