Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Labeling conventions

Table of Contents
maxLevel4
minLevel2
stylesquare

This documentation explains how to override the default settings so that you can customize Avalon for your own needs.

Application title

To set the default look for the :title yield block in the file app/views/layout/hydrant.html.erb

Note

Avalon Media System

To add additional context add a content_for block in the current template. The free text will be prepended to the application's default label. For example one screen (views/media_objects/_basic_metadata.erb) may be tailored to read

Note

Ingest workflow – Avalon Media System

Code Block
themeEclipse
languageruby
titleYield block for titles
linenumberstrue
<p><%= content_for :title do %>Search results for params[:q].sanitize<% end %></p>

Custom stylesheets

Avalon uses Twitter Bootstrap and the SASS precompiler to build dynamic stylesheets. Along with default Hydra and Blacklight styles there are customized overrides. Local stylesheets can be found in app/assets/stylesheets.

Edit the branding.css.scss to customize the presentation or override default styles per your needs. Styles in branding.css.scc set variables that are used in other stylesheets to override default Bootstrap and Blacklight styles. All stylesheets are imported into application.scss, which prefers branding.css.scss over the others.