Index: trunk/extensions/UsabilityInitiative/css/wikiEditor.toolbar.css |
— | — | @@ -354,7 +354,7 @@ |
355 | 355 | width: 20%; |
356 | 356 | } |
357 | 357 | /* Characters Pages */ |
358 | | -.wikiEditor-ui-toolbar .page-characters div a { |
| 358 | +.wikiEditor-ui-toolbar .page-characters div span { |
359 | 359 | border: solid 1px #DDDDDD; |
360 | 360 | padding: 5px; |
361 | 361 | padding-left: 8px; |
— | — | @@ -366,15 +366,16 @@ |
367 | 367 | display: block; |
368 | 368 | color: black; |
369 | 369 | text-decoration: none; |
| 370 | + cursor: pointer; |
370 | 371 | } |
371 | | -body.rtl .wikiEditor-ui-toolbar .page-characters > div > a, |
372 | | -.wikiEditor-ui-toolbar .page-characters div[dir=rtl] a { |
| 372 | +body.rtl .wikiEditor-ui-toolbar .page-characters > div > span, |
| 373 | +.wikiEditor-ui-toolbar .page-characters div[dir=rtl] span { |
373 | 374 | direction: rtl; |
374 | 375 | float: right; |
375 | 376 | margin-left: 0; |
376 | 377 | margin-right: 5px; |
377 | 378 | } |
378 | | -.wikiEditor-ui-toolbar .page-characters div a:hover { |
| 379 | +.wikiEditor-ui-toolbar .page-characters div span:hover { |
379 | 380 | background-color: white; |
380 | 381 | text-decoration: none; |
381 | 382 | border-color: #a8d7f9; |
Index: trunk/extensions/UsabilityInitiative/css/combined.css |
— | — | @@ -1137,7 +1137,7 @@ |
1138 | 1138 | width: 20%; |
1139 | 1139 | } |
1140 | 1140 | /* Characters Pages */ |
1141 | | -.wikiEditor-ui-toolbar .page-characters div a { |
| 1141 | +.wikiEditor-ui-toolbar .page-characters div span { |
1142 | 1142 | border: solid 1px #DDDDDD; |
1143 | 1143 | padding: 5px; |
1144 | 1144 | padding-left: 8px; |
— | — | @@ -1149,15 +1149,16 @@ |
1150 | 1150 | display: block; |
1151 | 1151 | color: black; |
1152 | 1152 | text-decoration: none; |
| 1153 | + cursor: pointer; |
1153 | 1154 | } |
1154 | | -body.rtl .wikiEditor-ui-toolbar .page-characters > div > a, |
1155 | | -.wikiEditor-ui-toolbar .page-characters div[dir=rtl] a { |
| 1155 | +body.rtl .wikiEditor-ui-toolbar .page-characters > div > span, |
| 1156 | +.wikiEditor-ui-toolbar .page-characters div[dir=rtl] span { |
1156 | 1157 | direction: rtl; |
1157 | 1158 | float: right; |
1158 | 1159 | margin-left: 0; |
1159 | 1160 | margin-right: 5px; |
1160 | 1161 | } |
1161 | | -.wikiEditor-ui-toolbar .page-characters div a:hover { |
| 1162 | +.wikiEditor-ui-toolbar .page-characters div span:hover { |
1162 | 1163 | background-color: white; |
1163 | 1164 | text-decoration: none; |
1164 | 1165 | border-color: #a8d7f9; |
Index: trunk/extensions/UsabilityInitiative/css/combined.min.css |
— | — | @@ -1072,7 +1072,7 @@ |
1073 | 1073 | .wikiEditor-ui-toolbar .section-help .page-table td.description{ |
1074 | 1074 | width:20%; |
1075 | 1075 | } |
1076 | | -.wikiEditor-ui-toolbar .page-characters div a{ |
| 1076 | +.wikiEditor-ui-toolbar .page-characters div span{ |
1077 | 1077 | border:solid 1px #DDDDDD; |
1078 | 1078 | padding:5px; |
1079 | 1079 | padding-left:8px; |
— | — | @@ -1084,15 +1084,16 @@ |
1085 | 1085 | display:block; |
1086 | 1086 | color:black; |
1087 | 1087 | text-decoration:none; |
| 1088 | +cursor:pointer; |
1088 | 1089 | } |
1089 | | -body.rtl .wikiEditor-ui-toolbar .page-characters > div > a, |
1090 | | -.wikiEditor-ui-toolbar .page-characters div[dir=rtl] a{ |
| 1090 | +body.rtl .wikiEditor-ui-toolbar .page-characters > div > span, |
| 1091 | +.wikiEditor-ui-toolbar .page-characters div[dir=rtl] span{ |
1091 | 1092 | direction:rtl; |
1092 | 1093 | float:right; |
1093 | 1094 | margin-left:0; |
1094 | 1095 | margin-right:5px; |
1095 | 1096 | } |
1096 | | -.wikiEditor-ui-toolbar .page-characters div a:hover{ |
| 1097 | +.wikiEditor-ui-toolbar .page-characters div span:hover{ |
1097 | 1098 | background-color:white; |
1098 | 1099 | text-decoration:none; |
1099 | 1100 | border-color:#a8d7f9; |
Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js |
— | — | @@ -547,7 +547,7 @@ |
548 | 548 | } |
549 | 549 | if ( 'action' in character && 'label' in character ) { |
550 | 550 | actions[character.label] = character.action; |
551 | | - return '<a rel="' + character.label + '" href="#">' + character.label + '</a>'; |
| 551 | + return '<span rel="' + character.label + '">' + character.label + '</span>'; |
552 | 552 | } |
553 | 553 | }, |
554 | 554 | buildTab : function( context, id, section ) { |
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.js |
— | — | @@ -11421,7 +11421,7 @@ |
11422 | 11422 | } |
11423 | 11423 | if ( 'action' in character && 'label' in character ) { |
11424 | 11424 | actions[character.label] = character.action; |
11425 | | - return '<a rel="' + character.label + '" href="#">' + character.label + '</a>'; |
| 11425 | + return '<span rel="' + character.label + '">' + character.label + '</span>'; |
11426 | 11426 | } |
11427 | 11427 | }, |
11428 | 11428 | buildTab : function( context, id, section ) { |
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.min.js |
— | — | @@ -782,7 +782,7 @@ |
783 | 783 | return html;},buildRow:function(context,row){var html='<tr>';for(cell in row){html+='<td class="cell cell-'+cell+'" valign="top"><span>'+ |
784 | 784 | $.wikiEditor.autoMsg(row[cell],['html','text'])+'</span></td>';} |
785 | 785 | html+='</tr>';return html;},buildCharacter:function(character,actions){if(typeof character=='string'){character={'label':character,'action':{'type':'encapsulate','options':{'pre':character}}};}else if(0 in character&&1 in character){character={'label':character[0],'action':{'type':'encapsulate','options':{'pre':character[1]}}};} |
786 | | -if('action'in character&&'label'in character){actions[character.label]=character.action;return'<a rel="'+character.label+'" href="#">'+character.label+'</a>';}},buildTab:function(context,id,section){var selected=$.cookie('wikiEditor-'+context.instance+'-toolbar-section');return $('<span />').attr({'class':'tab tab-'+id,'rel':id}).append($('<a />').addClass(selected==id?'current':null).attr('href','#').text($.wikiEditor.autoMsg(section,'label')).data('context',context).mouseup(function(e){$(this).blur();}).mousedown(function(e){e.preventDefault();return false;}).click(function(e){var $sections=$(this).data('context').$ui.find('.sections');var $section=$(this).data('context').$ui.find('.section-'+$(this).parent().attr('rel'));var show=$section.css('display')=='none';$previousSections=$section.parent().find('.section-visible');$previousSections.css('position','absolute');$previousSections.removeClass('section-visible');$previousSections.fadeOut('fast',function(){$(this).css('position','relative');});$(this).parent().parent().find('a').removeClass('current');$sections.css('overflow','hidden');if(show){$section.addClass('section-visible');$section.fadeIn('fast');$sections.css('display','block').animate({'height':$section.outerHeight()},$section.outerHeight()*2,function(){$(this).css('overflow','visible').css('height','auto');context.fn.trigger('resize');});$(this).addClass('current');}else{$sections.css('height',$section.outerHeight()).animate({'height':'hide'},$section.outerHeight()*2,function(){$(this).css({'overflow':'visible','height':0});context.fn.trigger('resize');});} |
| 786 | +if('action'in character&&'label'in character){actions[character.label]=character.action;return'<span rel="'+character.label+'">'+character.label+'</span>';}},buildTab:function(context,id,section){var selected=$.cookie('wikiEditor-'+context.instance+'-toolbar-section');return $('<span />').attr({'class':'tab tab-'+id,'rel':id}).append($('<a />').addClass(selected==id?'current':null).attr('href','#').text($.wikiEditor.autoMsg(section,'label')).data('context',context).mouseup(function(e){$(this).blur();}).mousedown(function(e){e.preventDefault();return false;}).click(function(e){var $sections=$(this).data('context').$ui.find('.sections');var $section=$(this).data('context').$ui.find('.section-'+$(this).parent().attr('rel'));var show=$section.css('display')=='none';$previousSections=$section.parent().find('.section-visible');$previousSections.css('position','absolute');$previousSections.removeClass('section-visible');$previousSections.fadeOut('fast',function(){$(this).css('position','relative');});$(this).parent().parent().find('a').removeClass('current');$sections.css('overflow','hidden');if(show){$section.addClass('section-visible');$section.fadeIn('fast');$sections.css('display','block').animate({'height':$section.outerHeight()},$section.outerHeight()*2,function(){$(this).css('overflow','visible').css('height','auto');context.fn.trigger('resize');});$(this).addClass('current');}else{$sections.css('height',$section.outerHeight()).animate({'height':'hide'},$section.outerHeight()*2,function(){$(this).css({'overflow':'visible','height':0});context.fn.trigger('resize');});} |
787 | 787 | if($.trackAction!=undefined){$.trackAction($section.attr('rel')+'.'+(show?'show':'hide'));} |
788 | 788 | $.cookie('wikiEditor-'+$(this).data('context').instance+'-toolbar-section',show?$section.attr('rel'):null);e.preventDefault();return false;}));},buildSection:function(context,id,section){context.$textarea.trigger('wikiEditor-toolbar-buildSection-'+id,[section]);var selected=$.cookie('wikiEditor-'+context.instance+'-toolbar-section');var $section;switch(section.type){case'toolbar':var $section=$('<div />').attr({'class':'toolbar section section-'+id,'rel':id});if('groups'in section){for(group in section.groups){$section.append($.wikiEditor.modules.toolbar.fn.buildGroup(context,group,section.groups[group]));}} |
789 | 789 | break;case'booklet':var $pages=$('<div />').addClass('pages');var $index=$('<div />').addClass('index');if('pages'in section){for(page in section.pages){$pages.append($.wikiEditor.modules.toolbar.fn.buildPage(context,page,section.pages[page]));$index.append($.wikiEditor.modules.toolbar.fn.buildBookmark(context,page,section.pages[page]));}} |