161 lines
3.8 KiB
CSS
161 lines
3.8 KiB
CSS
/**
|
|
* Navier Instruments Theme - Admin Styles
|
|
*
|
|
* @package Navier_Instruments
|
|
*/
|
|
|
|
/* ==========================================================================
|
|
Custom Post Type Icons
|
|
========================================================================== */
|
|
#adminmenu .menu-icon-navier_product div.wp-menu-image::before {
|
|
content: '\f480';
|
|
}
|
|
|
|
#adminmenu .menu-icon-navier_testimonial div.wp-menu-image::before {
|
|
content: '\f205';
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Meta Box Styling
|
|
========================================================================== */
|
|
.navier-meta-box {
|
|
padding: 12px;
|
|
}
|
|
|
|
.navier-meta-box .form-field {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.navier-meta-box label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.navier-meta-box input[type="text"],
|
|
.navier-meta-box input[type="url"],
|
|
.navier-meta-box input[type="email"],
|
|
.navier-meta-box textarea {
|
|
width: 100%;
|
|
}
|
|
|
|
.navier-meta-box .description {
|
|
font-style: italic;
|
|
color: #666;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Theme Options Page
|
|
========================================================================== */
|
|
.navier-options-wrap {
|
|
max-width: 800px;
|
|
}
|
|
|
|
.navier-options-wrap h2 {
|
|
padding-top: 20px;
|
|
border-bottom: 1px solid #ddd;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.navier-options-wrap .form-table th {
|
|
width: 200px;
|
|
}
|
|
|
|
.navier-options-wrap .submit {
|
|
padding-top: 20px;
|
|
border-top: 1px solid #ddd;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Dashboard Widget
|
|
========================================================================== */
|
|
.navier-dashboard-widget {
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.navier-dashboard-widget .stat-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 8px 0;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.navier-dashboard-widget .stat-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.navier-dashboard-widget .stat-value {
|
|
font-weight: 600;
|
|
color: #0a4d8c;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Customizer Sections
|
|
========================================================================== */
|
|
#customize-theme-controls .customize-section-title h3 {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#customize-control-navier_hero_title textarea,
|
|
#customize-control-navier_hero_description textarea,
|
|
#customize-control-navier_about_text textarea {
|
|
min-height: 100px;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Media Upload Button
|
|
========================================================================== */
|
|
.navier-upload-wrap {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.navier-upload-preview {
|
|
max-width: 150px;
|
|
border-radius: 4px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.navier-upload-preview img {
|
|
display: block;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Color Picker Enhancement
|
|
========================================================================== */
|
|
.wp-picker-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Notice Styling
|
|
========================================================================== */
|
|
.navier-notice {
|
|
padding: 12px 15px;
|
|
border-left: 4px solid #0a4d8c;
|
|
background: #f0f7fc;
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.navier-notice.success {
|
|
border-color: #2ecc71;
|
|
background: #f0fcf5;
|
|
}
|
|
|
|
.navier-notice.warning {
|
|
border-color: #f39c12;
|
|
background: #fdf7e9;
|
|
}
|
|
|
|
.navier-notice.error {
|
|
border-color: #e74c3c;
|
|
background: #fdf0ef;
|
|
}
|