From e54db22998081fb002735cc7395040ab1e5a0502 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 9 Dec 2018 16:35:00 +0300 Subject: close_button: use vector icon --- plugins/close_button/button.png | Bin 655 -> 0 bytes plugins/close_button/init.php | 11 +++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) delete mode 100644 plugins/close_button/button.png (limited to 'plugins') diff --git a/plugins/close_button/button.png b/plugins/close_button/button.png deleted file mode 100644 index 1514d51a3..000000000 Binary files a/plugins/close_button/button.png and /dev/null differ diff --git a/plugins/close_button/init.php b/plugins/close_button/init.php index 8678d577c..62404a6ee 100644 --- a/plugins/close_button/init.php +++ b/plugins/close_button/init.php @@ -14,15 +14,18 @@ class Close_Button extends Plugin { "fox"); } + function get_css() { + return "i.icon-close-article { color : red; }"; + } + /** * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ function hook_article_button($line) { if (!get_pref("COMBINED_DISPLAY_MODE")) { - $rv = ""; + $rv = "close"; } return $rv; -- cgit v1.2.3