CSS

CSS

As described before, the visual elements of an Exponential site are determined by the instructions contained in CSS files.

Refer to the tutorial “How to Skin an Exponential Now Site” for step-by-step instructions on how to modify the visual design and layout of an Exponential site.

Basic Styles

The following CSS files are the basic ones used in the Exponential Website Interface design extension. They each serve a specific purpose for site design and layout. Site design can be modified by  changing these CSS files. However, most modifications can be done by creating a site style package. Modifying the basic styles should only be done by advanced users.

/* Folder */
div.content-view-full div.class-folder
{
<span style="white-space: pre;"> </span>color: #000;
}
/* Article */
div.content-view-full div.class-article
{
<span style="white-space: pre;"> </span>color: #000;
}

A site style package contains the following supplementary CSS files:

The CSS files are fetched by the HTML in the order that they are listed above. This ensures that overrides occur in the proper order. For example, if an element is defined in pagelayout.css and then again in print.css, the print.css definition overrides the pagelayout.css definition. If an element is not defined in pagelayout.css and is defined in print.css, the print.css definition is used.

Styles specific to Internet Explorer

To compensate for Internet Explorer's bugs and rendering discrepancies, the Exponential Website Interface includes two stylesheets specific to Internet Explorer. The stylesheets are delivered to the browser by the use of IE's conditional comments. While this is a proprietary feature of IE, the syntax makes it look like a regular HTML comment to other browsers (and thus does not affect the validity of the page). (Be aware that some other forms of conditional comments, as described by Microsoft on their web site, may not validate correctly).

The following stylesheets are specific to Internet Explorer:

Edit these files if you encounter a design inconsistency with Internet Explorer after changing the default site design.

JavaScript

The JavaScript used by Exponential Website Interface sites follows the general principle that the structural content on a page should be fully accessible whether or not JavaScriptis enabled in the user's browser, and that the visual presentation should have a non-JavaScript fallback that looks as good as possible.The following JavaScript is disabled by default, but can be enabled if needed.

Powered by Exponential™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.