CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/EventFilter/Utilities/interface/Css.h

Go to the documentation of this file.
00001 #ifndef EVENTFILTER_CSS_H 
00002 #define EVENTFILTER_CSS_H 
00003 
00004 #include "xgi/Input.h"
00005 #include "xgi/Output.h"
00006 #include "xgi/exception/Exception.h"
00007 
00008 
00009 
00010 namespace evf{
00011 
00012   class Css
00013     {
00014     public:
00015       void css(xgi::Input  *in,
00016                xgi::Output *out) throw (xgi::exception::Exception)
00017         {
00018           using std::endl;
00019           out->getHTTPResponseHeader().addHeader("Content-Type", "text/css");
00020           
00021           *out << "body"                                   << endl;
00022           *out << "{"                                      << endl;
00023           *out << "background-color: white;"               << endl;
00024           *out << "font-family: Arial;"                    << endl;
00025           *out << "}"                                      << endl;
00026           *out                                             << endl;
00027           *out << "table.modules"                          << endl;
00028           *out << "{"                                      << endl;
00029           *out << "font-family: Arial;"                    << endl;
00030           *out << "border: thin dotted;"                   << endl;
00031           *out << "}"                                      << endl;
00032           *out                                             << endl;
00033           *out << "table.modules colgroup"                 << endl;
00034           *out << "{"                                      << endl;
00035           *out << "width: 30%;"                            << endl;
00036           *out << "border: solid;"                         << endl;
00037           *out << "}"                                      << endl;
00038           *out                                             << endl;
00039           *out << "table.modules th"                       << endl;
00040           *out << "{"                                      << endl;
00041           *out << "color: white;"                          << endl;
00042           *out << "background-color: #63F;"                << endl;
00043           *out << "}"                                      << endl;
00044           *out << "table.modules tr.special"               << endl;
00045           *out << "{"                                      << endl;
00046           *out << "color: white;"                          << endl;
00047           *out << "background-color: #000;"                << endl;
00048           *out << "}"                                      << endl;
00049           
00050           *out << "table.states"                           << endl;
00051           *out << "{"                                      << endl;
00052           *out << "font-family: Arial;"                    << endl;
00053           *out << "border: thin dotted;"                   << endl;
00054           *out << "}"                                      << endl;
00055           *out                                             << endl;
00056           *out << "table.states th"                        << endl;
00057           *out << "{"                                      << endl;
00058           *out << "color: white;"                          << endl;
00059           *out << "background-color: #63F;"                << endl;
00060           *out << "}"                                      << endl;
00061           *out << "table.states tr.special"                << endl;
00062           *out << "{"                                      << endl;
00063           *out << "color: white;"                          << endl;
00064           *out << "background-color: #000;"                << endl;
00065           *out << "}"                                      << endl;
00066           *out << "table.states .special a"                << endl;
00067           *out << "{"                                      << endl;
00068           *out << "color: white;"                          << endl;
00069           *out << "}"                                      << endl;
00070           
00071           *out                                             << endl;
00072           
00073           
00074           
00075         }
00076 
00077     private: 
00078     };
00079 }
00080 #endif