commit d2021d368c9b0901c1ed886d83fa364e7a54decc Author: Olivier DOSSMANN Date: Thu Jan 23 11:11:21 2020 +0100 Initial commit * Adds rero-ils CSS files for customization * Adds specific logos for normal instances and pilots Co-Authored-by: Olivier DOSSMANN diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1cab0c0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +static/ +static-pilot/ +static.tar.gz +static-pilot.tar.gz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a8ce3eb --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +Q=@ + +all: static.tar.gz static-pilot.tar.gz + +static.tar.gz: + $Qmkdir static + $Qcp -r ils static/ + $Qtar cfz static.tar.gz static/ + +static-pilot.tar.gz: logo-global.pilot.png + $Qmkdir static-pilot + $Qcp -r ils static-pilot/ + $Qcp logo-global.pilot.png static-pilot/ils/images/logo-global.png + $Qtar cfz static-pilot.tar.gz static-pilot/ + +clean: + $Qrm -rf static/ static-pilot/ static.tar.gz static-pilot.tar.gz + diff --git a/fixtures_logos.odg b/fixtures_logos.odg new file mode 100644 index 0000000..5c99982 Binary files /dev/null and b/fixtures_logos.odg differ diff --git a/ils/css/aoste.css b/ils/css/aoste.css new file mode 100644 index 0000000..63fb760 --- /dev/null +++ b/ils/css/aoste.css @@ -0,0 +1,11 @@ +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://ressources.rero.ch/ils/images/logo-aoste.png'); +} diff --git a/ils/css/bulle.css b/ils/css/bulle.css new file mode 100644 index 0000000..664e645 --- /dev/null +++ b/ils/css/bulle.css @@ -0,0 +1,11 @@ +body#view-bulle nav.rero-ils-header { + background-color: #fff3f3 !important; +} + +body#view-bulle nav.rero-ils-header img.rero-ils-logo { + display: none; +} + +div#bulle-logo { + content: url('https://ressources.rero.ch/ils/images/logo-bulle.png'); +} diff --git a/ils/css/fictive.css b/ils/css/fictive.css new file mode 100644 index 0000000..ea33a25 --- /dev/null +++ b/ils/css/fictive.css @@ -0,0 +1,11 @@ +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://ressources.rero.ch/ils/images/logo-fictive.png'); +} diff --git a/ils/css/global.css b/ils/css/global.css new file mode 100644 index 0000000..f18369d --- /dev/null +++ b/ils/css/global.css @@ -0,0 +1,11 @@ +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://ressources.rero.ch/ils/images/logo-global.png'); +} diff --git a/ils/css/highlands.css b/ils/css/highlands.css new file mode 100644 index 0000000..286dbba --- /dev/null +++ b/ils/css/highlands.css @@ -0,0 +1,11 @@ +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://ressources.rero.ch/ils/images/logo-highlands.png'); +} diff --git a/ils/css/mvs.css b/ils/css/mvs.css new file mode 100644 index 0000000..a7bd020 --- /dev/null +++ b/ils/css/mvs.css @@ -0,0 +1,11 @@ +body#view-mvs nav.rero-ils-header { + background-color: #7c0822 !important; +} + +body#view-mvs nav.rero-ils-header img.rero-ils-logo { + display: none; +} + +div#mvs-logo { + content: url('https://ressources.rero.ch/ils/images/logo-mvs.png'); +} diff --git a/ils/css/rbnj.css b/ils/css/rbnj.css new file mode 100644 index 0000000..4af4890 --- /dev/null +++ b/ils/css/rbnj.css @@ -0,0 +1,11 @@ +body#view-rbnj nav.rero-ils-header { + background-color: #b44d8d !important; +} + +body#view-rbnj nav.rero-ils-header img.rero-ils-logo { + display: none; +} + +div#rbnj-logo { + content: url('https://ressources.rero.ch/ils/images/logo-rbnj.png'); +} diff --git a/ils/images/logo-aoste.png b/ils/images/logo-aoste.png new file mode 100644 index 0000000..f4e86d0 Binary files /dev/null and b/ils/images/logo-aoste.png differ diff --git a/ils/images/logo-bulle.png b/ils/images/logo-bulle.png new file mode 100644 index 0000000..9699fc4 Binary files /dev/null and b/ils/images/logo-bulle.png differ diff --git a/ils/images/logo-fictive.png b/ils/images/logo-fictive.png new file mode 100644 index 0000000..9cf2ceb Binary files /dev/null and b/ils/images/logo-fictive.png differ diff --git a/ils/images/logo-global.png b/ils/images/logo-global.png new file mode 100644 index 0000000..f56c0a9 Binary files /dev/null and b/ils/images/logo-global.png differ diff --git a/ils/images/logo-highlands.png b/ils/images/logo-highlands.png new file mode 100644 index 0000000..062601b Binary files /dev/null and b/ils/images/logo-highlands.png differ diff --git a/ils/images/logo-mvs.png b/ils/images/logo-mvs.png new file mode 100644 index 0000000..704f5d5 Binary files /dev/null and b/ils/images/logo-mvs.png differ diff --git a/ils/images/logo-rbnj.png b/ils/images/logo-rbnj.png new file mode 100644 index 0000000..8554713 Binary files /dev/null and b/ils/images/logo-rbnj.png differ diff --git a/logo-global.pilot.png b/logo-global.pilot.png new file mode 100644 index 0000000..37f2ba6 Binary files /dev/null and b/logo-global.pilot.png differ