]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Move bookmark CSS to its own file
authorEvan Prodromou <evan@status.net>
Wed, 22 Dec 2010 21:08:07 +0000 (13:08 -0800)
committerEvan Prodromou <evan@status.net>
Wed, 22 Dec 2010 21:08:07 +0000 (13:08 -0800)
plugins/Bookmark/BookmarkPlugin.php
plugins/Bookmark/bookmark.css [new file with mode: 0644]

index 9b8addf632c9a0fd3d010b7e2510d4ef60372645..83d9e131d37d334aa74016f2ea2dc6589dc00e02 100644 (file)
@@ -107,8 +107,7 @@ class BookmarkPlugin extends Plugin
 
     function onEndShowStyles($action)
     {
 
     function onEndShowStyles($action)
     {
-        $action->style('.bookmark_tags li { display: inline; }');
-        $action->style('.bookmark_mentions li { display: inline; }');
+        $action->cssLink('plugins/Bookmark/bookmark.css');
         return true;
     }
 
         return true;
     }
 
diff --git a/plugins/Bookmark/bookmark.css b/plugins/Bookmark/bookmark.css
new file mode 100644 (file)
index 0000000..ed9d0e0
--- /dev/null
@@ -0,0 +1,3 @@
+.bookmark_tags li { display: inline; }
+.bookmark_mentions li { display: inline; }
+