348 lines
6.3 KiB
CSS
348 lines
6.3 KiB
CSS
/**
|
|
* Admin Styles
|
|
*
|
|
* All styles for IGNY8 Bridge admin interface
|
|
* Update this file to change global design
|
|
*
|
|
* @package Igny8Bridge
|
|
*/
|
|
|
|
/* ============================================
|
|
Container & Layout
|
|
============================================ */
|
|
|
|
.igny8-settings-container {
|
|
max-width: 1200px;
|
|
}
|
|
|
|
.igny8-settings-card {
|
|
background: #fff;
|
|
border: 1px solid #ccd0d4;
|
|
box-shadow: 0 1px 1px rgba(0,0,0,.04);
|
|
padding: 20px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.igny8-settings-card h2 {
|
|
margin-top: 0;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
/* ============================================
|
|
Status Indicators
|
|
============================================ */
|
|
|
|
.igny8-status-connected {
|
|
color: #46b450;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.igny8-status-disconnected {
|
|
color: #dc3232;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.igny8-test-result {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.igny8-test-result .igny8-success {
|
|
color: #46b450;
|
|
}
|
|
|
|
.igny8-test-result .igny8-error {
|
|
color: #dc3232;
|
|
}
|
|
|
|
.igny8-test-result .igny8-loading {
|
|
color: #2271b1;
|
|
}
|
|
|
|
/* ============================================
|
|
Sync Operations
|
|
============================================ */
|
|
|
|
.igny8-sync-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.igny8-sync-actions .button {
|
|
min-width: 150px;
|
|
}
|
|
|
|
.igny8-sync-status {
|
|
margin-top: 15px;
|
|
padding: 10px;
|
|
border-radius: 4px;
|
|
display: none;
|
|
}
|
|
|
|
.igny8-sync-status.igny8-sync-status-success {
|
|
background-color: #d4edda;
|
|
border: 1px solid #c3e6cb;
|
|
color: #155724;
|
|
display: block;
|
|
}
|
|
|
|
.igny8-sync-status.igny8-sync-status-error {
|
|
background-color: #f8d7da;
|
|
border: 1px solid #f5c6cb;
|
|
color: #721c24;
|
|
display: block;
|
|
}
|
|
|
|
.igny8-sync-status.igny8-sync-status-loading {
|
|
background-color: #d1ecf1;
|
|
border: 1px solid #bee5eb;
|
|
color: #0c5460;
|
|
display: block;
|
|
}
|
|
|
|
/* ============================================
|
|
Statistics
|
|
============================================ */
|
|
|
|
.igny8-stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.igny8-stat-item {
|
|
padding: 15px;
|
|
background: #f9f9f9;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.igny8-stat-label {
|
|
font-size: 12px;
|
|
color: #666;
|
|
text-transform: uppercase;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.igny8-stat-value {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
color: #2271b1;
|
|
}
|
|
|
|
/* ============================================
|
|
Diagnostics
|
|
============================================ */
|
|
|
|
.igny8-diagnostics-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 16px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.igny8-diagnostic-item {
|
|
padding: 15px;
|
|
background-color: #f6f7f7;
|
|
border: 1px solid #dcdcde;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.igny8-diagnostic-label {
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: #555d66;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.igny8-diagnostic-value {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #1d2327;
|
|
}
|
|
|
|
.igny8-diagnostic-item .description {
|
|
margin: 6px 0 0;
|
|
color: #646970;
|
|
}
|
|
|
|
/* ============================================
|
|
Buttons
|
|
============================================ */
|
|
|
|
.igny8-button-group {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.igny8-button-group .button {
|
|
flex: 1;
|
|
}
|
|
|
|
/* ============================================
|
|
Loading States
|
|
============================================ */
|
|
|
|
.igny8-loading {
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.igny8-spinner {
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 2px solid #f3f3f3;
|
|
border-top: 2px solid #2271b1;
|
|
border-radius: 50%;
|
|
animation: igny8-spin 1s linear infinite;
|
|
margin-right: 8px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
@keyframes igny8-spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* ============================================
|
|
Messages & Notifications
|
|
============================================ */
|
|
|
|
.igny8-message {
|
|
padding: 12px;
|
|
margin: 15px 0;
|
|
border-left: 4px solid;
|
|
background: #fff;
|
|
}
|
|
|
|
.igny8-message.igny8-message-success {
|
|
border-color: #46b450;
|
|
background-color: #f0f8f0;
|
|
}
|
|
|
|
.igny8-message.igny8-message-error {
|
|
border-color: #dc3232;
|
|
background-color: #fff5f5;
|
|
}
|
|
|
|
.igny8-message.igny8-message-info {
|
|
border-color: #2271b1;
|
|
background-color: #f0f6fc;
|
|
}
|
|
|
|
.igny8-message.igny8-message-warning {
|
|
border-color: #f0b849;
|
|
background-color: #fffbf0;
|
|
}
|
|
|
|
/* ============================================
|
|
Tables
|
|
============================================ */
|
|
|
|
.igny8-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.igny8-table th,
|
|
.igny8-table td {
|
|
padding: 10px;
|
|
text-align: left;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.igny8-table th {
|
|
background-color: #f9f9f9;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.igny8-table tr:hover {
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
/* ============================================
|
|
Admin Columns
|
|
============================================ */
|
|
|
|
.igny8-badge {
|
|
display: inline-block;
|
|
padding: 3px 8px;
|
|
border-radius: 3px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.igny8-badge-igny8 {
|
|
background-color: #2271b1;
|
|
color: #fff;
|
|
}
|
|
|
|
.igny8-badge-wordpress {
|
|
background-color: #646970;
|
|
color: #fff;
|
|
}
|
|
|
|
.igny8-terms-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
}
|
|
|
|
.igny8-term-badge {
|
|
display: inline-block;
|
|
padding: 2px 6px;
|
|
background-color: #f0f0f1;
|
|
border: 1px solid #c3c4c7;
|
|
border-radius: 2px;
|
|
font-size: 11px;
|
|
color: #50575e;
|
|
}
|
|
|
|
.igny8-empty {
|
|
color: #a7aaad;
|
|
font-style: italic;
|
|
}
|
|
|
|
.igny8-action-link {
|
|
color: #2271b1;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.igny8-action-link:hover {
|
|
color: #135e96;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* ============================================
|
|
Responsive
|
|
============================================ */
|
|
|
|
@media (max-width: 782px) {
|
|
.igny8-sync-actions {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.igny8-sync-actions .button {
|
|
width: 100%;
|
|
}
|
|
|
|
.igny8-stats-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.igny8-diagnostics-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|