Changeset 644481
- Timestamp:
- 12/26/2012 12:13:37 AM (13 years ago)
- Location:
- quickpress-fullscreen/tags/2.0
- Files:
-
- 1 added
- 3 edited
-
quickpress-fullscreen.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
screenshot-1.png (modified) (previous)
-
style.css (added)
Legend:
- Unmodified
- Added
- Removed
-
quickpress-fullscreen/tags/2.0/quickpress-fullscreen.php
r491553 r644481 2 2 /** 3 3 * @package QuickPress_Fullscreen 4 * @version 1.04 * @version 2.0 5 5 */ 6 6 /* … … 9 9 Description: Turn QuickPress in WordPress Dashboard into fullscreen when expanded. 10 10 Author: Rio Purnomo 11 Version: 1.011 Version: 2.0 12 12 Author URI: http://siriokun.com/ 13 13 */ 14 14 15 16 15 // Make QuickPress fullscreen when expanded 17 function quickpress_fullscreen() { 18 echo " 19 <style type='text/css'> 20 #screen-meta.metabox-prefs,#screen-meta-links{position:relative;z-index:26} 21 #screen-meta-links{right:15px} 22 #wpbody{position:initial} 23 #screen-meta{z-index:4} 24 #dashboard_quick_press { 25 background: #F9F9F9; 26 position: absolute; 27 top: 28px; 28 left: 6px; 29 z-index: 25; 30 height:95%; 31 width:99% 32 } 33 #dashboard_quick_press form .input-text-wrap, 34 #dashboard_quick_press form .textarea-wrap {background: #fff} 35 #dashboard_quick_press form .input-text-wrap input, 36 #dashboard_quick_press form .textarea-wrap textarea {width: 100%} 37 #dashboard_quick_press .inside {margin: 22px} 38 #dashboard_quick_press #content {height: 300px} 39 #dashboard_quick_press.closed { 40 position: relative; 41 top: 0; 42 left: 0 43 } 44 #dashboard_quick_press .hndle span{cursor:pointer} 45 #dashboard_quick_press .hndle span:after { 46 content:' (Click to Minimize)'; 47 color: #21759B; 48 font-weight:normal 49 } 50 #dashboard_quick_press.closed .hndle span:after { 51 content:' (Click to Fullscreen mode)'; 52 } 53 </style> 54 "; 16 if ( ! function_exists( 'quickpress_fullscreen' ) ) { 17 function quickpress_fullscreen() { 18 wp_register_style( 'quickpress-fullscreen', plugins_url('style.css', __FILE__) ); 19 wp_enqueue_style( 'quickpress-fullscreen' ); 20 } 55 21 } 56 22 // Make that style above only load in Dashboard -
quickpress-fullscreen/tags/2.0/readme.txt
r491552 r644481 4 4 Tags: quickpress, fullscreen 5 5 Requires at least: 3.2 6 Tested up to: 3. 3.16 Tested up to: 3.5 7 7 Stable tag: 2.0 8 8 … … 11 11 == Description == 12 12 13 This simple plugin can turn QuickPress in WordPress Dashboard into fullscreen when expanded. What this plugin do is add small amount of css overide so the container fits the whole window, but not the Toolbar.13 This simple plugin can turn QuickPress in WordPress Dashboard into more wider. What this plugin do is add small amount of css overide so the container fits the content area. 14 14 15 15 == Installation == … … 24 24 25 25 = 2.0 = 26 * Compatible for WordPress 3. 3.126 * Compatible for WordPress 3.5 27 27 28 28 = 1.0 =
Note: See TracChangeset
for help on using the changeset viewer.