CSS part 2

Previous





/** 
 * Mambo Styling for Contents
 * --------------------------
 * All the styling for contents are listed
 * below.
 */

.contentpane {
/* This is used mainly for the table that holds the SECTIONS such as News.
  This is when you create a link to a Section and when clicked on it, it will display
  "News" then some description (with image if you selected one) and then a list of 
  Category of News. Yes! That entire thing is contained in a table with this style */

background-color : #FFFFFF;
}

.contentpaneopen {
background-color : #FFFFFF;
}

.contentheading {
/* This is used in several places; the Heading of contents on the frontpage,
  it is also used for Section's heading (see above for explanation) "News" or
  whatever heading you used */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
  color: #FF9900;
text-align:left;
line-height: 16px;
height: 15px;
}

.contentpagetitle {
/* Couldn't find where is this yet. Will update this part when I
get to it. Sorry. If you know, please email me the infos */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
  color: #FF9900;
text-align:left;
}

.contentdescription {
/* When you create a link to a Section in the main menu and when clicked on it, it will display
  "News" then some description (with image if you selected one) and then a list of 
  Category of News. This style is used for formating the "DESCRIPTION" part of that page */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
color: #333333;
text-align: left;
}

table.contenttoc {
/* This is used to format the table of the Tables of Contents or "Jump to" 
  box when it is enabled in a multiple paged content or article */
color: #343A58;
background-color: #e0e0e0;
border-top: 1px solid #465675;
border-bottom: 1px solid #465675;
border-left: 1px solid #465675;
border-right: 1px solid #465675;
    }

table.contenttoc td {
/* the same as above, but this is used to format the td or
  table cells */
font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 8pt;
    font-weight: normal;
    text-align:left;
padding: 3px;
}

.content_rating {
/* used for styling the texts used for displaying 
  those "stars" for rating in an article */
font-weight: normal;
font-size: 8pt;
}

.content_vote {
/* used for those voting texts (the one with voting RADIO buttons) */
font-weight: normal;
font-size: 8pt;
}


/**
 * Mambo Sections Styles
 * ---------------------
 * Styling of sections tables 
 */

.sectiontableheader {
/* This is for styling the section table headers on a SECTION's page.
  An example would be those articles lists when you click on "News" or something?
  With a table header of "Date", "Item Title", "Author" and "Hits" ? That's the
  header that you will be controlling through this style */
background-color : #94B1CF;
background-repeat: repeat;
padding: 2px;
color : #FFFFFF;
font-weight : bold;
padding: 2px;
}

.sectiontableentry1, {
/* this is used when there's a whole list of data to provide and
  you need to create alternate colors for each row of data. This is
  the first color */
background-color : #BED2EB;
}

.sectiontableentry2 {
/* this is the second color for the row. So, the table generator,
  will alternate its style through sectionableentry1 and sectiontableentry2
  as it cycles through and outputs each row of data. Similar to forum's post
  listings */
background-color : #F3F3F3;
}





/**
 * Mambo Styles for Categories
 * ---------------------------
 * The following are the styling for "Category" items
 * generated from the Sections area
 */

.category {
/* this is to set the category Titles ( found on a SECTION's page
  where the Category lists are) styles */
color: #3D4E6D; 
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px; 
font-weight: bold; 
text-decoration: none;
}

a.category:link, a.category:visited {
/* same as above, but to set the link format */
color: #3D4E6D; font-weight: bold;
}

a.category:hover {
/* same as above, but for links with mouse pointer over it */
color: #3D4E6D;
}




/**
 * Mambo Blog styling
 * ------------------
 * Not too sure where this is used yet. I tried the blog section
 * but it doesn't seem to use it. If you have info on this,
 * email me. I'll update this part.
 */

a.blogsection:link, a.blogsection:visited {
color: #44757D; 
text-decoration: none; 
font-family:  Arial, Verdana, Helvetica, sans-serif;
font-size: 10px;
}

a.blogsection:hover {
color: #759328;
text-decoration: underline;
font-size: 10px;
}




/**
 * Mambo Components Styles
 * -----------------------
 * These stylings are to format the way components title
 * is displayed
 */


.componentheading {
/* This is used for formatting the component's title
  when it is displayed on its own page on the frontend */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
  color: #FF9900;
text-align:left;
}


/**
 * Mambo Modules formatting
 * ------------------------
 * These stylings are to format the way modules are
 * displayed. It mainly deals with the format of its
 * table. I think this doesn't need too much explaining
 */

table.moduletable {
/* styling the module table */
margin: 0px 0px 0px 0px;
width: 95%;
}

table.moduletable th {
/* styling the module header, and the module titles */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #FF9900;
text-align: left;
}

table.moduletable td {
/* well.. for formatting the table cells of the module table */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
}



/**
 * Mambo's Built-in Component's Syling
 * -----------------------------------
 * These stylings are used for Mambo's built-in components
 * such as newsfeeds, weblinks, contact, search and polls.
 * A commented subtitle will guide you which is for which
 */


 /*  Polls  */

.poll {
/* polls texts */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #343A58;
line-height: 14px
}

.pollstableborder {
/* set the border properties of the polls voting table */
border: 1px solid #465675;
}



/*  Weblinks */

a.weblinks:link, a.weblinks:visited {
/* well.. to format the link's titles under the "Weblinks" 
  section on the frontend */
color: #405115; text-decoration: none; font-weight: normal;
font-family:  Arial, Verdana, Helvetica, sans-serif;
}

a.weblinks:hover {
/* same as above, but for link with mouseover */
color: #000099; text-decoration: underline;
}



/*  Newsfeeds */

.newsfeedheading {
/* The newsfeed title. NOTE: This will not affect the newsfeed's news title! */
   font-family: Arial, Verdana, Helvetica, sans-serif;
   font-size: 11px;
   font-weight: bold;
   color: #343A58;
   }

.newsfeeddate {
/* yeah.. the date on the newsfeed */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 10px;
color: #343A58;
font-weight: normal;
}

.fase4rdf {
/* this is the body text of the newsfeed */
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px; 
color: #343A58; 
font-weight: normal;
}

a.fase4rdf:link {
/* links of the body text of the newsfeed */
font-size: 11px; 
font-weight: bold; 
color: #356C82;
}

a.fase4rdf:hover {
/* links of the body text of the newsfeed when mouse points over it*/
font-size: 11px;
font-weight: bold; color: #759328;
}


/* Search page */


table.searchintro {
/* This is for formatting the box with "Search Keyword: test returned 4 matches" box
  that appears after you have entered a search value. It appears on the mainbody
  with the search results  */
   background-color: #FFFFFF;
border: 1px solid #8D9ABC;
}


/*  Contact's table settings  */

table.contact {
/* for formatting the entire "Contact" table which includes
  the name, address icons and form. Note this table DOES NOT 
  enclose the dropdown list for selecting the Department/person
  to contact */
background-color: #FFFFFF;
}

table.contact td.icons {
/* the name gave it away. This formats the <td> cells
  where the little icons sits next to the details (those addresses,
  phone number etc) */
background-color: #CCCCCC;
}

table.contact td.details {
/* this is for formatting the <td> cells where all the details sits.
  The details where addresses, phone number and additional info are */
background-color: #F3F3F3;
font-size: 11px;
font-family: Arial, Verdana, Helvetica, sans-serif;
}

No comments:

Post a Comment