mirror of
https://github.com/Metastem/wikiless
synced 2024-12-06 19:16:58 +01:00
add missing icons required by French/modern theme
This commit is contained in:
+4
-1
@@ -54,7 +54,7 @@ module.exports = (app, utils) => {
|
||||
return res.sendStatus(404)
|
||||
}
|
||||
|
||||
if(req.url.startsWith('/static/images/project-logos/') || req.url === '/static/images/mobile/copyright/wikipedia.png') {
|
||||
if(req.url.startsWith('/static/images/project-logos/') || req.url === '/static/images/mobile/copyright/wikipedia.png' || req.url === '/static/apple-touch/wikipedia.png') {
|
||||
return res.sendFile(wikilessLogo())
|
||||
}
|
||||
|
||||
@@ -71,6 +71,9 @@ module.exports = (app, utils) => {
|
||||
if(req.url.includes('-ko.svg')) {
|
||||
custom_lang = 'ko'
|
||||
}
|
||||
if(req.url.includes('-vi.svg')) {
|
||||
custom_lang = 'vi'
|
||||
}
|
||||
|
||||
const custom_logo = customLogos(req.url, custom_lang)
|
||||
if(custom_logo) {
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ module.exports = function(redis) {
|
||||
|
||||
// load custom language specific languages
|
||||
let lang_suffix = ''
|
||||
let load_custom_styles = ['de', 'fr', 'ko']
|
||||
let load_custom_styles = ['de', 'fr', 'ko', 'vi']
|
||||
|
||||
if(load_custom_styles.includes(lang)) {
|
||||
lang_suffix = '_' + lang
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13">
|
||||
<circle cx="2.5" cy="9" r="2.5" fill="#202122"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 161 B |
@@ -2748,9 +2748,9 @@ a.mw-ui-button:focus {
|
||||
url(/w/load.php?modules=skins.vector.icons&image=language&format=original&skin=vector&version=3vgeg);
|
||||
}
|
||||
.mw-ui-icon-wikimedia-language-progressive:before {
|
||||
background-image: url(/w/load.php?modules=skins.vector.icons&image=language&variant=progressive&format=rasterized&skin=vector&version=3vgeg);
|
||||
background-image: linear-gradient(transparent, transparent),
|
||||
url(/w/load.php?modules=skins.vector.icons&image=language&variant=progressive&format=original&skin=vector&version=3vgeg);
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E language %3C/title%3E%3Cg fill='%2336c'%3E%3Cpath d='M20 18h-1.44a.61.61 0 0 1-.4-.12.81.81 0 0 1-.23-.31L17 15h-5l-1 2.54a.77.77 0 0 1-.22.3.59.59 0 0 1-.4.14H9l4.55-11.47h1.89zm-3.53-4.31L14.89 9.5a11.62 11.62 0 0 1-.39-1.24q-.09.37-.19.69l-.19.56-1.58 4.19zm-6.3-1.58a13.43 13.43 0 0 1-2.91-1.41 11.46 11.46 0 0 0 2.81-5.37H12V4H7.31a4 4 0 0 0-.2-.56C6.87 2.79 6.6 2 6.6 2l-1.47.5s.4.89.6 1.5H0v1.33h2.15A11.23 11.23 0 0 0 5 10.7a17.19 17.19 0 0 1-5 2.1q.56.82.87 1.38a23.28 23.28 0 0 0 5.22-2.51 15.64 15.64 0 0 0 3.56 1.77zM3.63 5.33h4.91a8.11 8.11 0 0 1-2.45 4.45 9.11 9.11 0 0 1-2.46-4.45z'/%3E%3C/g%3E%3C/svg%3E") /* url(/w/load.php?modules=skins.vector.icons&image=language&variant=progressive&format=rasterized&skin=vector&version=3vgeg)*/ ;
|
||||
background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E language %3C/title%3E%3Cg fill='%2336c'%3E%3Cpath d='M20 18h-1.44a.61.61 0 0 1-.4-.12.81.81 0 0 1-.23-.31L17 15h-5l-1 2.54a.77.77 0 0 1-.22.3.59.59 0 0 1-.4.14H9l4.55-11.47h1.89zm-3.53-4.31L14.89 9.5a11.62 11.62 0 0 1-.39-1.24q-.09.37-.19.69l-.19.56-1.58 4.19zm-6.3-1.58a13.43 13.43 0 0 1-2.91-1.41 11.46 11.46 0 0 0 2.81-5.37H12V4H7.31a4 4 0 0 0-.2-.56C6.87 2.79 6.6 2 6.6 2l-1.47.5s.4.89.6 1.5H0v1.33h2.15A11.23 11.23 0 0 0 5 10.7a17.19 17.19 0 0 1-5 2.1q.56.82.87 1.38a23.28 23.28 0 0 0 5.22-2.51 15.64 15.64 0 0 0 3.56 1.77zM3.63 5.33h4.91a8.11 8.11 0 0 1-2.45 4.45 9.11 9.11 0 0 1-2.46-4.45z'/%3E%3C/g%3E%3C/svg%3E");
|
||||
/*url(/w/load.php?modules=skins.vector.icons&image=language&variant=progressive&format=original&skin=vector&version=3vgeg);*/
|
||||
}
|
||||
.mw-ui-icon-wikimedia-sandbox:before {
|
||||
background-image: url(/w/load.php?modules=skins.vector.icons&image=sandbox&format=rasterized&skin=vector&version=3vgeg);
|
||||
|
||||
Reference in New Issue
Block a user