Changeset 1983459
- Timestamp:
- 11/30/2018 07:51:41 PM (7 years ago)
- Location:
- admin-bar-styler/trunk
- Files:
-
- 4 edited
-
alar-admin-bar-styler.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
scripts/scripts.js (modified) (3 diffs)
-
styles/styles.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
admin-bar-styler/trunk/alar-admin-bar-styler.php
r1865999 r1983459 3 3 * Plugin Name: Admin Bar Styler 4 4 * Description: Colorize the admin bar to match your site style, or make a visual distinction between different environments such as DEV, QA, UAT, PROD. 5 * Version: 1. 1.05 * Version: 1.2.0 6 6 * Author: John Alarcon 7 7 * Author URI: https://johnalarcon.com … … 141 141 echo '<span class="admin-bar-styler-preset blue">'.__('Text', 'alar-admin-bar-styler').'</span>'; 142 142 echo '<span class="admin-bar-styler-preset green">'.__('Text', 'alar-admin-bar-styler').'</span>'; 143 echo '<span class="admin-bar-styler-preset orange">'.__('Text', 'alar-admin-bar-styler').'</span>'; 144 echo '<span class="admin-bar-styler-preset purple">'.__('Text', 'alar-admin-bar-styler').'</span>'; 143 145 echo '</div>'; 144 146 echo '<span class="description">'.__('Click to load a preset', 'alar-admin-bar-styler').'</span></td>'."\n"; -
admin-bar-styler/trunk/readme.txt
r1982720 r1983459 6 6 Tested up to: 4.9.8 7 7 Requires PHP: 5.6 8 Stable tag: 1.1.08 Stable tag: trunk 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html 11 11 12 Colorize the admin bar to match your site style. Also handy for creating a visual distinction between different environments such as DEV, QA, UAT, PROD. Works with both WordPress and ClassicPress.12 Colorize the admin bar to match your site style. Also handy for creating a visual distinction between different environments such as DEV, QA, UAT, PROD. 13 13 14 14 == Description == … … 23 23 * Install using the plugin admin interface. 24 24 25 == Frequently Asked Questions == 26 **Does it work with Gutenberg?** 27 Yes. Since the plugin has nothing to do with the editor, it is unaffected by Gutenberg. 28 29 **Does it work with ClassicPress?** 30 Yes. 31 25 32 == Changelog == 33 ## 1.2.0 34 - Add: orange and purple color scheme defaults. 35 - Add: FAQs regarding Gutenberg support. 36 26 37 ## 1.1.0 27 38 - Enhance: set initial style to match core style. -
admin-bar-styler/trunk/scripts/scripts.js
r1865996 r1983459 1 1 /** 2 * Plugin Name: Admin Bar Styler3 2 * Description: Colorize the admin bar to match your site style, or make a visual distinction between different environments such as DEV, QA, UAT, PROD. 4 * Version: 1.1.05 * Author: John Alarcon6 * Author URI: https://johnalarcon.com7 * Text Domain: alar-admin-bar-styler8 * Domain Path: /languages9 * License: GPL-2.0+10 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt11 3 * 12 4 * This is free software: you can redistribute it and/or modify … … 24 16 */ 25 17 jQuery(document).ready(function($) { 26 18 27 19 $(".admin-bar-styler-preset.red").click(function(){ 28 20 $("#admin-bar-styler-bg-color").val("#d32f2f"); … … 44 36 $("#admin-bar-styler-font-color").val("#dddddd"); 45 37 $("#admin-bar-styler-hover-color").val("#0d47a1"); 46 }); 47 38 }); 39 $(".admin-bar-styler-preset.orange").click(function(){ 40 $("#admin-bar-styler-bg-color").val("#ff8040"); 41 $("#admin-bar-styler-font-color").val("#400040"); 42 $("#admin-bar-styler-hover-color").val("#e25747"); 43 }); 44 $(".admin-bar-styler-preset.purple").click(function(){ 45 $("#admin-bar-styler-bg-color").val("#400040"); 46 $("#admin-bar-styler-font-color").val("#4caf50"); 47 $("#admin-bar-styler-hover-color").val("#700070"); 48 }); 49 50 51 48 52 }); -
admin-bar-styler/trunk/styles/styles.css
r1865996 r1983459 1 1 /** 2 * Plugin Name: Admin Bar Styler3 2 * Description: Colorize the admin bar to match your site style, or make a visual distinction between different environments such as DEV, QA, UAT, PROD. 4 * Version: 1.1.05 * Author: John Alarcon6 * Author URI: https://johnalarcon.com7 * Text Domain: alar-admin-bar-styler8 * Domain Path: /languages9 * License: GPL-2.0+10 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt11 3 * 12 4 * This is free software: you can redistribute it and/or modify … … 42 34 background: #1565c0; 43 35 } 36 .admin-bar-styler-preset.orange { 37 background: #ff8040; 38 } 39 .admin-bar-styler-preset.purple { 40 background: #400040; 41 }
Note: See TracChangeset
for help on using the changeset viewer.