CMS 3D CMS Logo

Public Member Functions

evf::Css Class Reference

#include <Css.h>

List of all members.

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().

        {
          using std::endl;
          out->getHTTPResponseHeader().addHeader("Content-Type", "text/css");
          
          *out << "body"                                   << endl;
          *out << "{"                                      << endl;
          *out << "background-color: white;"               << endl;
          *out << "font-family: Arial;"                    << endl;
          *out << "}"                                      << endl;
          *out                                             << endl;
          *out << "table.modules"                          << endl;
          *out << "{"                                      << endl;
          *out << "font-family: Arial;"                    << endl;
          *out << "border: thin dotted;"                   << endl;
          *out << "}"                                      << endl;
          *out                                             << endl;
          *out << "table.modules colgroup"                 << endl;
          *out << "{"                                      << endl;
          *out << "width: 30%;"                            << endl;
          *out << "border: solid;"                         << endl;
          *out << "}"                                      << endl;
          *out                                             << endl;
          *out << "table.modules th"                       << endl;
          *out << "{"                                      << endl;
          *out << "color: white;"                          << endl;
          *out << "background-color: #63F;"                << endl;
          *out << "}"                                      << endl;
          *out << "table.modules tr.special"               << endl;
          *out << "{"                                      << endl;
          *out << "color: white;"                          << endl;
          *out << "background-color: #000;"                << endl;
          *out << "}"                                      << endl;
          
          *out << "table.states"                           << endl;
          *out << "{"                                      << endl;
          *out << "font-family: Arial;"                    << endl;
          *out << "border: thin dotted;"                   << endl;
          *out << "}"                                      << endl;
          *out                                             << endl;
          *out << "table.states th"                        << endl;
          *out << "{"                                      << endl;
          *out << "color: white;"                          << endl;
          *out << "background-color: #63F;"                << endl;
          *out << "}"                                      << endl;
          *out << "table.states tr.special"                << endl;
          *out << "{"                                      << endl;
          *out << "color: white;"                          << endl;
          *out << "background-color: #000;"                << endl;
          *out << "}"                                      << endl;
          *out << "table.states .special a"                << endl;
          *out << "{"                                      << endl;
          *out << "color: white;"                          << endl;
          *out << "}"                                      << endl;
          
          *out                                             << endl;
          
          
          
        }