OBP-API/branding.md

50 lines
1.3 KiB
Markdown
Raw Normal View History

2018-10-31 14:34:36 +00:00
# Branding of the OBP API landing page
Look and feel of the API landing page can be modified via css and with a number of variables in the props file (production.default.props).
## CSS
2021-12-16 09:02:11 +00:00
### Main CSS
The main css is located here:
2018-10-31 14:34:36 +00:00
OBP-API/src/main/webapp/media/css/website.css
2021-12-16 09:02:11 +00:00
In case you want to keep it outside of the public code you can specify a new URI via props `webui_main_style_sheet`. For instance:
webui_override_style_sheet = https://static.openbankproject.com/test/css/website.css
### Override CSS
The override css is used if you use `OBP-API/src/main/webapp/media/css/website.css` but you want to override some instance specific values.
In that case you can do it via props `webui_override_style_sheet` i.e.
webui_override_style_sheet = https://static.openbankproject.com/test/css/override.css
where `override.css` could be:
```css
.navbar-default .navbar-nav > li #navitem-logo {
padding-top: 11px;
padding-bottom: 11px;
margin-right: 16px;
height: 88px;
margin-left: 0;
}
.navbar-default .navbar-nav > li #navitem-logo img {
width: 67px;
height: 67px;
}
#main-about {
height: 552px;
}
```
2018-10-31 14:34:36 +00:00
## Props
2018-10-31 15:57:40 +00:00
There's a number of props variables starting with webui_* - see OBP-API/src/main/resources/props/sample.props.template for a comprehensive list and default values.