GIF94;
| Path : /var/www/wordpress/wp-content/plugins/oxymade/assets/css/ |
| Current File : /var/www/wordpress/wp-content/plugins/oxymade/assets/css/admin.css |
/* Admin styles for OxyMade - Professional Developer Tool Design */
/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* Global typography */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* Ensure tooltips can display properly */
body, html {
overflow-x: visible !important;
}
/* Main admin content area */
.wrap {
overflow: visible !important;
}
/* Fix admin menu icon size and alignment */
#adminmenu .toplevel_page_oxymade-settings .wp-menu-image {
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
#adminmenu .toplevel_page_oxymade-settings .wp-menu-image img {
width: 20px !important;
height: 20px !important;
padding: 0 !important;
max-width: 20px !important;
max-height: 20px !important;
object-fit: contain !important;
}
/* Collapsed menu state */
.folded #adminmenu .toplevel_page_oxymade-settings .wp-menu-image img {
width: 20px !important;
height: 20px !important;
}
/* Cards - clean, minimal design */
.oxymade-admin-card {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(8px);
border: 1px solid rgba(229, 231, 235, 0.6);
border-radius: 8px;
padding: 24px;
margin-bottom: 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
transition: all 0.2s ease;
}
.oxymade-admin-card:hover {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
border-color: rgba(14, 165, 233, 0.3);
border-left: 4px solid #0ea5e9;
transform: translateY(-1px);
}
/* Step badges - uppercase, technical look */
.step-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
background: #374151;
color: white;
border-radius: 6px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-right: 12px;
}
/* Headings - uppercase, technical typography */
.oxymade-admin-card h3 {
font-size: 16px;
font-weight: 600;
color: #111827;
text-transform: uppercase;
letter-spacing: -0.01em;
margin: 0;
display: flex;
align-items: center;
}
/* Buttons - professional developer tool style */
.button.button-secondary {
background: #f3f4f6;
border: 1px solid #d1d5db;
color: #374151;
border-radius: 6px;
padding: 8px 16px;
font-size: 12px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.025em;
transition: all 0.2s ease;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.button.button-secondary:hover {
background: #e5e7eb;
border-color: #9ca3af;
color: #111827;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transform: translateY(-1px);
}
.button.button-secondary:focus {
outline: none;
ring: 2px;
ring-color: rgba(14, 165, 233, 0.5);
border-color: #0ea5e9;
}
/* Primary action buttons */
.button.button-primary {
background: #374151;
border: 1px solid #374151;
color: white;
border-radius: 6px;
padding: 8px 16px;
font-size: 13px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.025em;
transition: all 0.2s ease;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.button.button-primary:hover {
background: #1f2937;
border-color: #1f2937;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
transform: translateY(-1px);
}
/* Sky accent buttons */
.button.button-sky {
background: rgba(14, 165, 233, 0.6);
border: 1px solid rgba(14, 165, 233, 0.3);
color: white;
border-radius: 6px;
padding: 8px 16px;
font-size: 13px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.025em;
transition: all 0.2s ease;
backdrop-filter: blur(8px);
}
.button.button-sky:hover {
background: rgba(14, 165, 233, 0.8);
border-color: rgba(14, 165, 233, 0.5);
box-shadow: 0 2px 4px rgba(14, 165, 233, 0.2);
transform: translateY(-1px);
}
/* Toggle switches - modern design */
.oxymade-toggle-switch {
position: relative;
display: inline-block;
width: 44px;
height: 24px;
}
.oxymade-toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.oxymade-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #d1d5db;
transition: 0.2s;
border-radius: 24px;
}
.oxymade-slider:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 3px;
bottom: 3px;
background-color: white;
transition: 0.2s;
border-radius: 50%;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
input:checked + .oxymade-slider {
background-color: #0ea5e9;
}
input:checked + .oxymade-slider:before {
transform: translateX(20px);
}
/* License status - professional styling */
.oxymade-license-status {
display: inline-flex;
align-items: center;
padding: 6px 12px;
border-radius: 6px;
margin: 10px 0;
font-weight: 500;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.025em;
border: 1px solid;
}
.oxymade-license-status.active {
background-color: rgba(34, 197, 94, 0.1);
color: #16a34a;
border-color: rgba(34, 197, 94, 0.2);
}
.oxymade-license-status.inactive {
background-color: rgba(239, 68, 68, 0.1);
color: #dc2626;
border-color: rgba(239, 68, 68, 0.2);
}
.oxymade-license-status .dashicons {
margin-right: 6px;
font-size: 14px;
}
/* Form elements */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
border: 1px solid #d1d5db;
border-radius: 6px;
padding: 8px 12px;
font-size: 14px;
transition: all 0.2s ease;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(4px);
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
outline: none;
border-color: #0ea5e9;
box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
/* Grid layout */
.oxymade-steps-grid {
display: grid;
gap: 16px;
grid-template-columns: 1fr;
}
@media (min-width: 768px) {
.oxymade-steps-grid {
grid-template-columns: repeat(2, 1fr);
}
}
/* Status badges - consistent with design system */
.design-set-badge {
font-size: 12px !important;
font-weight: 500 !important;
text-transform: uppercase !important;
letter-spacing: 0.025em !important;
border-radius: 6px !important;
padding: 6px 12px !important;
margin-bottom: 15px !important;
margin-right: 12px !important;
border: 1px solid !important;
backdrop-filter: blur(4px);
}
/* Tooltips */
[data-tooltip] {
position: relative;
cursor: help;
}
[data-tooltip]:hover::after {
content: attr(data-tooltip);
position: fixed;
bottom: auto;
top: 50%;
left: 20px;
right: 20px;
transform: translateY(-50%);
background: #374151;
color: white;
padding: 12px 16px;
border-radius: 8px;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 13px;
font-weight: 500;
white-space: normal;
z-index: 9999999 !important;
box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
pointer-events: none;
max-width: calc(100vw - 40px);
width: auto;
text-align: left;
line-height: 1.5;
display: block !important;
word-wrap: break-word;
word-break: break-word;
letter-spacing: 0.01em;
margin: 0;
}
/* Ensure tooltips appear above all cards */
.oxymade-admin-card {
position: relative;
z-index: 1;
}
/* Grid container stacking context */
.oxymade-steps-grid {
position: relative;
z-index: 1;
}
/* Loading states */
.oxymade-loading {
opacity: 0.6;
pointer-events: none;
}
/* Success/Error messages */
.oxymade-message {
padding: 12px 16px;
border-radius: 6px;
margin: 16px 0;
font-size: 14px;
font-weight: 500;
border: 1px solid;
}
.oxymade-message.success {
background: rgba(34, 197, 94, 0.1);
color: #16a34a;
border-color: rgba(34, 197, 94, 0.2);
}
.oxymade-message.error {
background: rgba(239, 68, 68, 0.1);
color: #dc2626;
border-color: rgba(239, 68, 68, 0.2);
}
/* Documentation boxes hover effects */
.oxymade-doc-box:hover {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
border-color: rgba(14, 165, 233, 0.3);
transform: translateY(-2px);
}
/* Documentation section typography */
.oxymade-documentation-section h2 {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.oxymade-doc-box h3 {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* Design Set Preview */
.oxymade-preview-section {
margin-bottom: 28px;
padding-bottom: 24px;
border-bottom: 1px solid #f3f4f6;
}
.oxymade-preview-section:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.oxymade-preview-section h4 {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #9ca3af;
margin: 0 0 16px;
}
/* Color palette — 3-column grid of gradient strips */
.oxymade-color-groups {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
}
.oxymade-color-group {
min-width: 0;
}
.oxymade-color-group-label {
font-size: 11px;
font-weight: 600;
color: #6b7280;
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 6px;
}
.oxymade-color-strip {
display: flex;
border-radius: 8px;
overflow: hidden;
height: 40px;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.oxymade-color-strip-cell {
flex: 1;
position: relative;
cursor: default;
transition: flex 0.2s ease;
}
.oxymade-color-strip-cell:hover {
flex: 2;
}
.oxymade-color-strip-cell:hover .oxymade-strip-tooltip {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
.oxymade-strip-tooltip {
position: absolute;
bottom: calc(100% + 6px);
left: 50%;
transform: translateX(-50%) translateY(4px);
background: #1f2937;
color: #fff;
font-size: 10px;
font-weight: 500;
padding: 3px 8px;
border-radius: 4px;
white-space: nowrap;
opacity: 0;
transition: opacity 0.15s, transform 0.15s;
pointer-events: none;
z-index: 10;
}
.oxymade-color-strip-cell.is-base {
flex: 1.5;
}
.oxymade-color-strip-cell.is-base::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 6px;
height: 6px;
background: #fff;
border-radius: 50%;
box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.2);
}
/* Typography — live heading text */
.oxymade-heading-live {
display: flex;
flex-direction: column;
gap: 4px;
}
.oxymade-heading-live-row {
display: flex;
align-items: baseline;
gap: 12px;
padding: 4px 0;
border-bottom: 1px solid #f9fafb;
}
.oxymade-heading-live-row:last-child {
border-bottom: none;
}
.oxymade-heading-live-text {
color: #111827;
line-height: 1.15;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
min-width: 0;
}
.oxymade-heading-live-meta {
font-size: 10px;
color: #9ca3af;
white-space: nowrap;
flex-shrink: 0;
font-weight: 500;
letter-spacing: 0.02em;
}
/* Font pills */
.oxymade-font-pills {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-bottom: 20px;
}
.oxymade-font-pill {
display: inline-flex;
align-items: center;
gap: 6px;
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 20px;
padding: 5px 14px;
font-size: 13px;
color: #374151;
}
.oxymade-font-pill .pill-label {
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.06em;
color: #9ca3af;
font-weight: 500;
}
.oxymade-font-pill .pill-value {
font-weight: 600;
color: #111827;
}
/* Theme & container info grid */
.oxymade-info-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 12px;
}
.oxymade-info-item {
background: #f9fafb;
border: 1px solid #f3f4f6;
border-radius: 8px;
padding: 12px;
}
.oxymade-info-item-label {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: #9ca3af;
margin-bottom: 4px;
}
.oxymade-info-item-value {
font-size: 13px;
font-weight: 500;
color: #374151;
display: flex;
align-items: center;
gap: 6px;
}
.oxymade-info-color-dot {
width: 14px;
height: 14px;
border-radius: 50%;
border: 1px solid rgba(0, 0, 0, 0.1);
flex-shrink: 0;
}
.oxymade-preview-empty {
color: #9ca3af;
font-size: 13px;
font-style: italic;
padding: 12px 0;
}