mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AJAXPoll
synced 2024-11-15 03:04:14 +00:00
improved marking of the vote (less is marked); hex colour codes instead of web colour names.
This commit is contained in:
parent
bc93f4845b
commit
11654ce306
Notes:
Thomas Gries
2012-03-18 07:15:30 +00:00
|
@ -19,7 +19,7 @@
|
|||
* @author Jack Phoenix <jack@countervandalism.net>
|
||||
* @author Thomas Gries
|
||||
* @maintainer Thomas Gries
|
||||
* @version 1.75
|
||||
* @version 1.76
|
||||
* @link http://www.mediawiki.org/wiki/Extension:AJAX_Poll Documentation
|
||||
*/
|
||||
|
||||
|
@ -31,7 +31,7 @@ if( !defined( 'MEDIAWIKI' ) ) {
|
|||
$wgExtensionCredits['parserhook'][] = array(
|
||||
'path' => __FILE__,
|
||||
'name' => 'AJAX Poll',
|
||||
'version' => '1.75 20120317',
|
||||
'version' => '1.76 20120318',
|
||||
'author' => array( 'Dariusz Siedlecki', 'Jack Phoenix', 'Thomas Gries' ),
|
||||
'descriptionmsg' => 'ajaxpoll-desc',
|
||||
'url' => 'https://www.mediawiki.org/wiki/Extension:AJAX_Poll',
|
||||
|
|
|
@ -24,11 +24,11 @@
|
|||
}
|
||||
|
||||
.ajaxpoll .ajaxpoll-hover-vote {
|
||||
background: cyan;
|
||||
background: #00FFFF;
|
||||
}
|
||||
|
||||
.ajaxpoll .ajaxpoll-hover-revoke {
|
||||
background: gold;
|
||||
background: #FFD700;
|
||||
}
|
||||
|
||||
.ajaxpoll .ajaxpoll-answer-vote {
|
||||
|
@ -77,12 +77,12 @@
|
|||
}
|
||||
|
||||
.ajaxpoll .ajaxpoll-checkevent {
|
||||
background: cyan;
|
||||
background: #00FF00;
|
||||
}
|
||||
|
||||
.ajaxpoll .ajaxpoll-misc {
|
||||
margin-bottom: 10px;
|
||||
color: grey;
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
.ajaxpoll .ajaxpoll-ajax {
|
||||
|
@ -96,11 +96,11 @@
|
|||
|
||||
.ajaxpoll .ajaxpoll-info {
|
||||
margin-top: 20px;
|
||||
color: grey;
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
.ajaxpoll .ajaxpoll-id-info {
|
||||
color:#FAFAFA;
|
||||
color: #FAFAFA;
|
||||
font-size: 100%;
|
||||
float: right;
|
||||
}
|
||||
|
|
|
@ -26,9 +26,8 @@ $(".ajaxpoll-answer")
|
|||
$this = $(this);
|
||||
var poll = $this.attr( "poll" );
|
||||
var answer = $this.attr("answer");
|
||||
$this
|
||||
.addClass("ajaxpoll-checkevent")
|
||||
.find("input").prop("checked",true);
|
||||
$this.find(".ajaxpoll-hover-vote").addClass("ajaxpoll-checkevent");
|
||||
$this.find("input").prop("checked",true);
|
||||
$( "#ajaxpoll-ajax-"+poll )
|
||||
.html("Please wait, submitting your vote.")
|
||||
.css("display","block");
|
||||
|
|
Loading…
Reference in a new issue