diff options
author | 2018-11-28 09:46:38 -0500 | |
---|---|---|
committer | 2018-11-28 09:46:38 -0500 | |
commit | 34d678aa78e5d15bfe6043a7d82b082995cd64bd (patch) | |
tree | 939a7929c486d68900defaf6cc0cc4aeb16777f4 | |
parent | Attempt to allow mediawiki to handle the Echo locations dynamically (diff) | |
download | skin-tyrian-34d678aa78e5d15bfe6043a7d82b082995cd64bd.tar.gz skin-tyrian-34d678aa78e5d15bfe6043a7d82b082995cd64bd.tar.bz2 skin-tyrian-34d678aa78e5d15bfe6043a7d82b082995cd64bd.zip |
Add white alert and notice icons loading through ResourceLoader
Signed-off-by: Brian Evans <grknight@gentoo.org>
-rw-r--r-- | icons/bell.svg | 4 | ||||
-rw-r--r-- | icons/tray.svg | 4 | ||||
-rw-r--r-- | skin.json | 9 |
3 files changed, 17 insertions, 0 deletions
diff --git a/icons/bell.svg b/icons/bell.svg new file mode 100644 index 0000000..ff7ee2f --- /dev/null +++ b/icons/bell.svg @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> + <path fill="#fff" d="M17.5 14V9c0-3-2.3-5-5.5-5S6.5 6 6.5 9v5c0 2 0 3-2 3v1h15v-1c-2 0-2-1-2-3zM12 20H9c0 1 1.6 2 3 2s3-1 3-2h-3z"/> +</svg> diff --git a/icons/tray.svg b/icons/tray.svg new file mode 100644 index 0000000..b9f84fc --- /dev/null +++ b/icons/tray.svg @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> + <path fill="#fff" d="M3 13.35l1.8-7.2c.2-.996.81-1.8 1.8-1.8h10.8c.99 0 1.6.867 1.8 1.8l1.8 7.2v4.5c0 .99-.81 1.8-1.8 1.8H4.8c-.99 0-1.8-.81-1.8-1.8v-4.5zm6.96 1.8h4.08c-.49.557-1.212.9-2.04.9a2.68 2.68 0 0 1-2.04-.9h4.08c.414-.472.66-1.098.66-1.8h4.14l-1.44-7.2H6.6l-1.44 7.2H9.3c0 .702.246 1.328.66 1.8z"/> +</svg> @@ -28,6 +28,15 @@ "media": "screen" } } + }, + "skins.tyrian.icons": { + "position": "top", + "class": "ResourceLoaderImageModule", + "selector": "body.skin-tyrian #pt-notifications-${name} .mw-echo-notifications-badge:before", + "images": { + "alert": "icons/bell.svg", + "notice": "icons/tray.svg", + } } }, "ResourceFileModulePaths": { |