--- permalink: /getting-started/ layout: styleguide title: Getting started lead: Setting the base visual language, components, and guidelines that help define the next generation of USAJOBS. ---
The UI components are built on a solid HTML foundation, progressively enhanced to provide core experiences across browsers. All users get critical information and experiences. New browsers get the prettiest experiences, while older browsers get less pretty, but usable ones. If JavaScript fails, users will still get a robust HTML foundation.
This repo sticks fairly closely to the 18F CSS Coding Styleguide with some exceptions. Read the coding styleguide first and the refer to this list for the differences:
The CSS foundation of this site is built with the Sass preprocessor language. The Sass is the scss flavor and is compiled by node-sass, a wrapped around the very fast libsass C/C++ preprocessor.
Uses Bourbon for its simple and lightweight Sass mixin library, and the Neat library for the grid framework. Bourbon and Neat are open-source products from thoughtbot.
USAJOBS is migrating away from Bootstrap due to the difficulty in adapting its opinionated styles to bespoke design work and the extra markup it requires in placing semantic layout instructions directly in HTML classes. This Design System is intended to replace Bootstrap over time.
Media queries are built mobile first. A full table of our breakpoints can be found on the Grid page.
usa (For example: .usa-button).usajobs (For example: .usajobs-button)..usajobs-button-cool_feature-active)._variables.scss file._visual, _elements, _components in the site root._scss (/base, /element, /component). Compiled CSS is located in: css/usajobs-design-system-base.css .js/.fonts.img.The standards are designed to support both older and newer browsers through progressive enhancement, and officially support Internet Explorer 9 and up, and the latest versions of Chrome, Firefox, and Safari. Internet Explorer 8 and below generally see very low usage today, and most agency websites should be able to safely begin support at Internet Explorer 9.
All of the designs meet the WCAG 2.0 AA accessibility guidelines and are compliant with Section 508 of the Americans with Disabilities Act. If you choose to customize them, ensure they continue to meet the requirements listed in the “Accessibility” section of each design.
Given that we have just started to formulate the Design System the system is not yet stable. Thus some design decisions are still being considered, documentation is sparse, and components are being rapidly added and removed. Thus maturity tags will be placed at the top of each page of the Design System to help explain what state the component or element is in within the design process.