CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Css.h
Go to the documentation of this file.
1 #ifndef EVENTFILTER_CSS_H
2 #define EVENTFILTER_CSS_H
3 
4 #include "xgi/Input.h"
5 #include "xgi/Output.h"
6 #include "xgi/exception/Exception.h"
7 
8 
9 
10 namespace evf{
11 
12  class Css
13  {
14  public:
15  void css(xgi::Input *in,
17  {
18  using std::endl;
19  out->getHTTPResponseHeader().addHeader("Content-Type", "text/css");
20 
21  *out << "body" << endl;
22  *out << "{" << endl;
23  *out << "background-color: white;" << endl;
24  *out << "font-family: Arial;" << endl;
25  *out << "}" << endl;
26  *out << endl;
27  *out << "table.modules" << endl;
28  *out << "{" << endl;
29  *out << "font-family: Arial;" << endl;
30  *out << "border: thin dotted;" << endl;
31  *out << "}" << endl;
32  *out << endl;
33  *out << "table.modules colgroup" << endl;
34  *out << "{" << endl;
35  *out << "width: 30%;" << endl;
36  *out << "border: solid;" << endl;
37  *out << "}" << endl;
38  *out << endl;
39  *out << "table.modules th" << endl;
40  *out << "{" << endl;
41  *out << "color: white;" << endl;
42  *out << "background-color: #63F;" << endl;
43  *out << "}" << endl;
44  *out << "table.modules tr.special" << endl;
45  *out << "{" << endl;
46  *out << "color: white;" << endl;
47  *out << "background-color: #000;" << endl;
48  *out << "}" << endl;
49 
50  *out << "table.states" << endl;
51  *out << "{" << endl;
52  *out << "font-family: Arial;" << endl;
53  *out << "border: thin dotted;" << endl;
54  *out << "}" << endl;
55  *out << endl;
56  *out << "table.states th" << endl;
57  *out << "{" << endl;
58  *out << "color: white;" << endl;
59  *out << "background-color: #63F;" << endl;
60  *out << "}" << endl;
61  *out << "table.states tr.special" << endl;
62  *out << "{" << endl;
63  *out << "color: white;" << endl;
64  *out << "background-color: #000;" << endl;
65  *out << "}" << endl;
66  *out << "table.states .special a" << endl;
67  *out << "{" << endl;
68  *out << "color: white;" << endl;
69  *out << "}" << endl;
70 
71  *out << endl;
72 
73 
74 
75  }
76 
77  private:
78  };
79 }
80 #endif
#define Input(cl)
Definition: vmac.h:189
void css(xgi::Input *in, xgi::Output *out)
Definition: Css.h:15
Definition: Css.h:12
tuple out
Definition: dbtoconf.py:99
#define Output(cl)
Definition: vmac.h:193