Page History
...
Code Block |
---|
### Settings for the Item page in Mirage2 theme ### # Whether the title or the label of a file should be used to display it on the item page mirage2.item-view.bitstream.href.label.1 = label # Whether the title or the label of a file should be used as a fallback to display it on the item page mirage2.item-view.bitstream.href.label.2 = title |
There are other configuration properties that affect the theme. These aren't new but we mention them here for the sake of completeness.
- When METSRIGHT is included in
plugin.named.org.dspace.containt.crosswalk.DisseminationCrosswalk
the item page will display those rights. - The property
xmlui.theme.mirage.item-list.emphasis
defines the style of the item lists. When the value is 'file' another style is used. - The property
webui.browse.render-scientific-formulas
includes a javascript library to render scientific formulas. - The properties
thumbnail.maxheight
and
define the outer bounds for the dimensions of the item thumbnails in the item lists.thumbnail.maxwidth
Customizing Mirage 2
Warning | ||
---|---|---|
| ||
Do not attempt to manage local customizations to Mirage 2 in:
|
...
The classic mirage theme is a customization of the bootstrap theme. Thanks to the sass variables, a complete color scheme can be conceived by modifying one or two variables. These variables are set in the theme's /styles/classic_mirage_color_scheme/_bootstrap_variables.scss
. Copy this file into dspace/modules/xmlui-mirage2/src/main/webapp.themes/Mirage2 and see what happens when you change $brand-primary
. More detailed information on how to customize this file can be found in the Mirage 2 readme.
How to reuse an existing bootstrap theme is also explained in that section.
Simple styling customization
...