Pilot preparation: use SVG files
14
Makefile
@ -7,7 +7,7 @@ SRC_IMG = $(SRC_DIR)/images
|
|||||||
|
|
||||||
# Source files
|
# Source files
|
||||||
CSS_FILES := $(wildcard ils/css/*.css)
|
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)
|
# Those we want to keep (some on /test directory, other on /pilot)
|
||||||
TEST_ORGS = global aoste fictive highlands
|
TEST_ORGS = global aoste fictive highlands
|
||||||
@ -20,9 +20,9 @@ O9_DIR = static-o9
|
|||||||
|
|
||||||
# Destination files
|
# Destination files
|
||||||
TEST_CSS_FILES = $(TEST_ORGS:%=$(TEST_DIR)/css/%.css)
|
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_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_CSS_FILES = $(CSS_FILES:%=$(O9_DIR)/%)
|
||||||
O9_IMG_FILES = $(IMG_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)
|
$(TEST_DIR)/images : $(TEST_IMG_FILES)
|
||||||
$Qmkdir -p $(@D)
|
$Qmkdir -p $(@D)
|
||||||
|
|
||||||
$(TEST_DIR)/images/logo-%.png : $(SRC_IMG)/logo-%.png
|
$(TEST_DIR)/images/logo-%.svg : $(SRC_IMG)/logo-%.svg
|
||||||
$Qmkdir -p $(@D)
|
$Qmkdir -p $(@D)
|
||||||
$Qcp "$<" "$@"
|
$Qcp "$<" "$@"
|
||||||
|
|
||||||
@ -59,11 +59,11 @@ $(PILOT_DIR)/css/%.css : $(SRC_CSS)/%.css
|
|||||||
$(PILOT_DIR)/images : $(PILOT_IMG_FILES)
|
$(PILOT_DIR)/images : $(PILOT_IMG_FILES)
|
||||||
$Qmkdir -p $(@D)
|
$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)
|
$Qmkdir -p $(@D)
|
||||||
$Qcp "$<" "$@"
|
$Qcp "$<" "$@"
|
||||||
|
|
||||||
$(PILOT_DIR)/images/logo-%.png : $(SRC_IMG)/logo-%.png
|
$(PILOT_DIR)/images/logo-%.svg : $(SRC_IMG)/logo-%.svg
|
||||||
$Qmkdir -p $(@D)
|
$Qmkdir -p $(@D)
|
||||||
$Qcp "$<" "$@"
|
$Qcp "$<" "$@"
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ $(O9_DIR)/ils/css/%.css : $(SRC_CSS)/%.css
|
|||||||
|
|
||||||
$(O9_DIR)/images : $(O9_IMG_FILES)
|
$(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)
|
$Qmkdir -p $(@D)
|
||||||
$Qcp "$<" "$@"
|
$Qcp "$<" "$@"
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@ body#view-aoste nav.rero-ils-header img.rero-ils-logo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div#aoste-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;
|
max-height: 44px !important;
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,6 @@ body#view-bulle nav.rero-ils-header img.rero-ils-logo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div#bulle-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;
|
max-height: 44px !important;
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,6 @@ body#view-fictive nav.rero-ils-header img.rero-ils-logo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div#fictive-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;
|
max-height: 44px !important;
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,6 @@ body#view-global nav.rero-ils-header img.rero-ils-logo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div#global-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;
|
max-height: 44px !important;
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,6 @@ body#view-highlands nav.rero-ils-header img.rero-ils-logo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div#highlands-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;
|
max-height: 44px !important;
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,6 @@ body#view-mvs nav.rero-ils-header img.rero-ils-logo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div#mvs-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;
|
max-height: 44px !important;
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,6 @@ body#view-rbnj nav.rero-ils-header img.rero-ils-logo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div#rbnj-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;
|
max-height: 44px !important;
|
||||||
}
|
}
|
||||||
|
266
ils/images/logo-aoste.svg
Normal file
After Width: | Height: | Size: 27 KiB |
44
ils/images/logo-bulle.svg
Normal file
After Width: | Height: | Size: 93 KiB |
210
ils/images/logo-fictive.svg
Normal file
After Width: | Height: | Size: 42 KiB |
130
ils/images/logo-global.svg
Normal file
After Width: | Height: | Size: 12 KiB |
196
ils/images/logo-highlands.svg
Normal file
After Width: | Height: | Size: 29 KiB |
190
ils/images/logo-mvs.svg
Normal file
After Width: | Height: | Size: 35 KiB |
171
ils/images/logo-rbnj.svg
Normal file
After Width: | Height: | Size: 10 KiB |
178
logo-global.pilot.svg
Normal file
After Width: | Height: | Size: 18 KiB |