Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php |
— | — | @@ -21,17 +21,17 @@ |
22 | 22 | array( 'src' => 'css/suggestions.css', 'version' => 6 ), |
23 | 23 | array( 'src' => 'css/wikiEditor.css', 'version' => 7 ), |
24 | 24 | array( 'src' => 'css/wikiEditor.toolbar.css', 'version' => 7 ), |
25 | | - array( 'src' => 'css/wikiEditor.dialogs.css', 'version' => 2 ), |
| 25 | + array( 'src' => 'css/wikiEditor.dialogs.css', 'version' => 3 ), |
26 | 26 | array( 'src' => 'css/wikiEditor.toc.css', 'version' => 23 ), |
27 | 27 | array( 'src' => 'css/wikiEditor.preview.css', 'version' => 1 ), |
28 | 28 | array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2y' ), |
29 | 29 | ), |
30 | 30 | 'combined' => array( |
31 | | - array( 'src' => 'css/combined.css', 'version' => 30 ), |
| 31 | + array( 'src' => 'css/combined.css', 'version' => 31 ), |
32 | 32 | array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2y' ), |
33 | 33 | ), |
34 | 34 | 'minified' => array( |
35 | | - array( 'src' => 'css/combined.min.css', 'version' => 30 ), |
| 35 | + array( 'src' => 'css/combined.min.css', 'version' => 31 ), |
36 | 36 | array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2y' ), |
37 | 37 | ), |
38 | 38 | ) |
Index: trunk/extensions/UsabilityInitiative/css/wikiEditor.dialogs.css |
— | — | @@ -13,3 +13,8 @@ |
14 | 14 | div.suggestions { |
15 | 15 | z-index: 1099; |
16 | 16 | } |
| 17 | + |
| 18 | +#wikieditor-toolbar-link-dialog .status-invalid input { |
| 19 | + border: 2px solid red; |
| 20 | + padding: 2px 1px; |
| 21 | +} |
\ No newline at end of file |
Index: trunk/extensions/UsabilityInitiative/css/combined.css |
— | — | @@ -133,7 +133,9 @@ |
134 | 134 | padding-left: 1em; |
135 | 135 | border-top: solid 1px white; |
136 | 136 | } |
137 | | - |
| 137 | +.wikiEditor-ui-buttons button { |
| 138 | + margin-left: 0.5em; |
| 139 | +} |
138 | 140 | .wikiEditor-ui-tabs div { |
139 | 141 | float: left; |
140 | 142 | height: 2.5em; |
— | — | @@ -171,7 +173,11 @@ |
172 | 174 | div.suggestions { |
173 | 175 | z-index: 1099; |
174 | 176 | } |
175 | | -/* wikiEditor toc module */ |
| 177 | + |
| 178 | +#wikieditor-toolbar-link-dialog .status-invalid input { |
| 179 | + border: 2px solid red; |
| 180 | + padding: 2px 1px; |
| 181 | +}/* wikiEditor toc module */ |
176 | 182 | body.rtl .wikiEditor-ui-text { |
177 | 183 | border-right: none; |
178 | 184 | border-left: solid silver 1px; |
— | — | @@ -406,17 +412,19 @@ |
407 | 413 | float: left; |
408 | 414 | width: 100%; |
409 | 415 | border-top: solid 1px #DDDDDD; |
410 | | - background-color: #F3F3F3; |
| 416 | + background-color: #E0EEf7; |
411 | 417 | } |
412 | 418 | .wikiEditor-ui-toolbar { |
413 | 419 | background-image: url(../images/wikiEditor/toolbar/base.png); |
414 | 420 | background-position: left top; |
415 | 421 | background-repeat: repeat-x; |
416 | 422 | } |
| 423 | +/* |
417 | 424 | .wikiEditor-ui-toolbar .toolbar { |
418 | 425 | background-image: url(../images/wikiEditor/toolbar/base.png); |
419 | 426 | background-position: left top; |
420 | 427 | } |
| 428 | +*/ |
421 | 429 | body.rtl .wikiEditor-ui-toolbar .sections .section { |
422 | 430 | float: right; |
423 | 431 | } |
— | — | @@ -582,6 +590,7 @@ |
583 | 591 | padding-right: 22px; |
584 | 592 | margin-right: 4px; |
585 | 593 | cursor: pointer; |
| 594 | + color: #333333; |
586 | 595 | } |
587 | 596 | body.rtl .wikiEditor-ui-toolbar .group .tool-select .label { |
588 | 597 | background-position: center left; |
Index: trunk/extensions/UsabilityInitiative/css/combined.min.css |
— | — | @@ -126,6 +126,9 @@ |
127 | 127 | padding-left:1em; |
128 | 128 | border-top:solid 1px white; |
129 | 129 | } |
| 130 | +.wikiEditor-ui-buttons button{ |
| 131 | +margin-left:0.5em; |
| 132 | +} |
130 | 133 | .wikiEditor-ui-tabs div{ |
131 | 134 | float:left; |
132 | 135 | height:2.5em; |
— | — | @@ -160,6 +163,10 @@ |
161 | 164 | div.suggestions{ |
162 | 165 | z-index:1099; |
163 | 166 | } |
| 167 | +#wikieditor-toolbar-link-dialog .status-invalid input{ |
| 168 | +border:2px solid red; |
| 169 | +padding:2px 1px; |
| 170 | +} |
164 | 171 | body.rtl .wikiEditor-ui-text{ |
165 | 172 | border-right:none; |
166 | 173 | border-left:solid silver 1px; |
— | — | @@ -377,17 +384,19 @@ |
378 | 385 | float:left; |
379 | 386 | width:100%; |
380 | 387 | border-top:solid 1px #DDDDDD; |
381 | | -background-color:#F3F3F3; |
| 388 | +background-color:#E0EEf7; |
382 | 389 | } |
383 | 390 | .wikiEditor-ui-toolbar{ |
384 | 391 | background-image:url(../images/wikiEditor/toolbar/base.png); |
385 | 392 | background-position:left top; |
386 | 393 | background-repeat:repeat-x; |
387 | 394 | } |
| 395 | +/* |
388 | 396 | .wikiEditor-ui-toolbar .toolbar{ |
389 | 397 | background-image:url(../images/wikiEditor/toolbar/base.png); |
390 | 398 | background-position:left top; |
391 | 399 | } |
| 400 | +*/ |
392 | 401 | body.rtl .wikiEditor-ui-toolbar .sections .section{ |
393 | 402 | float:right; |
394 | 403 | } |
— | — | @@ -542,6 +551,7 @@ |
543 | 552 | padding-right:22px; |
544 | 553 | margin-right:4px; |
545 | 554 | cursor:pointer; |
| 555 | +color:#333333; |
546 | 556 | } |
547 | 557 | body.rtl .wikiEditor-ui-toolbar .group .tool-select .label{ |
548 | 558 | background-position:center left; |
Index: trunk/extensions/UsabilityInitiative/WikiEditor/WikiEditor.hooks.php |
— | — | @@ -16,13 +16,13 @@ |
17 | 17 | array( 'src' => 'Modules/Preview/Preview.js', 'version' => 2 ), |
18 | 18 | array( 'src' => 'Modules/Publish/Publish.js', 'version' => 1 ), |
19 | 19 | array( 'src' => 'Modules/Toc/Toc.js', 'version' => 1 ), |
20 | | - array( 'src' => 'Modules/Toolbar/Toolbar.js', 'version' => 9 ), |
| 20 | + array( 'src' => 'Modules/Toolbar/Toolbar.js', 'version' => 10 ), |
21 | 21 | ), |
22 | 22 | 'combined' => array( |
23 | | - array( 'src' => 'WikiEditor.combined.js', 'version' => 7 ), |
| 23 | + array( 'src' => 'WikiEditor.combined.js', 'version' => 8 ), |
24 | 24 | ), |
25 | 25 | 'minified' => array( |
26 | | - array( 'src' => 'WikiEditor.combined.min.js', 'version' => 7 ), |
| 26 | + array( 'src' => 'WikiEditor.combined.min.js', 'version' => 8 ), |
27 | 27 | ), |
28 | 28 | ); |
29 | 29 | static $messages = array( |
Index: trunk/extensions/UsabilityInitiative/WikiEditor/WikiEditor.combined.js |
— | — | @@ -932,6 +932,7 @@ |
933 | 933 | function updateWidget( status ) { |
934 | 934 | $j( '#wikieditor-toolbar-link-int-target-status' ).children().hide(); |
935 | 935 | $j( '#wikieditor-toolbar-link-int-target-status-' + status ).show(); |
| 936 | + $j( '#wikieditor-toolbar-link-int-target' ).parent().removeClass().addClass( 'status-' + status ); |
936 | 937 | } |
937 | 938 | // Abort previous request |
938 | 939 | var request = $j( '#wikieditor-toolbar-link-int-target-status' ).data( 'request' ); |
Index: trunk/extensions/UsabilityInitiative/WikiEditor/WikiEditor.combined.min.js |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | </tr>\ |
35 | 35 | </table></fieldset>',init:function(){function isExternalLink(s){if(typeof arguments.callee.regex=='undefined'){arguments.callee.regex=new RegExp("(^("+urlprotocols+"))|(^www\\.)|([^.]\\.[a-z]{2,}($|\\/))",'i');} |
36 | 36 | return s.match(arguments.callee.regex);} |
37 | | -function updateExistence(){function updateWidget(status){$j('#wikieditor-toolbar-link-int-target-status').children().hide();$j('#wikieditor-toolbar-link-int-target-status-'+status).show();} |
| 37 | +function updateExistence(){function updateWidget(status){$j('#wikieditor-toolbar-link-int-target-status').children().hide();$j('#wikieditor-toolbar-link-int-target-status-'+status).show();$j('#wikieditor-toolbar-link-int-target').parent().removeClass().addClass('status-'+status);} |
38 | 38 | var request=$j('#wikieditor-toolbar-link-int-target-status').data('request');if(request){request.abort();} |
39 | 39 | var target=$j('#wikieditor-toolbar-link-int-target').val();var cache=$j('#wikieditor-toolbar-link-int-target-status').data('existencecache');if(cache[target]){updateWidget(cache[target]);return;} |
40 | 40 | if(target==''){$j('#wikieditor-toolbar-link-int-target-status').children().hide();return;} |
Index: trunk/extensions/UsabilityInitiative/WikiEditor/Modules/Toolbar/Toolbar.js |
— | — | @@ -884,6 +884,7 @@ |
885 | 885 | function updateWidget( status ) { |
886 | 886 | $j( '#wikieditor-toolbar-link-int-target-status' ).children().hide(); |
887 | 887 | $j( '#wikieditor-toolbar-link-int-target-status-' + status ).show(); |
| 888 | + $j( '#wikieditor-toolbar-link-int-target' ).parent().removeClass().addClass( 'status-' + status ); |
888 | 889 | } |
889 | 890 | // Abort previous request |
890 | 891 | var request = $j( '#wikieditor-toolbar-link-int-target-status' ).data( 'request' ); |