CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
evf::Css Class Reference

#include <Css.h>

Public Member Functions

void css (xgi::Input *in, xgi::Output *out) throw (xgi::exception::Exception)
 

Detailed Description

Definition at line 12 of file Css.h.

Member Function Documentation

void evf::Css::css ( xgi::Input in,
xgi::Output out 
)
throw (xgi::exception::Exception
)
inline

Definition at line 15 of file Css.h.

References dbtoconf::out.

Referenced by stor::WebPageHelper< WebPageHelper_t >::css(), and evf::FUEventProcessor::css().

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  }
tuple out
Definition: dbtoconf.py:99