Changeset 822934
- Timestamp:
- 12/16/2013 06:53:47 AM (12 years ago)
- Location:
- wp-admin-classic/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (3 diffs)
-
wp-admin-css/media.min.css (modified) (1 diff)
-
wpadmin-classic.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-admin-classic/trunk/readme.txt
r822703 r822934 1 1 === wp-admin classic === 2 2 Contributors: mch0lic 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id= F46P9W3FSA9GN3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BGJNTZN5JHSRU 4 4 Tags: admin, theme, classic 5 5 Requires at least: 3.8 6 6 Tested up to: 3.8 7 Stable tag: 1.0 7 Stable tag: 1.0.1 8 8 License: GPLv2 or later 9 9 … … 12 12 == Description == 13 13 14 Attempt on bringing back the classic WordPress admin theme. Please note that this plugin is very experimental and not all the visual styles are applied correctly. Please, use it at your own risk and share all bugs or thoughs how to fix them. 15 16 You can contact us directly [here](http://mindomobile.com/contact-us/). We appreciate any help! 14 Recently upgraded to WordPress 3.8+ and not yet ready for the visual change? WP Admin Classic plugin simply disables new admin theme and reenables the prior 3.8 looks to your admin panel. Please, note that there is still some unsolved issues (see "Issue list), so if you have ideas how to solve it just shout! 17 15 18 16 Become our [**Facebook**](http://www.facebook.com/MindoMobileSolutions) fan to keep up with the latest updates. You can also find us on **Google+** circles [here](https://plus.google.com/116940685804905541644). 17 18 **Issue list:** 19 20 1. Dashboard! 21 2. Appearance -> Themes rendering 22 3. Appearance -> Widgets small CSS fixes still required 23 24 Please, report any other CSS/JS issues and suggestions how to fix them [here](http://wordpress.org/support/plugin/wp-admin-classic) or [here](http://mindomobile.com/contact-us/). Your help much appreatiated. 19 25 20 26 ENJOY! … … 33 39 4. Find wp-admin classic in the list and click Install Now. 34 40 41 == Upgrade Notice == 42 43 To upgrade plugin, please copy and replace all existing files in wpadmin-classic directory. All necessary adjustments by the plugin will be done automatically. You can also update plugin using standard WordPress Update Manager! 44 35 45 == Frequently Asked Questions == 36 46 37 47 = I have some troubles with plugin what should I do? = 38 48 39 You can contact us by email wpfinance@mindomobile.com or you can leave us a message in contact form http://mindomobile.com/contact-us/. Moreover, you can also post a thread in [Wordpress support forum](http://wordpress.org/support/plugin/wp-admin-classic) but you should keep in mind it might take some time to respond to your problem.49 You can contact us by email info@mindomobile.com or you can leave us a message in contact form http://mindomobile.com/contact-us/. Moreover, you can also post a thread in [Wordpress support forum](http://wordpress.org/support/plugin/wp-admin-classic) but you should keep in mind it might take some time to respond to your problem. 40 50 41 51 == Change Log == 52 = 1.0.1 = 53 * New: Removed Admin Color Scheme option from user profile page. 54 * Fix: Post edit CSS fixed! YEY! 55 * Fix: IE conditional loading added (Thanks to @SergeyBiryukov). 56 * Fix: Readme file update 57 42 58 = 1.0.0 = 43 59 * New: Initial release -
wp-admin-classic/trunk/wp-admin-css/media.min.css
r822703 r822934 1 div#media-upload-header{margin:0;padding:5px 5px 0;font-weight:700;position:relative;border-bottom-width:1px;border-bottom-style:solid}body#media-upload ul#sidemenu{font-weight:400;margin:0 5px;left:0;bottom:-1px;float:none;overflow:hidden}form{margin: 1em}#search-filter{text-align:right}th{position:relative}.media-upload-form label.form-help,td.help{font-family:sans-serif;font-style:italic;font-weight:400}.media-upload-form p.help{margin:0;padding:0}.media-upload-form fieldset{width:100%;border:0;text-align:justify;margin:0 0 1em;padding:0}.image-align-none-label{background:url(../images/align-none.png) no-repeat center left}.image-align-left-label{background:url(../images/align-left.png) no-repeat center left}.image-align-center-label{background:url(../images/align-center.png) no-repeat center left}.image-align-right-label{background:url(../images/align-right.png) no-repeat center left}tr.image-size td{width:460px}tr.image-size div.image-size-item{margin:0 0 5px}#library-form .progress,#gallery-form .progress,.insert-gallery,.describe.startopen,.describe.startclosed{display:none}.media-item .thumbnail{max-width:128px;max-height:128px}thead.media-item-info tr{background-color:transparent}.form-table thead.media-item-info{border:8px solid #fff}abbr.required{text-decoration:none;border:0}.describe label{display:inline}.describe td.error{padding:2px 8px}.describe td.A1{width:132px}.describe input[type=text],.describe textarea{width:460px;border-width:1px;border-style:solid}#media-upload p.ml-submit{padding:1em 0}#media-upload p.help,#media-upload label.help{font-family:sans-serif;font-style:italic;font-weight:400}#media-upload .ui-sortable .media-item{cursor:move}#media-upload tr.image-size{margin-bottom:1em;height:3em}#media-upload #filter{width:623px}#media-upload #filter .subsubsub{margin:8px 0}#filter .tablenav select{border-style:solid;border-width:1px;padding:2px;vertical-align:top;width:auto}#media-upload .del-attachment{display:none;margin:5px 0}.menu_order{float:right;font-size:11px;margin:10px 10px 0}.menu_order_input{border:1px solid #ddd;font-size:10px;padding:1px;width:23px}.ui-sortable-helper{background-color:#fff;border:1px solid #aaa;opacity:.6;filter:alpha(opacity=60)}#media-upload th.order-head{width:20%;text-align:center}#media-upload th.actions-head{width:25%;text-align:center}#media-upload a.wp-post-thumbnail{margin:0 20px}#media-upload .widefat{width:626px;border-style:solid solid none}.sorthelper{height:37px;width:623px;display:block}#gallery-settings th.label{width:160px}#gallery-settings #basic th.label{padding:5px 5px 5px 0}#gallery-settings .title{clear:both;padding:0 0 3px;font-size:1.6em;border-bottom:1px solid #DADADA}h3.media-title{font-size:1.6em}h4.media-sub-title{border-bottom:1px solid #DADADA;font-size:1.3em;margin:12px;padding:0 0 3px}#gallery-settings .title,h3.media-title,h4.media-sub-title{font-family:Georgia,"Times New Roman",Times,serif;font-weight:400;color:#5A5A5A}#gallery-settings .describe td{vertical-align:middle;height:3em}#gallery-settings .describe th.label{padding-top:.5em;text-align:left}#gallery-settings .describe{padding:5px;width:615px;clear:both;cursor:default}#gallery-settings .describe select{width:15em}#gallery-settings .describe select option,#gallery-settings .describe td{padding:0}#gallery-settings label,#gallery-settings legend{font-size:13px;color:#464646;margin-right:15px}#gallery-settings .align .field label{margin:0 1em 0 3px}#gallery-settings p.ml-submit{border-top:1px solid #dfdfdf}#gallery-settings select#columns{width:6em}#sort-buttons{font-size:.8em;margin:3px 25px -8px 0;text-align:right;max-width:625px}#sort-buttons a{text-decoration:none}#sort-buttons #asc,#sort-buttons #showall{padding-left:5px}#sort-buttons span{margin-right:25px}p.media-types{margin:1em}tr.not-image{display:none}table.not-image tr.not-image{display:table-row}table.not-image tr.image-only{display:none}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.image-align-none-label{background-image:url(../images/align-none-2x.png?ver=20120916);background-size:21px 15px}.image-align-left-label{background-image:url(../images/align-left-2x.png?ver=20120916);background-size:22px 15px}.image-align-center-label{background-image:url(../images/align-center-2x.png?ver=20120916);background-size:21px 15px}.image-align-right-label{background-image:url(../images/align-right-2x.png?ver=20120916);background-size:22px 15px}}1 div#media-upload-header{margin:0;padding:5px 5px 0;font-weight:700;position:relative;border-bottom-width:1px;border-bottom-style:solid}body#media-upload ul#sidemenu{font-weight:400;margin:0 5px;left:0;bottom:-1px;float:none;overflow:hidden}form{margin:0em}#search-filter{text-align:right}th{position:relative}.media-upload-form label.form-help,td.help{font-family:sans-serif;font-style:italic;font-weight:400}.media-upload-form p.help{margin:0;padding:0}.media-upload-form fieldset{width:100%;border:0;text-align:justify;margin:0 0 1em;padding:0}.image-align-none-label{background:url(../images/align-none.png) no-repeat center left}.image-align-left-label{background:url(../images/align-left.png) no-repeat center left}.image-align-center-label{background:url(../images/align-center.png) no-repeat center left}.image-align-right-label{background:url(../images/align-right.png) no-repeat center left}tr.image-size td{width:460px}tr.image-size div.image-size-item{margin:0 0 5px}#library-form .progress,#gallery-form .progress,.insert-gallery,.describe.startopen,.describe.startclosed{display:none}.media-item .thumbnail{max-width:128px;max-height:128px}thead.media-item-info tr{background-color:transparent}.form-table thead.media-item-info{border:8px solid #fff}abbr.required{text-decoration:none;border:0}.describe label{display:inline}.describe td.error{padding:2px 8px}.describe td.A1{width:132px}.describe input[type=text],.describe textarea{width:460px;border-width:1px;border-style:solid}#media-upload p.ml-submit{padding:1em 0}#media-upload p.help,#media-upload label.help{font-family:sans-serif;font-style:italic;font-weight:400}#media-upload .ui-sortable .media-item{cursor:move}#media-upload tr.image-size{margin-bottom:1em;height:3em}#media-upload #filter{width:623px}#media-upload #filter .subsubsub{margin:8px 0}#filter .tablenav select{border-style:solid;border-width:1px;padding:2px;vertical-align:top;width:auto}#media-upload .del-attachment{display:none;margin:5px 0}.menu_order{float:right;font-size:11px;margin:10px 10px 0}.menu_order_input{border:1px solid #ddd;font-size:10px;padding:1px;width:23px}.ui-sortable-helper{background-color:#fff;border:1px solid #aaa;opacity:.6;filter:alpha(opacity=60)}#media-upload th.order-head{width:20%;text-align:center}#media-upload th.actions-head{width:25%;text-align:center}#media-upload a.wp-post-thumbnail{margin:0 20px}#media-upload .widefat{width:626px;border-style:solid solid none}.sorthelper{height:37px;width:623px;display:block}#gallery-settings th.label{width:160px}#gallery-settings #basic th.label{padding:5px 5px 5px 0}#gallery-settings .title{clear:both;padding:0 0 3px;font-size:1.6em;border-bottom:1px solid #DADADA}h3.media-title{font-size:1.6em}h4.media-sub-title{border-bottom:1px solid #DADADA;font-size:1.3em;margin:12px;padding:0 0 3px}#gallery-settings .title,h3.media-title,h4.media-sub-title{font-family:Georgia,"Times New Roman",Times,serif;font-weight:400;color:#5A5A5A}#gallery-settings .describe td{vertical-align:middle;height:3em}#gallery-settings .describe th.label{padding-top:.5em;text-align:left}#gallery-settings .describe{padding:5px;width:615px;clear:both;cursor:default}#gallery-settings .describe select{width:15em}#gallery-settings .describe select option,#gallery-settings .describe td{padding:0}#gallery-settings label,#gallery-settings legend{font-size:13px;color:#464646;margin-right:15px}#gallery-settings .align .field label{margin:0 1em 0 3px}#gallery-settings p.ml-submit{border-top:1px solid #dfdfdf}#gallery-settings select#columns{width:6em}#sort-buttons{font-size:.8em;margin:3px 25px -8px 0;text-align:right;max-width:625px}#sort-buttons a{text-decoration:none}#sort-buttons #asc,#sort-buttons #showall{padding-left:5px}#sort-buttons span{margin-right:25px}p.media-types{margin:1em}tr.not-image{display:none}table.not-image tr.not-image{display:table-row}table.not-image tr.image-only{display:none}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.image-align-none-label{background-image:url(../images/align-none-2x.png?ver=20120916);background-size:21px 15px}.image-align-left-label{background-image:url(../images/align-left-2x.png?ver=20120916);background-size:22px 15px}.image-align-center-label{background-image:url(../images/align-center-2x.png?ver=20120916);background-size:21px 15px}.image-align-right-label{background-image:url(../images/align-right-2x.png?ver=20120916);background-size:22px 15px}} -
wp-admin-classic/trunk/wpadmin-classic.php
r822703 r822934 3 3 Plugin Name: wp-admin classic 4 4 Author URI: http://mindomobile.com 5 Plugin URI: http://wordpress.org/plugins/wp-admin-classic/ 5 6 Description: Classic WordPress Admin theme (prior 3.8 style). 6 Version: 1.0. 07 Version: 1.0.1 7 8 Author: Mindo Mobile 8 9 License: GPL2 … … 13 14 function __construct() 14 15 { 16 // Dequeue new & enqueue "classic" styles 15 17 add_action('admin_enqueue_scripts', array(&$this, 'wpadmin_classic')); 16 18 add_action('admin_enqueue_scripts', array(&$this, 'remove_wpadmin_styles'), 20); 19 20 // Remove Admin Color Scheme from user edit page 21 remove_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' ); 17 22 } 18 23 19 24 function wpadmin_classic() 20 25 { 21 // Register styles 22 wp_register_style('wpadmin-classic', plugin_dir_url( __FILE__ ) . 'wp-admin-css/wp-admin.min.css'); 23 wp_register_style('ie-classic', plugin_dir_url( __FILE__ ) . 'wp-admin-css/ie.min.css'); 26 // Load main stylesheet 27 $GLOBALS['wp_styles']->add('wp-admin-classic', plugin_dir_url( __FILE__ ) . 'wp-admin-css/wp-admin.min.css'); 28 29 // Conditional IE stylesheet 30 $GLOBALS['wp_styles']->add('ie-classic', plugin_dir_url( __FILE__ ) . 'wp-admin-css/ie.min.css'); 31 $GLOBALS['wp_styles']->add_data('ie-classic', 'conditional', 'lte IE 7'); 32 33 // Register other styles 24 34 wp_register_style('buttons-classic', plugin_dir_url( __FILE__ ) . 'wp-includes-css/buttons.min.css'); 25 wp_register_style('colors-fresh-classic', plugin_dir_url( __FILE__ ) . 'wp-admin-css/colors-fresh.min.css'); 35 wp_register_style('colors-fresh-classic', plugin_dir_url( __FILE__ ) . 'wp-admin-css/colors-fresh.min.css'); 36 wp_register_style('editor-buttons-classic', plugin_dir_url( __FILE__ ) . 'wp-includes-css/editor.min.css'); 26 37 wp_register_style('media-classic', plugin_dir_url( __FILE__ ) . 'wp-admin-css/media.min.css'); 27 38 wp_register_style('media-views-classic', plugin_dir_url( __FILE__ ) . 'wp-includes-css/media-views.min.css'); 28 wp_register_style('customize-controls-classic', plugin_dir_url( __FILE__ ) . 'wp-admin-css/customize-controls.min.css'); 29 39 30 40 // Enqueu styles 31 41 wp_enqueue_style('buttons-classic'); 32 wp_enqueue_style('wpadmin-classic'); 33 wp_enqueue_style('ie-classic'); 34 wp_enqueue_style('colors-classic', true, array('wp-admin-classic')); 35 wp_enqueue_style('colors-fresh-classic', true, array('wp-admin-classic')); 42 wp_enqueue_style('colors-classic', true, array('wp-admin-classic', 'buttons-classic')); 43 wp_enqueue_style('colors-fresh-classic', true, array('wp-admin-classic', 'buttons-classic')); 44 wp_enqueue_style('editor-buttons-classic'); 36 45 wp_enqueue_style('media-classic'); 37 46 wp_enqueue_style('media-views-classic'); 38 wp_enqueue_style('customize-controls-classic');39 47 } 40 48 … … 47 55 wp_dequeue_style('buttons'); 48 56 wp_dequeue_style('media-views'); 49 wp_dequeue_style('customize-controls');50 57 wp_dequeue_style('colors-fresh'); 51 58 wp_dequeue_style('media');
Note: See TracChangeset
for help on using the changeset viewer.