Changeset 1567
- Timestamp:
- 2008-02-20 09:35:32 (7 months ago)
- Location:
- FCKeditor/trunk/editor
- Files:
-
- 4 modified
-
fckdialog.html (modified) (9 diffs)
-
skins/default/fck_dialog.css (modified) (9 diffs)
-
skins/office2003/fck_dialog.css (modified) (9 diffs)
-
skins/silver/fck_dialog.css (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/fckdialog.html
r1565 r1567 120 120 height -= $( 'TitleArea' ).offsetHeight ; 121 121 height -= $( 'TabsRow' ).offsetHeight ; 122 height -= $( ' DialogButtons' ).offsetHeight ;122 height -= $( 'PopupButtons' ).offsetHeight ; 123 123 124 124 frmMain.style.height = Math.max( height, 0 ) + 'px' ; … … 341 341 342 342 var target = evt.srcElement || evt.target ; 343 if ( target.id == 'closeButton' || target.className == ' DialogTab' || target.className == 'DialogTabSelected' )343 if ( target.id == 'closeButton' || target.className == 'PopupTab' || target.className == 'PopupTabSelected' ) 344 344 return ; 345 345 … … 422 422 { 423 423 if ( sCode == tabCode ) 424 $( oTabs[sCode] ).className = ' DialogTabSelected' ;424 $( oTabs[sCode] ).className = 'PopupTabSelected' ; 425 425 else 426 $( oTabs[sCode] ).className = ' DialogTab' ;427 } 428 429 if ( typeof( window.frames["frmMain"].On DialogTabChange ) == 'function' )430 window.frames["frmMain"].On DialogTabChange( tabCode ) ;426 $( oTabs[sCode] ).className = 'PopupTab' ; 427 } 428 429 if ( typeof( window.frames["frmMain"].OnPopupTabChange ) == 'function' ) 430 window.frames["frmMain"].OnPopupTabChange( tabCode ) ; 431 431 } 432 432 … … 447 447 448 448 var oDiv = document.createElement( 'DIV' ) ; 449 oDiv.className = ' DialogTab' ;449 oDiv.className = 'PopupTab' ; 450 450 oDiv.innerHTML = tabText ; 451 451 oDiv.TabCode = tabCode ; … … 463 463 { 464 464 var eTitleArea = $( 'TitleArea' ) ; 465 eTitleArea.className = ' DialogTitle' ;466 467 oDiv.className = ' DialogTabSelected' ;465 eTitleArea.className = 'PopupTitle' ; 466 467 oDiv.className = 'PopupTabSelected' ; 468 468 eTabsRow.style.display = '' ; 469 469 … … 484 484 oTab.style.display = isVisible ? '' : 'none' ; 485 485 486 if ( ! isVisible && oTab.className == ' DialogTabSelected' )486 if ( ! isVisible && oTab.className == 'PopupTabSelected' ) 487 487 { 488 488 for ( var sCode in oTabs ) … … 729 729 </script> 730 730 </head> 731 <body onload="Init();" class=" DialogBody">731 <body onload="Init();" class="PopupBody"> 732 732 <div class="contents" id="contents"> 733 733 <div id="header"> 734 <div id="TitleArea" class=" DialogTitle DialogTitleBorder">734 <div id="TitleArea" class="PopupTitle PopupTitleBorder"> 735 735 <script type="text/javascript"> 736 736 document.write( Args().Title ) ; … … 738 738 <div id="closeButton" onclick="Cancel();"></div> 739 739 </div> 740 <div id="TabsRow" class=" DialogTabArea" style="display: none">740 <div id="TabsRow" class="PopupTabArea" style="display: none"> 741 741 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 742 742 <tr id="Tabs"> 743 <td class=" DialogTabEmptyArea"> </td>744 <td class=" DialogTabEmptyArea" width="100%"> </td>743 <td class="PopupTabEmptyArea"> </td> 744 <td class="PopupTabEmptyArea" width="100%"> </td> 745 745 </tr> 746 746 </table> … … 748 748 </div> 749 749 <div id="innerContents"></div> 750 <div id=" DialogButtons" class="DialogButtons">750 <div id="PopupButtons" class="PopupButtons"> 751 751 <table border="0" cellpadding="0" cellspacing="0"> 752 752 <tr> -
FCKeditor/trunk/editor/skins/default/fck_dialog.css
r1565 r1567 45 45 } 46 46 47 . DialogBody47 .PopupBody 48 48 { 49 49 height: 100%; … … 59 59 } 60 60 61 . DialogTitle61 .PopupTitle 62 62 { 63 63 font-weight: bold; … … 68 68 } 69 69 70 . DialogButtons70 .PopupButtons 71 71 { 72 72 position: absolute; … … 101 101 } 102 102 103 . DialogTitleBorder103 .PopupTitleBorder 104 104 { 105 105 border-bottom: #d5d59d 1px solid; 106 106 } 107 107 108 . DialogTabArea108 .PopupTabArea 109 109 { 110 110 color: #737357; … … 112 112 } 113 113 114 . DialogTabEmptyArea114 .PopupTabEmptyArea 115 115 { 116 116 padding-left: 10px; … … 118 118 } 119 119 120 . DialogTab, .DialogTabSelected120 .PopupTab, .PopupTabSelected 121 121 { 122 122 border-right: #d5d59d 1px solid; … … 127 127 } 128 128 129 . DialogTab129 .PopupTab 130 130 { 131 131 margin-top: 1px; … … 135 135 } 136 136 137 . DialogTabSelected137 .PopupTabSelected 138 138 { 139 139 font-weight: bold; … … 144 144 } 145 145 146 . DialogSelectionBox146 .PopupSelectionBox 147 147 { 148 148 border: #ff9933 1px solid !important; -
FCKeditor/trunk/editor/skins/office2003/fck_dialog.css
r1565 r1567 45 45 } 46 46 47 . DialogBody47 .PopupBody 48 48 { 49 49 height: 100%; … … 59 59 } 60 60 61 . DialogTitle61 .PopupTitle 62 62 { 63 63 font-weight: bold; … … 68 68 } 69 69 70 . DialogButtons70 .PopupButtons 71 71 { 72 72 position: absolute; … … 101 101 } 102 102 103 . DialogTitleBorder103 .PopupTitleBorder 104 104 { 105 105 border-bottom: #d5d59d 1px solid; 106 106 } 107 107 108 . DialogTabArea108 .PopupTabArea 109 109 { 110 110 color: #0e3460; … … 112 112 } 113 113 114 . DialogTabEmptyArea114 .PopupTabEmptyArea 115 115 { 116 116 padding-left: 10px ; … … 118 118 } 119 119 120 . DialogTab, .DialogTabSelected120 .PopupTab, .PopupTabSelected 121 121 { 122 122 border-right: #466ca6 1px solid; … … 127 127 } 128 128 129 . DialogTab129 .PopupTab 130 130 { 131 131 margin-top: 1px; … … 135 135 } 136 136 137 . DialogTabSelected137 .PopupTabSelected 138 138 { 139 139 font-weight: bold; … … 144 144 } 145 145 146 . DialogSelectionBox146 .PopupSelectionBox 147 147 { 148 148 border: #1e90ff 1px solid !important; -
FCKeditor/trunk/editor/skins/silver/fck_dialog.css
r1565 r1567 45 45 } 46 46 47 . DialogBody47 .PopupBody 48 48 { 49 49 height: 100%; … … 59 59 } 60 60 61 . DialogTitle61 .PopupTitle 62 62 { 63 63 font-weight: bold; … … 68 68 } 69 69 70 . DialogButtons70 .PopupButtons 71 71 { 72 72 position: absolute; … … 101 101 } 102 102 103 . DialogTitleBorder103 .PopupTitleBorder 104 104 { 105 105 border-bottom: #cec6b5 1px solid; 106 106 } 107 107 108 . DialogTabArea108 .PopupTabArea 109 109 { 110 110 color: #504845; … … 112 112 } 113 113 114 . DialogTabEmptyArea114 .PopupTabEmptyArea 115 115 { 116 116 padding-left: 10px ; … … 118 118 } 119 119 120 . DialogTab, .DialogTabSelected120 .PopupTab, .PopupTabSelected 121 121 { 122 122 border-right: #cec6b5 1px solid; … … 127 127 } 128 128 129 . DialogTab129 .PopupTab 130 130 { 131 131 margin-top: 1px; … … 135 135 } 136 136 137 . DialogTabSelected137 .PopupTabSelected 138 138 { 139 139 font-weight:bold; … … 144 144 } 145 145 146 . DialogSelectionBox146 .PopupSelectionBox 147 147 { 148 148 border: #a9a9a9 1px solid !important;