Plugin Directory

Changeset 2090815


Ignore:
Timestamp:
05/19/2019 03:18:16 PM (7 years ago)
Author:
GuyPrimavera
Message:

Committing v2.4.3

Location:
aquila-admin-theme/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • aquila-admin-theme/trunk/admin/adminBar/adminBarLinks.php

    r2022889 r2090815  
    3636
    3737// Add Aquila links
    38 add_action('admin_bar_menu', 'aquila_wp_logo_links', 100);
     38if (!$GLOBALS['aquilaHideLogoMenu']) {
     39    add_action('admin_bar_menu', 'aquila_wp_logo_links', 100);
     40}
    3941function aquila_wp_logo_links($admin_bar){
    4042    $admin_bar->add_menu( array(
  • aquila-admin-theme/trunk/admin/adminBar/customLogo.php

    r2022889 r2090815  
    2727// Admin bar
    2828function aquila_new_logo_admin() {
    29     echo "<style type='text/css'>
    30         #wpadminbar li#wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
    31             display: none!important;
    32         }
    33         #wpadminbar #wp-toolbar li#wp-admin-bar-wp-logo > .ab-item span.ab-icon {
    34             background-image: url('" . $GLOBALS['aquilaNewLogo'] . "')!important;
    35             background-size: contain;
    36         background-repeat: no-repeat;
    37         background-position: center center;
    38         margin: 0%!important;
    39         max-width: 80%;
    40         height: 70%;
    41         top: 15%;
    42         left: 10%;
    43         }
    44         #aquilaAdminbarIcon {
    45             background-image: url('" . $GLOBALS['aquilaNewLogoSqr'] . "')!important;
    46             background-size: 40px;
    47         background-repeat: no-repeat;
    48         background-position: center center;
    49         }
    50         #aquilaAdminbarIcon:before {
    51             display: none!important;
    52         }
    53         body.folded #wpadminbar li#wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
    54             display: none!important;
    55         }
    56         body.folded #wpadminbar #wp-toolbar li#wp-admin-bar-wp-logo > .ab-item span.ab-icon {
    57             background-image: url('" . $GLOBALS['aquilaNewLogoSqr'] . "')!important;
    58             background-size: contain;
    59         background-repeat: no-repeat;
    60         background-position: center center;
    61             margin: 0%!important;
    62             max-width: 80%;
    63             height: 70%;
    64             top: 15%;
    65             left: 10%;
    66         }       
    67     </style>";
     29    if ( is_admin_bar_showing() ) {
     30        echo "<style type='text/css'>
     31            #wpadminbar li#wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
     32                display: none!important;
     33            }
     34            #wpadminbar #wp-toolbar li#wp-admin-bar-wp-logo > .ab-item span.ab-icon {
     35                background-image: url('" . $GLOBALS['aquilaNewLogo'] . "')!important;
     36                background-size: contain;
     37                background-repeat: no-repeat;
     38                background-position: center center;
     39                margin: 0%!important;
     40                max-width: 80%;
     41                height: 70%;
     42                top: 15%;
     43                left: 10%;
     44            }
     45            #aquilaAdminbarIcon {
     46                background-image: url('" . $GLOBALS['aquilaNewLogoSqr'] . "')!important;
     47                background-size: 40px;
     48                background-repeat: no-repeat;
     49                background-position: center center;
     50            }
     51            #aquilaAdminbarIcon:before {
     52                display: none!important;
     53            }
     54            body.folded #wpadminbar li#wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
     55                display: none!important;
     56            }
     57            body.folded #wpadminbar #wp-toolbar li#wp-admin-bar-wp-logo > .ab-item span.ab-icon {
     58                background-image: url('" . $GLOBALS['aquilaNewLogoSqr'] . "')!important;
     59                background-size: contain;
     60                background-repeat: no-repeat;
     61                background-position: center center;
     62                margin: 0%!important;
     63                max-width: 80%;
     64                height: 70%;
     65                top: 15%;
     66                left: 10%;
     67            }       
     68        </style>";
     69    }
    6870}
    6971
    7072function aquila_new_logo_sqr_admin() {
    71     echo "<style type='text/css'>
    72         body.folded #wpadminbar li#wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
    73             display: none!important;
    74         }
    75         body.folded #wpadminbar #wp-toolbar li#wp-admin-bar-wp-logo > .ab-item span.ab-icon {
    76             background-image: url('" . $GLOBALS['aquilaNewLogoSqr'] . "')!important;
    77             background-size: contain;
    78         background-repeat: no-repeat;
    79         background-position: center center;
    80             margin: 0%!important;
    81             max-width: 80%;
    82             height: 80%;
    83             top: 10%;
    84             left: 10%;
    85         }
    86     </style>";
     73    if ( is_admin_bar_showing() ) {
     74        echo "<style type='text/css'>
     75            body.folded #wpadminbar li#wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
     76                display: none!important;
     77            }
     78            body.folded #wpadminbar #wp-toolbar li#wp-admin-bar-wp-logo > .ab-item span.ab-icon {
     79                background-image: url('" . $GLOBALS['aquilaNewLogoSqr'] . "')!important;
     80                background-size: contain;
     81                background-repeat: no-repeat;
     82                background-position: center center;
     83                margin: 0%!important;
     84                max-width: 80%;
     85                height: 80%;
     86                top: 10%;
     87                left: 10%;
     88            }
     89        </style>";
     90    }
    8791}
    8892
  • aquila-admin-theme/trunk/admin/options/createFields.php

    r2022889 r2090815  
    2424function aquila_chk_abVisible_render(  ) {
    2525    aquila_checkbox ('aquila_settings', 'aquila_chk_abVisible', '');
     26}
     27function aquila_chk_abLogoMenuHide_render(  ) {
     28    aquila_checkbox ('aquila_settings', 'aquila_chk_abLogoMenuHide', '');
    2629}
    2730
  • aquila-admin-theme/trunk/admin/options/registerSettings.php

    r2022889 r2090815  
    121121        'aquila_adminbarSettings_section'
    122122    );
     123    add_settings_field(
     124        'aquila_chk_abLogoMenuHide',
     125        __( '<strong>Hide Adminbar Logo Menu?</strong>', 'aquila-admin-theme' ),
     126        'aquila_chk_abLogoMenuHide_render',
     127        'aquilaGeneralSettings',
     128        'aquila_adminbarSettings_section'
     129    );
    123130
    124131    // Admin bar
  • aquila-admin-theme/trunk/admin/options/setVariables.php

    r2022889 r2090815  
    3939    $aquilaShowFullAdminbar = true;
    4040}
     41
     42if ( aquila_isset('aquila_chk_abLogoMenuHide') ) {
     43    $aquilaHideLogoMenu = true;
     44}
     45
    4146/*
    4247if ( aquila_isset('aquila_new_logo') ) {
  • aquila-admin-theme/trunk/aquila-admin-theme.php

    r2022889 r2090815  
    66 * Author: Guy Primavera
    77 * Author URI: https://guyprimavera.com/
    8  * Version: 2.4.2
     8 * Version: 2.4.3
    99 * Text Domain: aquila-admin-theme
    1010 * Domain Path: /lang/
  • aquila-admin-theme/trunk/css/aquila.css

    r2022889 r2090815  
    27332733  border-color: transparent;
    27342734}
     2735@media (min-width: 782px) {
     2736  body.auto-fold .edit-post-layout__content {
     2737    margin-left: 60px;
     2738  }
     2739}
     2740@media (min-width: 782px) and (min-width: 960px) {
     2741  body.auto-fold .edit-post-layout__content {
     2742    margin-left: 250px;
     2743  }
     2744}
     2745@media (min-width: 782px) {
     2746  .edit-post-layout__content {
     2747    margin-left: 250px;
     2748    top: 120px;
     2749    min-height: calc(-20%);
     2750  }
     2751}
     2752@media (min-width: 782px) {
     2753  body.folded .edit-post-layout__content {
     2754    margin-left: 60px;
     2755  }
     2756}
    27352757#adminmenu,
    27362758#adminmenu .wp-submenu,
     
    36603682  left: 0 !important;
    36613683}
     3684body.aquila #vc_ui-panel-add-element {
     3685  top: 10vh;
     3686}
    36623687.media-frame.mode-grid .media-toolbar {
    36633688  height: 50px;
  • aquila-admin-theme/trunk/css/aquila.less

    r2022889 r2090815  
    11@import "vars.less";
    2 @import "/../icons/faVars.less";
    3 @import "/../icons/variables.less";
     2@import "../icons/faVars.less";
     3@import "../icons/variables.less";
    44@import "mdColours.less";
    55@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css);
     
    280280    // ToDo: make inset border
    281281    border-color: transparent;
     282}
     283
     284// Gutenberg
     285@media (min-width: 782px) {
     286    body.auto-fold .edit-post-layout__content {
     287            margin-left: @sideWidthFolded;
     288    }
     289}
     290@media (min-width: 782px) and (min-width: 960px) {
     291    body.auto-fold .edit-post-layout__content {
     292            margin-left: @sideWidth;
     293    }
     294}
     295@media (min-width: 782px) {
     296    .edit-post-layout__content {
     297            margin-left: @sideWidth;
     298            top: 120px;
     299            min-height: calc(100% - 120px);
     300    }
     301}
     302@media (min-width: 782px) {
     303    body.folded .edit-post-layout__content {
     304            margin-left: @sideWidthFolded;
     305    }
    282306}
    283307
     
    12061230}
    12071231
     1232// WpBakery Page Builder
     1233
     1234body.aquila #vc_ui-panel-add-element {
     1235    top: 10vh;
     1236}
     1237
    12081238
    12091239// Temp fixes
  • aquila-admin-theme/trunk/readme.txt

    r2022889 r2090815  
    44Tags: admin theme, material design wordpress, material design admin theme, material design wordpress admin, material wordpress, admin, admin panel, admin theme style plugin, admin-theme, admin theme, aquila, backend theme, clean admin, color scheme, colour scheme, custom admin theme, flat admin theme, free admin theme, modern admin theme, new admin ui, plugin, simple admin theme, white label, white label admin, wordpress, WordPress admin, wordpress admin theme, wp-admin, wp admin page, wp admin theme
    55Requires at least: 4.0
    6 Tested up to: 5.0-beta4
    7 Stable tag: 2.4.2
     6Tested up to: 5.2
     7Stable tag: 2.4.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8383
    8484== Changelog ==
     85
     86= 2.4.3 - 19/05/2019 =
     87* Added option to hide admin bar logo drop-down menu.
     88* Fixed issue with Gutenberg blocks being hidden behind admin menu.
     89* Fixed issue with Gutenberg notices being partially obstructed behind Gutenberg top bar.
     90* Fixed admin bar CSS on front-end.
     91* Fixed alignment of WPBakery Page Builder modal windows.
    8592
    8693= 2.4.2 - 31/01/2019 =
     
    207214== Upgrade Notice ==
    208215
     216= 2.4.3 =
     217* Minor bug fixes.
     218
    209219= 2.4.2 =
    210220* Bug fixes.
Note: See TracChangeset for help on using the changeset viewer.