Plugin Directory

Changeset 1983459


Ignore:
Timestamp:
11/30/2018 07:51:41 PM (7 years ago)
Author:
johnalarcon
Message:

Add default color schemes for orange and purple. Update FAQ re: Gutenberg.

Location:
admin-bar-styler/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin-bar-styler/trunk/alar-admin-bar-styler.php

    r1865999 r1983459  
    33 * Plugin Name: Admin Bar Styler
    44 * 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.0
     5 * Version: 1.2.0
    66 * Author: John Alarcon
    77 * Author URI: https://johnalarcon.com
     
    141141        echo '<span class="admin-bar-styler-preset blue">'.__('Text', 'alar-admin-bar-styler').'</span>';
    142142        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>';
    143145        echo '</div>';
    144146        echo '<span class="description">'.__('Click to load a preset', 'alar-admin-bar-styler').'</span></td>'."\n";
  • admin-bar-styler/trunk/readme.txt

    r1982720 r1983459  
    66Tested up to: 4.9.8
    77Requires PHP: 5.6
    8 Stable tag: 1.1.0
     8Stable tag: trunk
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1111
    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.
     12Colorize the admin bar to match your site style. Also handy for creating a visual distinction between different environments such as DEV, QA, UAT, PROD.
    1313
    1414== Description ==
     
    2323* Install using the plugin admin interface.
    2424
     25== Frequently Asked Questions ==
     26**Does it work with Gutenberg?**
     27Yes. Since the plugin has nothing to do with the editor, it is unaffected by Gutenberg.
     28
     29**Does it work with ClassicPress?**
     30Yes.
     31
    2532== Changelog ==
     33## 1.2.0
     34- Add: orange and purple color scheme defaults.
     35- Add: FAQs regarding Gutenberg support.
     36
    2637## 1.1.0
    2738- Enhance: set initial style to match core style.
  • admin-bar-styler/trunk/scripts/scripts.js

    r1865996 r1983459  
    11/**
    2  * Plugin Name: Admin Bar Styler
    32 * 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.0
    5  * Author: John Alarcon
    6  * Author URI: https://johnalarcon.com
    7  * Text Domain: alar-admin-bar-styler
    8  * Domain Path: /languages
    9  * License: GPL-2.0+
    10  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
    113 *
    124 * This is free software: you can redistribute it and/or modify
     
    2416 */
    2517jQuery(document).ready(function($) {
    26    
     18
    2719    $(".admin-bar-styler-preset.red").click(function(){
    2820        $("#admin-bar-styler-bg-color").val("#d32f2f");
     
    4436        $("#admin-bar-styler-font-color").val("#dddddd");
    4537        $("#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
    4852});
  • admin-bar-styler/trunk/styles/styles.css

    r1865996 r1983459  
    11/**
    2  * Plugin Name: Admin Bar Styler
    32 * 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.0
    5  * Author: John Alarcon
    6  * Author URI: https://johnalarcon.com
    7  * Text Domain: alar-admin-bar-styler
    8  * Domain Path: /languages
    9  * License: GPL-2.0+
    10  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
    113 *
    124 * This is free software: you can redistribute it and/or modify
     
    4234    background: #1565c0;
    4335    }
     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.