diff options
author | sgiehl <stefangiehl@gmail.com> | 2012-05-03 02:08:23 +0400 |
---|---|---|
committer | sgiehl <stefangiehl@gmail.com> | 2012-05-03 02:08:23 +0400 |
commit | 0e64dd6c7cdfa5c10a71e2c354cc545b2c592c81 (patch) | |
tree | 3c0d8708a7e5cb3287ab17394d107543eeb819d3 /plugins/ExampleRssWidget | |
parent | 9f5147e17b2f728e1071b2e7f18dd386e92f70a5 (diff) |
added/fixed several doc blocks; fixed some css
git-svn-id: http://dev.piwik.org/svn/trunk@6243 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/ExampleRssWidget')
-rw-r--r-- | plugins/ExampleRssWidget/ExampleRssWidget.php | 3 | ||||
-rw-r--r-- | plugins/ExampleRssWidget/templates/styles.css | 15 |
2 files changed, 9 insertions, 9 deletions
diff --git a/plugins/ExampleRssWidget/ExampleRssWidget.php b/plugins/ExampleRssWidget/ExampleRssWidget.php index d4ceceac82..7f56701325 100644 --- a/plugins/ExampleRssWidget/ExampleRssWidget.php +++ b/plugins/ExampleRssWidget/ExampleRssWidget.php @@ -38,6 +38,9 @@ class Piwik_ExampleRssWidget extends Piwik_Plugin return array( 'AssetManager.getCssFiles' => 'getCssFiles'); } + /** + * @param Piwik_Event_Notification $notification notification object + */ function getCssFiles( $notification ) { $cssFiles = &$notification->getNotificationObject(); diff --git a/plugins/ExampleRssWidget/templates/styles.css b/plugins/ExampleRssWidget/templates/styles.css index 43722016e1..185e57088b 100644 --- a/plugins/ExampleRssWidget/templates/styles.css +++ b/plugins/ExampleRssWidget/templates/styles.css @@ -1,14 +1,11 @@ .rss ul { - list-style-image:none; - list-style-position:outside; - list-style-type:none; - padding:0pt; + list-style:none outside none; + padding:0; } .rss li { line-height:140%; - margin-bottom:6px; - margin:0.5em 0pt 1em; -} + margin:0.5em 0 1em; +} .rss-title, .rss-date { float:left; font-size:14px; @@ -16,12 +13,12 @@ } .rss-title{ color:#2583AD; - margin:0pt 0.5em 0.2em 0pt; + margin:0 0.5em 0.2em 0; font-weight:bold; } .rss-date { color:#999999; - margin:0pt; + margin:0; } .rss-content, .rss-description { clear:both; |