One of the principles embodied by this style guide is that of
consistency, with regards to naming conventions, usage patterns,
and conventions used across the GeoPlatform.
Consistency builds trust with the user and allows users to
quickly perform tasks without having to learn multiple ways
of interacting with the same workflow or feature.
- Maintain proper usage of typography to help users orient
- Use margins and padding effectively to prevent clutter and enforce emphasis
- Use colors appropriately to convey importance and emphasis
- Be consistent in usage of iconography across applications and sites (don’t use different icons for the same thing)
Be consistent in usage of buttons
- Don’t overuse primary buttons – limit to one per page
- Use danger, info, warning, and success buttons in their appropriate situations
Use the appropriate component or paradigm for similar content or workflows
- Use the GeoPlatform header
- Use cards or tiles to display search results and other sets of things
- Use navigation controls consistently
- Use consistent pagination controls
User interfaces should allow users to efficiently and
effectively perform tasks. Always design and implement
UI to help users accomplish these tasks as opposed to
just displaying data.
Display information and data clearly and concisely as much as possible.
Avoid using confusing labels or descriptions and overly-worded blocks of text
Use the controls below to quickly search through items stored in the database, by keywords and dates and authors.
Use the following to search by keyword, date, and author.
Utilize whitespace and emphasis to call attention to areas.
Utilize proper spacing between and within items to call attention to areas.
Theme Tips & Guidelines
The following should be followed when extending the
GeoPlatform Theme or when creating your own theme:
Always use classes to style standard HTML5 elements
Tip: It is recommended you namespace your
CSS classes to prevent conflicts with 3rd party styles as well
as to help maintain higher readability when looking at the
HTML the classes are applied to. Block-Element-Modifier (BEM)
and Atomic CSS are great resources that show differing ways of
namespacing CSS more clearly.
Use namespacing when defining custom elements
Tip: While it’s also possible to use a class
to uniquely identify an element for styling, your CSS will need
to override any legacy styles from other sources that also
provide styles for the same elements.