pluign updates
This commit is contained in:
@@ -46,21 +46,37 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Main content wrapper */
|
||||
.igny8-main-content {
|
||||
margin-left: 260px;
|
||||
flex: 1;
|
||||
padding: 10px 25px;
|
||||
max-width: 1400px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Page header */
|
||||
.igny8-page-header {
|
||||
height: 100px;
|
||||
/* height: 100px; */
|
||||
background: linear-gradient(135deg, #3B82F6 0%, #3B82F6 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
border-radius: 8px;
|
||||
margin: 12px 0 24px 0;
|
||||
flex-direction: column;
|
||||
}
|
||||
.igny8-page-header h1 {
|
||||
margin: 0;
|
||||
font-size: 20px;
|
||||
font-size: 30px;
|
||||
font-weight: 700;
|
||||
color: #111827;
|
||||
color: #fff;
|
||||
}
|
||||
.igny8-page-header p {
|
||||
color: var(--igny8-stroke);
|
||||
font-size:18px;
|
||||
margin: 12px 0px 0px 0px;
|
||||
}
|
||||
|
||||
.igny8-module-title h2 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
@@ -850,4 +866,4 @@
|
||||
============================================ */
|
||||
.sellvia-banner.notice.notice-info {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
.igny8-admin-wrapper {
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
background: var(--igny8-surface);
|
||||
|
||||
margin-left: -20px;
|
||||
margin-top: -10px;
|
||||
}
|
||||
@@ -71,14 +71,21 @@
|
||||
}
|
||||
|
||||
.igny8-sidebar-logo {
|
||||
padding: 0 24px 24px;
|
||||
border-bottom: 1px solid var(--igny8-stroke);
|
||||
margin-bottom: 24px;
|
||||
padding: 24px;
|
||||
text-align: center;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.igny8-sidebar-logo img {
|
||||
height: 32px;
|
||||
width: auto;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.igny8-sidebar-badge-container {
|
||||
padding: 0 24px 24px;
|
||||
margin-bottom: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.igny8-sidebar-nav {
|
||||
@@ -108,22 +115,32 @@
|
||||
color: var(--igny8-text);
|
||||
}
|
||||
|
||||
.igny8-sidebar-nav a:hover svg {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.igny8-sidebar-nav a.active {
|
||||
background: var(--igny8-primary-subtle);
|
||||
color: var(--igny8-primary);
|
||||
}
|
||||
|
||||
.igny8-sidebar-nav a.active svg {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.igny8-sidebar-nav svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-right: 12px;
|
||||
flex-shrink: 0;
|
||||
opacity: 1;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.igny8-main-content {
|
||||
margin-left: 260px;
|
||||
flex: 1;
|
||||
padding: 32px 40px;
|
||||
padding: 10px 25px;
|
||||
max-width: 1400px;
|
||||
}
|
||||
|
||||
@@ -131,20 +148,27 @@
|
||||
HEADER - Minimal Design
|
||||
=================================================================== */
|
||||
.igny8-page-header {
|
||||
margin-bottom: 32px;
|
||||
background: linear-gradient(135deg, #3B82F6 0%, #3B82F6 100%);
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
border-radius: 8px;
|
||||
margin: 12px 0 24px 0;
|
||||
flex-direction: column;
|
||||
padding: 20px 24px;
|
||||
}
|
||||
|
||||
.igny8-page-header h1 {
|
||||
font-size: 28px;
|
||||
font-size: 30px;
|
||||
font-weight: 600;
|
||||
color: var(--igny8-text);
|
||||
color: #fff;
|
||||
margin: 0 0 8px 0;
|
||||
}
|
||||
|
||||
.igny8-page-header p {
|
||||
color: var(--igny8-text-dim);
|
||||
color: var(--igny8-stroke);
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* ===================================================================
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
@@ -49,14 +49,14 @@ class Igny8Admin {
|
||||
* Add admin menu pages
|
||||
*/
|
||||
public function add_menu_pages() {
|
||||
// Add main menu page
|
||||
// Add main menu page with dashicons (most reliable method)
|
||||
add_menu_page(
|
||||
__('IGNY8', 'igny8-bridge'),
|
||||
__('IGNY8', 'igny8-bridge'),
|
||||
'manage_options',
|
||||
'igny8-dashboard',
|
||||
array($this, 'render_page'),
|
||||
plugins_url('admin/assets/images/logo-icon.png', IGNY8_BRIDGE_PLUGIN_FILE),
|
||||
'dashicons-cloud-saved',
|
||||
58
|
||||
);
|
||||
|
||||
|
||||
@@ -23,7 +23,22 @@ $is_connected = !empty($api_key);
|
||||
<!-- Sidebar Navigation -->
|
||||
<aside class="igny8-sidebar">
|
||||
<div class="igny8-sidebar-logo">
|
||||
<img src="<?php echo esc_url(plugins_url('assets/images/IGNY8_DARK_LOGO.png', __FILE__)); ?>" alt="IGNY8" />
|
||||
<img src="<?php echo esc_url(plugins_url('assets/images/IGNY8_LIGHT_LOGO.png', __FILE__)); ?>" alt="IGNY8" />
|
||||
</div>
|
||||
|
||||
<!-- Connection Status Badge -->
|
||||
<div class="igny8-sidebar-badge-container">
|
||||
<?php if ($is_connected): ?>
|
||||
<div class="igny8-status igny8-status-connected">
|
||||
<span class="igny8-status-indicator"></span>
|
||||
<?php _e('Connected', 'igny8-bridge'); ?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="igny8-status igny8-status-disconnected">
|
||||
<span class="igny8-status-indicator"></span>
|
||||
<?php _e('Not Connected', 'igny8-bridge'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
@@ -89,21 +104,6 @@ $is_connected = !empty($api_key);
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<!-- Connection Status in Sidebar -->
|
||||
<div style="padding: 16px 24px; margin-top: auto; border-top: 1px solid var(--igny8-stroke);">
|
||||
<?php if ($is_connected): ?>
|
||||
<div class="igny8-status igny8-status-connected">
|
||||
<span class="igny8-status-indicator"></span>
|
||||
<?php _e('Connected', 'igny8-bridge'); ?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="igny8-status igny8-status-disconnected">
|
||||
<span class="igny8-status-indicator"></span>
|
||||
<?php _e('Not Connected', 'igny8-bridge'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<!-- Main Content Area -->
|
||||
|
||||
Reference in New Issue
Block a user