https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112764
Revision: 112764
Author: bsitu
Date: 2012-03-01 02:07:12 +0000 (Thu, 01 Mar 2012)
Log Message:
-----------
Changing the color of "Go back" button from blue to red
Modified Paths:
--------------
trunk/extensions/ArticleCreationWorkflow/ArticleCreationWorkflow.php
trunk/extensions/ArticleCreationWorkflow/includes/ArticleCreationTemplates.php
trunk/extensions/ArticleCreationWorkflow/modules/ext.articleCreation.user/ext.articleCreation.user.js
Modified: trunk/extensions/ArticleCreationWorkflow/ArticleCreationWorkflow.php
===================================================================
--- trunk/extensions/ArticleCreationWorkflow/ArticleCreationWorkflow.php
2012-03-01 02:01:29 UTC (rev 112763)
+++ trunk/extensions/ArticleCreationWorkflow/ArticleCreationWorkflow.php
2012-03-01 02:07:12 UTC (rev 112764)
@@ -126,6 +126,7 @@
'title' => 'ac-hover-tooltip-title',
'text' => 'ac-hover-tooltip-body-exit',
),
+ 'color' => 'red',
),
),
'logged-in' => array(
@@ -180,6 +181,7 @@
'title' => 'ac-hover-tooltip-title',
'text' => 'ac-hover-tooltip-body-exit',
),
+ 'color' => 'red',
),
),
);
Modified:
trunk/extensions/ArticleCreationWorkflow/includes/ArticleCreationTemplates.php
===================================================================
---
trunk/extensions/ArticleCreationWorkflow/includes/ArticleCreationTemplates.php
2012-03-01 02:01:29 UTC (rev 112763)
+++
trunk/extensions/ArticleCreationWorkflow/includes/ArticleCreationTemplates.php
2012-03-01 02:07:12 UTC (rev 112764)
@@ -161,7 +161,7 @@
return <<<HTML
<div class="ac-button-wrap">
<a class="ac-article-button ac-button
- ac-article-$button"
data-ac-button="$button"
+ ac-article-$button ui-button-$color"
data-ac-button="$button"
data-ac-label="$buttonTitle"
data-ac-color="$color" href="$target">
<div class="ac-arrow
ac-arrow-forward"> </div>
Modified:
trunk/extensions/ArticleCreationWorkflow/modules/ext.articleCreation.user/ext.articleCreation.user.js
===================================================================
---
trunk/extensions/ArticleCreationWorkflow/modules/ext.articleCreation.user/ext.articleCreation.user.js
2012-03-01 02:01:29 UTC (rev 112763)
+++
trunk/extensions/ArticleCreationWorkflow/modules/ext.articleCreation.user/ext.articleCreation.user.js
2012-03-01 02:07:12 UTC (rev 112764)
@@ -40,7 +40,7 @@
//setup button hover states
ac.panel
.find( '.ac-article-button' )
- .addClass('ui-button-blue')
+ //.addClass('ui-button-blue')
//attach other events here, just making
first tooltip for now
//testing hover effects
.hover (function (){
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs