Changeset 1141
- Timestamp:
- 12/01/08 14:28:31 (4 years ago)
- Location:
- trunk
- Files:
-
- 1 removed
- 8 modified
-
Xinha.css (modified) (4 diffs)
-
XinhaCore.js (modified) (1 diff)
-
iconsets/Tango/ed_buttons_main.png (modified) (previous)
-
iconsets/Tango/iconset.xml (modified) (1 diff)
-
images/ed_buttons_main.png (modified) (previous)
-
modules/Dialogs/XinhaDialog.js (modified) (2 diffs)
-
plugins/SmartReplace/SmartReplace.js (modified) (1 diff)
-
plugins/SmartReplace/img/smartquotes.gif (deleted)
-
plugins/SuperClean/SuperClean.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xinha.css
r1125 r1141 13 13 border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; 14 14 } 15 .htmlarea .toolbar table { margin: 0; font-family: tahoma,verdana,sans-serif; font-size: 11px; }15 .htmlarea .toolbar table { margin: 0; font-family: Tahoma, Verdana,sans-serif; font-size: 11px; } 16 16 .htmlarea .toolbar img { border: none; vertical-align: top; } 17 17 .htmlarea .toolbar .label { padding: 0 3px; } … … 120 120 div.dialog { 121 121 padding-bottom:10px; 122 border-radius: 8px 8px 0 0; 123 -moz-border-radius: 8px 8px 0 0; 124 -webkit-border-top-left-radius: 8px; 125 -webkit-border-top-right-radius: 8px; 126 127 box-shadow: 4px 4px 5px #888; 128 -moz-box-shadow: 4px 4px 5px #888; 129 -webkit-box-shadow: 4px 4px 5px #888; 130 } 131 div.dialog.modal { 132 box-shadow: 9px 9px 10px #444; 133 -moz-box-shadow: 9px 9px 10px #444; 134 -webkit-box-shadow: 9px 9px 10px #444; 135 } 136 div.dialog.chrome { 137 -webkit-box-shadow: none !IMPORTANT; 138 } 139 .panels div.dialog.panel { 140 border-radius:0; 141 -moz-border-radius: 0; 142 -webkit-border-radius:0; 143 144 box-shadow: none; 145 -moz-box-shadow: none; 146 -webkit-box-shadow: none; 122 147 } 123 148 .xinha_dialog_background { … … 164 189 letter-spacing: 0.01em; 165 190 } 166 .dialog h1 { margin:0;} 191 .dialog h1 { 192 margin:0; 193 border-radius: 8px 8px 0 0; 194 -moz-border-radius: 8px 8px 0 0; 195 -webkit-border-top-left-radius: 8px; 196 -webkit-border-top-right-radius: 8px; 197 } 198 .panels .dialog.panel h1 { 199 -moz-border-radius: 0; 200 -webkit-border-radius:0; 201 } 202 167 203 .dialog .title .button { 168 204 float: right; … … 241 277 border-bottom: 2px solid #000; 242 278 border-right: 2px solid #000; 243 cursor : nw-resize;279 cursor : se-resize; 244 280 } 245 281 .popupwin { -
trunk/XinhaCore.js
r1140 r1141 155 155 */ 156 156 Xinha.is_safari = (Xinha.agt.indexOf("safari") != -1); 157 158 /** Browser is Google Chrome 159 @type string 160 */ 161 Xinha.is_chrome = (Xinha.agt.indexOf("chrome") != -1); 162 157 163 /** OS is MacOS 158 164 @type string -
trunk/iconsets/Tango/iconset.xml
r1115 r1141 230 230 </default> 231 231 </icon> 232 <icon id="smartreplace">233 <default type="map">234 <path>iconsets/Tango/ed_buttons_main.png</path>235 <x>3</x>236 <y>8</y>237 </default>238 </icon>239 240 232 </icons> 241 233 </iconset> -
trunk/modules/Dialogs/XinhaDialog.js
r1138 r1141 172 172 // rootElem.style.MozUserSelect = "none"; 173 173 174 rootElem.className = 'dialog'; 174 rootElem.className = 'dialog' + (this.modal ? ' modal' : ' modeless'); 175 if (Xinha.is_chrome) rootElem.className += ' chrome'; // Hack because border-raadius & box-shadow don't go well together in chrome 175 176 176 177 // this.background[1].appendChild(rootElem); … … 683 684 var rootElemStyle = dialog.rootElem.style; 684 685 685 dialog.size.top = dialog.rootElem.style.top;686 dialog.size.left = dialog.rootElem.style.left;686 dialog.size.top = rootElemStyle.top; 687 dialog.size.left = rootElemStyle.left; 687 688 688 689 if (!this.modal) -
trunk/plugins/SmartReplace/SmartReplace.js
r1140 r1141 15 15 id : "smartreplace", 16 16 tooltip : this._lc("SmartReplace"), 17 image : Xinha.getPluginDir('SmartReplace')+"/img/smartquotes.png",17 image : [_editor_url +'iconsets/Tango/ed_buttons_main.png',3,8], 18 18 textMode : false, 19 19 action : function(e, objname, obj) { self.buttonPress(null, obj); } -
trunk/plugins/SuperClean/SuperClean.js
r1067 r1141 7 7 var superclean = this; 8 8 editor._superclean_on = false; 9 editor.config.registerButton('superclean', this._lc("Clean up HTML"), editor.imgURL('ed_superclean.gif', 'SuperClean'), true, function(e, objname, obj) { superclean._superClean(null, obj); });9 editor.config.registerButton('superclean', this._lc("Clean up HTML"), [_editor_url +'iconsets/Tango/ed_buttons_main.png',6,4], true, function(e, objname, obj) { superclean._superClean(null, obj); }); 10 10 11 11 // See if we can find 'killword' and replace it with superclean
