From c99d4eddb15d3ebbb7d8b0eee651a1a3d62c1ed6 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 3 Jun 2014 11:38:40 +0200 Subject: [PATCH] Moved Poll CSS into the plugin directory --- plugins/Poll/PollPlugin.php | 2 +- plugins/Poll/{ => css}/poll.css | 10 ++++++++++ theme/neo/css/display.css | 10 ---------- 3 files changed, 11 insertions(+), 11 deletions(-) rename plugins/Poll/{ => css}/poll.css (52%) diff --git a/plugins/Poll/PollPlugin.php b/plugins/Poll/PollPlugin.php index e87e81c2e3..76f46171cc 100644 --- a/plugins/Poll/PollPlugin.php +++ b/plugins/Poll/PollPlugin.php @@ -77,7 +77,7 @@ class PollPlugin extends MicroAppPlugin */ function onEndShowStyles($action) { - $action->cssLink($this->path('poll.css')); + $action->cssLink($this->path('css/poll.css')); return true; } diff --git a/plugins/Poll/poll.css b/plugins/Poll/css/poll.css similarity index 52% rename from plugins/Poll/poll.css rename to plugins/Poll/css/poll.css index 5ba9c1588f..975a52f88c 100644 --- a/plugins/Poll/poll.css +++ b/plugins/Poll/css/poll.css @@ -1,3 +1,5 @@ +/* Poll specific styles */ + .poll-block { float: left; height: 16px; @@ -8,3 +10,11 @@ .poll-winner { background: #4af; } + +.notice div.poll-content { + opacity: 1; +} + +#poll-response-submit { + min-width: 100px; +} diff --git a/theme/neo/css/display.css b/theme/neo/css/display.css index e40f5f85c6..f16d6aab57 100644 --- a/theme/neo/css/display.css +++ b/theme/neo/css/display.css @@ -1103,16 +1103,6 @@ td.entity_profile { -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); } -/* Poll specific styles */ - -.notice div.poll-content { - opacity: 1; -} - -#poll-response-submit { - min-width: 100px; -} - /* SNOD CompanyLogo styling */ /* TODO move to plugin */