Ticket #3512: 3512_2.patch
File 3512_2.patch, 8.8 KB (added by , 15 years ago) |
---|
-
_source/skins/v2/dialog.css
1 /*1 /* 2 2 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license 4 4 */ … … 476 476 /* 477 477 * Some utility CSS classes for dialog authors. 478 478 */ 479 .cke_skin_v2 .cke_dialog . dark_background479 .cke_skin_v2 .cke_dialog .cke_dark_background 480 480 { 481 481 background-color: #eaead1; 482 482 } 483 483 484 .cke_skin_v2 .cke_dialog . hand484 .cke_skin_v2 .cke_dialog .cke_hand 485 485 { 486 486 cursor: pointer; 487 487 } 488 488 489 .cke_skin_v2 .cke_dialog .c entered489 .cke_skin_v2 .cke_dialog .cke_centered 490 490 { 491 491 text-align: center; 492 492 } 493 493 494 .cke_skin_v2 .cke_dialog . BtnReset494 .cke_skin_v2 .cke_dialog .cke_btn_reset 495 495 { 496 496 float: right; 497 497 background-position: 0 -32px; … … 503 503 font-size: 1px; 504 504 } 505 505 506 .cke_skin_v2 .cke_rtl .cke_dialog . BtnReset506 .cke_skin_v2 .cke_rtl .cke_dialog .cke_btn_reset 507 507 { 508 508 float: left; 509 509 } 510 510 511 .cke_skin_v2 .cke_dialog .BtnLocked, .BtnUnlocked 511 .cke_skin_v2 .cke_dialog .cke_btn_locked, 512 .cke_skin_v2 .cke_dialog .cke_btn_unlocked 512 513 { 513 514 float: left; 514 515 background-position: 0 0; … … 520 521 font-size: 1px; 521 522 } 522 523 523 .cke_skin_v2 .cke_dialog .BtnLocked, .BtnUnlocked 524 .cke_skin_v2 .cke_dialog .cke_btn_locked, 525 .cke_skin_v2 .cke_dialog .cke_btn_unlocked 524 526 { 525 527 float: right; 526 528 } 527 529 528 .cke_skin_v2 .cke_dialog . BtnUnlocked530 .cke_skin_v2 .cke_dialog .cke_btn_unlocked 529 531 { 530 532 background-position: 0 -16px; 531 533 background-image: url(images/mini.gif); 532 534 } 533 535 534 .cke_skin_v2 .cke_dialog . BtnOver536 .cke_skin_v2 .cke_dialog .cke_btn_over 535 537 { 536 538 border: outset 1px; 537 539 cursor: pointer; … … 574 576 background-color : white; 575 577 } 576 578 577 .cke_skin_v2 .cke_dialog . DarkBackground579 .cke_skin_v2 .cke_dialog .cke_dark_background 578 580 { 579 581 text-align : center; 580 582 background-color: #eaead1; 581 583 font-size : 14px; 582 584 } 583 585 584 .cke_skin_v2 .cke_dialog . LightBackground586 .cke_skin_v2 .cke_dialog .cke_light_background 585 587 { 586 588 text-align : center; 587 589 background-color: #ffffbe; 588 590 } 589 591 590 .cke_skin_v2 .cke_dialog . Hand592 .cke_skin_v2 .cke_dialog .cke_hand 591 593 { 592 594 cursor: pointer; 593 595 cursor: hand; 594 596 } 595 597 596 .cke_skin_v2 . disabled598 .cke_skin_v2 .cke_disabled 597 599 { 598 600 color: #a0a0a0; 599 601 } -
_source/plugins/specialchar/dialogs/specialchar.js
62 62 '<td width="1%"' + 63 63 ' title="', chars[i].replace( /&/g, '&' ), '"' + 64 64 ' value="', chars[i].replace( /&/g, "&" ), '"' + 65 ' class=" DarkBackground Hand">');65 ' class="cke_dark_background cke_hand">'); 66 66 html.push( chars[i] ); 67 67 } 68 68 else 69 html.push( '<td class=" DarkBackground"> ' );69 html.push( '<td class="cke_dark_background"> ' ); 70 70 71 71 html.push( '</td>' ); 72 72 } … … 106 106 107 107 dialog.getContentElement( 'info', 'charPreview' ).getElement().setHtml( value ); 108 108 htmlPreview.setHtml( CKEDITOR.tools.htmlEncode( value ) ); 109 target.addClass( " LightBackground" );109 target.addClass( "cke_light_background" ); 110 110 } 111 111 }, 112 112 onMouseout : function( evt ) … … 117 117 var dialog = this.getDialog(); 118 118 dialog.getContentElement( 'info', 'charPreview' ).getElement().setHtml( ' ' ); 119 119 dialog.getContentElement( 'info', 'htmlPreview' ).getElement().setHtml( ' ' ); 120 target.removeClass( " LightBackground" );120 target.removeClass( "cke_light_background" ); 121 121 } 122 122 }, 123 123 onClick : function( evt ) … … 127 127 if ( target.getName() == 'td' && ( value = target.$.getAttribute( 'value' )) ) 128 128 { 129 129 var dialog = this.getDialog(); 130 target.removeClass( " LightBackground" );130 target.removeClass( "cke_light_background" ); 131 131 dialog.getParentEditor().insertHtml( value ); 132 132 dialog.hide(); 133 133 } -
_source/plugins/smiley/dialogs/smiley.js
1 /*1 /* 2 2 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license 4 4 */ … … 158 158 html.push( '<tr>' ); 159 159 160 160 html.push( 161 '<td class=" dark_background handcentered" style="vertical-align: middle;">' +161 '<td class="cke_dark_background cke_hand cke_centered" style="vertical-align: middle;">' + 162 162 '<a class="cke_smile" tabindex="-1" onkeydown="CKEDITOR.tools.callFunction( ', onKeydown, ', event, this );">', 163 163 '<img class="hand" title="', config.smiley_descriptions[i], '"' + 164 164 ' cke_src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '"', -
_source/plugins/image/dialogs/image.js
93 93 dialog.lockRatio = false; 94 94 95 95 if ( dialog.lockRatio ) 96 ratioButton.removeClass( ' BtnUnlocked' );96 ratioButton.removeClass( 'cke_btn_unlocked' ); 97 97 else 98 ratioButton.addClass( ' BtnUnlocked' );98 ratioButton.addClass( 'cke_btn_unlocked' ); 99 99 100 100 return dialog.lockRatio; 101 101 }; … … 650 650 }, 651 651 html : '<div>'+ 652 652 '<div title="' + editor.lang.image.lockRatio + 653 '" class=" BtnLocked" id="btnLockSizes"></div>' +653 '" class="cke_btn_locked" id="btnLockSizes"></div>' + 654 654 '<div title="' + editor.lang.image.resetSize + 655 '" class=" BtnReset" id="btnResetSize"></div>'+655 '" class="cke_btn_reset" id="btnResetSize"></div>'+ 656 656 '</div>' 657 657 } 658 658 ] -
_source/skins/office2003/dialog.css
1 /*1 /* 2 2 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license 4 4 */ … … 477 477 /* 478 478 * Some utility CSS classes for dialog authors. 479 479 */ 480 .cke_skin_office2003 .cke_dialog . dark_background480 .cke_skin_office2003 .cke_dialog .cke_dark_background 481 481 { 482 482 background-color: #eaead1; 483 483 } 484 484 485 .cke_skin_office2003 .cke_dialog . hand485 .cke_skin_office2003 .cke_dialog .cke_hand 486 486 { 487 487 cursor: pointer; 488 488 } 489 489 490 .cke_skin_office2003 .cke_dialog .c entered490 .cke_skin_office2003 .cke_dialog .cke_centered 491 491 { 492 492 text-align: center; 493 493 } 494 494 495 .cke_skin_office2003 .cke_dialog . BtnReset495 .cke_skin_office2003 .cke_dialog .cke_btn_reset 496 496 { 497 497 float: right; 498 498 background-position: 0 -32px; … … 504 504 font-size: 1px; 505 505 } 506 506 507 .cke_skin_office2003 .cke_rtl .cke_dialog . BtnReset507 .cke_skin_office2003 .cke_rtl .cke_dialog .cke_btn_reset 508 508 { 509 509 float: left; 510 510 } 511 511 512 .cke_skin_office2003 .cke_dialog .BtnLocked, .BtnUnlocked 512 .cke_skin_office2003 .cke_dialog .cke_btn_locked, 513 .cke_skin_office2003 .cke_dialog .cke_btn_unlocked 513 514 { 514 515 float: left; 515 516 background-position: 0 0; … … 521 522 font-size: 1px; 522 523 } 523 524 524 .cke_skin_office2003 .cke_dialog .BtnLocked, .BtnUnlocked 525 .cke_skin_office2003 .cke_dialog .cke_btn_locked, 526 .cke_skin_office2003 .cke_dialog .cke_btn_unlocked 525 527 { 526 528 float: right; 527 529 } 528 530 529 .cke_skin_office2003 .cke_dialog . BtnUnlocked531 .cke_skin_office2003 .cke_dialog .cke_btn_unlocked 530 532 { 531 533 background-position: 0 -16px; 532 534 background-image: url(images/mini.gif); 533 535 } 534 536 535 .cke_skin_office2003 .cke_dialog . BtnOver537 .cke_skin_office2003 .cke_dialog .cke_btn_over 536 538 { 537 539 border: outset 1px; 538 540 cursor: pointer; … … 575 577 background-color : white; 576 578 } 577 579 578 .cke_skin_office2003 .cke_dialog . DarkBackground580 .cke_skin_office2003 .cke_dialog .cke_dark_background 579 581 { 580 582 text-align : center; 581 583 background-color: #eaead1; 582 584 font-size : 14px; 583 585 } 584 586 585 .cke_skin_office2003 .cke_dialog . LightBackground587 .cke_skin_office2003 .cke_dialog .cke_light_background 586 588 { 587 589 text-align : center; 588 590 background-color: #ffffbe; 589 591 } 590 592 591 .cke_skin_office2003 .cke_dialog . Hand593 .cke_skin_office2003 .cke_dialog .cke_hand 592 594 { 593 595 cursor: pointer; 594 596 cursor: hand; 595 597 } 596 598 597 .cke_skin_office2003 . disabled599 .cke_skin_office2003 .cke_disabled 598 600 { 599 601 color: #a0a0a0; 600 602 }