These elements are custom helper classes designed to assist in the styling of the Invesco US website.
The website utilizes content blocks divided into "widgets". These widgets are equivalent to "portlets" in the Open Text CMS.
What it does: Applies the proper padding to the bottom and top of the section, as well as a gray border to the top as a visual divider.
Used in the #main div to designate a section.
What it does: Removes the top border of the .widget
class.
Used in the first widget, in conjunction with the .widget
class, that appears at the top of the .main-content
div. This is dynamically applied via jquery.
<div class="widget first-widget"> <h3>Widget Title | <a href="" class="view-all">View All</a></h3> <p>Content</p> </div>
$('#main').find('.widget:first-of-type').addClass('first-widget');
What it does: Applies a negative top margin of 10 to offset layout issues.
It is applied to the #bc-wrapper
that appears at the top of the .main-content
div.
Example:
<div id="bc-wrapper" class="first-section"></div>
What it does: Applies a 0 left margin to offset layout issues.
Used in the .span3 or .span4 (whichever appear first) within the .main-content
div.
<div class="span4 first-span"></div>
What it does: Applies a 0 left margin to offset layout issues.
Used in the .span3 or .span4 (whichever appear second) within the .main-content
div.
<div class="span3 second-span"></div>
These helpers define common color, size and other text attributes.
What it does: Applies text size of 11px and 8px top margin (centering the text when next to an H tag).
Used on text.
What it does: Applies a gray color to text.
Used in view-all, article by-lines, footnotes, etc.
What it does: Applies text-align: right to a <td> tag.
Used in Data Table layouts that require a text-align: right.
What it does: Applies a 10 pixel height to text.
Used when smaller text is needed.
These helpers make common adjustments for margin and/or padding of elements.
What it does: Applies a bottom margin of -5px.
Used in Article by-lines or any element that needs to rest close to the element above.
What it does: Applies a top margin of -5px.
Used on any element that needs to rest close to the element below.
What it does: Applies a bottom margin of 10px.
Used on any element that needs spacing from the element below.