Archived
1
0

Pilot preparation: use SVG files

This commit is contained in:
Olivier DOSSMANN 2020-01-31 15:31:49 +01:00
parent 0ceb501a6a
commit 6b39525fa4
16 changed files with 1399 additions and 14 deletions

View File

@ -7,7 +7,7 @@ SRC_IMG = $(SRC_DIR)/images
# Source files
CSS_FILES := $(wildcard ils/css/*.css)
IMG_FILES := $(wildcard ils/images/*.png)
IMG_FILES := $(wildcard ils/images/*.svg)
# Those we want to keep (some on /test directory, other on /pilot)
TEST_ORGS = global aoste fictive highlands
@ -20,9 +20,9 @@ O9_DIR = static-o9
# Destination files
TEST_CSS_FILES = $(TEST_ORGS:%=$(TEST_DIR)/css/%.css)
TEST_IMG_FILES = $(TEST_ORGS:%=$(TEST_DIR)/images/logo-%.png)
TEST_IMG_FILES = $(TEST_ORGS:%=$(TEST_DIR)/images/logo-%.svg)
PILOT_CSS_FILES = $(PILOT_ORGS:%=$(PILOT_DIR)/css/%.css)
PILOT_IMG_FILES = $(PILOT_ORGS:%=$(PILOT_DIR)/images/logo-%.png)
PILOT_IMG_FILES = $(PILOT_ORGS:%=$(PILOT_DIR)/images/logo-%.svg)
O9_CSS_FILES = $(CSS_FILES:%=$(O9_DIR)/%)
O9_IMG_FILES = $(IMG_FILES:%=$(O9_DIR)/%)
@ -42,7 +42,7 @@ $(TEST_DIR)/css/%.css : $(SRC_CSS)/%.css
$(TEST_DIR)/images : $(TEST_IMG_FILES)
$Qmkdir -p $(@D)
$(TEST_DIR)/images/logo-%.png : $(SRC_IMG)/logo-%.png
$(TEST_DIR)/images/logo-%.svg : $(SRC_IMG)/logo-%.svg
$Qmkdir -p $(@D)
$Qcp "$<" "$@"
@ -59,11 +59,11 @@ $(PILOT_DIR)/css/%.css : $(SRC_CSS)/%.css
$(PILOT_DIR)/images : $(PILOT_IMG_FILES)
$Qmkdir -p $(@D)
$(PILOT_DIR)/images/logo-global.png: logo-global.pilot.png
$(PILOT_DIR)/images/logo-global.svg: logo-global.pilot.svg
$Qmkdir -p $(@D)
$Qcp "$<" "$@"
$(PILOT_DIR)/images/logo-%.png : $(SRC_IMG)/logo-%.png
$(PILOT_DIR)/images/logo-%.svg : $(SRC_IMG)/logo-%.svg
$Qmkdir -p $(@D)
$Qcp "$<" "$@"
@ -84,7 +84,7 @@ $(O9_DIR)/ils/css/%.css : $(SRC_CSS)/%.css
$(O9_DIR)/images : $(O9_IMG_FILES)
$(O9_DIR)/ils/images/%.png : $(SRC_IMG)/%.png
$(O9_DIR)/ils/images/%.svg : $(SRC_IMG)/%.svg
$Qmkdir -p $(@D)
$Qcp "$<" "$@"

View File

@ -7,6 +7,6 @@ body#view-aoste nav.rero-ils-header img.rero-ils-logo {
}
div#aoste-logo {
content: url('https://resources.rero.ch/ils/images/logo-aoste.png');
content: url('https://resources.rero.ch/ils/images/logo-aoste.svg');
max-height: 44px !important;
}

View File

@ -7,6 +7,6 @@ body#view-bulle nav.rero-ils-header img.rero-ils-logo {
}
div#bulle-logo {
content: url('https://resources.rero.ch/ils/images/logo-bulle.png');
content: url('https://resources.rero.ch/ils/images/logo-bulle.svg');
max-height: 44px !important;
}

View File

@ -7,6 +7,6 @@ body#view-fictive nav.rero-ils-header img.rero-ils-logo {
}
div#fictive-logo {
content: url('https://resources.rero.ch/ils/images/logo-fictive.png');
content: url('https://resources.rero.ch/ils/images/logo-fictive.svg');
max-height: 44px !important;
}

View File

@ -7,6 +7,6 @@ body#view-global nav.rero-ils-header img.rero-ils-logo {
}
div#global-logo {
content: url('https://resources.rero.ch/ils/images/logo-global.png');
content: url('https://resources.rero.ch/ils/images/logo-global.svg');
max-height: 44px !important;
}

View File

@ -7,6 +7,6 @@ body#view-highlands nav.rero-ils-header img.rero-ils-logo {
}
div#highlands-logo {
content: url('https://resources.rero.ch/ils/images/logo-highlands.png');
content: url('https://resources.rero.ch/ils/images/logo-highlands.svg');
max-height: 44px !important;
}

View File

@ -7,6 +7,6 @@ body#view-mvs nav.rero-ils-header img.rero-ils-logo {
}
div#mvs-logo {
content: url('https://resources.rero.ch/ils/images/logo-mvs.png');
content: url('https://resources.rero.ch/ils/images/logo-mvs.svg');
max-height: 44px !important;
}

View File

@ -7,6 +7,6 @@ body#view-rbnj nav.rero-ils-header img.rero-ils-logo {
}
div#rbnj-logo {
content: url('https://resources.rero.ch/ils/images/logo-rbnj.png');
content: url('https://resources.rero.ch/ils/images/logo-rbnj.svg');
max-height: 44px !important;
}

266
ils/images/logo-aoste.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 27 KiB

44
ils/images/logo-bulle.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 93 KiB

210
ils/images/logo-fictive.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 42 KiB

130
ils/images/logo-global.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 29 KiB

190
ils/images/logo-mvs.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 35 KiB

171
ils/images/logo-rbnj.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

178
logo-global.pilot.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 18 KiB