Removed entity flag stylesheet and icons from plugin to core.

This commit is contained in:
Sarven Capadisli 2010-02-02 16:27:58 +01:00
parent a1f55c3f80
commit 245610d2e1
5 changed files with 14 additions and 21 deletions

View File

@ -182,21 +182,6 @@ class UserFlagPlugin extends Plugin
return true; return true;
} }
/**
* Add our plugin's CSS to page output
*
* @param Action $action action being shown
*
* @return boolean hook result
*/
function onEndShowStatusNetStyles($action)
{
$action->cssLink(common_path('plugins/UserFlag/userflag.css'),
null, 'screen, projection, tv');
return true;
}
/** /**
* Initialize any flagging buttons on the page * Initialize any flagging buttons on the page
* *

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 B

View File

@ -1,4 +0,0 @@
.entity_flag input.submit,
.entity_flag p {
background:url(icon_flag.gif) 5px 5px no-repeat;
}

View File

@ -190,7 +190,9 @@ button.close,
.form_notice label[for=notice_data-geo], .form_notice label[for=notice_data-geo],
button.minimize, button.minimize,
.form_reset_key input.submit, .form_reset_key input.submit,
.entity_clear input.submit { .entity_clear input.submit,
.entity_flag input.submit,
.entity_flag p {
background-image:url(../../base/images/icons/icons-01.gif); background-image:url(../../base/images/icons/icons-01.gif);
background-repeat:no-repeat; background-repeat:no-repeat;
background-color:transparent; background-color:transparent;
@ -342,6 +344,10 @@ background-position: 5px -1973px;
.entity_clear input.submit { .entity_clear input.submit {
background-position: 5px -2039px; background-position: 5px -2039px;
} }
.entity_flag input.submit,
.entity_flag p {
background-position: 5px -2105px;
}
/* NOTICES */ /* NOTICES */
.notice .attachment { .notice .attachment {

View File

@ -190,7 +190,9 @@ button.close,
.form_notice label[for=notice_data-geo], .form_notice label[for=notice_data-geo],
button.minimize, button.minimize,
.form_reset_key input.submit, .form_reset_key input.submit,
.entity_clear input.submit { .entity_clear input.submit,
.entity_flag input.submit,
.entity_flag p {
background-image:url(../../base/images/icons/icons-01.gif); background-image:url(../../base/images/icons/icons-01.gif);
background-repeat:no-repeat; background-repeat:no-repeat;
background-color:transparent; background-color:transparent;
@ -341,6 +343,10 @@ background-position: 5px -1973px;
.entity_clear input.submit { .entity_clear input.submit {
background-position: 5px -2039px; background-position: 5px -2039px;
} }
.entity_flag input.submit,
.entity_flag p {
background-position: 5px -2105px;
}
/* NOTICES */ /* NOTICES */
.notice .attachment { .notice .attachment {