Ticket #19843: 19843-2.patch

File 19843-2.patch, 23.2 KB (added by azaozz, 15 months ago)
  • wp-admin/css/colors-classic.dev.css

     
    21062106        border-bottom-color: #eff8ff; 
    21072107} 
    21082108 
    2109 /* custom header & background pages */ 
    21102109#upload-form label { 
    21112110        color: #777; 
    21122111} 
  • wp-admin/css/colors-fresh.dev.css

     
    182182.sidebar-name, 
    183183#nav-menu-header, 
    184184#nav-menu-footer, 
    185 .menu-item-handle, 
    186 #fullscreen-topbar { 
     185.menu-item-handle { 
    187186        background-color: #f1f1f1; /* Fallback */ 
    188187        background-image: -ms-linear-gradient(top, #f9f9f9, #ececec); /* IE10 */ 
    189188        background-image: -moz-linear-gradient(top, #f9f9f9, #ececec); /* Firefox */ 
     
    17341733        border-bottom-color: #f9f9f9; 
    17351734} 
    17361735 
    1737 /* custom header & background pages */ 
    17381736#upload-form label { 
    17391737        color: #777; 
    17401738} 
    1741 /* custom header & background pages */ 
    17421739 
    1743 /* full screen */ 
    1744 .fullscreen-overlay { 
    1745         background: #fff; 
    1746 } 
    1747  
    1748 .wp-fullscreen-focus #wp-fullscreen-title, 
    1749 .wp-fullscreen-focus #wp-fullscreen-container { 
    1750         border-color: #ccc; 
    1751 } 
    1752  
    1753 #fullscreen-topbar { 
    1754         border-bottom-color: #DFDFDF; 
    1755 } 
    1756  
    17571740/* Begin About Pages */ 
    17581741 
    17591742.about-wrap h1 { 
  • wp-admin/css/wp-admin-rtl.dev.css

     
    203203        margin: 1px 1px 1px 2px; 
    204204} 
    205205 
    206 /* Distraction Free Writing mode 
    207  * =Overlay Styles 
    208 -------------------------------------------------------------- */ 
    209  
    210 /* No RTL for now, this space intentionally left blank */ 
    211  
    212 /* =Overlay Body 
    213 -------------------------------------------------------------- */ 
    214 #wp-fullscreen-body { 
    215         right: 0; 
    216         left:auto; 
    217 } 
    218  
    219 #wp-fullscreen-tagline { 
    220         float: left; 
    221 } 
    222  
    223 /* =Top bar 
    224 -------------------------------------------------------------- */ 
    225 #fullscreen-topbar { 
    226         left:auto; 
    227         right: 0; 
    228 } 
    229  
    230 #wp-fullscreen-mode-bar, 
    231 #wp-fullscreen-button-bar, 
    232 #wp-fullscreen-close, 
    233 #wp-fullscreen-count { 
    234         float: right; 
    235 } 
    236  
    237 #wp-fullscreen-save { 
    238         float: left; 
    239 } 
    240  
    241 #wp-fullscreen-save { 
    242         padding: 2px 5px 0 2px; 
    243 } 
    244  
    245 #wp-fullscreen-buttons > div { 
    246         float: right; 
    247 } 
    248  
    249 #wp-fullscreen-mode-bar { 
    250         padding: 1px 0 0 14px; 
    251 } 
    252  
    253 #wp-fullscreen-modes a { 
    254         float: right; 
    255         border-width: 1px 0 1px 1px; 
    256 } 
    257  
    258 #wp-fullscreen-modes a:first-child { 
    259         -webkit-border-top-left-radius: 0; 
    260         -webkit-border-top-right-radius: 3px; 
    261         -webkit-border-bottom-left-radius: 0; 
    262         -webkit-border-bottom-right-radius: 3px; 
    263         border-width: 1px; 
    264         border-top-left-radius: 0; 
    265         border-top-right-radius: 3px; 
    266         border-bottom-right-left: 0; 
    267         border-bottom-right-radius: 3px; 
    268 } 
    269  
    270 #wp-fullscreen-modes a:last-child { 
    271         -webkit-border-top-right-radius: 0; 
    272         -webkit-border-top-left-radius: 3px; 
    273         -webkit-border-bottom-right-radius: 0; 
    274         -webkit-border-bottom-left-radius: 3px; 
    275         border-top-right-radius: 0; 
    276         border-top-left-radius: 3px; 
    277         border-bottom-right-radius: 0; 
    278         border-bottom-left-radius: 3px; 
    279 } 
    280  
    281 #wp-fullscreen-save img, 
    282 #wp-fullscreen-save span { 
    283         padding-right: 0; 
    284         padding-left: 4px; 
    285 } 
    286  
    287 /* =Thickbox Adjustments 
    288 -------------------------------------------------------------- */ 
    289 /* No RTL for now, this space intentionally left blank */ 
    290  
    291  
    292 /* =TinyMCE Adjustments 
    293 -------------------------------------------------------------- */ 
    294 /* No RTL for now, this space intentionally left blank */ 
    295  
    296  
    297  
    298206/*------------------------------------------------------------------------------ 
    299207  6.0 - Admin Header 
    300208------------------------------------------------------------------------------*/ 
     
    24902398.locale-he-il em { 
    24912399        font-style: normal; 
    24922400        font-weight: bold; 
    2493 } 
    2494  No newline at end of file 
     2401}  
  • wp-admin/css/wp-admin.dev.css

     
    630630} 
    631631 
    632632 
    633 /* =CSS 3 transitions 
    634 -------------------------------------------------------------- */ 
    635  
    636 .fade-1000, 
    637 .fade-600, 
    638 .fade-400, 
    639 .fade-300 { 
    640         opacity: 0; 
    641         -moz-transition-property: opacity; 
    642         -webkit-transition-property: opacity; 
    643         -o-transition-property: opacity; 
    644         transition-property: opacity; 
    645 } 
    646  
    647 .fade-1000 { 
    648         -moz-transition-duration: 1s; 
    649         -webkit-transition-duration: 1s; 
    650         -o-transition-duration: 1s; 
    651         transition-duration: 1s; 
    652 } 
    653  
    654 .fade-600 { 
    655         -moz-transition-duration: 0.6s; 
    656         -webkit-transition-duration: 0.6s; 
    657         -o-transition-duration: 0.6s; 
    658         transition-duration: 0.6s; 
    659 } 
    660  
    661 .fade-400 { 
    662         -moz-transition-duration: 0.4s; 
    663         -webkit-transition-duration: 0.4s; 
    664         -o-transition-duration: 0.4s; 
    665         transition-duration: 0.4s; 
    666 } 
    667  
    668 .fade-300 { 
    669         -moz-transition-duration: 0.3s; 
    670         -webkit-transition-duration: 0.3s; 
    671         -o-transition-duration: 0.3s; 
    672         transition-duration: 0.3s; 
    673 } 
    674  
    675 .fade-trigger { 
    676         opacity: 1; 
    677 } 
    678  
    679  
    680633/*------------------------------------------------------------------------------ 
    681634  1.0 - Text Styles 
    682635------------------------------------------------------------------------------*/ 
     
    11261079} 
    11271080 
    11281081 
    1129 /* Distraction Free Writing mode 
    1130  * =Overlay Styles 
    1131 -------------------------------------------------------------- */ 
    1132 .fullscreen-overlay { 
    1133         z-index: 149999; 
    1134         display: none; 
    1135         position: fixed; 
    1136         top: 0; 
    1137         bottom: 0; 
    1138         left: 0; 
    1139         right: 0; 
    1140         filter: inherit; 
    1141 } 
    1142  
    1143 .fullscreen-active .fullscreen-overlay, 
    1144 .fullscreen-active #wp-fullscreen-body { 
    1145         display: block; 
    1146 } 
    1147  
    1148 .fullscreen-fader { 
    1149         z-index: 200000; 
    1150 } 
    1151  
    1152 .fullscreen-active .fullscreen-fader { 
    1153         display: none; 
    1154 } 
    1155  
    1156 /* =Overlay Body 
    1157 -------------------------------------------------------------- */ 
    1158 #wp-fullscreen-body { 
    1159         width: 100%; 
    1160         z-index: 150005; 
    1161         display: none; 
    1162         position: absolute; 
    1163         top: 0; 
    1164         left: 0; 
    1165 } 
    1166  
    1167 #wp-fullscreen-wrap { 
    1168         margin: 0 auto 50px; 
    1169         position: relative; 
    1170         padding-top: 60px; 
    1171 } 
    1172  
    1173 #wp-fullscreen-title { 
    1174     font-size: 1.7em; 
    1175     line-height: 100%; 
    1176     outline: medium none; 
    1177     padding: 6px 7px; 
    1178     width: 100%; 
    1179     margin-bottom: 30px; 
    1180 } 
    1181  
    1182 #wp-fullscreen-container { 
    1183         padding: 4px 10px 50px; 
    1184 } 
    1185  
    1186 #wp-fullscreen-title, 
    1187 #wp-fullscreen-container { 
    1188         -webkit-border-radius: 0; 
    1189         border-radius: 0; 
    1190         border: 1px dashed transparent; 
    1191         background: transparent; 
    1192         -moz-transition-property: border-color; 
    1193         -moz-transition-duration: 0.6s; 
    1194         -webkit-transition-property: border-color; 
    1195         -webkit-transition-duration: 0.6s; 
    1196         -o-transition-property: border-color; 
    1197         -o-transition-duration: 0.6s; 
    1198         transition-property: border-color; 
    1199         transition-duration: 0.6s; 
    1200 } 
    1201  
    1202 #wp_mce_fullscreen { 
    1203         width: 100%; 
    1204         min-height: 300px; 
    1205         border: 0; 
    1206         background: transparent; 
    1207         font-family: Consolas, Monaco, monospace; 
    1208         line-height: 1.6em; 
    1209         padding: 0; 
    1210         overflow-y: hidden; 
    1211         outline: none; 
    1212         resize: none; 
    1213 } 
    1214  
    1215 #wp-fullscreen-tagline { 
    1216         color: #BBBBBB; 
    1217         font-size: 18px; 
    1218         float: right; 
    1219         padding-top: 5px; 
    1220 } 
    1221  
    1222 /* =Top bar 
    1223 -------------------------------------------------------------- */ 
    1224 #fullscreen-topbar { 
    1225         position: fixed; 
    1226         top: 0; 
    1227         left: 0; 
    1228         z-index: 150050; 
    1229         border-bottom-style: solid; 
    1230         border-bottom-width: 1px; 
    1231         min-width: 800px; 
    1232         width: 100%; 
    1233         height: 40px; 
    1234 } 
    1235  
    1236 #wp-fullscreen-toolbar { 
    1237         padding: 6px 10px 0; 
    1238         clear: both; 
    1239         max-width: 1100px; 
    1240         min-width: 820px; 
    1241         margin: 0 auto; 
    1242 } 
    1243  
    1244 #wp-fullscreen-mode-bar, 
    1245 #wp-fullscreen-button-bar, 
    1246 #wp-fullscreen-close, 
    1247 #wp-fullscreen-count { 
    1248         float: left; 
    1249 } 
    1250  
    1251 #wp-fullscreen-save { 
    1252         float: right; 
    1253         padding: 2px 2px 0 5px; 
    1254 } 
    1255  
    1256 #wp-fullscreen-count, 
    1257 #wp-fullscreen-close { 
    1258         padding-top: 5px; 
    1259 } 
    1260  
    1261 #wp-fullscreen-central-toolbar { 
    1262         margin: auto; 
    1263         padding: 0; 
    1264 } 
    1265  
    1266 #wp-fullscreen-buttons > div { 
    1267         float: left; 
    1268 } 
    1269  
    1270 #wp-fullscreen-mode-bar { 
    1271         padding: 1px 14px 0 0; 
    1272 } 
    1273  
    1274 #wp-fullscreen-modes a { 
    1275         display: block; 
    1276         font-size: 11px; 
    1277         text-decoration: none; 
    1278         float: left; 
    1279         margin: 1px 0 0 0; 
    1280         padding: 2px 6px 2px; 
    1281         border-width: 1px 1px 1px 0; 
    1282         border-style: solid; 
    1283         border-color: #bbb; 
    1284         color: #777; 
    1285         text-shadow: 0 1px 0 #fff; 
    1286         background-color: #f4f4f4; 
    1287         background-image: -moz-linear-gradient(bottom,  #e4e4e4,  #f9f9f9); 
    1288         background-image: -webkit-gradient(linear, left bottom, left top, from(#e4e4e4), to(#f9f9f9)); 
    1289 } 
    1290  
    1291 #wp-fullscreen-modes a:hover, 
    1292 .wp-html-mode #wp-fullscreen-modes a:last-child, 
    1293 .wp-tmce-mode #wp-fullscreen-modes a:first-child { 
    1294         color: #333; 
    1295         border-color: #999; 
    1296         background-color: #eee; 
    1297         background-image: -moz-linear-gradient(bottom,  #f9f9f9,  #e0e0e0); 
    1298         background-image: -webkit-gradient(linear, left bottom, left top, from(#f9f9f9), to(#e0e0e0)); 
    1299 } 
    1300  
    1301 #wp-fullscreen-modes a:first-child { 
    1302         border-width: 1px; 
    1303         -webkit-border-top-left-radius: 3px; 
    1304         -webkit-border-bottom-left-radius: 3px; 
    1305         border-top-left-radius: 3px; 
    1306         border-bottom-left-radius: 3px; 
    1307 } 
    1308  
    1309 #wp-fullscreen-modes a:last-child { 
    1310         -webkit-border-top-right-radius: 3px; 
    1311         -webkit-border-bottom-right-radius: 3px; 
    1312         border-top-right-radius: 3px; 
    1313         border-bottom-right-radius: 3px; 
    1314 } 
    1315  
    1316 #wp-fullscreen-buttons .active a { 
    1317         background: inherit; 
    1318 } 
    1319  
    1320 #wp-fullscreen-buttons .hidden { 
    1321         display: none; 
    1322 } 
    1323  
    1324 #wp-fullscreen-buttons .disabled { 
    1325         opacity: 0.5; 
    1326 } 
    1327  
    1328 .wp-html-mode #wp-fullscreen-buttons div { 
    1329         display: none; 
    1330 } 
    1331  
    1332 .wp-html-mode #wp-fullscreen-buttons div.wp-fullscreen-both { 
    1333         display: block; 
    1334 } 
    1335  
    1336 #fullscreen-topbar.fullscreen-make-sticky { 
    1337         display: block !important; 
    1338 } 
    1339  
    1340 #wp-fullscreen-save img { 
    1341         vertical-align: middle; 
    1342 } 
    1343  
    1344 #wp-fullscreen-save img, 
    1345 #wp-fullscreen-save span { 
    1346         padding-right: 4px; 
    1347         display: none; 
    1348 } 
    1349  
    1350 #wp-fullscreen-buttons .mce_image .mce_image { 
    1351         background-image: url('../images/menu.png?ver=20120201'); 
    1352         background-position: -124px -38px; 
    1353 } 
    1354  
    1355 #wp-fullscreen-buttons .mce_image .mce_image:hover { 
    1356         background-position: -124px -6px; 
    1357 } 
    1358  
    1359 /* =Thickbox Adjustments 
    1360 -------------------------------------------------------------- */ 
    1361 .fullscreen-active #TB_overlay { 
    1362         z-index: 150100; 
    1363 } 
    1364  
    1365 .fullscreen-active #TB_window { 
    1366         z-index: 150102; 
    1367 } 
    1368  
    1369 /* =TinyMCE Adjustments 
    1370 -------------------------------------------------------------- */ 
    1371 #wp_mce_fullscreen_ifr { 
    1372         background: transparent; 
    1373 } 
    1374  
    1375 #wp_mce_fullscreen_parent #wp_mce_fullscreen_tbl tr.mceFirst { 
    1376         display : none; 
    1377 } 
    1378  
    1379 #wp-fullscreen-container .wp_themeSkin table td { 
    1380         vertical-align: top; 
    1381 } 
    1382  
    1383  
    13841082/*------------------------------------------------------------------------------ 
    13851083  6.0 - Admin Header 
    13861084------------------------------------------------------------------------------*/ 
  • wp-admin/js/wp-fullscreen.dev.js

     
    138138                        return; 
    139139 
    140140                // Settings can be added or changed by defining "wp_fullscreen_settings" JS object. 
    141                 // This can be done by defining it as PHP associative array, json encoding it and passing it to JS with: 
    142                 // wp_add_script_before( 'wp-fullscreen', 'wp_fullscreen_settings = ' . $json_encoded_array . ';' ); 
    143141                if ( typeof(wp_fullscreen_settings) == 'object' ) 
    144142                        $.extend( s, wp_fullscreen_settings ); 
    145143 
    146144                s.editor_id = wpActiveEditor || 'content'; 
    147145 
    148                 if ( !s.title_id ) { 
    149                         if ( $('input#title').length && s.editor_id == 'content' ) 
    150                                 s.title_id = 'title'; 
    151                         else if ( $('input#' + s.editor_id + '-title').length ) // the title input field should have [editor_id]-title HTML ID to be auto detected 
    152                                 s.title_id = s.editor_id + '-title'; 
    153                         else 
    154                                 $('#wp-fullscreen-title, #wp-fullscreen-title-prompt-text').hide(); 
    155                 } 
     146                if ( $('input#title').length && s.editor_id == 'content' ) 
     147                        s.title_id = 'title'; 
     148                else if ( $('input#' + s.editor_id + '-title').length ) // the title input field should have [editor_id]-title HTML ID to be auto detected 
     149                        s.title_id = s.editor_id + '-title'; 
     150                else 
     151                        $('#wp-fullscreen-title, #wp-fullscreen-title-prompt-text').hide(); 
    156152 
    157153                s.mode = $('#' + s.editor_id).is(':hidden') ? 'tinymce' : 'html'; 
    158154                s.qt_canvas = $('#' + s.editor_id).get(0); 
  • wp-includes/class-wp-editor.php

     
    617617                $dfw_width = get_user_setting( 'dfw_width', $width ); 
    618618                $save = isset($post->post_status) && $post->post_status == 'publish' ? __('Update') : __('Save'); 
    619619        ?> 
    620         <div id="wp-fullscreen-body"> 
     620        <div id="wp-fullscreen-body"<?php if ( is_rtl() ) echo ' class="rtl"'; ?>> 
    621621        <div id="fullscreen-topbar"> 
    622622                <div id="wp-fullscreen-toolbar"> 
    623623                        <div id="wp-fullscreen-close"><a href="#" onclick="fullscreen.off();return false;"><?php _e('Exit fullscreen'); ?></a></div> 
     
    668668 
    669669                        <div id="wp-fullscreen-save"> 
    670670                                <span><?php if ( $post->post_status == 'publish' ) _e('Updated.'); else _e('Saved.'); ?></span> 
    671                                 <img src="images/wpspin_light.gif" alt="" /> 
     671                                <img src="<?php echo admin_url('images/wpspin_light.gif'); ?>" alt="" /> 
    672672                                <input type="button" class="button-primary" value="<?php echo $save; ?>" onclick="fullscreen.save();" /> 
    673673                        </div> 
    674674 
  • wp-includes/css/editor-buttons.dev.css

     
    16141614.clearlooks2 .mceFocus .mceTop span { 
    16151615        color: #e5e5e5; 
    16161616} 
     1617 
     1618 
     1619/* Distraction Free Writing mode 
     1620 * =Overlay Styles 
     1621-------------------------------------------------------------- */ 
     1622.fullscreen-overlay { 
     1623        z-index: 149999; 
     1624        display: none; 
     1625        position: fixed; 
     1626        top: 0; 
     1627        bottom: 0; 
     1628        left: 0; 
     1629        right: 0; 
     1630        filter: inherit; 
     1631} 
     1632 
     1633.fullscreen-active .fullscreen-overlay, 
     1634.fullscreen-active #wp-fullscreen-body { 
     1635        display: block; 
     1636} 
     1637 
     1638.fullscreen-fader { 
     1639        z-index: 200000; 
     1640} 
     1641 
     1642.fullscreen-active .fullscreen-fader { 
     1643        display: none; 
     1644} 
     1645 
     1646/* =Overlay Body 
     1647-------------------------------------------------------------- */ 
     1648#wp-fullscreen-body { 
     1649        width: 100%; 
     1650        z-index: 150005; 
     1651        display: none; 
     1652        position: absolute; 
     1653        top: 0; 
     1654        left: 0; 
     1655        font-size: 12px; 
     1656} 
     1657 
     1658#wp-fullscreen-wrap { 
     1659        margin: 0 auto 50px; 
     1660        position: relative; 
     1661        padding-top: 60px; 
     1662} 
     1663 
     1664#wp-fullscreen-title { 
     1665    font-size: 1.7em; 
     1666    line-height: 100%; 
     1667    outline: medium none; 
     1668    padding: 6px 7px; 
     1669    width: 100%; 
     1670    margin-bottom: 30px; 
     1671} 
     1672 
     1673#wp-fullscreen-container { 
     1674        padding: 4px 10px 50px; 
     1675} 
     1676 
     1677#wp-fullscreen-title, 
     1678#wp-fullscreen-container { 
     1679        -webkit-border-radius: 0; 
     1680        border-radius: 0; 
     1681        border: 1px dashed transparent; 
     1682        background: transparent; 
     1683        -moz-transition-property: border-color; 
     1684        -moz-transition-duration: 0.6s; 
     1685        -webkit-transition-property: border-color; 
     1686        -webkit-transition-duration: 0.6s; 
     1687        -o-transition-property: border-color; 
     1688        -o-transition-duration: 0.6s; 
     1689        transition-property: border-color; 
     1690        transition-duration: 0.6s; 
     1691} 
     1692 
     1693#wp_mce_fullscreen { 
     1694        width: 100%; 
     1695        min-height: 300px; 
     1696        border: 0; 
     1697        background: transparent; 
     1698        font-family: Consolas, Monaco, monospace; 
     1699        line-height: 1.6em; 
     1700        padding: 0; 
     1701        overflow-y: hidden; 
     1702        outline: none; 
     1703        resize: none; 
     1704} 
     1705 
     1706#wp-fullscreen-tagline { 
     1707        color: #BBBBBB; 
     1708        font-size: 18px; 
     1709        float: right; 
     1710        padding-top: 5px; 
     1711} 
     1712 
     1713/* =Top bar 
     1714-------------------------------------------------------------- */ 
     1715#fullscreen-topbar { 
     1716        position: fixed; 
     1717        top: 0; 
     1718        left: 0; 
     1719        z-index: 150050; 
     1720        border-bottom-style: solid; 
     1721        border-bottom-width: 1px; 
     1722        min-width: 800px; 
     1723        width: 100%; 
     1724        height: 40px; 
     1725} 
     1726 
     1727#wp-fullscreen-toolbar { 
     1728        padding: 6px 10px 0; 
     1729        clear: both; 
     1730        max-width: 1100px; 
     1731        min-width: 820px; 
     1732        margin: 0 auto; 
     1733} 
     1734 
     1735#wp-fullscreen-mode-bar, 
     1736#wp-fullscreen-button-bar, 
     1737#wp-fullscreen-close, 
     1738#wp-fullscreen-count { 
     1739        float: left; 
     1740} 
     1741 
     1742#wp-fullscreen-save { 
     1743        float: right; 
     1744        padding: 2px 2px 0 5px; 
     1745} 
     1746 
     1747#wp-fullscreen-count, 
     1748#wp-fullscreen-close { 
     1749        padding-top: 5px; 
     1750} 
     1751 
     1752#wp-fullscreen-central-toolbar { 
     1753        margin: auto; 
     1754        padding: 0; 
     1755} 
     1756 
     1757#wp-fullscreen-buttons > div { 
     1758        float: left; 
     1759} 
     1760 
     1761#wp-fullscreen-mode-bar { 
     1762        padding: 1px 14px 0 0; 
     1763} 
     1764 
     1765#wp-fullscreen-modes a { 
     1766        display: block; 
     1767        font-size: 11px; 
     1768        text-decoration: none; 
     1769        float: left; 
     1770        margin: 1px 0 0 0; 
     1771        padding: 2px 6px 2px; 
     1772        border-width: 1px 1px 1px 0; 
     1773        border-style: solid; 
     1774        border-color: #bbb; 
     1775        color: #777; 
     1776        text-shadow: 0 1px 0 #fff; 
     1777        background-color: #f4f4f4; 
     1778        background-image: -moz-linear-gradient(bottom,  #e4e4e4,  #f9f9f9); 
     1779        background-image: -webkit-gradient(linear, left bottom, left top, from(#e4e4e4), to(#f9f9f9)); 
     1780} 
     1781 
     1782#wp-fullscreen-modes a:hover, 
     1783.wp-html-mode #wp-fullscreen-modes a:last-child, 
     1784.wp-tmce-mode #wp-fullscreen-modes a:first-child { 
     1785        color: #333; 
     1786        border-color: #999; 
     1787        background-color: #eee; 
     1788        background-image: -moz-linear-gradient(bottom,  #f9f9f9,  #e0e0e0); 
     1789        background-image: -webkit-gradient(linear, left bottom, left top, from(#f9f9f9), to(#e0e0e0)); 
     1790} 
     1791 
     1792#wp-fullscreen-modes a:first-child { 
     1793        border-width: 1px; 
     1794        -webkit-border-top-left-radius: 3px; 
     1795        -webkit-border-bottom-left-radius: 3px; 
     1796        border-top-left-radius: 3px; 
     1797        border-bottom-left-radius: 3px; 
     1798} 
     1799 
     1800#wp-fullscreen-modes a:last-child { 
     1801        -webkit-border-top-right-radius: 3px; 
     1802        -webkit-border-bottom-right-radius: 3px; 
     1803        border-top-right-radius: 3px; 
     1804        border-bottom-right-radius: 3px; 
     1805} 
     1806 
     1807#wp-fullscreen-buttons .active a { 
     1808        background: inherit; 
     1809} 
     1810 
     1811#wp-fullscreen-buttons .hidden { 
     1812        display: none; 
     1813} 
     1814 
     1815#wp-fullscreen-buttons .disabled { 
     1816        opacity: 0.5; 
     1817} 
     1818 
     1819.wp-html-mode #wp-fullscreen-buttons div { 
     1820        display: none; 
     1821} 
     1822 
     1823.wp-html-mode #wp-fullscreen-buttons div.wp-fullscreen-both { 
     1824        display: block; 
     1825} 
     1826 
     1827#fullscreen-topbar.fullscreen-make-sticky { 
     1828        display: block !important; 
     1829} 
     1830 
     1831#wp-fullscreen-save img { 
     1832        vertical-align: middle; 
     1833} 
     1834 
     1835#wp-fullscreen-save img, 
     1836#wp-fullscreen-save span { 
     1837        padding-right: 4px; 
     1838        display: none; 
     1839} 
     1840 
     1841#wp-fullscreen-buttons .mce_image .mce_image { 
     1842        background-image: url('../../wp-admin/images/media-button.png?ver=20120201'); 
     1843        background-position: 3px 3px; 
     1844} 
     1845 
     1846/* =Thickbox Adjustments 
     1847-------------------------------------------------------------- */ 
     1848.fullscreen-active #TB_overlay { 
     1849        z-index: 150100; 
     1850} 
     1851 
     1852.fullscreen-active #TB_window { 
     1853        z-index: 150102; 
     1854} 
     1855 
     1856/* =TinyMCE Adjustments 
     1857-------------------------------------------------------------- */ 
     1858#wp_mce_fullscreen_ifr { 
     1859        background: transparent; 
     1860} 
     1861 
     1862#wp_mce_fullscreen_parent #wp_mce_fullscreen_tbl tr.mceFirst { 
     1863        display : none; 
     1864} 
     1865 
     1866#wp-fullscreen-container .wp_themeSkin table td { 
     1867        vertical-align: top; 
     1868} 
     1869 
     1870/* Colors */ 
     1871.fullscreen-overlay { 
     1872        background: #fff; 
     1873} 
     1874 
     1875.wp-fullscreen-focus #wp-fullscreen-title, 
     1876.wp-fullscreen-focus #wp-fullscreen-container { 
     1877        border-color: #ccc; 
     1878} 
     1879 
     1880#fullscreen-topbar { 
     1881        border-bottom-color: #DFDFDF; 
     1882        background-color: #f1f1f1; /* Fallback */ 
     1883        background-image: -ms-linear-gradient(top, #f9f9f9, #ececec); /* IE10 */ 
     1884        background-image: -moz-linear-gradient(top, #f9f9f9, #ececec); /* Firefox */ 
     1885        background-image: -o-linear-gradient(top, #f9f9f9, #ececec); /* Opera */ 
     1886        background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ececec)); /* old Webkit */ 
     1887        background-image: -webkit-linear-gradient(top, #f9f9f9, #ececec); /* new Webkit */ 
     1888        background-image: linear-gradient(top, #f9f9f9, #ececec); /* proposed W3C Markup */ 
     1889} 
     1890 
     1891/* =CSS 3 transitions 
     1892-------------------------------------------------------------- */ 
     1893 
     1894.fade-1000, 
     1895.fade-600, 
     1896.fade-400, 
     1897.fade-300 { 
     1898        opacity: 0; 
     1899        -moz-transition-property: opacity; 
     1900        -webkit-transition-property: opacity; 
     1901        -o-transition-property: opacity; 
     1902        transition-property: opacity; 
     1903} 
     1904 
     1905.fade-1000 { 
     1906        -moz-transition-duration: 1s; 
     1907        -webkit-transition-duration: 1s; 
     1908        -o-transition-duration: 1s; 
     1909        transition-duration: 1s; 
     1910} 
     1911 
     1912.fade-600 { 
     1913        -moz-transition-duration: 0.6s; 
     1914        -webkit-transition-duration: 0.6s; 
     1915        -o-transition-duration: 0.6s; 
     1916        transition-duration: 0.6s; 
     1917} 
     1918 
     1919.fade-400 { 
     1920        -moz-transition-duration: 0.4s; 
     1921        -webkit-transition-duration: 0.4s; 
     1922        -o-transition-duration: 0.4s; 
     1923        transition-duration: 0.4s; 
     1924} 
     1925 
     1926.fade-300 { 
     1927        -moz-transition-duration: 0.3s; 
     1928        -webkit-transition-duration: 0.3s; 
     1929        -o-transition-duration: 0.3s; 
     1930        transition-duration: 0.3s; 
     1931} 
     1932 
     1933.fade-trigger { 
     1934        opacity: 1; 
     1935} 
     1936 
     1937/* Distraction Free Writing - RTL 
     1938 * =Overlay Styles 
     1939-------------------------------------------------------------- */ 
     1940 
     1941/* No RTL for now, this space intentionally left blank */ 
     1942 
     1943/* =Overlay Body 
     1944-------------------------------------------------------------- */ 
     1945.rtl #wp-fullscreen-tagline { 
     1946        float: left; 
     1947} 
     1948 
     1949/* =Top bar 
     1950-------------------------------------------------------------- */ 
     1951.rtl #fullscreen-topbar { 
     1952        left:auto; 
     1953        right: 0; 
     1954} 
     1955 
     1956.rtl #wp-fullscreen-mode-bar, 
     1957.rtl #wp-fullscreen-button-bar, 
     1958.rtl #wp-fullscreen-close, 
     1959.rtl #wp-fullscreen-count { 
     1960        float: right; 
     1961} 
     1962 
     1963.rtl #wp-fullscreen-save { 
     1964        float: left; 
     1965} 
     1966 
     1967.rtl #wp-fullscreen-save { 
     1968        padding: 2px 5px 0 2px; 
     1969} 
     1970 
     1971.rtl #wp-fullscreen-buttons > div { 
     1972        float: right; 
     1973} 
     1974 
     1975.rtl #wp-fullscreen-mode-bar { 
     1976        padding: 1px 0 0 14px; 
     1977} 
     1978 
     1979.rtl #wp-fullscreen-modes a { 
     1980        float: right; 
     1981        border-width: 1px 0 1px 1px; 
     1982} 
     1983 
     1984.rtl #wp-fullscreen-modes a:first-child { 
     1985        -webkit-border-top-left-radius: 0; 
     1986        -webkit-border-top-right-radius: 3px; 
     1987        -webkit-border-bottom-left-radius: 0; 
     1988        -webkit-border-bottom-right-radius: 3px; 
     1989        border-width: 1px; 
     1990        border-top-left-radius: 0; 
     1991        border-top-right-radius: 3px; 
     1992        border-bottom-right-left: 0; 
     1993        border-bottom-right-radius: 3px; 
     1994} 
     1995 
     1996.rtl #wp-fullscreen-modes a:last-child { 
     1997        -webkit-border-top-right-radius: 0; 
     1998        -webkit-border-top-left-radius: 3px; 
     1999        -webkit-border-bottom-right-radius: 0; 
     2000        -webkit-border-bottom-left-radius: 3px; 
     2001        border-top-right-radius: 0; 
     2002        border-top-left-radius: 3px; 
     2003        border-bottom-right-radius: 0; 
     2004        border-bottom-left-radius: 3px; 
     2005} 
     2006 
     2007.rtl #wp-fullscreen-save img, 
     2008.rtl #wp-fullscreen-save span { 
     2009        padding-right: 0; 
     2010        padding-left: 4px; 
     2011} 
     2012 
     2013/* =Thickbox Adjustments 
     2014-------------------------------------------------------------- */ 
     2015/* No RTL for now, this space intentionally left blank */ 
     2016 
     2017 
     2018/* =TinyMCE Adjustments 
     2019-------------------------------------------------------------- */ 
     2020/* No RTL for now, this space intentionally left blank */ 
     2021 
  • wp-includes/js/quicktags.dev.js

     
    599599        }; 
    600600        qt.FullscreenButton.prototype = new qt.Button(); 
    601601        qt.FullscreenButton.prototype.callback = function(e, c) { 
    602                 if ( c.id != 'content' || typeof(fullscreen) == 'undefined' ) 
     602                if ( c.id == undefined || typeof(fullscreen) == 'undefined' ) 
    603603                        return; 
    604604 
    605605                fullscreen.on(); 
  • wp-includes/js/tinymce/plugins/wpfullscreen/editor_plugin_src.js

     
    3434                        ed.addCommand('wpFullScreenInit', function() { 
    3535                                var d, b, fsed; 
    3636 
    37                                 ed = tinymce.get('content'); 
     37                                ed = tinyMCE.activeEditor; 
    3838                                d = ed.getDoc(); 
    3939                                b = d.body; 
    4040