Changeset 2090815
- Timestamp:
- 05/19/2019 03:18:16 PM (7 years ago)
- Location:
- aquila-admin-theme/trunk
- Files:
-
- 9 edited
-
admin/adminBar/adminBarLinks.php (modified) (1 diff)
-
admin/adminBar/customLogo.php (modified) (1 diff)
-
admin/options/createFields.php (modified) (1 diff)
-
admin/options/registerSettings.php (modified) (1 diff)
-
admin/options/setVariables.php (modified) (1 diff)
-
aquila-admin-theme.php (modified) (1 diff)
-
css/aquila.css (modified) (2 diffs)
-
css/aquila.less (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aquila-admin-theme/trunk/admin/adminBar/adminBarLinks.php
r2022889 r2090815 36 36 37 37 // Add Aquila links 38 add_action('admin_bar_menu', 'aquila_wp_logo_links', 100); 38 if (!$GLOBALS['aquilaHideLogoMenu']) { 39 add_action('admin_bar_menu', 'aquila_wp_logo_links', 100); 40 } 39 41 function aquila_wp_logo_links($admin_bar){ 40 42 $admin_bar->add_menu( array( -
aquila-admin-theme/trunk/admin/adminBar/customLogo.php
r2022889 r2090815 27 27 // Admin bar 28 28 function 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 } 68 70 } 69 71 70 72 function 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 } 87 91 } 88 92 -
aquila-admin-theme/trunk/admin/options/createFields.php
r2022889 r2090815 24 24 function aquila_chk_abVisible_render( ) { 25 25 aquila_checkbox ('aquila_settings', 'aquila_chk_abVisible', ''); 26 } 27 function aquila_chk_abLogoMenuHide_render( ) { 28 aquila_checkbox ('aquila_settings', 'aquila_chk_abLogoMenuHide', ''); 26 29 } 27 30 -
aquila-admin-theme/trunk/admin/options/registerSettings.php
r2022889 r2090815 121 121 'aquila_adminbarSettings_section' 122 122 ); 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 ); 123 130 124 131 // Admin bar -
aquila-admin-theme/trunk/admin/options/setVariables.php
r2022889 r2090815 39 39 $aquilaShowFullAdminbar = true; 40 40 } 41 42 if ( aquila_isset('aquila_chk_abLogoMenuHide') ) { 43 $aquilaHideLogoMenu = true; 44 } 45 41 46 /* 42 47 if ( aquila_isset('aquila_new_logo') ) { -
aquila-admin-theme/trunk/aquila-admin-theme.php
r2022889 r2090815 6 6 * Author: Guy Primavera 7 7 * Author URI: https://guyprimavera.com/ 8 * Version: 2.4. 28 * Version: 2.4.3 9 9 * Text Domain: aquila-admin-theme 10 10 * Domain Path: /lang/ -
aquila-admin-theme/trunk/css/aquila.css
r2022889 r2090815 2733 2733 border-color: transparent; 2734 2734 } 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 } 2735 2757 #adminmenu, 2736 2758 #adminmenu .wp-submenu, … … 3660 3682 left: 0 !important; 3661 3683 } 3684 body.aquila #vc_ui-panel-add-element { 3685 top: 10vh; 3686 } 3662 3687 .media-frame.mode-grid .media-toolbar { 3663 3688 height: 50px; -
aquila-admin-theme/trunk/css/aquila.less
r2022889 r2090815 1 1 @import "vars.less"; 2 @import " /../icons/faVars.less";3 @import " /../icons/variables.less";2 @import "../icons/faVars.less"; 3 @import "../icons/variables.less"; 4 4 @import "mdColours.less"; 5 5 @import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css); … … 280 280 // ToDo: make inset border 281 281 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 } 282 306 } 283 307 … … 1206 1230 } 1207 1231 1232 // WpBakery Page Builder 1233 1234 body.aquila #vc_ui-panel-add-element { 1235 top: 10vh; 1236 } 1237 1208 1238 1209 1239 // Temp fixes -
aquila-admin-theme/trunk/readme.txt
r2022889 r2090815 4 4 Tags: 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 5 5 Requires at least: 4.0 6 Tested up to: 5. 0-beta47 Stable tag: 2.4. 26 Tested up to: 5.2 7 Stable tag: 2.4.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 83 83 84 84 == 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. 85 92 86 93 = 2.4.2 - 31/01/2019 = … … 207 214 == Upgrade Notice == 208 215 216 = 2.4.3 = 217 * Minor bug fixes. 218 209 219 = 2.4.2 = 210 220 * Bug fixes.
Note: See TracChangeset
for help on using the changeset viewer.