Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions rero_ils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,9 @@ def _(x):
THEME_SETTINGS_TEMPLATE = SETTINGS_TEMPLATE
#: Template for error pages.
THEME_ERROR_TEMPLATE = "rero_ils/page_error.html"
# External CSS for each organisation customization
# For production: change "test" with "prod" on url
RERO_ILS_THEME_ORGANISATION_CSS_ENDPOINT = "https://resources.rero.ch/bib/test/css/"
#: Local path for organisation-specific CSS customization files.
#: CSS files are served from static assets (e.g., aoste.css, global.css).
RERO_ILS_THEME_ORGANISATION_CSS_ENDPOINT = "/static/themes/css/"
#: Template for including a tracking code for web analytics.
THEME_TRACKINGCODE_TEMPLATE = "rero_ils/trackingcode.html"
THEME_JAVASCRIPT_TEMPLATE = "rero_ils/javascript.html"
Expand Down
37 changes: 37 additions & 0 deletions rero_ils/theme/static/themes/css/aoste.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@layer bootstrap {
body#view-aoste nav.rero-ils-header {
background-color: #ffd7d7 !important;
}

body#view-aoste nav.rero-ils-header img.rero-ils-logo {
display: none;
}

div#aoste-logo {
content: url('https://resources.rero.ch/ils/test/images/logo-aoste.svg');
max-height: 44px;
}

#view-global .rero-slogan {
margin-bottom: 4em;
}


@media (max-width: 576px) {
.h1, h1 {
font-size: 1.5rem;
}

.h2, h2 {
font-size: 1.2rem;
}

#view-global .rero-ils-frontpage {
height: 20vh;
}

#view-global .rero-slogan {
margin-bottom: 1em;
}
}
}
37 changes: 37 additions & 0 deletions rero_ils/theme/static/themes/css/fictive.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@layer bootstrap {
body#view-fictive nav.rero-ils-header {
background-color: #4f009e !important;
}

body#view-fictive nav.rero-ils-header img.rero-ils-logo {
display: none ;
}

div#fictive-logo {
content: url('https://resources.rero.ch/ils/test/images/logo-fictive.svg');
max-height: 44px;
}

#view-global .rero-slogan {
margin-bottom: 4em ;
}


@media (max-width: 576px) {
.h1, h1 {
font-size: 1.5rem ;
}

.h2, h2 {
font-size: 1.2rem ;
}

#view-global .rero-ils-frontpage {
height: 20vh ;
}

#view-global .rero-slogan {
margin-bottom: 1em ;
}
}
}
38 changes: 38 additions & 0 deletions rero_ils/theme/static/themes/css/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
@layer bootstrap {
body#view-global nav.rero-ils-header {
background-color: #1b4464 !important;
}

body#view-global nav.rero-ils-header img.rero-ils-logo {
display: none;
}

div#global-logo {
content: url('https://resources.rero.ch/bib/test/images/logo-global.svg');
min-height: 44px;
max-height: 44px;
min-width: 58px;
}

#view-global .rero-slogan {
margin-bottom: 4em;
}

@media (max-width: 576px) {
.h1, h1 {
font-size: 1.5rem;
}

.h2, h2 {
font-size: 1.2rem;
}

#view-global .rero-ils-frontpage {
height: 20vh;
}

#view-global .rero-slogan {
margin-bottom: 1em;
}
}
}
37 changes: 37 additions & 0 deletions rero_ils/theme/static/themes/css/highlands.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@layer bootstrap {
body#view-highlands nav.rero-ils-header {
background-color: #333333 !important;
}

body#view-highlands nav.rero-ils-header img.rero-ils-logo {
display: none;
}

div#highlands-logo {
content: url('https://resources.rero.ch/ils/test/images/logo-highlands.svg');
max-height: 44px;
}

#view-global .rero-slogan {
margin-bottom: 4em;
}


@media (max-width: 576px) {
.h1, h1 {
font-size: 1.5rem;
}

.h2, h2 {
font-size: 1.2rem;
}

#view-global .rero-ils-frontpage {
height: 20vh;
}

#view-global .rero-slogan {
margin-bottom: 1em;
}
}
}
266 changes: 266 additions & 0 deletions rero_ils/theme/static/themes/images/logo-aoste.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
210 changes: 210 additions & 0 deletions rero_ils/theme/static/themes/images/logo-fictive.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading