Aleksandar GargentaPartner
Marakana, Inc.
Member since Jan 19, 2007
Location: San Francisco
Posts: 72
Location: San Francisco
Posts: 72
Spark allows extensive controls over your site's loon'n'feel via a number of system settings.
By default, Spark loads four CSS files:
You can define your own CSS files, which would get loaded after the CSS files listed above - giving you ability not only to define new CSS rules, but also to override existing ones. We strongly recommend using Firebug for Firefox (or an equivalent tool on other browsers like Safari/Chrome) that can make it easy to understand the cascading rules.
Use the following system settings to point to your own static CSS files:
There are additional system settings that control other aspects of the user interface:
By default, Spark loads four CSS files:
/css/layout.csscontrols the general layout of the site, including the sidebar, header, footer, and big containers/panels. While this file cannot be edited, it can be enabled/disabled viaskin.default-layout.css.enabledsystem setting./css/common.csscontrols the common simple/inline elements of your site, like the formatting of numbers, notes, status-codes, etc. While this file cannot be edited, it can be enabled/disabled viaskin.default-common.css.enabledsystem setting./css/style.csscontrols the basic style of the site, including fonts, colors, and general look'n'feel. While this file cannot be edited, it can be enabled/disabled viaskin.default-style.css.enabledsystem setting./css/ie6.csscontains CSS workarounds for Microsoft Internet Explorer 6. This file only gets loaded by IE 6, and it is ignored by other browsers. While this file cannot be edited, it can be enabled/disabled viaskin.default-ie6.css.enabledsystem setting.
You can define your own CSS files, which would get loaded after the CSS files listed above - giving you ability not only to define new CSS rules, but also to override existing ones. We strongly recommend using Firebug for Firefox (or an equivalent tool on other browsers like Safari/Chrome) that can make it easy to understand the cascading rules.
Use the following system settings to point to your own static CSS files:
skin.cssgets loaded without the media attribute, making it applicable to all media types (and all browsers).skin.print.cssgets loaded withmedia="print", making it applicable only for printing purposes.skin.screen.cssgets loaded withmedia="screen", making it applicable only for screen-display purposes.skin.ie6.cssgets loaded only for Internet Explorer version 6 and earlier.skin.ie7.cssgets loaded only for Internet Explorer version 7 and earlier.skin.proposal.cssgets loaded on the training proposal page. See below on how to enable/disable the embedded CSS on this page.
There are additional system settings that control other aspects of the user interface:
skin.faviconcan point to a static file that becomes your site's favicon.skin.javascriptcan point to a static file that gets load as JavaScript.skin.html.headallows you to inject additional HTML at the end of the<head>...</head>section.skin.proposal.style.enabledallows you to enable/disable the embedded CSS that gets loaded into training proposal page.skin.html.body.beginallows you to inject additional HTML at the beginning of the<body>...</body>section.skin.html.body.endallows you to inject additional HTML at the end of the<body>...</body>section.
Edited one time. Last edit by Aleksandar Gargenta on Jun 14, 2010 at 4:35:00 PM (about 5 weeks ago).